blob: 76e81cff70b9a71b2f3a9a5c3d2487a437992fa1 [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001/*
Nathan Scott7b718762005-11-02 14:58:39 +11002 * Copyright (c) 2000-2005 Silicon Graphics, Inc.
3 * All Rights Reserved.
Linus Torvalds1da177e2005-04-16 15:20:36 -07004 *
Nathan Scott7b718762005-11-02 14:58:39 +11005 * This program is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU General Public License as
Linus Torvalds1da177e2005-04-16 15:20:36 -07007 * published by the Free Software Foundation.
8 *
Nathan Scott7b718762005-11-02 14:58:39 +11009 * This program is distributed in the hope that it would be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
Linus Torvalds1da177e2005-04-16 15:20:36 -070013 *
Nathan Scott7b718762005-11-02 14:58:39 +110014 * You should have received a copy of the GNU General Public License
15 * along with this program; if not, write the Free Software Foundation,
16 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
Linus Torvalds1da177e2005-04-16 15:20:36 -070017 */
Linus Torvalds1da177e2005-04-16 15:20:36 -070018#include "xfs.h"
Linus Torvalds1da177e2005-04-16 15:20:36 -070019#include "xfs_sysctl.h"
20
21/*
Linus Torvalds1da177e2005-04-16 15:20:36 -070022 * Tunable XFS parameters. xfs_params is required even when CONFIG_SYSCTL=n,
23 * other XFS code uses these values. Times are measured in centisecs (i.e.
24 * 100ths of a second).
25 */
26xfs_param_t xfs_params = {
27 /* MIN DFLT MAX */
Linus Torvalds1da177e2005-04-16 15:20:36 -070028 .sgid_inherit = { 0, 0, 1 },
29 .symlink_mode = { 0, 0, 1 },
Nathan Scott572d95f2006-09-28 11:03:20 +100030 .panic_mask = { 0, 0, 255 },
Linus Torvalds1da177e2005-04-16 15:20:36 -070031 .error_level = { 0, 3, 11 },
32 .syncd_timer = { 1*100, 30*100, 7200*100},
33 .stats_clear = { 0, 0, 1 },
34 .inherit_sync = { 0, 1, 1 },
35 .inherit_nodump = { 0, 1, 1 },
36 .inherit_noatim = { 0, 1, 1 },
37 .xfs_buf_timer = { 100/2, 1*100, 30*100 },
38 .xfs_buf_age = { 1*100, 15*100, 7200*100},
39 .inherit_nosym = { 0, 0, 1 },
40 .rotorstep = { 1, 1, 255 },
Barry Naujokd3446ea2006-06-09 14:54:19 +100041 .inherit_nodfrg = { 0, 1, 1 },
David Chinner8da22d72007-08-16 15:20:56 +100042 .fstrm_timer = { 1, 30*100, 3600*100},
Linus Torvalds1da177e2005-04-16 15:20:36 -070043};