Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1744519

Summary: log aio_error return codes in posix_fs_health_check
Product: [Community] GlusterFS Reporter: Mohit Agrawal <moagrawa>
Component: posixAssignee: Mohit Agrawal <moagrawa>
Status: CLOSED NEXTRELEASE QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: mainlineCC: bugs, rhinduja, rhs-bugs, sankarshan, storage-qa-internal
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1744518 Environment:
Last Closed: 2019-08-23 04:12:38 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1744518    
Bug Blocks:    

Description Mohit Agrawal 2019-08-22 10:21:04 UTC
+++ 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):


How reproducible:
Only reproducible in QE environment

Steps to Reproduce:
1.
2.
3.

Actual results:
health check thread is failing without logging aio return codes.

Expected results:
Log message should print error code in case of error.

Additional info:

--- 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.

Comment 1 Worker Ant 2019-08-22 10:27:06 UTC
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

Comment 2 Worker Ant 2019-08-23 04:12:38 UTC
REVIEW: https://review.gluster.org/23284 (posix: log aio_error return codes in posix_fs_health_check) merged (#2) on master by MOHIT AGRAWAL