6497b0774e
The max_io_size transport option should be a power of 2 and be >= 8KB. Max data tranfer size is defined in NVMe-oF spec as 2^(mdts cmd field) * 4KB. Mdts cmd field is calculated as spdk_u32log2(transport->opts.max_io_size / 4096), so max_io_size < 8KB results in mdts=0, which means no size limit (according to spec). User can set max_io_size = 0 explicitly to allow no size limit. Signed-off-by: Maciej Szulik <maciej.szulik@intel.com> Change-Id: Id88a77efce5f217e1fc7750f61c0bd330aaa3791 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/6384 Community-CI: Broadcom CI Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Jacek Kalwas <jacek.kalwas@intel.com> Reviewed-by: Aleksey Marchuk <alexeymar@mellanox.com> Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com> |
||
---|---|---|
.. | ||
linux | ||
spdk | ||
spdk_internal | ||
Makefile |