]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mds: make scrubstack queue CInode instead of CDentry
authorYan, Zheng <zyan@redhat.com>
Tue, 15 Dec 2015 14:28:44 +0000 (22:28 +0800)
committerYan, Zheng <zyan@redhat.com>
Mon, 7 Mar 2016 07:59:13 +0000 (15:59 +0800)
commit84ed3cd7b91ea7e6cd7094c102cb78cb8b5a81f9
treec176086c9dc209caa6295c86d917645a4a6844b6
parentf13fb47902e958f6c44af60dc98f331135221bbc
mds: make scrubstack queue CInode instead of CDentry

There are two problems that enqueue CDentry in scrub stack. First,
the scrub stack code can't handle base inodes; second, the linkage
of a CDentry can change in the middle of scrubbing, this can confuse
the scrub stack code.

Signed-off-by: Yan, Zheng <zyan@redhat.com>
src/mds/CDentry.cc
src/mds/CDentry.h
src/mds/CInode.cc
src/mds/CInode.h
src/mds/MDCache.cc
src/mds/ScrubHeader.h
src/mds/ScrubStack.cc
src/mds/ScrubStack.h