Whamcloud - gitweb
LU-12268 osd: BUG_ON for IAM corruption 72/45072/2
authorAlexander Boyko <alexander.boyko@hpe.com>
Tue, 28 Sep 2021 13:27:12 +0000 (09:27 -0400)
committerOleg Drokin <green@whamcloud.com>
Sun, 10 Oct 2021 03:32:40 +0000 (03:32 +0000)
commit5daf86607877ea81d0295a9d49a1fe06572e0352
treea82575024fea0edcabe343330376ca34e753f790
parent7cf10b90d62256aa4d177486ff13bd61dfb9a5ff
LU-12268 osd: BUG_ON for IAM corruption

The patch adds strict checks of buffer head overflow
for IAM dx blocks.

HPE-bug-id: LUS-10178
Signed-off-by: Alexander Boyko <alexander.boyko@hpe.com>
Change-Id: I1608f6cbf00b5120fbc36d0c65fcfe37c43e375f
Reviewed-on: https://review.whamcloud.com/45072
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Artem Blagodarenko <artem.blagodarenko@hpe.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/osd-ldiskfs/osd_iam.c