From 829066e57b2996d62a5a55f3eee53ad9bce46dfe Mon Sep 17 00:00:00 2001 From: Ameer Hamza Date: Tue, 12 Nov 2024 19:46:13 +0500 Subject: [PATCH] zvol_os.c: Increase optimal IO size --- module/os/linux/zfs/zvol_os.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/os/linux/zfs/zvol_os.c b/module/os/linux/zfs/zvol_os.c index d1e3061b50e6..6a050c172ce7 100644 --- a/module/os/linux/zfs/zvol_os.c +++ b/module/os/linux/zfs/zvol_os.c @@ -1193,7 +1193,7 @@ zvol_queue_limits_init(zvol_queue_limits_t *limits, zvol_state_t *zv, limits->zql_max_segment_size = UINT_MAX; } - limits->zql_io_opt = zv->zv_volblocksize; + limits->zql_io_opt = DMU_MAX_ACCESS/2; limits->zql_physical_block_size = zv->zv_volblocksize; limits->zql_max_discard_sectors =