22fa0c0135
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> |
||
---|---|---|
.. | ||
bdev_internal.h | ||
bdev_rpc.c | ||
bdev_zone.c | ||
bdev.c | ||
Makefile | ||
part.c | ||
scsi_nvme.c | ||
spdk_bdev.map | ||
vtune.c |