Whamcloud - gitweb
LU-8300 e2fsck: print out FID with dirent inode number
authorAndreas Dilger <andreas.dilger@intel.com>
Sat, 18 Jun 2016 10:50:41 +0000 (04:50 -0600)
committerLi Dongyang <dongyangli@ddn.com>
Wed, 21 Apr 2021 06:34:03 +0000 (16:34 +1000)
commit8f39732e9b9781f88337909e662348edc9b8b0fb
tree82efd6885b2690a95a07cf7ba96daea7f65ac09a
parent6501a4b731fda66539cac10a6cda8b737c0c0324
LU-8300 e2fsck: print out FID with dirent inode number

When printing out the dirent inode number in e2fsck, also print
out the FID, if available, for reference in the future if needed.

   Entry 'lustre.conf' in /ROOT/etc/yum/protected.d (50132) has
   deleted/unused inode=1964 fid=[0x200000401:0x844:0x0].  Clear? yes

This can be useful if LFSCK is able to rebuild the MDT layout from
the OST object xattrs, but the filename isn't stored on the OST.

Signed-off-by: Andreas Dilger <andreas.dilger@intel.com>
Change-Id: Id0ec22c47d83f16c392e93328d2869e7a53ebbe5
Reviewed-on: https://review.whamcloud.com/20866
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Artem Blagodarenko <c17828@cray.com>
Reviewed-by: Fan Yong <fan.yong@intel.com>
e2fsck/message.c