summaryrefslogtreecommitdiff
path: root/fs/ceph/locks.c
AgeCommit message (Collapse)AuthorFilesLines
2010-08-03ceph: add flock/fcntl lock supportGreg Farnum1-0/+256
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>