]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
JFS: make special inodes play nicely with page balancing
authorDave Kleikamp <shaggy@austin.ibm.com>
Mon, 3 Oct 2005 20:32:11 +0000 (15:32 -0500)
committerDave Kleikamp <shaggy@austin.ibm.com>
Mon, 3 Oct 2005 20:32:11 +0000 (15:32 -0500)
commitac17b8b57013a3e38d1958f66a218f15659e5752
treef7a28ccd5bd5496f6a2284f3d77a5019dc75c820
parentddea7be0ec8d1374f0b483a81566ed56ec9f3905
JFS: make special inodes play nicely with page balancing

This patch fixes up a few problems with jfs's reserved inodes.

1. There is no need for the jfs code setting the I_DIRTY bits in i_state.
   I am ashamed that the code ever did this, and surprised it hasn't been
   noticed until now.

2. Make sure special inodes are on an inode hash list.  If the inodes are
   unhashed, __mark_inode_dirty will fail to put the inode on the
   superblock's dirty list, and the data will not be flushed under memory
   pressure.

3. Force writing journal data to disk when metapage_writepage is unable to
   write a metadata page due to pending journal I/O.

Signed-off-by: Dave Kleikamp <shaggy@austin.ibm.com>
fs/jfs/jfs_dmap.c
fs/jfs/jfs_imap.c
fs/jfs/jfs_metapage.c
fs/jfs/jfs_txnmgr.c
fs/jfs/super.c