Spdk/module/bdev
Gal Hammer 90aba31ac3 bdev/ocf: Implement ENOMEM handling when submitting IO to base device
Replaced the TODO comment with an error handing in case SPDK fails to
allocate memory for the IO request. Returning the proper error code
will use the bdev's no memory retry mechanism to handle the failure.

Signed-off-by: Gal Hammer <gal.hammer@huawei.com>
Signed-off-by: Shai Fultheim <shai.fultheim@huawei.com>
Change-Id: I151668f26b7f122dca95eaf65934be675e601952
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/12372
Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com>
Community-CI: Mellanox Build Bot
Reviewed-by: Shuhei Matsumoto <smatsumoto@nvidia.com>
Reviewed-by: Changpeng Liu <changpeng.liu@intel.com>
Reviewed-by: Rafal Stefanowski <rafal.stefanowski@intel.com>
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
2022-05-16 10:15:27 +00:00
..
aio bdev/aio: Use bdev_open_ext() for rescan instead of bdev_get_by_name() 2022-04-04 09:57:43 +00:00
compress bdev/compress: Update error handling in IO submission path 2022-03-31 09:34:52 +00:00
crypto module/bdev: Use spdk_bdev_unregister_by_name() if possible 2022-04-04 09:57:43 +00:00
delay bdev/delay: Find delay_bdev directly from g_delay_node list 2022-04-04 09:57:43 +00:00
error bdev/error: Use bdev_open_ext() to inject error instead of bdev_get_by_name() 2022-04-04 09:57:43 +00:00
ftl module/bdev: Use spdk_bdev_unregister_by_name() if possible 2022-04-04 09:57:43 +00:00
gpt vbdev_gpt: Report memory domains 2022-04-04 09:57:56 +00:00
iscsi module/bdev: Use spdk_bdev_unregister_by_name() if possible 2022-04-04 09:57:43 +00:00
lvol vbdev_lvol: Report memory domains 2022-05-16 10:14:26 +00:00
malloc module/bdev: Use spdk_bdev_unregister_by_name() if possible 2022-04-04 09:57:43 +00:00
null bdev/null: Use bdev_open_ext() for resize instead of bdev_get_by_name() 2022-04-04 09:57:43 +00:00
nvme bdev/nvme: Factor out set callback and call ctrlr_disconnect() into a helper function 2022-05-12 07:28:02 +00:00
ocf bdev/ocf: Implement ENOMEM handling when submitting IO to base device 2022-05-16 10:15:27 +00:00
passthru module/bdev: Use spdk_bdev_unregister_by_name() if possible 2022-04-04 09:57:43 +00:00
pmem bdev/pmem: add support for IO_TYPE_FLUSH 2022-04-11 07:43:23 +00:00
raid bdev/raid: stop the raid bdev in raid_bdev_destruct 2022-04-13 08:33:19 +00:00
rbd bdev/rbd: Use bdev_open_ext() for resize instead of bdev_get_by_name() 2022-04-04 09:57:43 +00:00
split bdev/split: Use bdev_open_ext() for creation instead of bdev_get_by_name() 2022-04-04 09:57:43 +00:00
uring module/bdev: Use spdk_bdev_unregister_by_name() if possible 2022-04-04 09:57:43 +00:00
virtio module/bdev: Use spdk_bdev_unregister_by_name() if possible 2022-04-04 09:57:43 +00:00
zone_block module/bdev: Use spdk_bdev_unregister_by_name() if possible 2022-04-04 09:57:43 +00:00
Makefile bdev: move bdev_rpc library contents 2020-09-25 11:43:42 +00:00