]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
cephfs: Reset scrub data when inodes move
authorDouglas Fuller <dfuller@redhat.com>
Thu, 30 Nov 2017 16:13:36 +0000 (11:13 -0500)
committerDouglas Fuller <dfuller@redhat.com>
Wed, 24 Jan 2018 16:14:47 +0000 (11:14 -0500)
commit4f5c8b604cc2a680652516e49e5a7cb4cbbbe887
tree76ac302873d6ff13c4a712f97d798911237dc08a
parent1c2ac30803d29c2c3cf3bfcdb3b91ec64772f7aa
cephfs: Reset scrub data when inodes move

If an inode currently on the ScrubStack is moved, it may be
initialized again, causing an assert. Instead, remove the inode
from its parent scrub list and reinitialize it.

Fixes: http://tracker.ceph.com/issues/22288
Signed-off-by: Douglas Fuller <dfuller@redhat.com>
src/mds/CDir.cc
src/mds/CInode.cc