From 0419d9ab932a2f4f9e734a92df8912be0b51f046 Mon Sep 17 00:00:00 2001 From: Amar Tumballi Date: Tue, 12 Feb 2019 14:41:49 +0530 Subject: [PATCH] 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 --- doc/mount.glusterfs.8 | 2 +- glusterfsd/src/glusterfsd.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/mount.glusterfs.8 b/doc/mount.glusterfs.8 index d3c3533e2..286631b9c 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 c1b66ef0d..ae74de73f 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]"},