Whamcloud - gitweb
LU-14175 osd: print inode number with FID in OI scrub 53/43153/4
authorAndreas Dilger <adilger@whamcloud.com>
Sat, 27 Mar 2021 19:50:33 +0000 (13:50 -0600)
committerOleg Drokin <green@whamcloud.com>
Thu, 15 Apr 2021 06:30:20 +0000 (06:30 +0000)
commit5bab4acf8320b46076c81f32f7954f91dae21bc9
treeae5ac106486bf9ba27daa1c8fabe08e30e5da096
parent2e07619477684f287a2399ccdbbde0a71289574b
LU-14175 osd: print inode number with FID in OI scrub

When debugging OI Scrub problems, also print the inode number
with the FID so that it is easier to find the problematic inode.
Otherwise, if the OI is broken it is not easy to find the inode
in question without a full filesystem scan.

Test-Parameters: trivial testlist=sanity-scrub,sanity-lfsck
Signed-off-by: Andreas Dilger <adilger@whamcloud.com>
Change-Id: I217624ff2116326f86e053bcfacc6f19873ebbe5
Reviewed-on: https://review.whamcloud.com/43153
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Lai Siyao <lai.siyao@whamcloud.com>
Reviewed-by: Alex Zhuravlev <bzzz@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/osd-ldiskfs/osd_handler.c
lustre/osd-zfs/osd_index.c
lustre/osd-zfs/osd_object.c