Whamcloud - gitweb
LU-17225 utils: check_iam print records 15/52815/3
authorAlexander Boyko <alexander.boyko@hpe.com>
Sat, 21 Oct 2023 08:30:12 +0000 (04:30 -0400)
committerOleg Drokin <green@whamcloud.com>
Wed, 8 Nov 2023 22:00:15 +0000 (22:00 +0000)
commit6ad9ef1fec11e1d7ae03d661b69684ffa60e9b75
tree4a78683d9f35528a3be3bf9fc29529e34d2b74ed
parentb5fde4d6c02324a8511afe30d02eb2cf46ea799d
LU-17225 utils: check_iam print records

Fix adds ability to print records with -r option.
Format is FID ino/igen.

[0x200000001:0x3:0x0] 88/2116153859
[0x200000001:0x4:0x0] 89/182164966

If a root block has wrong sizes, stop processing.
Also fixing a test.

Test-Parameters: trivial testlist=conf-sanity env=ONLY=134
HPE-bug-id: LUS-11905
Signed-off-by: Alexander Boyko <alexander.boyko@hpe.com>
Change-Id: I2e11d1a8d675e6be9ea79023348a18370a0bb5a0
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/52815
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Artem Blagodarenko <ablagodarenko@ddn.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/include/lustre/libiam.h
lustre/tests/conf-sanity.sh
lustre/utils/check_iam.c