GFS2: Move log buffer lists into transaction
authorSteven Whitehouse <swhiteho@redhat.com>
Fri, 21 Feb 2014 15:22:35 +0000 (15:22 +0000)
committerSteven Whitehouse <swhiteho@redhat.com>
Mon, 24 Feb 2014 16:54:54 +0000 (16:54 +0000)
commitd69a3c6561362a53d1be908ca343d899161d602c
tree8e9827ef9c25a21fab641dcaf263f84b026d535e
parent654a6d2f962edb7bf85973cfe93a04e24f56f902
GFS2: Move log buffer lists into transaction

Over time, we hope to be able to improve the concurrency available
in the log code. This is one small step towards that, by moving
the buffer lists from the super block, and into the transaction
structure, so that each transaction builds its own buffer lists.

At transaction commit time, the buffer lists are merged into
the currently accumulating transaction. That transaction then
is passed into the before and after commit functions at journal
flush time. Thus there should be no change in overall behaviour
yet.

Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
fs/gfs2/glops.c
fs/gfs2/incore.h
fs/gfs2/log.c
fs/gfs2/lops.c
fs/gfs2/lops.h
fs/gfs2/ops_fstype.c
fs/gfs2/trans.c