From 7915d7af5f1c6246b490847b89b1b21165de61ad Mon Sep 17 00:00:00 2001 From: anserper <anserper> Date: Thu, 20 Nov 2008 01:19:08 +0000 Subject: [PATCH] Branch HEAD b=17371 i=Johann Lombardi testcase for 17371 --- lustre/tests/sanity.sh | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/lustre/tests/sanity.sh b/lustre/tests/sanity.sh index 875513fadc..27ca63f974 100644 --- a/lustre/tests/sanity.sh +++ b/lustre/tests/sanity.sh @@ -5748,6 +5748,19 @@ test_140() { #bug-17379 } run_test 140 "Check reasonable stack depth (shouldn't LBUG) ====" +test_141() { + local ls + #define OBD_FAIL_MGC_PAUSE_PROCESS_LOG 0x903 + $LCTL set_param fail_loc=0x903 + # cancel_lru_locks mgc - does not work due to lctl set_param syntax + for ls in /proc/fs/lustre/ldlm/namespaces/MGC*/lru_size; do + echo "clear" > $ls + done + cleanup || error "failed to cleanup" + setup || error "failed to setup" +} +run_test 141 "umount should not race with any mgc requeue thread" + test_150() { local TF="$TMP/$tfile" -- GitLab