mirror of
https://github.com/openharmony/third_party_liburing.git
synced 2026-08-26 18:26:44 -04:00
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>
This commit is contained in:
+2
-2
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user