summaryrefslogtreecommitdiffstats
path: root/extras
diff options
context:
space:
mode:
authorPoornima G <pgurusid@redhat.com>2017-06-09 11:31:19 +0530
committerPranith Kumar Karampuri <pkarampu@redhat.com>2017-06-12 03:52:16 +0000
commit38780ff2d0717cd800a49072879a664b04385fd1 (patch)
treee832299e080d0fec743a3bb9dacb297f659e9d9a /extras
parent801697cc08928660a8087d08122a3aed622f6790 (diff)
nl-cache: add group volume set option for ease of use
Change-Id: Id03643a9598da53051a01ca09e1d2a62bc195ab6 Signed-off-by: Poornima G <pgurusid@redhat.com> Reviewed-on: https://review.gluster.org/17495 Smoke: Gluster Build System <jenkins@build.gluster.org> NetBSD-regression: NetBSD Build System <jenkins@build.gluster.org> CentOS-regression: Gluster Build System <jenkins@build.gluster.org> Reviewed-by: Pranith Kumar Karampuri <pkarampu@redhat.com>
Diffstat (limited to 'extras')
-rw-r--r--extras/Makefile.am4
-rw-r--r--extras/group-nl-cache5
2 files changed, 8 insertions, 1 deletions
diff --git a/extras/Makefile.am b/extras/Makefile.am
index 3717a71e461..3af11032f6b 100644
--- a/extras/Makefile.am
+++ b/extras/Makefile.am
@@ -9,7 +9,7 @@ SUBDIRS = init.d systemd benchmarking hook-scripts $(OCF_SUBDIR) LinuxRPM \
confdir = $(sysconfdir)/glusterfs
conf_DATA = glusterfs-logrotate gluster-rsyslog-7.2.conf gluster-rsyslog-5.8.conf \
- logger.conf.example glusterfs-georep-logrotate group-virt.example group-metadata-cache group-gluster-block
+ logger.conf.example glusterfs-georep-logrotate group-virt.example group-metadata-cache group-gluster-block group-nl-cache
voldir = $(sysconfdir)/glusterfs
vol_DATA = glusterd.vol
@@ -37,3 +37,5 @@ install-data-local:
$(DESTDIR)$(GLUSTERD_WORKDIR)/groups/metadata-cache
$(INSTALL_DATA) $(top_srcdir)/extras/group-gluster-block \
$(DESTDIR)$(GLUSTERD_WORKDIR)/groups/gluster-block
+ $(INSTALL_DATA) $(top_srcdir)/extras/group-nl-cache \
+ $(DESTDIR)$(GLUSTERD_WORKDIR)/groups/nl-cache
diff --git a/extras/group-nl-cache b/extras/group-nl-cache
new file mode 100644
index 00000000000..a41e8ecfd64
--- /dev/null
+++ b/extras/group-nl-cache
@@ -0,0 +1,5 @@
+features.cache-invalidation=on
+features.cache-invalidation-timeout=600
+performance.nl-cache=on
+performance.nl-cache-timeout=600
+network.inode-lru-limit=50000