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:16:31 +0000
commit2620dbccccb63fba66384b17b47ddd8e784e8390 (patch)
tree476501152c541513899030a9dab0182840f66341
parent3c1368fda17b71a95edf1f4fe102e15f64820e3e (diff)
fuse: reflect the actual default for lru-limit option
in both `--help` text and man page updates: bz#1667103 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 902b0c1ee5c..d9e24f84202 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 a730aa82a34..b868c05b927 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]"},