[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)
commit16615be18cadf53ee6f8a4f0bdd647f0753421b1
tree670c75e931e6d606211f338ee5e8b1d603c96521
parent55c0c4ac0be144014651b19e77c9b77f367955de
[GFS2] Clean up journaled data writing

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