]> git.karo-electronics.de Git - linux-beck.git/commit
[XFS] Use the inode tree for finding dirty inodes
authorDavid Chinner <david@fromorbit.com>
Thu, 30 Oct 2008 06:07:29 +0000 (17:07 +1100)
committerLachlan McIlroy <lachlan@sgi.com>
Thu, 30 Oct 2008 06:07:29 +0000 (17:07 +1100)
commit683a897080a053733778b36398186cb1b22c377f
treebe084696bf3925a0bbeb37edf25e05168891732b
parent2f8a3ce1c20f20e6494cdb77fed76bc474ca3ca5
[XFS] Use the inode tree for finding dirty inodes

Update xfs_sync_inodes to walk the inode radix tree cache to find dirty
inodes. This removes a huge bunch of nasty, messy code for traversing the
mount inode list safely and removes another user of the mount inode list.

Version 3 o rediff against new linux-2.6/xfs_sync.c code

Version 2 o add comment explaining use of gang lookups for a single inode
o use IRELE, not VN_RELE o move check for ag initialisation to caller.

SGI-PV: 988139

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

Signed-off-by: David Chinner <david@fromorbit.com>
Signed-off-by: Lachlan McIlroy <lachlan@sgi.com>
Signed-off-by: Christoph Hellwig <hch@infradead.org>
fs/xfs/linux-2.6/xfs_sync.c