+test_16() {
+ fsx -c 50 -p 100 -N 2500 $MOUNT1/fsxfile $MOUNT2/fsxfile
+}
+run_test 16 "2500 iterations of dual-mount fsx ================="
+
+cancel_lru_locks() {
+ for d in /proc/fs/lustre/ldlm/namespaces/$1*; do
+ echo clear > $d/lru_size
+ done
+ grep [0-9] /proc/fs/lustre/ldlm/namespaces/$1*/lock_unused_count /dev/null
+}
+
+test_17() { # bug 3513, 3667
+ [ ! -d /proc/fs/lustre/ost ] && echo "skipping OST-only test" && return
+
+ cp /etc/termcap $DIR1/f17
+ cancel_lru_locks OSC > /dev/null
+ #define OBD_FAIL_ONCE|OBD_FAIL_LDLM_CREATE_RESOURCE 0x30a
+ echo 0x8000030a > /proc/sys/lustre/fail_loc
+ ls -ls $DIR1/f17 | awk '{ print $1,$6 }' > $DIR1/f17-1 & \
+ ls -ls $DIR2/f17 | awk '{ print $1,$6 }' > $DIR2/f17-2
+ wait
+ diff -u $DIR1/f17-1 $DIR2/f17-2 || error "files are different"
+}
+run_test 17 "resource creation/LVB creation race ==============="
+
+test_18() {
+ ./mmap_sanity -d $MOUNT1 -m $MOUNT2
+}
+run_test 18 "mmap sanity check ================================="
+
+