diff options
Diffstat (limited to 'include/linux/nfs_fs.h')
| -rw-r--r-- | include/linux/nfs_fs.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/include/linux/nfs_fs.h b/include/linux/nfs_fs.h index 27d6a8d98cef..29d261918734 100644 --- a/include/linux/nfs_fs.h +++ b/include/linux/nfs_fs.h | |||
| @@ -12,9 +12,19 @@ | |||
| 12 | #include <linux/magic.h> | 12 | #include <linux/magic.h> |
| 13 | 13 | ||
| 14 | /* Default timeout values */ | 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 | |||
| 15 | #define NFS_MAX_UDP_TIMEOUT (60*HZ) | 20 | #define NFS_MAX_UDP_TIMEOUT (60*HZ) |
| 16 | #define NFS_MAX_TCP_TIMEOUT (600*HZ) | 21 | #define NFS_MAX_TCP_TIMEOUT (600*HZ) |
| 17 | 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 | |||
| 18 | /* | 28 | /* |
| 19 | * When flushing a cluster of dirty pages, there can be different | 29 | * When flushing a cluster of dirty pages, there can be different |
| 20 | * strategies: | 30 | * strategies: |
