Commit cb63032b authored by Daniel W. S. Almeida's avatar Daniel W. S. Almeida Committed by Jonathan Corbet

Documentation: nfs: knfsd-stats: convert to ReST

Convert knfsd-stats.txt to ReST. Content remains mostly the same.
Signed-off-by: default avatarDaniel W. S. Almeida <dwlsalmeida@gmail.com>
Link: https://lore.kernel.org/r/20200129044917.566906-6-dwlsalmeida@gmail.comSigned-off-by: default avatarJonathan Corbet <corbet@lwn.net>
parent 04f81fb0
...@@ -10,3 +10,4 @@ NFS ...@@ -10,3 +10,4 @@ NFS
rpc-cache rpc-cache
rpc-server-gss rpc-server-gss
nfs41-server nfs41-server
knfsd-stats
============================
Kernel NFS Server Statistics Kernel NFS Server Statistics
============================ ============================
:Authors: Greg Banks <gnb@sgi.com> - 26 Mar 2009
This document describes the format and semantics of the statistics This document describes the format and semantics of the statistics
which the kernel NFS server makes available to userspace. These which the kernel NFS server makes available to userspace. These
statistics are available in several text form pseudo files, each of statistics are available in several text form pseudo files, each of
...@@ -18,7 +20,7 @@ by parsing routines. All other lines contain a sequence of fields ...@@ -18,7 +20,7 @@ by parsing routines. All other lines contain a sequence of fields
separated by whitespace. separated by whitespace.
/proc/fs/nfsd/pool_stats /proc/fs/nfsd/pool_stats
------------------------ ========================
This file is available in kernels from 2.6.30 onwards, if the This file is available in kernels from 2.6.30 onwards, if the
/proc/fs/nfsd filesystem is mounted (it almost always should be). /proc/fs/nfsd filesystem is mounted (it almost always should be).
...@@ -109,15 +111,12 @@ this case), or the transport can be enqueued for later attention ...@@ -109,15 +111,12 @@ this case), or the transport can be enqueued for later attention
(sockets-enqueued counts this case), or the packet can be temporarily (sockets-enqueued counts this case), or the packet can be temporarily
deferred because the transport is currently being used by an nfsd deferred because the transport is currently being used by an nfsd
thread. This last case is not very interesting and is not explicitly thread. This last case is not very interesting and is not explicitly
counted, but can be inferred from the other counters thus: counted, but can be inferred from the other counters thus::
packets-deferred = packets-arrived - ( sockets-enqueued + threads-woken ) packets-deferred = packets-arrived - ( sockets-enqueued + threads-woken )
More More
---- ====
Descriptions of the other statistics file should go here.
Greg Banks <gnb@sgi.com> Descriptions of the other statistics file should go here.
26 Mar 2009
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment