summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAmar Tumballi <amarts@redhat.com>2019-02-12 14:41:49 +0530
committerShyamsundar Ranganathan <srangana@redhat.com>2019-02-25 15:26:08 +0000
commit0419d9ab932a2f4f9e734a92df8912be0b51f046 (patch)
tree63e513e5c5892a824b3459966b5d1fc9ec5123d9
parentc360210685b2ebb152b45f24257cc19a12884cac (diff)
fuse: reflect the actual default for lru-limit option
in both `--help` text and man page updates: bz#1679998 Change-Id: I9aa9367c6863ac8e2403255280697c9e6be26cf0 Signed-off-by: Amar Tumballi <amarts@redhat.com>
-rw-r--r--doc/mount.glusterfs.82
-rw-r--r--glusterfsd/src/glusterfsd.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/doc/mount.glusterfs.8 b/doc/mount.glusterfs.8
index d3c3533e284..286631b9c5c 100644
--- a/doc/mount.glusterfs.8
+++ b/doc/mount.glusterfs.8
@@ -123,7 +123,7 @@ Provide list of backup volfile servers in the following format [default: None]
.TP
.TP
\fBlru-limit=\fRN
-Set fuse module's limit for number of inodes kept in LRU list to N [default: 0]
+Set fuse module's limit for number of inodes kept in LRU list to N [default: 131072]
.TP
.TP
\fBbackground-qlen=\fRN
diff --git a/glusterfsd/src/glusterfsd.c b/glusterfsd/src/glusterfsd.c
index c1b66ef0d32..ae74de73f29 100644
--- a/glusterfsd/src/glusterfsd.c
+++ b/glusterfsd/src/glusterfsd.c
@@ -221,7 +221,7 @@ static struct argp_option gf_options[] = {
"Resolve all auxiliary groups in fuse translator (max 32 otherwise)"},
{"lru-limit", ARGP_FUSE_LRU_LIMIT_KEY, "N", 0,
"Set fuse module's limit for number of inodes kept in LRU list to N "
- "[default: 0]"},
+ "[default: 131072]"},
{"background-qlen", ARGP_FUSE_BACKGROUND_QLEN_KEY, "N", 0,
"Set fuse module's background queue length to N "
"[default: 64]"},