init_logging
ALWAYS_EXCEPT="$SANITYN_EXCEPT "
-# bug number for skipped test: LU-7105 LU-14541
-ALWAYS_EXCEPT+=" 28 16f"
+# bug number for skipped test: LU-7105
+ALWAYS_EXCEPT+=" 28 "
# UPDATE THE COMMENT ABOVE WITH BUG NUMBERS WHEN CHANGING ALWAYS_EXCEPT!
if [ $mds1_FSTYPE = "zfs" ]; then
}
run_test 16f "rw sequential consistency vs drop_caches"
+test_16g() {
+ local file1=$DIR1/$tfile
+ local file2=$DIR2/$tfile
+ local duration=20
+ local status
+
+ timeout --preserve-status --signal=USR1 $duration \
+ rw_seq_cst_vs_drop_caches -m $file1 $file2
+ status=$?
+
+ case $((status & 0x7f)) in
+ 0)
+ echo OK # Computers must be fast now.
+ ;;
+ 6) # SIGABRT
+ error "sequential consistency violation detected"
+ ;;
+ 10) # SIGUSR1
+ echo TIMEOUT # This is fine.
+ ;;
+ *)
+ error "strange status '$status'"
+ ;;
+ esac
+
+ rm -f $file1
+}
+run_test 16g "mmap rw sequential consistency vs drop_caches"
+
test_16h() {
local tf=$DIR/$tdir/$tfile
local tf2=$DIR2/$tdir/$tfile