2cf937fb92
The specification says when PRACT is 1 and metadata size is 8, the controller generates and appends protection information to the end of the logical block data, this looks like only valid for extended LBA format, but from real test with different drives, for separate metadata case, some drives require host allocated buffer while some not, for metadata bigger than 8 bytes cases, they all need host buffer, so we allocate this buffer in host for all cases here. Change-Id: I1aca8eb84e089ff5819a5f2680409c193847c40b Signed-off-by: Changpeng Liu <changpeng.liu@intel.com> Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/1391 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: Jim Harris <james.r.harris@intel.com> Reviewed-by: Aleksey Marchuk <alexeymar@mellanox.com> |
||
---|---|---|
.. | ||
.gitignore | ||
Makefile | ||
nvme_dp.c |