Skip to content

Commit 9413c0c

Browse files
Ming Leiaxboe
authored andcommitted
selftests: ublk: increase max buffer size to 1MB
Increase max buffer size to 1MB, and 64KB is too small to evaluate performance with builtin ublk server implementation. Signed-off-by: Ming Lei <ming.lei@redhat.com> Link: https://lore.kernel.org/r/20250322093218.431419-4-ming.lei@redhat.com Signed-off-by: Jens Axboe <axboe@kernel.dk>
1 parent f2639ed commit 9413c0c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • tools/testing/selftests/ublk

tools/testing/selftests/ublk/kublk.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
/* queue idle timeout */
4141
#define UBLKSRV_IO_IDLE_SECS 20
4242

43-
#define UBLK_IO_MAX_BYTES 65536
43+
#define UBLK_IO_MAX_BYTES (1 << 20)
4444
#define UBLK_MAX_QUEUES 4
4545
#define UBLK_QUEUE_DEPTH 128
4646

0 commit comments

Comments
 (0)