]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mds: pick head inode when caps follows is zero
authorYan, Zheng <zyan@redhat.com>
Sat, 14 Mar 2015 01:21:01 +0000 (09:21 +0800)
committerYan, Zheng <zyan@redhat.com>
Wed, 18 Mar 2015 06:25:44 +0000 (14:25 +0800)
commit1956e68231d0f717daa584e922ef9d72c3d5bc37
tree253fd1eaa19e407b5952cf1634df85fe3f644ca2
parent1bb4a9df6011e33de5ece7189a4c129a959ab023
mds: pick head inode when caps follows is zero

"caps follows is zero" means client does not flush anything, so
we shoud pick the head object

Signed-off-by: Yan, Zheng <zyan@redhat.com>
src/mds/Locker.cc