]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
mds: answering all pending getattr/lookups targeting the same inode in one go
authorxuxuehan <xuxuehan@ceph10v.ops.corp.qihoo.net>
Thu, 27 Sep 2018 08:42:43 +0000 (16:42 +0800)
committerXuehan Xu <xxhdx1985126@163.com>
Tue, 20 Aug 2019 02:10:05 +0000 (10:10 +0800)
commit79abdcb31af04f7ec48dcf4cf2f058b2e93c9c80
tree0588c933751cf9861b0e38cb8c37c8fc6e8f6bf2
parent0dd2d0fd7e103a6777b6e62006ea6d7332df0fd9
mds: answering all pending getattr/lookups targeting the same inode in one go

As for now, all getattr/lookup requests get processes one by one, which
is kind of wasting CPU resources. Actually, for those getattr/lookup
requests for the same inode, only one of them needs to be processes, the
results applies all others.

Resolves: http://tracker.ceph.com/issues/36608
Signed-off-by: Xuehan Xu <xuxuehan@360.cn>
src/mds/CDentry.h
src/mds/CInode.h
src/mds/MDCache.cc
src/mds/Migrator.cc
src/mds/Mutation.cc
src/mds/Mutation.h
src/mds/Server.cc
src/mds/Server.h