aboutsummaryrefslogtreecommitdiffstats
path: root/fs/gfs2
diff options
context:
space:
mode:
authorSteven Whitehouse <swhiteho@redhat.com>2007-10-31 10:24:33 -0400
committerSteven Whitehouse <swhiteho@redhat.com>2008-01-25 03:07:35 -0500
commit60b0d0877986b8fa70148f06055422d2ed858e88 (patch)
treea3046f15ed803570554bad905ce690332dae8da8 /fs/gfs2
parent47e83b509127f5e83ae5d93afd5c7cb9241acc38 (diff)
[GFS2] Remove unused variables
These haven't been used for some time, remove them. Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
Diffstat (limited to 'fs/gfs2')
-rw-r--r--fs/gfs2/incore.h4
-rw-r--r--fs/gfs2/super.c4
2 files changed, 0 insertions, 8 deletions
diff --git a/fs/gfs2/incore.h b/fs/gfs2/incore.h
index 82dfe9bd270b..f7a50fed4b52 100644
--- a/fs/gfs2/incore.h
+++ b/fs/gfs2/incore.h
@@ -412,9 +412,6 @@ struct gfs2_args {
412struct gfs2_tune { 412struct gfs2_tune {
413 spinlock_t gt_spin; 413 spinlock_t gt_spin;
414 414
415 unsigned int gt_ilimit;
416 unsigned int gt_ilimit_tries;
417 unsigned int gt_ilimit_min;
418 unsigned int gt_demote_secs; /* Cache retention for unheld glock */ 415 unsigned int gt_demote_secs; /* Cache retention for unheld glock */
419 unsigned int gt_incore_log_blocks; 416 unsigned int gt_incore_log_blocks;
420 unsigned int gt_log_flush_secs; 417 unsigned int gt_log_flush_secs;
@@ -434,7 +431,6 @@ struct gfs2_tune {
434 unsigned int gt_new_files_jdata; 431 unsigned int gt_new_files_jdata;
435 unsigned int gt_new_files_directio; 432 unsigned int gt_new_files_directio;
436 unsigned int gt_max_readahead; /* Max bytes to read-ahead from disk */ 433 unsigned int gt_max_readahead; /* Max bytes to read-ahead from disk */
437 unsigned int gt_lockdump_size;
438 unsigned int gt_stall_secs; /* Detects trouble! */ 434 unsigned int gt_stall_secs; /* Detects trouble! */
439 unsigned int gt_complain_secs; 435 unsigned int gt_complain_secs;
440 unsigned int gt_reclaim_limit; /* Max num of glocks in reclaim list */ 436 unsigned int gt_reclaim_limit; /* Max num of glocks in reclaim list */
diff --git a/fs/gfs2/super.c b/fs/gfs2/super.c
index 5183dfb9342a..26edb7f9f4b8 100644
--- a/fs/gfs2/super.c
+++ b/fs/gfs2/super.c
@@ -51,9 +51,6 @@ void gfs2_tune_init(struct gfs2_tune *gt)
51{ 51{
52 spin_lock_init(&gt->gt_spin); 52 spin_lock_init(&gt->gt_spin);
53 53
54 gt->gt_ilimit = 100;
55 gt->gt_ilimit_tries = 3;
56 gt->gt_ilimit_min = 1;
57 gt->gt_demote_secs = 300; 54 gt->gt_demote_secs = 300;
58 gt->gt_incore_log_blocks = 1024; 55 gt->gt_incore_log_blocks = 1024;
59 gt->gt_log_flush_secs = 60; 56 gt->gt_log_flush_secs = 60;
@@ -71,7 +68,6 @@ void gfs2_tune_init(struct gfs2_tune *gt)
71 gt->gt_new_files_jdata = 0; 68 gt->gt_new_files_jdata = 0;
72 gt->gt_new_files_directio = 0; 69 gt->gt_new_files_directio = 0;
73 gt->gt_max_readahead = 1 << 18; 70 gt->gt_max_readahead = 1 << 18;
74 gt->gt_lockdump_size = 131072;
75 gt->gt_stall_secs = 600; 71 gt->gt_stall_secs = 600;
76 gt->gt_complain_secs = 10; 72 gt->gt_complain_secs = 10;
77 gt->gt_reclaim_limit = 5000; 73 gt->gt_reclaim_limit = 5000;