Thread (22 messages) 22 messages, 8 authors, 2016-04-01

Re: fallocate mode flag for "unshare blocks"?

From: Christoph Hellwig <hch@infradead.org>
Date: 2016-03-31 07:55:31
Also in: linux-btrfs, linux-fsdevel, linux-xfs

On Wed, Mar 30, 2016 at 05:32:42PM -0700, Liu Bo wrote:
Well, btrfs fallocate doesn't allocate space if it's a shared one
because it thinks the space is already allocated.  So a later overwrite
over this shared extent may hit enospc errors.
And this makes it an incorrect implementation of posix_fallocate,
which glibcs implements using fallocate if available.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help