]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mds: include advisory `path` field in damage
authorJohn Spray <john.spray@redhat.com>
Thu, 23 Mar 2017 13:07:32 +0000 (09:07 -0400)
committerNathan Cutler <ncutler@suse.com>
Mon, 19 Jun 2017 21:31:11 +0000 (23:31 +0200)
commitd9234d47a9abc290475a317bb3fd070192df1840
tree80ea249ddebd6f23986b70e1f4fc10c357fe1fc2
parent7675e41c88a38e107e9478bde32e0ece564f8878
mds: include advisory `path` field in damage

This will just be whatever path we were looking
at at the point that damage was notified -- no
intention whatsoever of providing any up to date
path or resolution when there are multiple paths
to an inode.

Fixes: http://tracker.ceph.com/issues/18509
Signed-off-by: John Spray <john.spray@redhat.com>
(cherry picked from commit c0bff51ef409eb6e4b2fc248e06e5a7e43faf51e)

Conflicts:
    src/mds/CDir.cc - omit dout(10) because jewel does not have cb86740a
    src/mds/ScrubStack.cc - jewel does not have 7b456109 which changed
       in->make_path_string_projected() call to in->make_path_string() but
       it's moot because that line is dropped
src/mds/CDir.cc
src/mds/DamageTable.cc
src/mds/DamageTable.h
src/mds/MDCache.cc
src/mds/ScrubStack.cc