[GFS2] Readpages support
authorSteven Whitehouse <swhiteho@redhat.com>
Fri, 5 May 2006 20:59:11 +0000 (16:59 -0400)
committerSteven Whitehouse <swhiteho@redhat.com>
Fri, 5 May 2006 20:59:11 +0000 (16:59 -0400)
commitfd88de569b802c4a04aaa6ee74667775f4aed8c6
tree1766c45303798bf289059afc8f117cf8bc784086
parent5bb76af1e089ac186c15c6aa792340d22b63d4b4
[GFS2] Readpages support

This adds readpages support (and also corrects a small bug in
the readpage error path at the same time). Hopefully this will
improve performance by allowing GFS to submit larger lumps of
I/O at a time.

In order to simplify the setting of BH_Boundary, it currently gets
set when we hit the end of a indirect pointer block. There is
always a boundary at this point with the current allocation code.
It doesn't get all the boundaries right though, so there is still
room for improvement in this.

See comments in fs/gfs2/ops_address.c for further information about
readpages with GFS2.

Signed-off-by: Steven Whitehouse
13 files changed:
fs/gfs2/bmap.c
fs/gfs2/bmap.h
fs/gfs2/dir.c
fs/gfs2/glock.c
fs/gfs2/inode.c
fs/gfs2/log.c
fs/gfs2/ops_address.c
fs/gfs2/ops_super.c
fs/gfs2/ops_vm.c
fs/gfs2/quota.c
fs/gfs2/recovery.c
fs/gfs2/rgrp.c
fs/gfs2/unlinked.c