ceph: add flock/fcntl lock support
authorGreg Farnum <gregf@hq.newdream.net>
Mon, 2 Aug 2010 22:34:23 +0000 (15:34 -0700)
committerSage Weil <sage@newdream.net>
Mon, 2 Aug 2010 23:10:53 +0000 (16:10 -0700)
Implement flock inode operation to support advisory file locking.  All
lock/unlock operations are synchronous with the MDS.  Lock state is
sent when reconnecting to a recovering MDS to restore the shared lock
state.

Signed-off-by: Greg Farnum <gregf@hq.newdream.net>
Signed-off-by: Sage Weil <sage@newdream.net>

No differences found