This addition enables us to test the new abort I/O feature on top of any bdev which supports I/O type ABORT. Add the abort I/O handler vbdev_delay_abort() into vbdev_delay_submit_request(). vbdev_delay_abort() aborts the target I/O if it is delayed to complete, or calls spdk_bdev_abort() otherwise. Signed-off-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Change-Id: I191143357b95eeb56ada708d2d7ce30cf772bdcf Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/2602 Reviewed-by: Aleksey Marchuk <alexeymar@mellanox.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> Community-CI: Broadcom CI Community-CI: Mellanox Build Bot Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> |
||
---|---|---|
.. | ||
Makefile | ||
vbdev_delay_rpc.c | ||
vbdev_delay.c | ||
vbdev_delay.h |