Bug 1471366
Summary: | Posix xlator needs to reserve disk space to prevent the brick from getting full. | ||
---|---|---|---|
Product: | [Community] GlusterFS | Reporter: | Mohit Agrawal <moagrawa> |
Component: | posix | Assignee: | Mohit Agrawal <moagrawa> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | mainline | CC: | bugs, nbalacha, rhinduja, rhs-bugs, storage-qa-internal |
Target Milestone: | --- | Keywords: | ZStream |
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | glusterfs-3.13.0 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | 1464350 | Environment: | |
Last Closed: | 2017-12-08 17:34:10 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | 1464350 | ||
Bug Blocks: | 1173519, 1286092, 1398595 |
Description
Mohit Agrawal
2017-07-15 11:34:32 UTC
REVIEW: https://review.gluster.org/17780 (posix: Needs to reserve disk space to prevent the brick from getting full) posted (#1) for review on master by MOHIT AGRAWAL (moagrawa) REVIEW: https://review.gluster.org/17780 (posix: Needs to reserve disk space to prevent the brick from getting full) posted (#2) for review on master by MOHIT AGRAWAL (moagrawa) REVIEW: https://review.gluster.org/17780 (posix: Needs to reserve disk space to prevent the brick from getting full) posted (#3) for review on master by MOHIT AGRAWAL (moagrawa) REVIEW: https://review.gluster.org/17780 (posix: Needs to reserve disk space to prevent the brick from getting full) posted (#4) for review on master by MOHIT AGRAWAL (moagrawa) REVIEW: https://review.gluster.org/17780 (posix: Needs to reserve disk space to prevent the brick from getting full) posted (#5) for review on master by MOHIT AGRAWAL (moagrawa) REVIEW: https://review.gluster.org/17780 (posix: Needs to reserve disk space to prevent the brick from getting full) posted (#6) for review on master by MOHIT AGRAWAL (moagrawa) REVIEW: https://review.gluster.org/17780 (posix: Needs to reserve disk space to prevent the brick from getting full) posted (#7) for review on master by MOHIT AGRAWAL (moagrawa) REVIEW: https://review.gluster.org/17780 (posix: Needs to reserve disk space to prevent the brick from getting full) posted (#8) for review on master by MOHIT AGRAWAL (moagrawa) REVIEW: https://review.gluster.org/17780 (posix: Needs to reserve disk space to prevent the brick from getting full) posted (#9) for review on master by MOHIT AGRAWAL (moagrawa) COMMIT: https://review.gluster.org/17780 committed in master by Jeff Darcy (jeff.us) ------ commit eb266ade1e2da5739ed66495755ec2784a5bf74b Author: Mohit Agrawal <moagrawa> 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> Reviewed-on: https://review.gluster.org/17780 Smoke: Gluster Build System <jenkins.org> CentOS-regression: Gluster Build System <jenkins.org> Reviewed-by: Amar Tumballi <amarts> Reviewed-by: Jeff Darcy <jeff.us> This bug is getting closed because a release has been made available that should address the reported issue. In case the problem is still not fixed with glusterfs-3.13.0, please open a new bug report. glusterfs-3.13.0 has been announced on the Gluster mailinglists [1], packages for several distributions should become available in the near future. Keep an eye on the Gluster Users mailinglist [2] and the update infrastructure for your distribution. [1] http://lists.gluster.org/pipermail/announce/2017-December/000087.html [2] https://www.gluster.org/pipermail/gluster-users/ |