Loading
nvme/fio_plugin: exclude PRACT&&MD=8&&Extended LBA metadata size
If PRACT is enabled, and metadata size is 8 bytes, for extended LBA format, the controller will insert/strip the metadata, so we don't need to pass the metadata buffer, so we should exclude this metadata buffer from host buffer. So here add a function to calculate host buffer size. Change-Id: I42d8d9cbfbf7ba2bc4bf64d65260c6cfe9bd4cb1 Signed-off-by:Changpeng Liu <changpeng.liu@intel.com> Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/6789 Community-CI: Mellanox Build Bot Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by:
Niklas Cassel <niklas.cassel@wdc.com> Reviewed-by:
Jim Harris <james.r.harris@intel.com> Reviewed-by:
Aleksey Marchuk <alexeymar@mellanox.com>