From: Ming Lei Date: Sat, 22 Mar 2025 09:32:11 +0000 (+0800) Subject: selftests: ublk: increase max buffer size to 1MB X-Git-Tag: v6.15-rc1~167^2~5 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=9413c0ca8e455efb16b81f2c99061f6eb3d38281;p=thirdparty%2Fkernel%2Flinux.git 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 --- 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