Spdk/lib
Shuhei Matsumoto 04569c99c0 bdev: bdev_io_get_nvme_status() supports NVMe abort command
spdk_bdev_io_get_nvme_status() does not follow NVMe abort command
about return values.

NVMe abort command sets completion status to SUCCESS both for success and
failure cases and differentiates only the bit 0 of cdw0.

lib/nvmf do not use spdk_bdev_io_get_nvme_status() but checks only
success or failure at completion.

So there is no issue now but let spdk_bdev_io_get_nvme_status()
follow NVMe abort command. In future, the user of spdk_bdev_abort()
may use spdk_bdev_io_get_nvme_status().

Signed-off-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
Change-Id: Ic4a08056bd8a1aee4c400f72ef5de7c68e23990b
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/9977
Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com>
Community-CI: Mellanox Build Bot
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Aleksey Marchuk <alexeymar@mellanox.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
Reviewed-by: Konrad Sztyber <konrad.sztyber@intel.com>
2022-06-30 13:32:27 -04:00
..
accel accel: create SW Engine Channel if HW Engine not supports 2022-06-30 13:32:26 -04:00
bdev bdev: bdev_io_get_nvme_status() supports NVMe abort command 2022-06-30 13:32:27 -04:00
blob blob: use uint64_t for unmap and write_zeroes lba count 2022-06-30 13:32:26 -04:00
blobfs trace: move all trace definitions to a separate file 2022-06-30 13:32:26 -04:00
conf so_ver: increase all major versions 2021-02-05 14:43:47 +00:00
dma dma: Add infrstructure for push operation 2022-06-30 13:32:26 -04:00
env_dpdk env/dpdk: retry SO_RCVBUF if SO_RCVBUFFORCE fails 2022-06-30 13:32:27 -04:00
env_ocf Update ocf to 21.6 2022-06-30 13:32:26 -04:00
event thread: add spdk_poller_get_id 2022-06-30 13:32:27 -04:00
ftl ftl: fix set-but-not-used error 2022-06-30 13:32:27 -04:00
idxd lib/idxd: only select idxd device that are on the same socket 2022-06-30 13:32:25 -04:00
init init: use strerror when conf file can't be loaded 2022-06-30 13:32:27 -04:00
ioat ioat: fix potential double free problem in ioat_channel_start() 2021-06-16 09:00:37 +00:00
iscsi iscsi: Merge immediate data into the following R2T data 2022-06-30 13:32:27 -04:00
json json: add the spdk_json_write_uint8|16 function 2022-06-30 13:32:26 -04:00
jsonrpc jsonrpc: use SOCK_NONBLOCK in socket() calls 2021-05-05 13:31:10 +00:00
log log: add an API to return syslog level based on SPDK's log level 2021-08-12 12:57:39 +00:00
lvol blob: use uint64_t for unmap and write_zeroes lba count 2022-06-30 13:32:26 -04:00
nbd lib/nbd: hot remove will be correctly handled 2021-07-26 08:56:23 +00:00
notify so_ver: increase all major versions 2021-02-05 14:43:47 +00:00
nvme nvme: Do not construct the namespace object on ns_create 2022-06-30 13:32:27 -04:00
nvmf nvmf/vfio-user: add a pointer to struct spdk_nvmf_ctrlr 2022-06-30 13:32:27 -04:00
rdma include: remove util.h include from queue_extras.h 2021-04-14 07:25:21 +00:00
reduce util: Add macro SPDK_SIZEOF_MEMBER to get size of a member of a struct 2021-07-15 07:16:22 +00:00
rocksdb rocksdb: fix thread name typo 2021-09-03 08:08:20 +00:00
rpc Initial changes. 2022-02-08 15:51:30 -05:00
scsi scsi: Decide LUN format for each LUN ID 2022-06-30 13:32:26 -04:00
sock socket: Remove deprecated enable_zerocopy_send 2021-07-23 10:30:25 +00:00
thread thread: add spdk_poller_get_id 2022-06-30 13:32:27 -04:00
trace trace: enable adding relations between traces 2022-06-30 13:32:26 -04:00
trace_parser trace: enable adding relations between traces 2022-06-30 13:32:26 -04:00
ut_mock so_ver: increase all major versions 2021-02-05 14:43:47 +00:00
util add name to fd groups 2022-06-30 13:32:25 -04:00
vfio_user nvme/vfio-user: remove internal device list 2022-06-30 13:32:27 -04:00
vhost lib/vhost: Fix compilation with dpdk 21.11 2022-06-30 13:32:27 -04:00
virtio env: only pass failing address to spdk_pci_error_handler 2021-06-15 08:34:28 +00:00
vmd vmd: update for changes in IceLake platform 2021-08-31 08:39:37 +00:00
Makefile lib/trace_parser: add trace_parser library stubs 2022-06-30 13:32:25 -04:00