[PATCH] JFS: Simplify creation of new iag
commitd2e83707edbe6a2520591141421d26a87414a1b9
authorDave Kleikamp <shaggy@austin.ibm.com>
Mon, 2 May 2005 18:24:51 +0000 (2 12:24 -0600)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Tue, 3 May 2005 05:23:53 +0000 (2 22:23 -0700)
tree14d7d663eb653a1ffbfdf1c85440295bcf8b758a
parent66f3131f547ef3cc864810974e0757617e60a837
[PATCH] JFS: Simplify creation of new iag

JFS was creating a new IAG (inode aggregate group) in one address
space, and afterwards, accessing it from another.  This could lead to
complications when cache pages contain more than one page of jfs
metadata.  This patch causes the IAG to be initialized in the same
address space that it is subsequently accessed with.

This also elimitates an I/O, but IAG's aren't created too often.

Signed-off-by: Dave Kleikamp <shaggy@austin.ibm.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
fs/jfs/jfs_imap.c