diff options
author | Jens Axboe <axboe@kernel.dk> | 2022-02-09 11:00:54 -0700 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2022-02-09 11:00:54 -0700 |
commit | 42df1f30d8f6f759c94e821ce4e04cff39f0c6e1 (patch) | |
tree | 4268f429dc0f1a7c9d96b02a8e00684bc2b40db3 | |
parent | e4170c717ef9a619c1df1a9840613f30db7baf19 (diff) | |
download | liburing-42df1f30d8f6f759c94e821ce4e04cff39f0c6e1.tar.gz liburing-42df1f30d8f6f759c94e821ce4e04cff39f0c6e1.tar.bz2 |
test/read-write: work on 4kb blocksize devices
For some tests, we chop the iovec in two. Since the iovec is 4k in
size, this fails on devices that are actually using 4k block sizes.
Just bump the iovec size to 8k, then it'll work fine on 4k devices.
Signed-off-by: Jens Axboe <axboe@kernel.dk>
-rw-r--r-- | test/read-write.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/read-write.c b/test/read-write.c index d54ad0e..5dc6f87 100644 --- a/test/read-write.c +++ b/test/read-write.c @@ -16,8 +16,8 @@ #include "helpers.h" #include "liburing.h" -#define FILE_SIZE (128 * 1024) -#define BS 4096 +#define FILE_SIZE (256 * 1024) +#define BS 8192 #define BUFFERS (FILE_SIZE / BS) static struct iovec *vecs; |