+8
−14
Loading
The read error handling code will make raid1_bdev_io_completion() used only in one place so remove it now. And because reads only use one base bdev, don't set base_bdev_io_remaining and use raid_bdev_io_complete() instead of raid_bdev_io_complete_part() in the read completions. Signed-off-by:Artur Paszkiewicz <artur.paszkiewicz@intel.com> Change-Id: I9d1429bea7b9b4a8ab05bbf3ab67f53c332e95ad Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/22973 Reviewed-by:
Krzysztof Karas <krzysztof.karas@intel.com> Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com> Community-CI: Mellanox Build Bot Reviewed-by:
Jim Harris <jim.harris@samsung.com> Reviewed-by:
Konrad Sztyber <konrad.sztyber@intel.com>