Dr Andrew Scott G7VAV

My photo
 
June 2025
Mo Tu We Th Fr Sa Su
26 27 28 29 30 31 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 1 2 3 4 5 6


nfs_fs.h
01: /*
02:  *  linux/include/linux/nfs_fs.h
03:  *
04:  *  Copyright (C) 1992  Rick Sladkey
05:  *
06:  *  OS-specific nfs filesystem definitions and declarations
07:  */
08: 
09: #ifndef _LINUX_NFS_FS_H
10: #define _LINUX_NFS_FS_H
11: 
12: #include <linux/magic.h>
13: 
14: /* Default timeout values */
15: #define NFS_DEF_UDP_TIMEO       (11)
16: #define NFS_DEF_UDP_RETRANS     (3)
17: #define NFS_DEF_TCP_TIMEO       (600)
18: #define NFS_DEF_TCP_RETRANS     (2)
19: 
20: #define NFS_MAX_UDP_TIMEOUT     (60*HZ)
21: #define NFS_MAX_TCP_TIMEOUT     (600*HZ)
22: 
23: #define NFS_DEF_ACREGMIN        (3)
24: #define NFS_DEF_ACREGMAX        (60)
25: #define NFS_DEF_ACDIRMIN        (30)
26: #define NFS_DEF_ACDIRMAX        (60)
27: 
28: /*
29:  * When flushing a cluster of dirty pages, there can be different
30:  * strategies:
31:  */
32: #define FLUSH_SYNC              1       /* file being synced, or contention */
33: #define FLUSH_STABLE            4       /* commit to stable storage */
34: #define FLUSH_LOWPRI            8       /* low priority background flush */
35: #define FLUSH_HIGHPRI           16      /* high priority memory reclaim flush */
36: #define FLUSH_COND_STABLE       32      /* conditional stable write - only stable
37:                                          * if everything fits in one RPC */
38: 
39: 
40: /*
41:  * NFS debug flags
42:  */
43: #define NFSDBG_VFS              0x0001
44: #define NFSDBG_DIRCACHE         0x0002
45: #define NFSDBG_LOOKUPCACHE      0x0004
46: #define NFSDBG_PAGECACHE        0x0008
47: #define NFSDBG_PROC             0x0010
48: #define NFSDBG_XDR              0x0020
49: #define NFSDBG_FILE             0x0040
50: #define NFSDBG_ROOT             0x0080
51: #define NFSDBG_CALLBACK         0x0100
52: #define NFSDBG_CLIENT           0x0200
53: #define NFSDBG_MOUNT            0x0400
54: #define NFSDBG_FSCACHE          0x0800
55: #define NFSDBG_PNFS             0x1000
56: #define NFSDBG_PNFS_LD          0x2000
57: #define NFSDBG_ALL              0xFFFF
58: 
59: 
60: #endif
61: 


for client (none)
© Andrew Scott 2006 - 2025,
All Rights Reserved
http://www.andrew-scott.uk/
Andrew Scott
http://www.andrew-scott.co.uk/