numam-spdk/lib/bdev/nvme
Jim Harris 5b900148e5 nvme: add spdk_nvme_ns_get_extended_sector_size
spdk_nvme_ns_get_sector_size returns the sector
size of the data only.  This new function adds
in the metadata size, if any.

While here, modify the bdev/nvme driver to use this
function - this is needed for ongoing extended sector
size work through the bdev layer.

Signed-off-by: Jim Harris <james.r.harris@intel.com>
Change-Id: Ic8070a7f8d29b0b2ac2a2d65e0df5f4736488351

Reviewed-on: https://review.gerrithub.io/422445
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
Reviewed-by: Changpeng Liu <changpeng.liu@intel.com>
Chandler-Test-Pool: SPDK Automated Test System <sys_sgsw@intel.com>
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
2018-08-16 04:38:10 +00:00
..
bdev_nvme_rpc.c bdev/nvme: add RPC to enable and disable hotplug 2018-07-26 22:12:29 +00:00
bdev_nvme.c nvme: add spdk_nvme_ns_get_extended_sector_size 2018-08-16 04:38:10 +00:00
bdev_nvme.h bdev/nvme: add RPC to enable and disable hotplug 2018-07-26 22:12:29 +00:00
Makefile Make: remove unused CFLAGS 2018-02-21 13:10:29 -05:00