]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mds: add damage_flags_t to inode+frag
authorJohn Spray <john.spray@redhat.com>
Mon, 22 Jun 2015 15:05:35 +0000 (16:05 +0100)
committerJohn Spray <john.spray@redhat.com>
Mon, 13 Jul 2015 13:05:16 +0000 (14:05 +0100)
commitd44c7844e5e45809acf775f02df1a914bef3a9dd
tree0b8fd0580500f021561db2887fe6ece8b7037e01
parent007c39e79954a853f72de470d336cb9e52d5ac1f
mds: add damage_flags_t to inode+frag

Used to mark inodes+fnodes with flags indicating
that particular types of damage have either
been detected (scrub/fetch) or caused (cephfs-data-scan
inject).

This should serve as a cue to the MDS to do online
repair of stats for the nodes that have been injected.

Signed-off-by: John Spray <john.spray@redhat.com>
src/mds/CInode.cc
src/mds/CInode.h
src/mds/mdstypes.cc
src/mds/mdstypes.h