2005-04-17 05:20:36 +07:00
|
|
|
/*
|
2005-11-02 10:58:39 +07:00
|
|
|
* Copyright (c) 2000-2005 Silicon Graphics, Inc.
|
|
|
|
* All Rights Reserved.
|
2005-04-17 05:20:36 +07:00
|
|
|
*
|
2005-11-02 10:58:39 +07:00
|
|
|
* This program is free software; you can redistribute it and/or
|
|
|
|
* modify it under the terms of the GNU General Public License as
|
2005-04-17 05:20:36 +07:00
|
|
|
* published by the Free Software Foundation.
|
|
|
|
*
|
2005-11-02 10:58:39 +07:00
|
|
|
* This program is distributed in the hope that it would be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
* GNU General Public License for more details.
|
2005-04-17 05:20:36 +07:00
|
|
|
*
|
2005-11-02 10:58:39 +07:00
|
|
|
* You should have received a copy of the GNU General Public License
|
|
|
|
* along with this program; if not, write the Free Software Foundation,
|
|
|
|
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
2005-04-17 05:20:36 +07:00
|
|
|
*/
|
|
|
|
#include "xfs.h"
|
|
|
|
#include "xfs_sysctl.h"
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Tunable XFS parameters. xfs_params is required even when CONFIG_SYSCTL=n,
|
|
|
|
* other XFS code uses these values. Times are measured in centisecs (i.e.
|
|
|
|
* 100ths of a second).
|
|
|
|
*/
|
|
|
|
xfs_param_t xfs_params = {
|
|
|
|
/* MIN DFLT MAX */
|
|
|
|
.sgid_inherit = { 0, 0, 1 },
|
|
|
|
.symlink_mode = { 0, 0, 1 },
|
2006-09-28 08:03:20 +07:00
|
|
|
.panic_mask = { 0, 0, 255 },
|
2005-04-17 05:20:36 +07:00
|
|
|
.error_level = { 0, 3, 11 },
|
|
|
|
.syncd_timer = { 1*100, 30*100, 7200*100},
|
|
|
|
.stats_clear = { 0, 0, 1 },
|
|
|
|
.inherit_sync = { 0, 1, 1 },
|
|
|
|
.inherit_nodump = { 0, 1, 1 },
|
|
|
|
.inherit_noatim = { 0, 1, 1 },
|
|
|
|
.xfs_buf_timer = { 100/2, 1*100, 30*100 },
|
|
|
|
.xfs_buf_age = { 1*100, 15*100, 7200*100},
|
|
|
|
.inherit_nosym = { 0, 0, 1 },
|
|
|
|
.rotorstep = { 1, 1, 255 },
|
2006-06-09 11:54:19 +07:00
|
|
|
.inherit_nodfrg = { 0, 1, 1 },
|
2007-08-16 12:20:56 +07:00
|
|
|
.fstrm_timer = { 1, 30*100, 3600*100},
|
2005-04-17 05:20:36 +07:00
|
|
|
};
|