]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mds: fix false 'bad backtrace' warnings during online scrub 11517/head
authorYan, Zheng <zyan@redhat.com>
Mon, 17 Oct 2016 07:30:20 +0000 (15:30 +0800)
committerYan, Zheng <zyan@redhat.com>
Mon, 17 Oct 2016 07:42:27 +0000 (15:42 +0800)
commit0996038bff9d0c99164bf2c392298904bfd87670
treedd3820c586d5f64b6fdf75cbcbc8c356c02be037
parent0c8fec323e59984b7a17e57450dc978e2dbf8bd3
mds: fix false 'bad backtrace' warnings during online scrub

Only inode's direct parent in backtrace is supposed to be uptodate.
The rest back pointers in backtrace are hints, they can be stale.
The scrub code prints warning when inode's on-disk backtrace is
not equivalent to inode's current path. This check is too strange,
it causes lots of false warnings for workload that does directory
rename.

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