From 1246241aa95463e0d04e937736a045c8e51e7058 Mon Sep 17 00:00:00 2001 From: Christoph Hellwig Date: Tue, 28 Jan 2025 08:14:12 +0100 Subject: [PATCH] generic/418: use min_dio_alignment Otherwise this test uses the wrong sector size on the RT device. Signed-off-by: Christoph Hellwig Reviewed-by: Darrick J. Wong Signed-off-by: Zorro Lang --- tests/generic/418 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/generic/418 b/tests/generic/418 index 4321e298..36789198 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.39.5