search for: suspend_opt

Displaying 2 results from an estimated 2 matches for "suspend_opt".

2013 Oct 28
0
[PATCH] xfstests: add generic/320 to test fsync() on directories V2
...;table> [lockfs] +# +# This defaults to --nolockfs, which doesn''t freeze_fs() before loading the new +# table, so it simulates power failure. +_load_flakey_table() +{ + + table="$FLAKEY_TABLE" + [ $1 -eq $FLAKEY_DROP_WRITES ] && table="$FLAKEY_TABLE_DROP" + + suspend_opt="--nolockfs" + [ $# -gt 1 ] && [ $2 -eq 1 ] && suspend_opt="" + + $DMSETUP_PROG suspend $suspend_opt flakey-test + [ $? -ne 0 ] && _fatal "failed to suspend flakey-test" + + $DMSETUP_PROG load flakey-test --table "$table" + [ $? -ne 0...
2013 Nov 15
7
[PATCH 1/2] xfstests: add generic/321 to test fsync() on directories V2
...ount_flakey() -{ - mount -t $FSTYP $MOUNT_OPTIONS $FLAKEY_DEV $SCRATCH_MNT -} - -_unmount_flakey() -{ - $UMOUNT_PROG $SCRATCH_MNT -} - -_load_flakey_table() -{ - # _load_flakey_table <table> - - table="$FLAKEY_TABLE" - [ $1 -eq 1 ] && table="$FLAKEY_TABLE_DROP" - - suspend_opt="" - [ $nolockfs -eq 1 ] && suspend_opt="--nolockfs" - - $DMSETUP_PROG suspend $suspend_opt flakey-test - [ $? -ne 0 ] && _fatal "failed to suspend flakey-test" - - $DMSETUP_PROG load flakey-test --table "$table" - [ $? -ne 0 ] && _fat...