mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
xfstests: add a helper to get the minimum dio size
Various tests opencode checks to find out the minimum support direct I/O size. Replace those with a generic helper that handles network filesystems as well. Also remove the Linux 2.4 workaround we had in once place. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Eric Sandeen <sandeen@redhat.com> Signed-off-by: Rich Johnston <rjohnston@sgi.com>
This commit is contained in:
committed by
Rich Johnston
parent
6bd85c0a99
commit
50e2a514d9
+1
-1
@@ -54,7 +54,7 @@ run_fsx()
|
||||
}
|
||||
|
||||
psize=`$here/src/feature -s`
|
||||
bsize=`blockdev --getss $TEST_DEV`
|
||||
bsize=`_min_dio_alignment $TEST_DEV`
|
||||
|
||||
run_fsx -N 10000 -o 8192 -l 500000 -r PSIZE -t BSIZE -w BSIZE -Z
|
||||
run_fsx -N 10000 -o 128000 -l 500000 -r PSIZE -t BSIZE -w BSIZE -Z
|
||||
|
||||
Reference in New Issue
Block a user