From b1e2ca839f30a450059b2bc190ad2916ca16be82 Mon Sep 17 00:00:00 2001 From: Alex Zhuravlev Date: Wed, 13 Jul 2022 10:50:24 +0300 Subject: [PATCH] LU-16008 tests: don't enforce umount in recovery-small/150 as such an enforcement disconnects all MDS clients, then another MDS trying to talk to that original MDS gets evicted and an unlucky RPC (e.g. rmdir in test cleanup) can fail with: rm: cannot remove '...d110h.recovery-small/source_dir': Is a directory Fixes: 57f3262baa7 ("LU-15788 lmv: try another MDT if statfs failed") Signed-off-by: Alex Zhuravlev Change-Id: I593e1425b44fc19cb7b2b7da33fa10590532f930 Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/47940 Reviewed-by: Andreas Dilger Reviewed-by: Oleg Drokin Reviewed-by: Alexander Boyko Tested-by: jenkins Tested-by: Maloo --- lustre/tests/recovery-small.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lustre/tests/recovery-small.sh b/lustre/tests/recovery-small.sh index 920434e..43d2eeb 100755 --- a/lustre/tests/recovery-small.sh +++ b/lustre/tests/recovery-small.sh @@ -3332,7 +3332,7 @@ test_150() { stack_trap "$LCTL set_param llite.$FSNAME-*.lazystatfs=$lazystatfs" EXIT stack_trap "$LCTL set_param llite.$FSNAME-*.statahead_max=$max" EXIT # stop a slave MDT where one ons stripe is located - stop mds1 -f + stop mds1 stack_trap "start mds1 $(mdsdevname 1) $MDS_MOUNT_OPTS && \ wait_recovery_complete mds1 && clients_up && true" EXIT -- 1.8.3.1