Spdk/module/bdev/ocf
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
..
ctx.c Update ocf to 21.6 2021-10-20 07:22:22 +00:00
ctx.h bdev/ocf: OCF 20.12.1 requirements 2021-03-18 14:33:55 +00:00
data.c mk: move the bdev modules under module directory. 2019-08-22 16:29:49 +00:00
data.h bdev/ocf: OCF 20.12.1 requirements 2021-03-18 14:33:55 +00:00
Makefile so_ver: increase all major versions 2022-01-31 15:29:56 +00:00
stats.c ocf: update ocf submodule to v20.3 2020-04-17 07:32:48 +00:00
stats.h ocf: update ocf submodule to v20.3 2020-04-17 07:32:48 +00:00
utils.c ocf/rpc: Add RPC method to manage sequential cutoff 2022-04-01 08:31:32 +00:00
utils.h ocf/rpc: Add RPC method to manage sequential cutoff 2022-04-01 08:31:32 +00:00
vbdev_ocf_rpc.c ocf/rpc: Add RPC method to manage sequential cutoff 2022-04-01 08:31:32 +00:00
vbdev_ocf.c bdev/ocf: Fix no memory error value check 2022-05-11 09:34:45 +00:00
vbdev_ocf.h ocf/rpc: Add RPC method to manage sequential cutoff 2022-04-01 08:31:32 +00:00
volume.c bdev/ocf: Implement ENOMEM handling when submitting IO to base device 2022-05-16 10:15:27 +00:00
volume.h bdev/ocf: OCF 20.12.1 requirements 2021-03-18 14:33:55 +00:00