Bug 1744519 - log aio_error return codes in posix_fs_health_check
Summary: log aio_error return codes in posix_fs_health_check
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: GlusterFS
Classification: Community
Component: posix
Version: mainline
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Mohit Agrawal
QA Contact:
URL:
Whiteboard:
Depends On: 1744518
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-08-22 10:21 UTC by Mohit Agrawal
Modified: 2019-08-23 04:12 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 1744518
Environment:
Last Closed: 2019-08-23 04:12:38 UTC
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:


Attachments (Terms of Use)


Links
System ID Priority Status Summary Last Updated
Gluster.org Gerrit 23284 None Merged posix: log aio_error return codes in posix_fs_health_check 2019-08-23 04:12:36 UTC

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


Note You need to log in before you can comment on or make changes to this bug.