nfs_fs.h

来自「自己做的交叉编译工具!gcc-3.4.5,glibc-2.3.6在ubuntu8」· C头文件 代码 · 共 85 行

H
85
字号
/* *  linux/include/linux/nfs_fs.h * *  Copyright (C) 1992  Rick Sladkey * *  OS-specific nfs filesystem definitions and declarations */#ifndef _LINUX_NFS_FS_H#define _LINUX_NFS_FS_H#include <linux/in.h>#include <linux/wait.h>#include <linux/uio.h>#include <linux/nfs_fs_sb.h>#include <linux/sunrpc/debug.h>#include <linux/sunrpc/clnt.h>#include <linux/nfs.h>#include <linux/nfs2.h>#include <linux/nfs3.h>#include <linux/nfs4.h>#include <linux/nfs_xdr.h>/* * Enable debugging support for nfs client. * Requires RPC_DEBUG. */#ifdef RPC_DEBUG# define NFS_DEBUG#endif#define NFS_MAX_FILE_IO_BUFFER_SIZE	32768#define NFS_DEF_FILE_IO_BUFFER_SIZE	4096/* * The upper limit on timeouts for the exponential backoff algorithm. */#define NFS_WRITEBACK_DELAY		(5*HZ)#define NFS_WRITEBACK_LOCKDELAY		(60*HZ)#define NFS_COMMIT_DELAY		(5*HZ)/* * superblock magic number for NFS */#define NFS_SUPER_MAGIC			0x6969/* * These are the default flags for swap requests */#define NFS_RPC_SWAPFLAGS		(RPC_TASK_SWAPPER|RPC_TASK_ROOTCREDS)#define NFS_RW_SYNC		0x0001	/* O_SYNC handling */#define NFS_RW_SWAP		0x0002	/* This is a swap request *//* * When flushing a cluster of dirty pages, there can be different * strategies: */#define FLUSH_AGING		0	/* only flush old buffers */#define FLUSH_SYNC		1	/* file being synced, or contention */#define FLUSH_WAIT		2	/* wait for completion */#define FLUSH_STABLE		4	/* commit to stable storage */#define FLUSH_LOWPRI		8	/* low priority background flush */#define FLUSH_HIGHPRI		16	/* high priority memory reclaim flush *//* * NFS debug flags */#define NFSDBG_VFS		0x0001#define NFSDBG_DIRCACHE		0x0002#define NFSDBG_LOOKUPCACHE	0x0004#define NFSDBG_PAGECACHE	0x0008#define NFSDBG_PROC		0x0010#define NFSDBG_XDR		0x0020#define NFSDBG_FILE		0x0040#define NFSDBG_ROOT		0x0080#define NFSDBG_CALLBACK		0x0100#define NFSDBG_ALL		0xFFFF#endif

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?