[PATCH] JBD: split checkpoint lists
authorJan Kara <jack@suse.cz>
Fri, 23 Jun 2006 09:06:05 +0000 (02:06 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Fri, 23 Jun 2006 14:43:08 +0000 (07:43 -0700)
commit78ce89c92bc6eaf5933b5664bff64253a7103bd7
treeedaadf283127c1a74bfe3aa7b165c1cf45d14347
parentcdaad343b561cdeb38b0578bb038eb5e87ed5551
[PATCH] JBD: split checkpoint lists

Split the checkpoint list of the transaction into two lists.  In the first
list we keep the buffers that need to be submitted for IO.  In the second
list are kept buffers that were already submitted and we just have to wait
for the IO to complete.  This should simplify a handling of checkpoint
lists a bit and can eventually be also a performance gain.

Signed-off-by: Jan Kara <jack@suse.cz>
Cc: Mark Fasheh <mark.fasheh@oracle.com>
Cc: "Stephen C. Tweedie" <sct@redhat.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
fs/jbd/checkpoint.c
include/linux/jbd.h