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

Christoph Hellwig hch at infradead.org
Mon Mar 16 04:14:10 CDT 2009


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.




More information about the xfs mailing list