Network and Storage Protocols

How to set explicit locks?

christianheise
2,337 Views

Hi,

I need to implement three independent functions: LOCK, UNLOCK, REFRESH_LOCK. Yes, those are the functions required by WebDAV. But for different reasons I can't use the WebDAV modules provided by Data OnTAP.

Those locks need to based on lock tokens and need to be removed after a specific timeout.

Does anybody know how to implement those functions via CIFS or the NetApp SDK?

1 REPLY 1

christianheise
2,337 Views

CIFS or NFS provide a way to lock a file on opening time. But what I am looking for is a single LOCK command and a separate UNLOCK (which can only be executed by the user which set the LOCK - or e.g. an administrator)

Public