[Bugs] [Bug 1505355] quota: directories doesn' t get heal on newly added bricks when quota is full on sub-directory

bugzilla at redhat.com bugzilla at redhat.com
Wed Mar 28 04:07:41 UTC 2018


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

Worker Ant <bugzilla-bot at gluster.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|POST                        |MODIFIED



--- Comment #5 from Worker Ant <bugzilla-bot at gluster.org> ---
COMMIT: https://review.gluster.org/18554 committed in master by "Raghavendra G"
<rgowdapp at redhat.com> with a commit message- Quota: heal directory on newly
added bricks when quota limit is reached

Problem: if a lookup is done on a newly added brick for a path on which limit
has been reached, the lookup fails to heal the directory tree due to quota.

Solution: Tag the lookup as an internal fop and ignore it in quota.
Since marking internal fop does not usually give enough contextual information.
Introducing new flags to pass the contextual info.

Adding dict_check_flag and dict_set_flag to aid flag operations.
A flag is a single bit in a bit array (currently limited to 256 bits).

Change-Id: Ifb6a68bcaffedd425dd0f01f7db24edd5394c095
fixes: bz#1505355
BUG: 1505355
Signed-off-by: Sanoj Unnikrishnan <sunnikri at redhat.com>

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=bJxoH3Cgpg&a=cc_unsubscribe


More information about the Bugs mailing list