mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
113: add testing for O_DIRECT + O_SYNC
This patch adds a couple more aio-stress runs to test 113. The first simply adds -S, to test out AIO+DIO+O_SYNC. The second adds -S and -o 2, which directs aio-stress to only perform the random write test. These two tests helped identify several bugs in ext4. Signed-off-by: Jeff Moyer <jmoyer@redhat.com> Reviewed-by: Eric Sandeen <sandeen@redhat.com>
This commit is contained in:
@@ -100,4 +100,10 @@ _do_test 2 "-s 10m" $count $procs
|
||||
# as above, but now using direct IO
|
||||
_do_test 3 "-s 10m -O" $count $procs
|
||||
|
||||
# dio with O_SYNC and unwritten extent conversion
|
||||
_do_test 4 "-s 10m -O -S" $count $procs
|
||||
|
||||
# random dio writes with O_SYNC and unwritten extent conversion
|
||||
_do_test 5 "-s 10m -O -S -o 2" $count $procs
|
||||
|
||||
exit
|
||||
|
||||
@@ -12,3 +12,11 @@ aio-stress.2 : -t 20 -s 10m
|
||||
-----------------------------------------------
|
||||
aio-stress.3 : -t 20 -s 10m -O
|
||||
-----------------------------------------------
|
||||
|
||||
-----------------------------------------------
|
||||
aio-stress.4 : -t 20 -s 10m -O -S
|
||||
-----------------------------------------------
|
||||
|
||||
-----------------------------------------------
|
||||
aio-stress.5 : -t 20 -s 10m -O -S -o 2
|
||||
-----------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user