Bug 1297695

Summary: heal info reporting slow when IO is in progress on the volume
Product: [Community] GlusterFS Reporter: Krutika Dhananjay <kdhananj>
Component: replicateAssignee: Krutika Dhananjay <kdhananj>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: mainlineCC: bugs, congxueyang, olim, sabose, sasundar
Target Milestone: ---Keywords: Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: glusterfs-3.8rc2 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 1302553 1303899 1329344 (view as bug list) Environment:
Last Closed: 2016-06-16 13:54:13 UTC Type: Bug
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:    
Bug Blocks: 1302553, 1303899    

Description Krutika Dhananjay 2016-01-12 09:10:10 UTC
Description of problem:

https://www.gluster.org/pipermail/gluster-users.old/2015-December/024568.html :

Here's a snippet of the user's feedback on the thread:

<snip>

...
...
...

Also, it would be great if the heal info command could return faster, 
sometimes it takes over a minute.
...
...
</snip>


Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 1 Vijay Bellur 2016-02-01 07:28:14 UTC
REVIEW: http://review.gluster.org/13326 (cluster/afr: Fix heal-info slow response while IO is in progress) posted (#2) for review on master by Krutika Dhananjay (kdhananj)

Comment 2 Vijay Bellur 2016-02-01 08:55:52 UTC
REVIEW: http://review.gluster.org/13326 (cluster/afr: Fix heal-info slow response while IO is in progress) posted (#4) for review on master by Krutika Dhananjay (kdhananj)

Comment 3 Vijay Bellur 2016-02-01 09:42:09 UTC
REVIEW: http://review.gluster.org/13326 (cluster/afr: Fix heal-info slow response while IO is in progress) posted (#5) for review on master by Krutika Dhananjay (kdhananj)

Comment 4 Vijay Bellur 2016-02-03 01:44:04 UTC
REVIEW: http://review.gluster.org/13326 (cluster/afr: Fix heal-info slow response while IO is in progress) posted (#6) for review on master by Krutika Dhananjay (kdhananj)

Comment 5 Vijay Bellur 2016-02-03 07:00:06 UTC
REVIEW: http://review.gluster.org/13326 (cluster/afr: Fix heal-info slow response while IO is in progress) posted (#7) for review on master by Krutika Dhananjay (kdhananj)

Comment 6 Vijay Bellur 2016-02-04 06:58:41 UTC
COMMIT: http://review.gluster.org/13326 committed in master by Pranith Kumar Karampuri (pkarampu) 
------
commit b8106d1127f034ffa88b5dd322c23a10e023b9b6
Author: Krutika Dhananjay <kdhananj>
Date:   Mon Feb 1 11:46:08 2016 +0530

    cluster/afr: Fix heal-info slow response while IO is in progress
    
    Now heal-info does an open() on the file being examined so that
    the client at some point sees open-fd count being > 1 and releases
    the eager-lock so that heal-info doesn't remain blocked forever
    until IO completes.
    
    Change-Id: Icc478098e2bc7234408728b54d8185102b3540dc
    BUG: 1297695
    Signed-off-by: Krutika Dhananjay <kdhananj>
    Reviewed-on: http://review.gluster.org/13326
    Reviewed-by: Ravishankar N <ravishankar>
    Smoke: Gluster Build System <jenkins.com>
    Reviewed-by: Pranith Kumar Karampuri <pkarampu>
    Tested-by: Pranith Kumar Karampuri <pkarampu>
    NetBSD-regression: NetBSD Build System <jenkins.org>
    CentOS-regression: Gluster Build System <jenkins.com>

Comment 7 Niels de Vos 2016-06-16 13:54:13 UTC
This bug is getting closed because a release has been made available that should address the reported issue. In case the problem is still not fixed with glusterfs-3.8.0, please open a new bug report.

glusterfs-3.8.0 has been announced on the Gluster mailinglists [1], packages for several distributions should become available in the near future. Keep an eye on the Gluster Users mailinglist [2] and the update infrastructure for your distribution.

[1] http://blog.gluster.org/2016/06/glusterfs-3-8-released/
[2] http://thread.gmane.org/gmane.comp.file-systems.gluster.user