diff options
author | Steven Whitehouse <swhiteho@redhat.com> | 2007-01-15 16:52:17 +0300 |
---|---|---|
committer | Steven Whitehouse <swhiteho@redhat.com> | 2007-02-05 21:37:01 +0300 |
commit | a8d638e30e768adc6956541f79f7bf05139ba475 (patch) | |
tree | 07cee3c3d06eee9ff138f17023c7dadcb338f467 /fs/gfs2/dir.h | |
parent | 222d396092acc11b4af03bede309aa066945e920 (diff) | |
download | linux-a8d638e30e768adc6956541f79f7bf05139ba475.tar.xz |
[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>
Diffstat (limited to 'fs/gfs2/dir.h')
0 files changed, 0 insertions, 0 deletions