mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-06-17 20:25:19 +00:00
UAPI: (Scripted) Disintegrate include/linux
Signed-off-by: David Howells <dhowells@redhat.com> Acked-by: Arnd Bergmann <arnd@arndb.de> Acked-by: Thomas Gleixner <tglx@linutronix.de> Acked-by: Michael Kerrisk <mtk.manpages@gmail.com> Acked-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com> Acked-by: Dave Jones <davej@redhat.com>
This commit is contained in:
parent
08cce05c5a
commit
607ca46e97
578 changed files with 32658 additions and 30107 deletions
|
@ -5,38 +5,11 @@
|
|||
*
|
||||
* OS-specific nfs filesystem definitions and declarations
|
||||
*/
|
||||
|
||||
#ifndef _LINUX_NFS_FS_H
|
||||
#define _LINUX_NFS_FS_H
|
||||
|
||||
#include <linux/magic.h>
|
||||
#include <uapi/linux/nfs_fs.h>
|
||||
|
||||
/* Default timeout values */
|
||||
#define NFS_DEF_UDP_TIMEO (11)
|
||||
#define NFS_DEF_UDP_RETRANS (3)
|
||||
#define NFS_DEF_TCP_TIMEO (600)
|
||||
#define NFS_DEF_TCP_RETRANS (2)
|
||||
|
||||
#define NFS_MAX_UDP_TIMEOUT (60*HZ)
|
||||
#define NFS_MAX_TCP_TIMEOUT (600*HZ)
|
||||
|
||||
#define NFS_DEF_ACREGMIN (3)
|
||||
#define NFS_DEF_ACREGMAX (60)
|
||||
#define NFS_DEF_ACDIRMIN (30)
|
||||
#define NFS_DEF_ACDIRMAX (60)
|
||||
|
||||
/*
|
||||
* When flushing a cluster of dirty pages, there can be different
|
||||
* strategies:
|
||||
*/
|
||||
#define FLUSH_SYNC 1 /* file being synced, or contention */
|
||||
#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 */
|
||||
#define FLUSH_COND_STABLE 32 /* conditional stable write - only stable
|
||||
* if everything fits in one RPC */
|
||||
|
||||
#ifdef __KERNEL__
|
||||
|
||||
/*
|
||||
* Enable dprintk() debugging support for nfs client.
|
||||
|
@ -613,29 +586,6 @@ nfs_fileid_to_ino_t(u64 fileid)
|
|||
|
||||
#define NFS_JUKEBOX_RETRY_TIME (5 * HZ)
|
||||
|
||||
#endif /* __KERNEL__ */
|
||||
|
||||
/*
|
||||
* 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_CLIENT 0x0200
|
||||
#define NFSDBG_MOUNT 0x0400
|
||||
#define NFSDBG_FSCACHE 0x0800
|
||||
#define NFSDBG_PNFS 0x1000
|
||||
#define NFSDBG_PNFS_LD 0x2000
|
||||
#define NFSDBG_STATE 0x4000
|
||||
#define NFSDBG_ALL 0xFFFF
|
||||
|
||||
#ifdef __KERNEL__
|
||||
|
||||
# undef ifdebug
|
||||
# ifdef NFS_DEBUG
|
||||
|
@ -645,6 +595,4 @@ nfs_fileid_to_ino_t(u64 fileid)
|
|||
# define ifdebug(fac) if (0)
|
||||
# define NFS_IFDEBUG(x)
|
||||
# endif
|
||||
#endif /* __KERNEL */
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue