Re: [PATCH 4/5] [XFS] Flush delayed allcoation blocks on ENOSPC in create

Christoph Hellwig
2009-03-16T09:14:52Z

On Sun, Mar 15, 2009 at 10:31:46PM +1100, Dave Chinner wrote:
> If we are creating lots of small files, we can fail to get
> a reservation for inode create earlier than we should due to
> EOF preallocation done during delayed allocation reservation.
> Hence on the first reservation ENOSPC failure flush all the
> delayed allocation blocks out of the system and retry.
>
> This fixes the last commonly triggered spurious ENOSPC issue
> that has been reported.

Looks good.