[BACK]Return to xfs_globals.c CVS log [TXT][DIR] Up to [Development] / xfs-linux-nodel / linux-2.6

File: [Development] / xfs-linux-nodel / linux-2.6 / xfs_globals.c (download)

Revision 1.7, Tue Nov 30 23:26:23 1999 UTC (17 years, 10 months ago) by lord
Branch: MAIN
Changes since 1.6: +9 -4 lines

remove lbolt definition, using jiffies

/*
 *
 * $Header: /ptools/plroot/pingu/slinx-xfs/kern/fs/xfs/linux/RCS/xfs_globals.c,v 1.6 1999/09/29 17:55:19 lord Exp $
 * $Author: lord $
 * $Id: xfs_globals.c,v 1.6 1999/09/29 17:55:19 lord Exp $
 *
 * $Log: xfs_globals.c,v $
 * Revision 1.6  1999/09/29 17:55:19  lord
 * Fill in var structure for buffer cache sizes.
 *
 * Revision 1.5  1999/09/03 00:40:44  mostek
 * A bunch more (physmem, maxdmasz, lbolt, ...
 *
 * Revision 1.3  1999/09/02 22:24:14  cattelan
 * No Message Supplied
 *
 * Revision 1.1  1999/09/01 00:35:47  mostek
 * Add some globals that came from systune. Systune doesn't exist
 * on Linux.
 *
 */

/*
 * This file contains globals needed by XFS that were normally defined
 * somewhere else in IRIX.
 */

#include <sys/types.h>
#include <sys/var.h>
#include <sys/vfs.h>
#include <sys/sysinfo.h>
#include <sys/cred.h>

int    		xfs_refcache_percent = 100;
int		mac_enabled = 0;
int		acl_enabled = 0;
int		ncsize = 792;
int		nclrus = 0;
int		xpg4_sticky_dir = 1; /* see xfs_stickytest */
int		imon_enabled;
int		xfsd_pri = 0x5c;	/* priority of xfsd thread(s) */
uint64_t	xfs_panic_mask;		/* set to cause more panics */
int		xfs_nfs_io_units = 10;	/* Ignore for now. Affects NFS performance. */
vfssw_t		vfssw[2] = { { "xfs" } };	/* vfssw for XFS only */
struct var	v = {
		  512,	/* v_buf * Nbr of I/O buffers.                  */
		  8,	/* v_hbuf * Nbr of hash buffers to allocate.     */
		  /* v_maxdmaszi * Max dma unbroken dma transfer size. */
		};

struct syswait	syswait;
dev_t           rootdev = NODEV;
int             restricted_chown = 0;
int     	scache_linemask = 0x1f;       /* second level cache line size mask */
int		imon_enabled;
prid_t		dfltprid;
long            physmem;
int		maxdmasz = 0x401;	/* Obviously needs to be set dynamically */
#ifdef SIM
time_t		jiffies;
#endif
struct ksa	ksa;
struct ksa      *ksaptr = &ksa;        /* ptr to kernel system activities buf*/