Spdk/module/bdev/aio
Alexey Marchuk b5b752792f bdev/aio: Correct error message when IO fails
structure io_event defined in aio_abi.h has
res member with type __s64 which is typically
mapped to long long int.
When we print error message, res member can be
treated as an error code.

In the following error message:
	failed to complete aio: requested len is 4096, but
	completed len is 18446744073709551611
the last digit in int representation is -5 which is -EIO

Signed-off-by: Alexey Marchuk <alexeymar@mellanox.com>
Reported-by: Anil <aniruddha080699@gmail.com>
Change-Id: I33b98d2118bbc9cace2d9da7cf9cd9bd06d784e6
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/11453
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Community-CI: Mellanox Build Bot
Reviewed-by: Dong Yi <dongx.yi@intel.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
Reviewed-by: Shuhei Matsumoto <smatsumoto@nvidia.com>
2022-02-22 09:03:51 +00:00
..
bdev_aio_rpc.c aio: add aio bdev rescan feature 2022-01-25 08:13:28 +00:00
bdev_aio.c bdev/aio: Correct error message when IO fails 2022-02-22 09:03:51 +00:00
bdev_aio.h aio: add aio bdev rescan feature 2022-01-25 08:13:28 +00:00
Makefile so_ver: increase all major versions 2022-01-31 15:29:56 +00:00