Loading
module/raid: fix type of raid_bdev_io completion status
The status in raid_bdev_io is stored as uint8_t and this causes spdk_bdev_io_status passed in raid_bdev_io_complete_part() to be truncated for the negative enum values. This truncated value gets later passed to spdk_bdev_io_complete(). Fix it by using the correct type. Change-Id: I99c1d2e8b14c51acf6d3e8f1087eb65f7e05b821 Signed-off-by:Artur Paszkiewicz <artur.paszkiewicz@intel.com> Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/18710 Reviewed-by:
Konrad Sztyber <konrad.sztyber@intel.com> Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com> Community-CI: Mellanox Build Bot Reviewed-by:
Jim Harris <jim.harris@samsung.com>