diff options
author | Steven Whitehouse <swhiteho@redhat.com> | 2007-01-15 16:36:26 -0500 |
---|---|---|
committer | Steven Whitehouse <swhiteho@redhat.com> | 2007-02-05 13:37:08 -0500 |
commit | 330005c2b23e71e54931913e9b63d1712a19e444 (patch) | |
tree | 7a0162de5bbdeed0b1e82b76c4bddcb628362af2 | |
parent | 3699e3a44bf56e0cd58c97e8655f375ad9b65d9d (diff) |
[GFS2] Remove max_atomic_write tunable
This removes an unused sysfs tunable parameter.
Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
-rw-r--r-- | fs/gfs2/incore.h | 1 | ||||
-rw-r--r-- | fs/gfs2/super.c | 1 | ||||
-rw-r--r-- | fs/gfs2/sys.c | 2 |
3 files changed, 0 insertions, 4 deletions
diff --git a/fs/gfs2/incore.h b/fs/gfs2/incore.h index 807587050384..9114851ac53e 100644 --- a/fs/gfs2/incore.h +++ b/fs/gfs2/incore.h | |||
@@ -417,7 +417,6 @@ struct gfs2_tune { | |||
417 | unsigned int gt_atime_quantum; /* Min secs between atime updates */ | 417 | unsigned int gt_atime_quantum; /* Min secs between atime updates */ |
418 | unsigned int gt_new_files_jdata; | 418 | unsigned int gt_new_files_jdata; |
419 | unsigned int gt_new_files_directio; | 419 | unsigned int gt_new_files_directio; |
420 | unsigned int gt_max_atomic_write; /* Split big writes into this size */ | ||
421 | unsigned int gt_max_readahead; /* Max bytes to read-ahead from disk */ | 420 | unsigned int gt_max_readahead; /* Max bytes to read-ahead from disk */ |
422 | unsigned int gt_lockdump_size; | 421 | unsigned int gt_lockdump_size; |
423 | unsigned int gt_stall_secs; /* Detects trouble! */ | 422 | unsigned int gt_stall_secs; /* Detects trouble! */ |
diff --git a/fs/gfs2/super.c b/fs/gfs2/super.c index 100852a61b5d..3e17dcf35a30 100644 --- a/fs/gfs2/super.c +++ b/fs/gfs2/super.c | |||
@@ -71,7 +71,6 @@ void gfs2_tune_init(struct gfs2_tune *gt) | |||
71 | gt->gt_atime_quantum = 3600; | 71 | gt->gt_atime_quantum = 3600; |
72 | gt->gt_new_files_jdata = 0; | 72 | gt->gt_new_files_jdata = 0; |
73 | gt->gt_new_files_directio = 0; | 73 | gt->gt_new_files_directio = 0; |
74 | gt->gt_max_atomic_write = 4 << 20; | ||
75 | gt->gt_max_readahead = 1 << 18; | 74 | gt->gt_max_readahead = 1 << 18; |
76 | gt->gt_lockdump_size = 131072; | 75 | gt->gt_lockdump_size = 131072; |
77 | gt->gt_stall_secs = 600; | 76 | gt->gt_stall_secs = 600; |
diff --git a/fs/gfs2/sys.c b/fs/gfs2/sys.c index cd28f08b244c..11206118d983 100644 --- a/fs/gfs2/sys.c +++ b/fs/gfs2/sys.c | |||
@@ -441,7 +441,6 @@ TUNE_ATTR(new_files_jdata, 0); | |||
441 | TUNE_ATTR(new_files_directio, 0); | 441 | TUNE_ATTR(new_files_directio, 0); |
442 | TUNE_ATTR(quota_simul_sync, 1); | 442 | TUNE_ATTR(quota_simul_sync, 1); |
443 | TUNE_ATTR(quota_cache_secs, 1); | 443 | TUNE_ATTR(quota_cache_secs, 1); |
444 | TUNE_ATTR(max_atomic_write, 1); | ||
445 | TUNE_ATTR(stall_secs, 1); | 444 | TUNE_ATTR(stall_secs, 1); |
446 | TUNE_ATTR(greedy_default, 1); | 445 | TUNE_ATTR(greedy_default, 1); |
447 | TUNE_ATTR(greedy_quantum, 1); | 446 | TUNE_ATTR(greedy_quantum, 1); |
@@ -467,7 +466,6 @@ static struct attribute *tune_attrs[] = { | |||
467 | &tune_attr_statfs_slow.attr, | 466 | &tune_attr_statfs_slow.attr, |
468 | &tune_attr_quota_simul_sync.attr, | 467 | &tune_attr_quota_simul_sync.attr, |
469 | &tune_attr_quota_cache_secs.attr, | 468 | &tune_attr_quota_cache_secs.attr, |
470 | &tune_attr_max_atomic_write.attr, | ||
471 | &tune_attr_stall_secs.attr, | 469 | &tune_attr_stall_secs.attr, |
472 | &tune_attr_greedy_default.attr, | 470 | &tune_attr_greedy_default.attr, |
473 | &tune_attr_greedy_quantum.attr, | 471 | &tune_attr_greedy_quantum.attr, |