]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
Merge pull request #48161 from trociny/wip-57589
authorRishabh Dave <ridave@redhat.com>
Mon, 10 Oct 2022 18:37:20 +0000 (00:07 +0530)
committerGitHub <noreply@github.com>
Mon, 10 Oct 2022 18:37:20 +0000 (00:07 +0530)
cephfs-data-scan: make scan_links more verbose

Reviewed-by: Rishabh Dave <ridave@redhat.com>
Reviewed-by: Venky Shankar <vshankar@redhat.com>
1  2 
src/tools/cephfs/DataScan.cc

index c84a45f9e7b20f81590196e776992469bc90a350,5849f7141b413a1b6426114d33a0c305e834d5f3..78f5452e3b1f41181f6c73d890691918c1d1c9a5
@@@ -1218,10 -1232,14 +1236,15 @@@ int DataScan::scan_links(
        return r;
    }
  
+   dout(10) << "processing " << injected_inos.size() << " injected_inos"
+          << dendl;
    for (auto &p : injected_inos) {
+     dout(10) << "handling injected_ino " << p.first << dendl;
      InodeStore inode;
      snapid_t first;
 +    dout(20) << " fixing linkage (dnfirst) of " << p.second.dirino << ":" << p.second.name << dendl;
      int r = read_dentry(p.second.dirino, p.second.frag, p.second.name, &inode, &first);
      if (r < 0) {
        derr << "Unexpected error reading dentry "