]> git.baikalelectronics.ru Git - kernel.git/commit
ceph: hold on to exclusive caps on complete directories
authorYan, Zheng <zyan@redhat.com>
Thu, 26 Mar 2015 11:06:00 +0000 (19:06 +0800)
committerIlya Dryomov <idryomov@gmail.com>
Mon, 20 Apr 2015 15:55:40 +0000 (18:55 +0300)
commit9cc7265273446f3e1f6480988250d87f39eb2bf5
tree62676c063034560d0967b64676a2d6e63ea3fbe2
parent134a1f28cc38bd086b344c8906c2223e680b8e52
ceph: hold on to exclusive caps on complete directories

If a directory is complete, we want to keep the exclusive
cap. So that MDS does not end up revoking the shared cap
on every create/unlink operation.

Signed-off-by: Yan, Zheng <zyan@redhat.com>
fs/ceph/caps.c