Orange Pi5 kernel

Deprecated Linux kernel 5.10.110 for OrangePi 5/5B/5+ boards

3 Commits   0 Branches   0 Tags
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  1) // SPDX-License-Identifier: GPL-2.0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  2) /*
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  3)  * Copyright (c) 2000-2005 Silicon Graphics, Inc.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  4)  * All Rights Reserved.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  5)  */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  6) #include "xfs.h"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  7) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  8) /*
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  9)  * Tunable XFS parameters.  xfs_params is required even when CONFIG_SYSCTL=n,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10)  * other XFS code uses these values.  Times are measured in centisecs (i.e.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11)  * 100ths of a second) with the exception of eofb_timer and cowb_timer, which
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12)  * are measured in seconds.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13)  */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) xfs_param_t xfs_params = {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15) 			  /*	MIN		DFLT		MAX	*/
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16) 	.sgid_inherit	= {	0,		0,		1	},
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17) 	.symlink_mode	= {	0,		0,		1	},
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18) 	.panic_mask	= {	0,		0,		256	},
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19) 	.error_level	= {	0,		3,		11	},
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20) 	.syncd_timer	= {	1*100,		30*100,		7200*100},
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21) 	.stats_clear	= {	0,		0,		1	},
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22) 	.inherit_sync	= {	0,		1,		1	},
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23) 	.inherit_nodump	= {	0,		1,		1	},
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24) 	.inherit_noatim = {	0,		1,		1	},
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 25) 	.xfs_buf_timer	= {	100/2,		1*100,		30*100	},
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 26) 	.xfs_buf_age	= {	1*100,		15*100,		7200*100},
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 27) 	.inherit_nosym	= {	0,		0,		1	},
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 28) 	.rotorstep	= {	1,		1,		255	},
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 29) 	.inherit_nodfrg	= {	0,		1,		1	},
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 30) 	.fstrm_timer	= {	1,		30*100,		3600*100},
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 31) 	.eofb_timer	= {	1,		300,		3600*24},
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 32) 	.cowb_timer	= {	1,		1800,		3600*24},
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 33) };
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 34) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 35) struct xfs_globals xfs_globals = {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 36) 	.log_recovery_delay	=	0,	/* no delay by default */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 37) 	.mount_delay		=	0,	/* no delay by default */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 38) #ifdef XFS_ASSERT_FATAL
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 39) 	.bug_on_assert		=	true,	/* assert failures BUG() */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 40) #else
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 41) 	.bug_on_assert		=	false,	/* assert failures WARN() */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 42) #endif
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 43) #ifdef DEBUG
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 44) 	.pwork_threads		=	-1,	/* automatic thread detection */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 45) #endif
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 46) };