[PATCH] JFS: Write journal sync points more often
authorDave Kleikamp <shaggy@austin.ibm.com>
Mon, 2 May 2005 18:25:08 +0000 (12:25 -0600)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Tue, 3 May 2005 05:23:53 +0000 (22:23 -0700)
commit1c6278295d6482edaaaef5faa64b18f17b3319b7
tree226896c455d8a4996527c4a0ec5699956c657ec3
parent7fab479bebb96b1b4888bdae9b42e1fa9c5d3f38
[PATCH] JFS: Write journal sync points more often

This patch adds jfs_syncpt, which calls lmLogSync to write sync points
to the journal both in jfs_sync_fs and when sync barrier processing
completes.

lmLogSync accomplishes two things:  1) it pushes logged-but-dirty
metadata pages to disk, and 2) it writes a sync record to the journal
so that jfs_fsck doesn't need to replay more transactions than is
necessary.

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