Bug 1290766 - [RFE] quota: enhance quota enable and disable process
Summary: [RFE] quota: enhance quota enable and disable process
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: GlusterFS
Classification: Community
Component: quota
Version: mainline
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Manikandan
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: 1312199 glusterfs-3.8.0
TreeView+ depends on / blocked
 
Reported: 2015-12-11 12:09 UTC by Vijaikumar Mallikarjuna
Modified: 2016-06-16 13:50 UTC (History)
3 users (show)

Fixed In Version: glusterfs-3.8rc2
Doc Type: Enhancement
Doc Text:
Clone Of:
: 1312199 (view as bug list)
Environment:
Last Closed: 2016-06-16 13:50:01 UTC
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Embargoed:


Attachments (Terms of Use)

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


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