commit | 67ec9f46b889bfb1ab0a4e307d53929d5f0692bf | [log] [tgz] |
---|---|---|
author | Chuck Lever <cel@netapp.com> | Mon Mar 20 13:44:15 2006 -0500 |
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | Mon Mar 20 13:44:15 2006 -0500 |
tree | fe9cb38a7ead5bf4894b22bdc10af5d513695781 | |
parent | 006ea73e5fa82915d0ac7a3f15ee7c688433236d [diff] |
NFS: report how long an NFS file system has been mounted Add a field in nfs_server to record a timestamp when a mount succeeds. Report the number of seconds the file system has been mounted via nfs_show_stats(). Test plan: Mount an NFS file system, watch the mountstats reports and compare with clock time. Signed-off-by: Chuck Lever <cel@netapp.com> Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>