[XFS] make inode reclaim wait for log I/O to complete
authorLachlan McIlroy <lachlan@sgi.com>
Mon, 23 Jun 2008 03:23:57 +0000 (13:23 +1000)
committerNiv Sardi <xaiki@debian.org>
Mon, 28 Jul 2008 06:58:54 +0000 (16:58 +1000)
commit7f871d5d1b9b126c1a0cece737a37c6980c988e3
treec5eda9a03a16da85786bf15c7f31f5b23bc5492b
parentad9b463aa206b8c8f0bab378cf7c090c1a9a8e34
[XFS] make inode reclaim wait for log I/O to complete

During a forced shutdown a xfs inode can be destroyed before log I/O
involving that inode is complete. We need to wait for the inode to be
unpinned before tearing it down. Version 2 cleans up the code a bit by
relying on xfs_iflush() to do the unpinning and forced shutdown check.

SGI-PV: 981240

SGI-Modid: xfs-linux-melb:xfs-kern:31326a

Signed-off-by: Lachlan McIlroy <lachlan@sgi.com>
Signed-off-by: David Chinner <dgc@sgi.com>
fs/xfs/xfs_inode.c
fs/xfs/xfs_vnodeops.c