[GFS2] Clean up journaled data writing
authorSteven Whitehouse <swhiteho@redhat.com>
Mon, 17 Sep 2007 09:59:52 +0000 (10:59 +0100)
committerSteven Whitehouse <swhiteho@redhat.com>
Wed, 10 Oct 2007 07:56:24 +0000 (08:56 +0100)
This patch cleans up the code for writing journaled data into the log.
It also removes the need to allocate a small "tag" structure for each
block written into the log. Instead we just keep count of the outstanding
I/O so that we can be sure that its all been written at the correct time.
Another result of this patch is that a number of ll_rw_block() calls
have become submit_bh() calls, closing some races at the same time.

Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
fs/gfs2/incore.h
fs/gfs2/log.c
fs/gfs2/log.h
fs/gfs2/lops.c
fs/gfs2/meta_io.c
fs/gfs2/meta_io.h
fs/gfs2/ops_address.c
fs/gfs2/ops_fstype.c
fs/gfs2/ops_inode.c
fs/gfs2/ops_super.c

Simple merge
diff --cc fs/gfs2/log.c
Simple merge
diff --cc fs/gfs2/log.h
Simple merge
diff --cc fs/gfs2/lops.c
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge