]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
selftests: ublk: increase max buffer size to 1MB
authorMing Lei <ming.lei@redhat.com>
Sat, 22 Mar 2025 09:32:11 +0000 (17:32 +0800)
committerJens Axboe <axboe@kernel.dk>
Sat, 22 Mar 2025 14:35:08 +0000 (08:35 -0600)
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>
tools/testing/selftests/ublk/kublk.h

index 9cd7ab62f2582e5618dc294981c25dab04b412c3..40b89dcf0704867f6fb1eb6465bb747bf8ebaf18 100644 (file)
@@ -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