021ff6edff
This helps user to locate whether bdev_io fails in spdk bdev layer or inside Linux AIO. SPDK_BDEV_IO_STATUS_AIO_ERROR indicates bdev_io fails due to Linux AIO or its lower layer's failure. New functions spdk_bdev_io_complete_aio_status and spdk_bdev_io_get_aio_status can be used to report out the errno from Linux AIO. Change-Id: I32640e4a0459cca057278c02ea5a7522f3408a02 Signed-off-by: Liu Xiaodong <xiaodong.liu@intel.com> Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/5690 Community-CI: Broadcom CI Community-CI: Mellanox Build Bot Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Reviewed-by: Changpeng Liu <changpeng.liu@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> |
||
---|---|---|
.. | ||
bdev_internal.h | ||
bdev_rpc.c | ||
bdev_zone.c | ||
bdev.c | ||
Makefile | ||
part.c | ||
scsi_nvme.c | ||
spdk_bdev.map | ||
vtune.c |