Whamcloud - gitweb
LU-8367 osp: remove unused fail_locs from sanity/27S,822 43/50543/4
authorSergey Cheremencev <scherementsev@ddn.com>
Wed, 5 Apr 2023 10:24:51 +0000 (13:24 +0300)
committerOleg Drokin <green@whamcloud.com>
Sat, 22 Apr 2023 17:27:26 +0000 (17:27 +0000)
commite69eea5f60eec17ac32cea8d2a60768e0738a052
tree5873b2d37796a5e7637268a07168c9e56fe45daf
parentb7f07db28f6da76b56f53988866f0cc6cda158d3
LU-8367 osp: remove unused fail_locs from sanity/27S,822

OBD_FAIL_OST_GET_LAST_FID and OBD_FAIL_OSP_GET_LAST_FID
are not used anymore since sanity test_27S has been removed.
This may lead to failures in interoperability testing.
For example, 27S caused osp_precreate_cleanup_orphans to
stuck due to not cleared opd_pre_recovering flag(normally,
it should be set to 0 before calling osp_precreate_reserve).
It was the reason of failure tests 27U, 27R, 39r and 51d
in sanity.sh.

The patch also removes OBD_FAIL_NET_ERROR_RPC and
OBD_FAIL_OSP_PRECREATE_PAUSE that were used in sanity-822
"test precreate failure". This test also has been removed
in 63e17799a3.

Fixes: 63e17799a3 (LU-8367 osp: enable replay for precreation request)
Signed-off-by: Sergey Cheremencev <scherementsev@ddn.com>
Change-Id: Ia78ce39adb9d59e476eb36e5e69954cc26353b27
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/50543
Reviewed-by: Oleg Drokin <green@whamcloud.com>
Reviewed-by: Alexander Boyko <alexander.boyko@hpe.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
lustre/include/obd_support.h
lustre/ofd/ofd_dev.c
lustre/osp/osp_precreate.c
lustre/ptlrpc/events.c