As malloc bdev module supports I/O type ABORT, it will be helpful if any bdev module other than NVMe bdev module supports I/O type ABORT. Update bdev_null_io_type_supported() to return true for SPDK_BDEV_IO_TYPE_ABORT and update bdev_null_submit_request() to try aborting the target I/O if queued. Signed-off-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Change-Id: I4614c48840ef069a11991486d184d45789bc3000 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/2798 Community-CI: Broadcom CI Community-CI: Mellanox Build Bot Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com> Reviewed-by: Aleksey Marchuk <alexeymar@mellanox.com> |
||
---|---|---|
.. | ||
bdev_null_rpc.c | ||
bdev_null.c | ||
bdev_null.h | ||
Makefile |