Bug 1290766

Summary: [RFE] quota: enhance quota enable and disable process
Product: [Community] GlusterFS Reporter: Vijaikumar Mallikarjuna <vmallika>
Component: quotaAssignee: Manikandan <mselvaga>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: mainlineCC: bugs, mselvaga, smohan
Target Milestone: ---Keywords: FutureFeature
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: glusterfs-3.8rc2 Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of:
: 1312199 (view as bug list) Environment:
Last Closed: 2016-06-16 13:50:01 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: 1312199, 1317278    

Description Vijaikumar Mallikarjuna 2015-12-11 12:09:24 UTC
Currently quota crawl is done from the single mount point,
this is very slow process if there are huge number of files exists
in the volume
    
This RFE will now spawn crawl process for each brick in the
volume, and  files are looked in parallel independently for each
brick. This improves the speed of crawling process for
entire files-system

Comment 1 Vijay Bellur 2015-12-11 12:11:33 UTC
REVIEW: http://review.gluster.org/12952 (quota/glusterd: enhance quota enable and disable process) posted (#1) for review on master by Vijaikumar Mallikarjuna (vmallika)

Comment 2 Vijay Bellur 2015-12-11 12:22:54 UTC
REVIEW: http://review.gluster.org/12952 (quota/glusterd: enhance quota enable and disable process) posted (#2) for review on master by Vijaikumar Mallikarjuna (vmallika)

Comment 3 Vijay Bellur 2015-12-11 12:28:12 UTC
REVIEW: http://review.gluster.org/12952 (quota/glusterd: enhance quota enable and disable process) posted (#3) for review on master by Vijaikumar Mallikarjuna (vmallika)

Comment 4 Vijay Bellur 2015-12-15 05:47:25 UTC
REVIEW: http://review.gluster.org/12952 (quota/glusterd: enhance quota enable and disable process) posted (#4) for review on master by Vijaikumar Mallikarjuna (vmallika)

Comment 5 Vijay Bellur 2015-12-15 06:36:11 UTC
REVIEW: http://review.gluster.org/12952 (quota/glusterd: enhance quota enable and disable process) posted (#5) for review on master by Vijaikumar Mallikarjuna (vmallika)

Comment 6 Vijay Bellur 2016-01-19 11:26:50 UTC
REVIEW: http://review.gluster.org/12952 (quota/glusterd: enhance quota enable and disable process) posted (#6) for review on master by Vijaikumar Mallikarjuna (vmallika)

Comment 7 Vijay Bellur 2016-02-02 08:18:16 UTC
REVIEW: http://review.gluster.org/12952 (quota/glusterd: enhance quota enable and disable process) posted (#7) for review on master by Vijaikumar Mallikarjuna (vmallika)

Comment 8 Vijay Bellur 2016-03-04 12:40:01 UTC
REVIEW: http://review.gluster.org/12952 (quota/glusterd: enhance quota enable and disable process) posted (#8) for review on master by Vijaikumar Mallikarjuna (vmallika)

Comment 9 Vijay Bellur 2016-03-07 07:02:40 UTC
REVIEW: http://review.gluster.org/12952 (quota/glusterd: enhance quota enable and disable process) posted (#9) for review on master by Vijaikumar Mallikarjuna (vmallika)

Comment 10 Vijay Bellur 2016-04-02 04:33:54 UTC
REVIEW: http://review.gluster.org/12952 (quota/glusterd: enhance quota enable and disable process) posted (#10) for review on master by Vijaikumar Mallikarjuna (vmallika)

Comment 11 Vijay Bellur 2016-04-06 12:17:39 UTC
REVIEW: http://review.gluster.org/12952 (quota/glusterd: enhance quota enable and disable process) posted (#11) for review on master by Vijaikumar Mallikarjuna (vmallika)

Comment 12 Vijay Bellur 2016-04-12 07:56:33 UTC
REVIEW: http://review.gluster.org/12952 (quota/glusterd: enhance quota enable and disable process) posted (#12) for review on master by Vijaikumar Mallikarjuna (vmallika)

Comment 13 Vijay Bellur 2016-04-12 09:13:32 UTC
REVIEW: http://review.gluster.org/12952 (quota/glusterd: enhance quota enable and disable process) posted (#13) for review on master by Vijaikumar Mallikarjuna (vmallika)

Comment 14 Vijay Bellur 2016-04-12 09:47:42 UTC
REVIEW: http://review.gluster.org/12952 (quota/glusterd: enhance quota enable and disable process) posted (#14) for review on master by Vijaikumar Mallikarjuna (vmallika)

Comment 15 Vijay Bellur 2016-04-12 14:58:44 UTC
REVIEW: http://review.gluster.org/12952 (quota/glusterd: enhance quota enable and disable process) posted (#15) for review on master by Vijaikumar Mallikarjuna (vmallika)

Comment 16 Vijay Bellur 2016-04-29 06:46:52 UTC
REVIEW: http://review.gluster.org/12952 (quota/glusterd: enhance quota enable and disable process) posted (#16) for review on master by Vijaikumar Mallikarjuna (vmallika)

Comment 17 Vijay Bellur 2016-04-29 10:11:38 UTC
COMMIT: http://review.gluster.org/12952 committed in master by Atin Mukherjee (amukherj) 
------
commit c2865e83d414e375443adac0791887c8adf444f2
Author: vmallika <vmallika>
Date:   Sat Apr 2 09:50:11 2016 +0530

    quota/glusterd: enhance quota enable and disable process
    
    Previously quota crawl was done from the single mount point,
    this is very slow process if there are huge number of files exists
    in the volume
    
    This RFE will now spawn crawl process for each brick in the
    volume, and  files are looked in parallel independently for each
    brick. This improves the speed of crawling process for
    entire files-system
    
    This patch also fixes below problem
    * Previously, mountdir was created under '/tmp'.
      If someone tries to cleanup '/tmp'/ directory
      then it is very dangerous that we loose volume data
      So create a mount point under /var/run/gluster/tmp
      instead
    
    * Previously, file-system crawl is performed from all the nodes,
      which is a redundant operation and performance will degrade
      The problem is fixed with this patch
    
    Change-Id: Icabedeb44182139ace9c8106793803122388cab8
    BUG: 1290766
    Signed-off-by: vmallika <vmallika>
    Reviewed-on: http://review.gluster.org/12952
    Smoke: Gluster Build System <jenkins.com>
    NetBSD-regression: NetBSD Build System <jenkins.org>
    CentOS-regression: Gluster Build System <jenkins.com>
    Reviewed-by: Manikandan Selvaganesh <mselvaga>
    Reviewed-by: Atin Mukherjee <amukherj>

Comment 20 Niels de Vos 2016-06-16 13:50:01 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