Skip to content

Commit a37b49d

Browse files
keithbuschkawasaki
authored andcommitted
block: add test of direct io offsets
Tests various direct IO memory and length alignments against the device's queue limits reported from sysfs. Signed-off-by: Keith Busch <[email protected]> Reviewed-by: Chaitanya Kulkarni <[email protected]> [Shin'ichiro: capped buf_size with device size in init_buffers()] [Shin'ichiro: added license and copyright in block/042 per Link below] Link: https://lore.kernel.org/linux-block/aSXci0u7c9Ppnjbd@kbusch-mbp/ Signed-off-by: Shin'ichiro Kawasaki <[email protected]>
1 parent cc9c46e commit a37b49d

5 files changed

Lines changed: 751 additions & 0 deletions

File tree

src/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
/dio-offsets
12
/discontiguous-io
23
/loblksize
34
/loop_change_fd

src/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ HAVE_C_MACRO = $(shell if echo "$(H)include <$(1)>" | \
99
then echo 1;else echo 0; fi)
1010

1111
C_TARGETS := \
12+
dio-offsets \
1213
loblksize \
1314
loop_change_fd \
1415
loop_get_status_null \

0 commit comments

Comments
 (0)