Bug 1297695 - heal info reporting slow when IO is in progress on the volume
Summary: heal info reporting slow when IO is in progress on the volume
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: GlusterFS
Classification: Community
Component: replicate
Version: mainline
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Krutika Dhananjay
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: 1302553 1303899
TreeView+ depends on / blocked
 
Reported: 2016-01-12 09:10 UTC by Krutika Dhananjay
Modified: 2017-01-09 17:37 UTC (History)
5 users (show)

Fixed In Version: glusterfs-3.8rc2
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 1302553 1303899 1329344 (view as bug list)
Environment:
Last Closed: 2016-06-16 13:54:13 UTC
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:


Attachments (Terms of Use)

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@redhat.com)

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@redhat.com)

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@redhat.com)

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@redhat.com)

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@redhat.com)

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@redhat.com) 
------
commit b8106d1127f034ffa88b5dd322c23a10e023b9b6
Author: Krutika Dhananjay <kdhananj@redhat.com>
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@redhat.com>
    Reviewed-on: http://review.gluster.org/13326
    Reviewed-by: Ravishankar N <ravishankar@redhat.com>
    Smoke: Gluster Build System <jenkins@build.gluster.com>
    Reviewed-by: Pranith Kumar Karampuri <pkarampu@redhat.com>
    Tested-by: Pranith Kumar Karampuri <pkarampu@redhat.com>
    NetBSD-regression: NetBSD Build System <jenkins@build.gluster.org>
    CentOS-regression: Gluster Build System <jenkins@build.gluster.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


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