32a961fc5d
Compare and write fused operation num_blocks should not exceed value of 'atomic compare and write unit'. In case of NVMe native support we should read this value from 'namespace atomic compare and write unit' if set in namespace identify data, otherwise from 'atomic and write unit' field in controller identify data. If bdev does not support this natively we should set this value to 1. Signed-off-by: Maciej Szwed <maciej.szwed@intel.com> Change-Id: Ib1ea02dbf9d1eed476d9dd0114ea96b1376e0c45 Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/477911 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Community-CI: Broadcom SPDK FC-NVMe CI <spdk-ci.pdl@broadcom.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> |
||
---|---|---|
.. | ||
bdev_internal.h | ||
bdev_rpc.c | ||
bdev_zone.c | ||
bdev.c | ||
Makefile | ||
part.c | ||
scsi_nvme.c | ||
vtune.c |