Spdk/module/bdev
Maciej Szwed 32a961fc5d bdev: Add check for atomic compare and write unit
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>
2020-01-15 12:25:26 +00:00
..
aio bdev/aio: delete unnecessary code 2019-10-16 15:55:46 +00:00
compress module/compress: handle enqueue errors 2019-11-06 14:49:37 +00:00
crypto bdev/crypto: remove asserts around vtophys calls 2019-12-20 10:06:47 +00:00
delay mk: move the bdev modules under module directory. 2019-08-22 16:29:49 +00:00
error RPC: rename RPC bdev_error series 2019-08-26 18:59:18 +00:00
ftl bdev/ftl: Examine config support 2020-01-15 12:24:44 +00:00
gpt mk: move the bdev modules under module directory. 2019-08-22 16:29:49 +00:00
iscsi module/bdev: fix a inconsistent order of parameters 2019-11-21 08:04:53 +00:00
lvol lvol: Use error log instead of info log on error 2019-09-09 08:40:58 +00:00
malloc scripts/rpc: Rename rpc delete_malloc_bdev to bdev_malloc_delete 2019-09-09 05:02:47 +00:00
null scripts/rpc: Rename rpc related to null bdev 2019-08-28 15:19:58 +00:00
nvme bdev: Add check for atomic compare and write unit 2020-01-15 12:25:26 +00:00
ocf lib/bdev/ocf: remove unused code related to polling utils 2019-10-22 17:22:41 +00:00
passthru module/bdev: add zcopy abilities to virtual bdevs. 2019-12-20 10:06:47 +00:00
pmem rpc: Rename delete_pmem_pool to bdev_pmem_delete_pool 2019-09-05 07:04:17 +00:00
raid module/raid: raid level specific start/stop callbacks 2019-11-14 16:25:55 +00:00
rbd RPC: rename rpc delete_rbd_bdev to bdev_rbd_delete 2019-09-13 22:39:15 +00:00
rpc bdev/rpc: Add current ticks to bdev_get_iostat RPC 2019-11-21 08:05:23 +00:00
split RPC: rename destruct_split_vbdev to bdev_split_delete 2019-09-19 19:24:47 +00:00
uring uring: Add a uring.h file. 2019-12-30 11:45:51 +00:00
virtio virtio: remove VHOST_USER_F_PROTOCOL_FEATURES from virtio.h 2020-01-10 08:45:45 +00:00
zone_block bdev/zone: Register/unregister zoned bdev 2019-11-15 20:27:14 +00:00
Makefile bdev/ftl: Remove NVMe dependencies 2020-01-15 12:24:44 +00:00