aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/nfs_fs_sb.h
diff options
context:
space:
mode:
authorChuck Lever <cel@netapp.com>2006-03-20 13:44:12 -0500
committerTrond Myklebust <Trond.Myklebust@netapp.com>2006-03-20 13:44:12 -0500
commit7a480e250c7ca9187275d8574ae9e48a6b602cb9 (patch)
tree0c3744235b3469c10b791fc5cd80b82f9734d37b /include/linux/nfs_fs_sb.h
parentb4629fe2f094b719847f31be1ee5ab38300038b2 (diff)
NFS: show retransmit settings when displaying mount options
Sometimes it's important to know the exact RPC retransmit settings the kernel is using for an NFS mount point. Add this facility to the NFS client's show_options method. Test plan: Set various retransmit settings via the mount command, and check that the settings are reflected in /proc/mounts. Signed-off-by: Chuck Lever <cel@netapp.com> Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'include/linux/nfs_fs_sb.h')
-rw-r--r--include/linux/nfs_fs_sb.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/nfs_fs_sb.h b/include/linux/nfs_fs_sb.h
index 3d3a305488cf..a522ab97358d 100644
--- a/include/linux/nfs_fs_sb.h
+++ b/include/linux/nfs_fs_sb.h
@@ -26,6 +26,8 @@ struct nfs_server {
26 unsigned int acregmax; 26 unsigned int acregmax;
27 unsigned int acdirmin; 27 unsigned int acdirmin;
28 unsigned int acdirmax; 28 unsigned int acdirmax;
29 unsigned long retrans_timeo; /* retransmit timeout */
30 unsigned int retrans_count; /* number of retransmit tries */
29 unsigned int namelen; 31 unsigned int namelen;
30 char * hostname; /* remote hostname */ 32 char * hostname; /* remote hostname */
31 struct nfs_fh fh; 33 struct nfs_fh fh;