[Bugs] [Bug 1419431] New: Stale gfid in quota.conf should be cleaned up.

bugzilla at redhat.com bugzilla at redhat.com
Mon Feb 6 06:49:17 UTC 2017


https://bugzilla.redhat.com/show_bug.cgi?id=1419431

            Bug ID: 1419431
           Summary: Stale gfid in quota.conf should be cleaned up.
           Product: GlusterFS
           Version: mainline
         Component: quota
          Severity: medium
          Assignee: bugs at gluster.org
          Reporter: sunnikri at redhat.com
                CC: bugs at gluster.org



Description:
For a directory with quota limit set, if an rmdir is done without prior remove
limit on the path, the gfid corresponding to the dir remains in quota.conf.

This causes the quota.conf to grow. Each gfid entry takes 17 bytes (16:gfid,
1:type). So it grows very slowly.

Another issue that stale gfid causes is that it increases ipc calls to quotad
during list (one per gfid).

Proposed solution:
Since very few dirs would have limit set on them, it may be an overkill to
handle these during rmdir. Instead we could clean them during quota list
operation.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.


More information about the Bugs mailing list