[PATCH 02/37] xfs: remove log item from AIL in xfs_iflush after a shutdown

Mark Tinguely tinguely at sgi.com
Mon Apr 23 10:39:48 CDT 2012


On 04/23/12 00:58, Dave Chinner wrote:
> From: Christoph Hellwig<hch at infradead.org>
>
> If a filesystem has been forced shutdown we are never going to write inodes
> to disk, which means the inode items will stay in the AIL until we free
> the inode. Currently that is not a problem, but a pending change requires us
> to empty the AIL before shutting down the filesystem. In that case leaving
> the inode in the AIL is lethal. Make sure to remove the log item from the AIL
> to allow emptying the AIL on shutdown filesystems.
>
> Signed-off-by: Christoph Hellwig<hch at lst.de>
> Reviewed-by: Dave Chinner<dchinner at redhat.com>
> ---


Looks good.

Reviewed-by: Mark Tinguely <tinguely at sgi.com>



More information about the xfs mailing list