Whamcloud - gitweb
LU-17261 lov: unlink can handle bogus striping 44/54544/12
authorAlex Zhuravlev <bzzz@whamcloud.com>
Sat, 23 Mar 2024 17:13:32 +0000 (20:13 +0300)
committerOleg Drokin <green@whamcloud.com>
Mon, 8 Apr 2024 15:37:57 +0000 (15:37 +0000)
commit4ae823762db40d790ddd00c29e969b5c8e376430
tree8c8c9319e0995b77737122c592c29dddc9ee53f8
parent90ec7361b756e685572bd168643d61bb2f4a85c4
LU-17261 lov: unlink can handle bogus striping

Allow removing a file which has uninitialized OST objects in the
layout, possibly because LFSCK reconnected an orphan object back
into a mirrored file after the mirror had been deleted.

Don't wait and retry to access the bogus OST or MDT index in this
case, because the target will never appear, so waiting is futile.

Test-Parameters: testlist=sanity-flr,sanity-flr,sanity-flr,sanity-flr
Fixes: 94a4663db9 ("LU-17334 lmv: handle object created on newly added MDT")
Fixes: f35f897ec8 ("LU-17334 lov: handle object created on newly added OST")
Signed-off-by: Alex Zhuravlev <bzzz@whamcloud.com>
Change-Id: I90b97c0e2d560d71b2a4c32a47fcfd7ae4e5535d
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/54544
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Zhenyu Xu <bobijam@hotmail.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
lustre/lmv/lmv_obd.c
lustre/lov/lov_ea.c
lustre/tests/sanity-flr.sh