Skip to contentSkip to conversation

TAKE 988139 - Use the inode tree for finding dirty inodes

DISCUSSION Lachlan McIlroy 1 participant 1 message Oct 10, 2008

lore
Share & tools
lore
#0 lore raw

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.

Date:  Fri Oct 10 15:09:09 EST 2008
Workarea:  redback.melbourne.sgi.com:/home/lachlan/isms/2.6.x-radix
Inspected by:  hch
Author:  lachlan

The following file(s) were checked into:
longdrop.melbourne.sgi.com:/isms/linux/2.6.x-xfs-melb

Modid: xfs-linux-melb:xfs-kern:32285a fs/xfs/linux-2.6/xfs_sync.c - 1.4 - changed
http://oss.sgi.com/cgi-bin/cvsweb.cgi/xfs-linux/linux-2.6/xfs_sync.c.diff?r1=text&tr1=1.4&r2=text&tr2=1.3&f=h
- Use the inode tree for finding dirty inodes