Spdk/module/bdev
Shuhei Matsumoto e2d1dfb4fa bdev/malloc: Always return failure but support I/O type ABORT
Malloc bdev module does not manage submitted I/Os by any list,
and so cannot abort any submitted I/O. However malloc bdev module
can always fail any submitted abort request.

Hence let's update bdev_malloc_io_type_supported() to return true
for SPDK_BDEV_IO_TYPE_ABORT and update _bdev_malloc_submit_request()
to complete with failure for SPDK_BDEV_IO_TYPE_ABORT.

This will enable us to use delay bdev + malloc bdev to test I/O
abort feature conveniently.

Signed-off-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
Change-Id: If4c411f5ab8589291ac90c10264d3ef30c06df83
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/2797
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>
2020-06-09 07:37:29 +00:00
..
aio mk/lib: add a check that major and minor version is set for libs. 2020-05-21 09:19:00 +00:00
compress mk/lib: add a check that major and minor version is set for libs. 2020-05-21 09:19:00 +00:00
crypto bdev/crypto: Stop access bdev_io->internal from bdev module and fix an issue 2020-05-21 09:19:23 +00:00
delay mk/lib: add a check that major and minor version is set for libs. 2020-05-21 09:19:00 +00:00
error lib and module: remove remaining _spdk prefixes. 2020-06-01 13:07:30 +00:00
ftl mk/lib: add a check that major and minor version is set for libs. 2020-05-21 09:19:00 +00:00
gpt mk/lib: add a check that major and minor version is set for libs. 2020-05-21 09:19:00 +00:00
iscsi mk/lib: add a check that major and minor version is set for libs. 2020-05-21 09:19:00 +00:00
lvol lib and module: remove remaining _spdk prefixes. 2020-06-01 13:07:30 +00:00
malloc bdev/malloc: Always return failure but support I/O type ABORT 2020-06-09 07:37:29 +00:00
null mk/lib: add a check that major and minor version is set for libs. 2020-05-21 09:19:00 +00:00
nvme mk/lib: add a check that major and minor version is set for libs. 2020-05-21 09:19:00 +00:00
ocf ocf/ctx: Fix warning of using uninitialized value. 2020-05-27 07:37:12 +00:00
passthru mk/lib: add a check that major and minor version is set for libs. 2020-05-21 09:19:00 +00:00
pmem mk/lib: add a check that major and minor version is set for libs. 2020-05-21 09:19:00 +00:00
raid all: Fix warnings found by gcc 9.3.0 and 9.3.1 2020-06-02 09:51:57 +00:00
rbd mk/lib: add a check that major and minor version is set for libs. 2020-05-21 09:19:00 +00:00
rpc mk/lib: add a check that major and minor version is set for libs. 2020-05-21 09:19:00 +00:00
split mk/lib: add a check that major and minor version is set for libs. 2020-05-21 09:19:00 +00:00
uring mk/lib: add a check that major and minor version is set for libs. 2020-05-21 09:19:00 +00:00
virtio mk/lib: add a check that major and minor version is set for libs. 2020-05-21 09:19:00 +00:00
zone_block mk/lib: add a check that major and minor version is set for libs. 2020-05-21 09:19:00 +00:00
Makefile bdev/ftl: Remove NVMe dependencies 2020-01-15 12:24:44 +00:00