xfs
[Top] [All Lists]

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

To: Dave Chinner <david@xxxxxxxxxxxxx>
Subject: Re: [PATCH 4/5] [XFS] Flush delayed allcoation blocks on ENOSPC in create
From: Christoph Hellwig <hch@xxxxxxxxxxxxx>
Date: Mon, 16 Mar 2009 05:14:10 -0400
Cc: xfs@xxxxxxxxxxx, mpatocka@xxxxxxxxxx
In-reply-to: <1237116707-25793-5-git-send-email-david@xxxxxxxxxxxxx>
References: <1237116707-25793-1-git-send-email-david@xxxxxxxxxxxxx> <1237116707-25793-5-git-send-email-david@xxxxxxxxxxxxx>
User-agent: Mutt/1.5.18 (2008-05-17)
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.

<Prev in Thread] Current Thread [Next in Thread>