+15
−0
Loading
Set nvme bdev physical block size based value of NPWG and NAWUPF namespace field. The logic to set bdev phys_blocklen is based on how Linux nvme block driver sets it. If the underlying nvme namespace supports NPWG/NAWUPF then bdev phys_blocklen is set to min(npwg, nawupf) Signed-off-by:Swapnil Ingle <swapnil.ingle@nutanix.com> Change-Id: I6d254a9e730dccc230b9db4d1217bf7ab2f39b6c Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/8224 Community-CI: Mellanox Build Bot Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by:
Ben Walker <benjamin.walker@intel.com> Reviewed-by:
Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Reviewed-by:
Ziye Yang <ziye.yang@intel.com> Reviewed-by:
Aleksey Marchuk <alexeymar@mellanox.com>