[Bugs] [Bug 1206432] quota: setting limit to 16384PB shows wrong stat with list commands

bugzilla at redhat.com bugzilla at redhat.com
Fri Apr 10 11:23:24 UTC 2015


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



--- Comment #9 from Anand Avati <aavati at redhat.com> ---
COMMIT: http://review.gluster.org/10022 committed in master by Vijay Bellur
(vbellur at redhat.com) 
------
commit d06e6bac4b5aa6d0fbf1660b92c4100de8f79e68
Author: vmallika <vmallika at redhat.com>
Date:   Wed Apr 1 16:56:00 2015 +0530

    quota/cli: validate quota hard-limit option

    Quota hard-limit is supported only upto: 9223372036854775807 (int 64)

    In CLI, it is allowed to set the value upto 16384PB (unsigned int 64),
    this is not a valid value as the xattrop for quota accounting and
    the quota enforcer operates on a signed int64 limit value.

    This patches fixes the problem in CLI and allows user to set
    the hard-limit value only from range 0 - 9223372036854775807

    Change-Id: Ifce6e509e1832ef21d3278bacfa5bd71040c8cba
    BUG: 1206432
    Signed-off-by: vmallika <vmallika at redhat.com>
    Reviewed-on: http://review.gluster.org/10022
    Tested-by: Gluster Build System <jenkins at build.gluster.com>
    Reviewed-by: Kaushal M <kaushal at redhat.com>
    Reviewed-by: Vijay Bellur <vbellur 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=94NNUIQYv4&a=cc_unsubscribe


More information about the Bugs mailing list