diff options
author | Steven Whitehouse <swhiteho@redhat.com> | 2007-08-01 08:57:10 -0400 |
---|---|---|
committer | Steven Whitehouse <swhiteho@redhat.com> | 2007-10-10 03:55:08 -0400 |
commit | 8fbbfd214c853102b614f4705c1904ed14f5a808 (patch) | |
tree | b33cb7ee7392d64f99124588ef6af7c0d0bc7e9d /fs/gfs2/glock.h | |
parent | ca5a939b33166a9f5a2556e6c4ec031524852ba2 (diff) |
[GFS2] Reduce number of gfs2_scand processes to one
We only need a single gfs2_scand process rather than the one
per filesystem which we had previously. As a result the parameter
determining the frequency of gfs2_scand runs becomes a module
parameter rather than a mount parameter as it was before.
Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
Diffstat (limited to 'fs/gfs2/glock.h')
-rw-r--r-- | fs/gfs2/glock.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/gfs2/glock.h b/fs/gfs2/glock.h index 7721ca3fff9e..f7a8e626aa08 100644 --- a/fs/gfs2/glock.h +++ b/fs/gfs2/glock.h | |||
@@ -132,11 +132,11 @@ void gfs2_glock_cb(void *cb_data, unsigned int type, void *data); | |||
132 | 132 | ||
133 | void gfs2_glock_schedule_for_reclaim(struct gfs2_glock *gl); | 133 | void gfs2_glock_schedule_for_reclaim(struct gfs2_glock *gl); |
134 | void gfs2_reclaim_glock(struct gfs2_sbd *sdp); | 134 | void gfs2_reclaim_glock(struct gfs2_sbd *sdp); |
135 | |||
136 | void gfs2_scand_internal(struct gfs2_sbd *sdp); | ||
137 | void gfs2_gl_hash_clear(struct gfs2_sbd *sdp, int wait); | 135 | void gfs2_gl_hash_clear(struct gfs2_sbd *sdp, int wait); |
138 | 136 | ||
139 | int __init gfs2_glock_init(void); | 137 | int __init gfs2_glock_init(void); |
138 | void gfs2_glock_exit(void); | ||
139 | |||
140 | int gfs2_create_debugfs_file(struct gfs2_sbd *sdp); | 140 | int gfs2_create_debugfs_file(struct gfs2_sbd *sdp); |
141 | void gfs2_delete_debugfs_file(struct gfs2_sbd *sdp); | 141 | void gfs2_delete_debugfs_file(struct gfs2_sbd *sdp); |
142 | int gfs2_register_debugfs(void); | 142 | int gfs2_register_debugfs(void); |