Previously when ~mdsdir was scrubbed at CephFS root, it's header
was kept empty, thus it became necessary to not dump it's values
for 'scrub status'. Now since both the scrubs(~mdsdir and root)
run under the same header, this code is no more needed.
Fixes: https://tracker.ceph.com/issues/59350
Signed-off-by: Dhairya Parmar <dparmar@redhat.com>
have_more = false;
auto& header = p.second;
- if (mdcache->get_inode(header->get_origin())->is_mdsdir()
- && header->get_scrub_mdsdir() && header->get_tag().empty()) {
- continue;
- }
-
std::string tag(header->get_tag());
f->open_object_section(tag.c_str()); // scrub id