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> |
||
---|---|---|
.. | ||
bdev_aio_rpc.c | ||
bdev_aio.c | ||
bdev_aio.h | ||
Makefile |