]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mds: fix race in "open inode by inode number" 16654/head
authorYan, Zheng <zyan@redhat.com>
Fri, 28 Jul 2017 08:27:26 +0000 (16:27 +0800)
committerYan, Zheng <zyan@redhat.com>
Fri, 28 Jul 2017 09:05:19 +0000 (17:05 +0800)
commit7c665d5db799512bb3116f844f5d00ab92d23fff
tree9ee99db8aa42a94f8cba370b7a03ad11c8da48ba
parent8d71b8852e80c80ef62536986e88615130383cf9
mds: fix race in "open inode by inode number"

If we have found inode in peer mds' cache, but failed to discover
the inode. The path to inode must have changed. we should check
peer again, instead of fetching backtrace, because inode's backtrace
may haven't been stored.

Fixes: http://tracker.ceph.com/issues/20806
Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
src/mds/MDCache.cc