FS/XFS testing framework
 help / color / mirror / Atom feed
* [PATCH] generic/418: use min_dio_alignment
@ 2025-01-28  7:14 Christoph Hellwig
  2025-01-28 19:21 ` Darrick J. Wong
  0 siblings, 1 reply; 3+ messages in thread
From: Christoph Hellwig @ 2025-01-28  7:14 UTC (permalink / raw)
  To: zlang; +Cc: djwong, fstests

Otherwise this test uses the wrong sector size on the RT device.

Signed-off-by: Christoph Hellwig <hch@lst.de>
---
 tests/generic/418 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/generic/418 b/tests/generic/418
index 4321e2984663..36789198c88e 100755
--- a/tests/generic/418
+++ b/tests/generic/418
@@ -28,7 +28,7 @@ _require_test_program "feature"
 
 diotest=$here/src/dio-invalidate-cache
 testfile=$TEST_DIR/$seq-diotest
-sectorsize=`blockdev --getss $TEST_DEV`
+sectorsize=`$here/src/min_dio_alignment $TEST_DIR $TEST_DEV`
 pagesize=`$here/src/feature -s`
 
 # test case array, test different write/read combinations
-- 
2.45.2


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2025-01-29  5:36 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-01-28  7:14 [PATCH] generic/418: use min_dio_alignment Christoph Hellwig
2025-01-28 19:21 ` Darrick J. Wong
2025-01-29  5:36   ` Christoph Hellwig

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox