X-Git-Url: https://git.whamcloud.com/?a=blobdiff_plain;f=lustre%2Ftests%2Fsanity.sh;h=fdb74d4427bd73a3e8fff1bba96491bf9b3f37a3;hb=c2d27a0f12688c0d029880919f8b002e557b540c;hp=cc0166cf67754f7549611bedb39fcd885c94faea;hpb=220e6cbfa65c570641b515723df727b205b0e92a;p=fs%2Flustre-release.git diff --git a/lustre/tests/sanity.sh b/lustre/tests/sanity.sh index cc0166c..fdb74d4 100644 --- a/lustre/tests/sanity.sh +++ b/lustre/tests/sanity.sh @@ -13113,6 +13113,31 @@ test_244() } run_test 244 "sendfile with group lock tests" +test_245() { + local flagname="multi_mod_rpcs" + local connect_data_name="max_mod_rpcs" + local out + + # check if multiple modify RPCs flag is set + out=$($LCTL get_param mdc.$FSNAME-MDT0000-*.import | + grep "connect_flags:") + echo "$out" + + echo "$out" | grep -qw $flagname + if [ $? -ne 0 ]; then + echo "connect flag $flagname is not set" + return + fi + + # check if multiple modify RPCs data is set + out=$($LCTL get_param mdc.$FSNAME-MDT0000-*.import) + echo "$out" + + echo "$out" | grep -qw $connect_data_name || + error "import should have connect data $connect_data_name" +} +run_test 245 "check mdc connection flag/data: multiple modify RPCs" + test_250() { [ "$(facet_fstype ost$(($($GETSTRIPE -i $DIR/$tfile) + 1)))" = "zfs" ] \ && skip "no 16TB file size limit on ZFS" && return