Skip to content

Commit

Permalink
Provide documentation for autoreconnect option
Browse files Browse the repository at this point in the history
Signed-off-by: Earl Chew <earl_chew@yahoo.com>
  • Loading branch information
earlchew committed May 11, 2017
1 parent 5e43d0a commit ef8c67e
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions README
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,11 @@ Arguments supported by libnfs are :
: Should libnfs try to traverse across nested mounts
automatically or not. Default is 1 == enabled.
dircache=<0|1> : Disable/enable directory caching. Enabled by default.
autoreconnect=<0|1>
: Disable/enable reconnection when connections close.
When disabled, closed connections will cause an
immediate error return, with loss of commands and
data that are still inflight. Default is 1 == enabled.
if=<interface> : Interface name (e.g., eth1) to bind; requires `root`

Auto_traverse_mounts
Expand Down
5 changes: 5 additions & 0 deletions include/nfsc/libnfs.h
Original file line number Diff line number Diff line change
Expand Up @@ -182,6 +182,11 @@ EXTERN void nfs_destroy_context(struct nfs_context *nfs);
* : Should libnfs try to traverse across nested mounts
* automatically or not. Default is 1 == enabled.
* dircache=<0|1> : Disable/enable directory caching. Enabled by default.
* autoreconnect=<0|1>
* : Disable/enable reconnection when connections close.
* When disabled, closed connections will cause an
* immediate error return, with loss of commands and
* data that are still inflight. Default is 1 == enabled.
*/
/*
* Parse a complete NFS URL including, server, path and
Expand Down

0 comments on commit ef8c67e

Please sign in to comment.