xfs
[Top] [All Lists]

Re: [PATCH 2/3] xfs: truncate delalloc extents when IO fails in writebac

To: Dave Chinner <david@xxxxxxxxxxxxx>
Subject: Re: [PATCH 2/3] xfs: truncate delalloc extents when IO fails in writeback
From: Christoph Hellwig <hch@xxxxxxxxxxxxx>
Date: Wed, 10 Mar 2010 13:18:05 -0500
Cc: Christoph Hellwig <hch@xxxxxxxxxxxxx>, xfs@xxxxxxxxxxx
In-reply-to: <20100310125219.GA16344@xxxxxxxxxxxxxxxx>
References: <1267667185-7736-1-git-send-email-david@xxxxxxxxxxxxx> <1267667185-7736-3-git-send-email-david@xxxxxxxxxxxxx> <20100310091237.GA25227@xxxxxxxxxxxxx> <20100310125219.GA16344@xxxxxxxxxxxxxxxx>
User-agent: Mutt/1.5.19 (2009-01-05)
On Wed, Mar 10, 2010 at 11:52:19PM +1100, Dave Chinner wrote:
> The "page discard on page ...." are expected, but the failed mapping
> warnings are not - that means xfs_bmapi() returned an error while
> the inode still has delayed allocation buffers in memory. Did this
> happen during a forced shutdown?  What test is running when this
> occurs?

This is in test 137 which shuts down the filesystem.  I guess the
warning is indeed due to a shutdown filesystem and we should probably
not bother to warn for that case.  I'll give the obvious patch a try.

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