]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[GFS2] Remove max_atomic_write tunable
authorSteven Whitehouse <swhiteho@redhat.com>
Mon, 15 Jan 2007 21:36:26 +0000 (16:36 -0500)
committerSteven Whitehouse <swhiteho@redhat.com>
Mon, 5 Feb 2007 18:37:08 +0000 (13:37 -0500)
This removes an unused sysfs tunable parameter.

Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
fs/gfs2/incore.h
fs/gfs2/super.c
fs/gfs2/sys.c

index 807587050384befe8b19ddeb2e4b028ec31aaa00..9114851ac53ee39b25aa8816b054989ec98b8ddc 100644 (file)
@@ -417,7 +417,6 @@ struct gfs2_tune {
        unsigned int gt_atime_quantum; /* Min secs between atime updates */
        unsigned int gt_new_files_jdata;
        unsigned int gt_new_files_directio;
-       unsigned int gt_max_atomic_write; /* Split big writes into this size */
        unsigned int gt_max_readahead; /* Max bytes to read-ahead from disk */
        unsigned int gt_lockdump_size;
        unsigned int gt_stall_secs; /* Detects trouble! */
index 100852a61b5dd584f2355901238868ea50a7ea26..3e17dcf35a30965490b48bb498e9f928c63cc3c8 100644 (file)
@@ -71,7 +71,6 @@ void gfs2_tune_init(struct gfs2_tune *gt)
        gt->gt_atime_quantum = 3600;
        gt->gt_new_files_jdata = 0;
        gt->gt_new_files_directio = 0;
-       gt->gt_max_atomic_write = 4 << 20;
        gt->gt_max_readahead = 1 << 18;
        gt->gt_lockdump_size = 131072;
        gt->gt_stall_secs = 600;
index cd28f08b244cb88e9581eb19ed8b0a87a9a3cc12..11206118d983693a6980e7676fc5b04a4d66c2ea 100644 (file)
@@ -441,7 +441,6 @@ TUNE_ATTR(new_files_jdata, 0);
 TUNE_ATTR(new_files_directio, 0);
 TUNE_ATTR(quota_simul_sync, 1);
 TUNE_ATTR(quota_cache_secs, 1);
-TUNE_ATTR(max_atomic_write, 1);
 TUNE_ATTR(stall_secs, 1);
 TUNE_ATTR(greedy_default, 1);
 TUNE_ATTR(greedy_quantum, 1);
@@ -467,7 +466,6 @@ static struct attribute *tune_attrs[] = {
        &tune_attr_statfs_slow.attr,
        &tune_attr_quota_simul_sync.attr,
        &tune_attr_quota_cache_secs.attr,
-       &tune_attr_max_atomic_write.attr,
        &tune_attr_stall_secs.attr,
        &tune_attr_greedy_default.attr,
        &tune_attr_greedy_quantum.attr,