[Bugs] [Bug 1560411] fallocate created data set is crossing storage reserve space limits resulting 100% brick full
bugzilla at redhat.com
bugzilla at redhat.com
Wed Apr 11 07:03:58 UTC 2018
https://bugzilla.redhat.com/show_bug.cgi?id=1560411
Worker Ant <bugzilla-bot at gluster.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|POST |MODIFIED
--- Comment #2 from Worker Ant <bugzilla-bot at gluster.org> ---
COMMIT: https://review.gluster.org/19771 committed in master by "Amar Tumballi"
<amarts at redhat.com> with a commit message- posix: reserve option behavior is
not correct while using fallocate
Problem: storage.reserve option is not working correctly while
disk space is allocate throguh fallocate
Solution: In posix_disk_space_check_thread_proc after every 5 sec interval
it calls posix_disk_space_check to monitor disk space and set the
flag in posix priv.In 5 sec timestamp user can create big file with
fallocate that can reach posix reserve limit and no error is shown on
terminal even limit has reached.
To resolve the same call posix_disk_space for every fallocate fop
instead to call by a thread after 5 second
BUG: 1560411
Signed-off-by: Mohit Agrawal <moagrawa at redhat.com>
Change-Id: I39ba9390e2e6d084eedbf3bcf45cd6d708591577
--
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=5hETdNg3rE&a=cc_unsubscribe
More information about the Bugs
mailing list