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

Christoph Hellwig hch at infradead.org
Wed Mar 10 12:18:05 CST 2010


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.




More information about the xfs mailing list