From 9413c0ca8e455efb16b81f2c99061f6eb3d38281 Mon Sep 17 00:00:00 2001 From: Ming Lei Date: Sat, 22 Mar 2025 17:32:11 +0800 Subject: [PATCH] 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 Link: https://lore.kernel.org/r/20250322093218.431419-4-ming.lei@redhat.com Signed-off-by: Jens Axboe --- tools/testing/selftests/ublk/kublk.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/testing/selftests/ublk/kublk.h b/tools/testing/selftests/ublk/kublk.h index 9cd7ab62f2582..40b89dcf07048 100644 --- a/tools/testing/selftests/ublk/kublk.h +++ b/tools/testing/selftests/ublk/kublk.h @@ -40,7 +40,7 @@ /* queue idle timeout */ #define UBLKSRV_IO_IDLE_SECS 20 -#define UBLK_IO_MAX_BYTES 65536 +#define UBLK_IO_MAX_BYTES (1 << 20) #define UBLK_MAX_QUEUES 4 #define UBLK_QUEUE_DEPTH 128 -- 2.51.0