+++ This bug was initially created as a clone of Bug #1290766 +++ 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 --- Additional comment from Vijay Bellur on 2015-12-11 07:11:33 EST --- REVIEW: http://review.gluster.org/12952 (quota/glusterd: enhance quota enable and disable process) posted (#1) for review on master by Vijaikumar Mallikarjuna (vmallika) --- Additional comment from Vijay Bellur on 2015-12-11 07:22:54 EST --- REVIEW: http://review.gluster.org/12952 (quota/glusterd: enhance quota enable and disable process) posted (#2) for review on master by Vijaikumar Mallikarjuna (vmallika) --- Additional comment from Vijay Bellur on 2015-12-11 07:28:12 EST --- REVIEW: http://review.gluster.org/12952 (quota/glusterd: enhance quota enable and disable process) posted (#3) for review on master by Vijaikumar Mallikarjuna (vmallika) --- Additional comment from Vijay Bellur on 2015-12-15 00:47:25 EST --- REVIEW: http://review.gluster.org/12952 (quota/glusterd: enhance quota enable and disable process) posted (#4) for review on master by Vijaikumar Mallikarjuna (vmallika) --- Additional comment from Vijay Bellur on 2015-12-15 01:36:11 EST --- REVIEW: http://review.gluster.org/12952 (quota/glusterd: enhance quota enable and disable process) posted (#5) for review on master by Vijaikumar Mallikarjuna (vmallika) --- Additional comment from Vijay Bellur on 2016-01-19 06:26:50 EST --- REVIEW: http://review.gluster.org/12952 (quota/glusterd: enhance quota enable and disable process) posted (#6) for review on master by Vijaikumar Mallikarjuna (vmallika) --- Additional comment from Vijay Bellur on 2016-02-02 03:18:16 EST --- REVIEW: http://review.gluster.org/12952 (quota/glusterd: enhance quota enable and disable process) posted (#7) for review on master by Vijaikumar Mallikarjuna (vmallika)
Patch has been submitted upstream: http://review.gluster.org/#/c/12952/
This bug was accidentally moved from POST to MODIFIED via an error in automation, please see mmccune with any questions
Compared crawling time for enable and disable quota between 3.1.3 and 3.2. Crawling takes less time in 3.2 build compared to 3.1.3 GA build. Observed per brick crawling in 3.2 [root@rhs-client47 ~]# ps -ef | grep /tmp/ root 1117 1 0 13:25 ? 00:00:00 /usr/sbin/glusterfs -s localhost --volfile-id client_per_brick/vol1.client.10.70.36.71.rhs-brick2-b2.vol --use-readdirp=no --client-pid -100 -l /var/log/glusterfs/quota_crawl/rhs-brick2-b2.log /var/run/gluster/tmp/mnt6APKec root 1144 1 0 13:26 ? 00:00:01 /usr/sbin/glusterfs -s localhost --volfile-id client_per_brick/vol1.client.10.70.36.71.rhs-brick3-b6.vol --use-readdirp=no --client-pid -100 -l /var/log/glusterfs/quota_crawl/rhs-brick3-b6.log /var/run/gluster/tmp/mntDMuOnb [root@rhs-client46 ~]# ps -ef | grep glusterfs | grep /tmp root 3352 1 20 13:45 ? 00:00:16 /usr/sbin/glusterfs -s localhost --volfile-id client_per_brick/vol1.client.10.70.36.70.rhs-brick2-b1.vol --use-readdirp=no --client-pid -100 -l /var/log/glusterfs/quota_crawl/rhs-brick2-b1.log /var/run/gluster/tmp/mntfotmVq root 3371 1 15 13:45 ? 00:00:12 /usr/sbin/glusterfs -s localhost --volfile-id client_per_brick/vol1.client.10.70.36.70.rhs-brick3-b5.vol --use-readdirp=no --client-pid -100 -l /var/log/glusterfs/quota_crawl/rhs-brick3-b5.log /var/run/gluster/tmp/mnty5jPII RFE verified on build glusterfs-3.8.4-11.el7rhgs.x86_64
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://rhn.redhat.com/errata/RHSA-2017-0486.html