# 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
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"
}