]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mds: delay handling client caps until corresponding inode is created
authorYan, Zheng <zyan@redhat.com>
Tue, 12 Jan 2016 08:54:14 +0000 (16:54 +0800)
committerYan, Zheng <zyan@redhat.com>
Fri, 15 Jan 2016 05:19:05 +0000 (13:19 +0800)
commitdafb46ba7b49cddf4d1c0c842c67851744ec82f9
tree2b4b2c4122c2195ed96a422531fea38689d2467d
parentf57e6162c7c3fea31b01568f90a76710f97943ae
mds: delay handling client caps until corresponding inode is created

When handling client caps in clientreplay stage, it's possible that
corresponding inode does not exist because the client request which
creates inode hasn't been replayed. To handle this corner case, we
delay handling caps message until corresponding inode is created.

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