]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[GFS2] Add writepages for "data=writeback" mounts
authorSteven Whitehouse <swhiteho@redhat.com>
Mon, 15 Jan 2007 13:52:17 +0000 (13:52 +0000)
committerSteven Whitehouse <swhiteho@redhat.com>
Mon, 5 Feb 2007 18:37:01 +0000 (13:37 -0500)
commita8d638e30e768adc6956541f79f7bf05139ba475
tree07cee3c3d06eee9ff138f17023c7dadcb338f467
parent222d396092acc11b4af03bede309aa066945e920
[GFS2] Add writepages for "data=writeback" mounts

It occurred to me that although a gfs2 specific writepages for ordered
writes and journaled data would be tricky, by hooking writepages only
for "data=writeback" mounts we could take advantage of not needing
buffer heads (we don't use them on the read side, nor have we for some
time) and create much larger I/Os for the block layer.

Using blktrace both before and after, its possible to see that for large
I/Os, most of the requests generated through writepages are now 1024
sectors after this patch is applied as opposed to 8 sectors before.

Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
fs/gfs2/ops_address.c