diff mbox series

[3/8] selftests: ublk: increase max buffer size to 1MB

Message ID 20250322093218.431419-4-ming.lei@redhat.com (mailing list archive)
State New
Headers show
Series selftests: ublk: cleanup & more tests | expand

Commit Message

Ming Lei March 22, 2025, 9:32 a.m. UTC
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>
---
 tools/testing/selftests/ublk/kublk.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/tools/testing/selftests/ublk/kublk.h b/tools/testing/selftests/ublk/kublk.h
index 9cd7ab62f258..40b89dcf0704 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