+++ This bug was initially created as a clone of Bug #1744518 +++
Description of problem:
in posix_health_check function log aio_error return code in the message while aio operation is failed. Sometime brick is going down to health check thread is
failed without logging error codes return by aio system calls.As per aio_error man page it returns a positive error number if the asynchronous I/O operation failed.
Version-Release number of selected component (if applicable):
Only reproducible in QE environment
Steps to Reproduce:
health check thread is failing without logging aio return codes.
Log message should print error code in case of error.
--- Additional comment from RHEL Product and Program Management on 2019-08-22 10:18:31 UTC ---
This bug is automatically being proposed for the next minor release of Red Hat Gluster Storage by setting the release flag 'rhgs‑3.5.0' to '?'.
If this bug should be proposed for a different release, please manually change the proposed release flag.
REVIEW: https://review.gluster.org/23284 (posix: log aio_error return codes in posix_fs_health_check) posted (#1) for review on master by MOHIT AGRAWAL
REVIEW: https://review.gluster.org/23284 (posix: log aio_error return codes in posix_fs_health_check) merged (#2) on master by MOHIT AGRAWAL