]> git.baikalelectronics.ru Git - kernel.git/commit
Revert "[XFS] Avoid replaying inode buffer initialisation log items if on-disk versio...
authorTim Shimmin <tes@chook.melbourne.sgi.com>
Mon, 1 Oct 2007 06:39:37 +0000 (16:39 +1000)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Mon, 1 Oct 2007 14:59:03 +0000 (07:59 -0700)
commit6d32d90c02ca068f8d5f4f4705121b774d965426
treeef5505f335d401862893dd6a1bbca3e6dc3eaa88
parent892342953b4bee99b7d8a846756ab567303d9e3f
Revert "[XFS] Avoid replaying inode buffer initialisation log items if on-disk version is newer."

This reverts commit ab022dad5fab98e2ce19be803e0c0a6a2ed31345.

Lachlan McIlroy says:
    It tried to fix an issue where log replay is replaying an inode cluster
    initialisation transaction that should not be replayed because the inode
    cluster on disk is more up to date.  Since we don't log file sizes (we
    rely on inode flushing to get them to disk) then we can't just replay
    all the transations in the log and expect the inode to be completely
    restored.  We lose file size updates.  Unfortunately this fix is causing
    more (serious) problems than it is fixing.

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

Signed-off-by: Lachlan McIlroy <lachlan@sgi.com>
Signed-off-by: Tim Shimmin <tes@sgi.com>
fs/xfs/xfs_buf_item.h
fs/xfs/xfs_log_recover.c
fs/xfs/xfs_trans_buf.c