aboutsummaryrefslogtreecommitdiffstats
path: root/fs/gfs2/ops_super.c
diff options
context:
space:
mode:
authorSteven Whitehouse <swhiteho@redhat.com>2006-05-05 16:59:11 -0400
committerSteven Whitehouse <swhiteho@redhat.com>2006-05-05 16:59:11 -0400
commitfd88de569b802c4a04aaa6ee74667775f4aed8c6 (patch)
tree1766c45303798bf289059afc8f117cf8bc784086 /fs/gfs2/ops_super.c
parent5bb76af1e089ac186c15c6aa792340d22b63d4b4 (diff)
[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
Diffstat (limited to 'fs/gfs2/ops_super.c')
-rw-r--r--fs/gfs2/ops_super.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/fs/gfs2/ops_super.c b/fs/gfs2/ops_super.c
index 60bf2563c7b4..5910c7b5c846 100644
--- a/fs/gfs2/ops_super.c
+++ b/fs/gfs2/ops_super.c
@@ -92,7 +92,6 @@ static void gfs2_put_super(struct super_block *sb)
92 if (error) 92 if (error)
93 gfs2_io_error(sdp); 93 gfs2_io_error(sdp);
94 } 94 }
95
96 /* At this point, we're through modifying the disk */ 95 /* At this point, we're through modifying the disk */
97 96
98 /* Release stuff */ 97 /* Release stuff */
@@ -125,12 +124,10 @@ static void gfs2_put_super(struct super_block *sb)
125 gfs2_jindex_free(sdp); 124 gfs2_jindex_free(sdp);
126 /* Take apart glock structures and buffer lists */ 125 /* Take apart glock structures and buffer lists */
127 gfs2_gl_hash_clear(sdp, WAIT); 126 gfs2_gl_hash_clear(sdp, WAIT);
128
129 /* Unmount the locking protocol */ 127 /* Unmount the locking protocol */
130 gfs2_lm_unmount(sdp); 128 gfs2_lm_unmount(sdp);
131 129
132 /* At this point, we're through participating in the lockspace */ 130 /* At this point, we're through participating in the lockspace */
133
134 gfs2_sys_fs_del(sdp); 131 gfs2_sys_fs_del(sdp);
135 vfree(sdp); 132 vfree(sdp);
136 sb->s_fs_info = NULL; 133 sb->s_fs_info = NULL;