]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
Documentation: convert nfsd-admin-interfaces to ReST
authorDaniel W. S. Almeida <dwlsalmeida@gmail.com>
Fri, 10 Jan 2020 23:24:27 +0000 (20:24 -0300)
committerJonathan Corbet <corbet@lwn.net>
Thu, 16 Jan 2020 19:43:05 +0000 (12:43 -0700)
Convert nfsd-admin-interfaces to ReST and move it into admin-guide.
Content remains mostly untouched.

Signed-off-by: Daniel W. S. Almeida <dwlsalmeida@gmail.com>
Link: https://lore.kernel.org/r/d471305e9c96dec38f18d2ff816fca2269a88e29.1578697871.git.dwlsalmeida@gmail.com
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Documentation/admin-guide/nfs/index.rst
Documentation/admin-guide/nfs/nfsd-admin-interfaces.rst [moved from Documentation/filesystems/nfs/nfsd-admin-interfaces.txt with 70% similarity]

index 875a96fe9d04f439a34dccece7c4742291f663e5..e0b2f4260ad708ddb7e3af38dc69c78b3d7579cb 100644 (file)
@@ -8,3 +8,4 @@ NFS
     nfs-client
     nfsroot
     nfs-rdma
+    nfsd-admin-interfaces
similarity index 70%
rename from Documentation/filesystems/nfs/nfsd-admin-interfaces.txt
rename to Documentation/admin-guide/nfs/nfsd-admin-interfaces.rst
index 56a96fb08a73dd7186cc09d94c47d61dd1655303..c05926f79054b1e43a51f03adf927a27dd4e0d91 100644 (file)
@@ -1,5 +1,6 @@
+==================================
 Administrative interfaces for nfsd
-^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+==================================
 
 Note that normally these interfaces are used only by the utilities in
 nfs-utils.
@@ -13,18 +14,16 @@ nfsd/threads.
 Before doing that, NFSD can be told which sockets to listen on by
 writing to nfsd/portlist; that write may be:
 
-       - an ascii-encoded file descriptor, which should refer to a
-         bound (and listening, for tcp) socket, or
-       - "transportname port", where transportname is currently either
-         "udp", "tcp", or "rdma".
+       -  an ascii-encoded file descriptor, which should refer to a
+          bound (and listening, for tcp) socket, or
+       -  "transportname port", where transportname is currently either
+          "udp", "tcp", or "rdma".
 
 If nfsd is started without doing any of these, then it will create one
 udp and one tcp listener at port 2049 (see nfsd_init_socks).
 
-On startup, nfsd and lockd grace periods start.
-
-nfsd is shut down by a write of 0 to nfsd/threads.  All locks and state
-are thrown away at that point.
+On startup, nfsd and lockd grace periods start. nfsd is shut down by a write of
+0 to nfsd/threads.  All locks and state are thrown away at that point.
 
 Between startup and shutdown, the number of threads may be adjusted up
 or down by additional writes to nfsd/threads or by writes to
@@ -34,7 +33,7 @@ For more detail about files under nfsd/ and what they control, see
 fs/nfsd/nfsctl.c; most of them have detailed comments.
 
 Implementation notes
-^^^^^^^^^^^^^^^^^^^^
+====================
 
 Note that the rpc server requires the caller to serialize addition and
 removal of listening sockets, and startup and shutdown of the server.