[Bugs] [Bug 1724754] fallocate of a file larger than brick size leads to increased brick usage despite failure

bugzilla at redhat.com bugzilla at redhat.com
Thu Jun 27 20:37:11 UTC 2019


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



--- Comment #1 from Raghavendra Bhat <rabhat at redhat.com> ---

fallocate -l <size> <file> command fails when the size mentioned is bigger than
the brick size where fallocate is being directed to. But, it would have led to
non-zero blocks usage by the file (used in fallocate command) even though
fallocate fails. This leads to increased brick usage despite fallocate getting
failed.

Better would be to ensure that, the file used in fallocate is truncated if
fallocate fails.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.


More information about the Bugs mailing list