2007-09-18 11:25:09

by Timothy Shimmin

[permalink] [raw]
Subject: [GIT PULL] XFS update for 2.6.23

Hi Linus,

A couple of fixes for potential fs corruption.
And one fix to ensure that xfs_mru_cache is not
doing anything unless the cache has active objects.


Please pull from the for-linus branch:
git pull git://oss.sgi.com:8090/xfs/xfs-2.6.git for-linus

This will update the following files:

fs/xfs/linux-2.6/xfs_aops.c | 1 +
fs/xfs/linux-2.6/xfs_super.c | 4 ++-
fs/xfs/xfs_buf_item.h | 5 +++
fs/xfs/xfs_filestream.c | 3 +-
fs/xfs/xfs_log_recover.c | 51 ++++++++++++++++++++++++++++--
fs/xfs/xfs_mru_cache.c | 72 ++++++++++++++++-------------------------
fs/xfs/xfs_mru_cache.h | 6 +--
fs/xfs/xfs_trans_buf.c | 1 +
fs/xfs/xfs_vnodeops.c | 20 +++++++-----
9 files changed, 101 insertions(+), 62 deletions(-)

through these commits:

commit b394e43e995d08821588a22561c6a71a63b4ff27
Author: Lachlan McIlroy <[email protected]>
Date: Fri Sep 14 15:23:04 2007 +1000

[XFS] Avoid replaying inode buffer initialisation log items if on-disk version is newer.

SGI-PV: 969656
SGI-Modid: xfs-linux-melb:xfs-kern:29676a

Signed-off-by: Lachlan McIlroy <[email protected]>
Signed-off-by: David Chinner <[email protected]>
Signed-off-by: Tim Shimmin <[email protected]>

commit 776a75fa5cfb8f3602d3ca9d221dc34497133f4b
Author: Lachlan McIlroy <[email protected]>
Date: Fri Sep 14 15:22:50 2007 +1000

[XFS] Ensure file size updates have been completed before writing inode to disk.

SGI-PV: 968767
SGI-Modid: xfs-linux-melb:xfs-kern:29675a

Signed-off-by: Lachlan McIlroy <[email protected]>
Signed-off-by: David Chinner <[email protected]>
Signed-off-by: Tim Shimmin <[email protected]>

commit 65de5567564e70edd01b6d4e95e548d7ba284872
Author: David Chinner <[email protected]>
Date: Thu Aug 16 15:21:11 2007 +1000

[XFS] On-demand reaping of the MRU cache

Instead of running the mru cache reaper all the time based on a timeout,
we should only run it when the cache has active objects. This allows CPUs
to sleep when there is no activity rather than be woken repeatedly just to
check if there is anything to do.

SGI-PV: 968554
SGI-Modid: xfs-linux-melb:xfs-kern:29305a

Signed-off-by: David Chinner <[email protected]>
Signed-off-by: Donald Douwsma <[email protected]>
Signed-off-by: Tim Shimmin <[email protected]>

--Tim