[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>

No differences found