From 24acd516a860468e23e1135559a789e3bbef7bd8 Mon Sep 17 00:00:00 2001 From: yangsheng Date: Thu, 11 Mar 2010 00:44:32 +0800 Subject: [PATCH] b=21815 Test case for clear stale nid-stats hash. i=johann i=wang.yibin --- lustre/tests/sanity.sh | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/lustre/tests/sanity.sh b/lustre/tests/sanity.sh index 553ecac..a46b25c 100644 --- a/lustre/tests/sanity.sh +++ b/lustre/tests/sanity.sh @@ -6494,6 +6494,15 @@ test_900() { } run_test 900 "umount should not race with any mgc requeue thread" +test_910() { + local nid_cp + + umount $MOUNT + do_facet mds lctl set_param mds.${FSNAME}-MDT*.exports.clear=0 + stop mds +} +run_test 910 "umount server after clear nid_stats should not hit LBUG" + log "cleanup: ======================================================" check_and_cleanup_lustre if [ "$I_MOUNTED" != "yes" ]; then -- 1.8.3.1