X-Git-Url: https://git.whamcloud.com/?a=blobdiff_plain;f=lustre%2Ftests%2Fsanity-pcc.sh;h=093554aa4fa88f7bc1c5ed58888c99ea73eaefdc;hb=73e14f5d1015e2b8955f0e9f4b09323f61aa594f;hp=16515b60df8c192061de37b12ef5d97c3946eddd;hpb=a5ef2d6e068eae5a055746b0f79ce6749f4c9a6d;p=fs%2Flustre-release.git diff --git a/lustre/tests/sanity-pcc.sh b/lustre/tests/sanity-pcc.sh index 16515b6..093554a 100644 --- a/lustre/tests/sanity-pcc.sh +++ b/lustre/tests/sanity-pcc.sh @@ -697,7 +697,10 @@ test_4() { # mmap_sanity tst7 failed on the local ext4 filesystem. # It seems that Lustre filesystem does special process for tst 7. # Thus, we exclude tst7 from the PCC testing. - $LUSTRE/tests/mmap_sanity -d $DIR/$tdir -m $DIR2/$tdir -e 7 || + # There is a mmap problem for PCC when multiple clients read/write + # on a shared mmapped file. Thus, we exclude mmap_sanity tst6 from + # the PCC tesing. + $LUSTRE/tests/mmap_sanity -d $DIR/$tdir -m $DIR2/$tdir -e 6 -e 7 || error "mmap_sanity test failed" sync; sleep 1; sync @@ -1463,6 +1466,9 @@ test_20() { error "Failed to attach $file" do_facet $SINGLEAGT "echo 3 > /proc/sys/vm/drop_caches" check_lpcc_state $file "readwrite" + do_facet $SINGLEAGT "echo 3 > /proc/sys/vm/drop_caches" + do_facet $SINGLEAGT "echo 3 > /proc/sys/vm/drop_caches" + check_lpcc_state $file "readwrite" do_facet $SINGLEAGT $LFS pcc detach $file || error "Failed to detach $file" }