[Bugs] [Bug 1471366] Posix xlator needs to reserve disk space to prevent the brick from getting full.
bugzilla at redhat.com
bugzilla at redhat.com
Tue Jul 25 15:36:59 UTC 2017
https://bugzilla.redhat.com/show_bug.cgi?id=1471366
--- Comment #10 from Worker Ant <bugzilla-bot at gluster.org> ---
COMMIT: https://review.gluster.org/17780 committed in master by Jeff Darcy
(jeff at pl.atyp.us)
------
commit eb266ade1e2da5739ed66495755ec2784a5bf74b
Author: Mohit Agrawal <moagrawa at redhat.com>
Date: Sat Jul 15 17:55:14 2017 +0530
posix: Needs to reserve disk space to prevent the brick from getting full
Problem: Currently there is no option available at posix xlator to save the
disk from getting full
Solution: Introduce a new option storage.reserve at posix xlator to
configure disk threshold.posix xlator spawn a thread to update
the
disk space status in posix private structure and same flag is
checked
by every posix fop before start operation.If flag value is 1 then
it sets op_errno to ENOSPC and goto out from the fop.
BUG: 1471366
Change-Id: I98287cd409860f4c754fc69a332e0521bfb1b67e
Signed-off-by: Mohit Agrawal <moagrawa at redhat.com>
Reviewed-on: https://review.gluster.org/17780
Smoke: Gluster Build System <jenkins at build.gluster.org>
CentOS-regression: Gluster Build System <jenkins at build.gluster.org>
Reviewed-by: Amar Tumballi <amarts at redhat.com>
Reviewed-by: Jeff Darcy <jeff at pl.atyp.us>
--
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=tiRZe1bSER&a=cc_unsubscribe
More information about the Bugs
mailing list