]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mds: properly distinguish cap update from snap flush
authorYan, Zheng <zyan@redhat.com>
Fri, 27 Apr 2018 10:43:07 +0000 (18:43 +0800)
committerYan, Zheng <zyan@redhat.com>
Fri, 27 Apr 2018 11:10:02 +0000 (19:10 +0800)
commit72d249ab0a2bbdef3a7c4259a61b299a8961cbc4
treed81571c2f94e3a5f3ab6b2ad9021e194b57fe227
parent5643909b36aab8ef6d0297cbf876c3daf6ad1527
mds: properly distinguish cap update from snap flush

Both Locker::_do_cap_update() and Locker::_do_snap_update() can update
snap inode. But only the second function is called in the case that a
client has finished snap data writeback,

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