Previously, bdev_io_split_done() had continued splitting process even if the status became failed. To abort split I/O, this patch changes bdev_io_split_done() to terminate with failure before continuing splitting process if the status became failed. Add necessary unit test together. Signed-off-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Change-Id: Ifd1ea49c22523e8c06fb45ebdcb2c84a57afd2ef Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/2234 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Community-CI: Mellanox Build Bot Community-CI: Broadcom CI Reviewed-by: Aleksey Marchuk <alexeymar@mellanox.com> Reviewed-by: Michael Haeuptle <michaelhaeuptle@gmail.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> |
||
---|---|---|
.. | ||
.gitignore | ||
bdev_ut.c | ||
Makefile |