Skip to contentSkip to conversation

nfsd locking for cluster filesystems

DISCUSSION J. Bruce Fields 1 participant 1 message Apr 5, 2007 VFS

lore
Share & tools
lore
#0 lore raw

The lock operation defined by a filesystem is called when an application does an fcntl(), but ignored in the code path used by the lock managers (lockd, for nfsv2/v3, or nfsd itself, for nfsv4). The following patch series remedies that. (It hasn't been a problem till recently, because the filesystems that define -lock() (nfs, cifs, etc.) aren't filesystems that nfsd exports. The arrival of cluster filesystems changes that.)

We'd like an ack by Trond and/or Christoph before this goes in, but it seems ready at least for testing in -mm.

The first four to six patches are just locks.c cleanup.

--b.