Cc: Andrew Morton <akpm@...>, Andreas Dilger <adilger@...>, Amit K. Arora <aarora@...>, <linux-fsdevel@...>, <linux-kernel@...>, <linux-ext4@...>, <xfs@...>, <suparna@...>
On Mon, 2007-05-07 at 21:43 -0400, Theodore Tso wrote:
Think it again, this check is useful when preallocate blocks at EOF.
It's not much useful is preallocating a range with holes. In that case
2GB space might be enough if the application tries to preallocate a
10GB.
> But it won't help if there are multiple
> On Mon, May 07, 2007 at 05:15:41PM -0700, Andrew Morton wrote:
True, the new uninitialized extents can be merged to the near old
uninitialized extents, there is no way to distinguish the just added
unintialized extents from the merged one.
> (On the other hand, if the
You are right. One reservation window per file and there is limit to
the maximum window size). So yeah this way it's not going to prevent
ENOSPC for sure:(