summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--extras/Makefile.am4
-rw-r--r--extras/group-gluster-block17
-rw-r--r--glusterfs.spec.in4
3 files changed, 24 insertions, 1 deletions
diff --git a/extras/Makefile.am b/extras/Makefile.am
index 29f7222203d..3717a71e461 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
+ logger.conf.example glusterfs-georep-logrotate group-virt.example group-metadata-cache group-gluster-block
voldir = $(sysconfdir)/glusterfs
vol_DATA = glusterd.vol
@@ -35,3 +35,5 @@ install-data-local:
$(DESTDIR)$(GLUSTERD_WORKDIR)/groups/virt
$(INSTALL_DATA) $(top_srcdir)/extras/group-metadata-cache \
$(DESTDIR)$(GLUSTERD_WORKDIR)/groups/metadata-cache
+ $(INSTALL_DATA) $(top_srcdir)/extras/group-gluster-block \
+ $(DESTDIR)$(GLUSTERD_WORKDIR)/groups/gluster-block
diff --git a/extras/group-gluster-block b/extras/group-gluster-block
new file mode 100644
index 00000000000..0753d26b3ca
--- /dev/null
+++ b/extras/group-gluster-block
@@ -0,0 +1,17 @@
+performance.quick-read=off
+performance.read-ahead=off
+performance.io-cache=off
+performance.stat-prefetch=off
+performance.write-behind=off
+performance.open-behind=off
+performance.readdir-ahead=off
+network.remote-dio=enable
+cluster.eager-lock=enable
+cluster.quorum-type=auto
+cluster.data-self-heal-algorithm=full
+cluster.locking-scheme=granular
+cluster.shd-max-threads=8
+cluster.shd-wait-qlength=10000
+features.shard=on
+user.cifs=off
+server.allow-insecure=on
diff --git a/glusterfs.spec.in b/glusterfs.spec.in
index 7c092492751..e2220dd0a54 100644
--- a/glusterfs.spec.in
+++ b/glusterfs.spec.in
@@ -1225,6 +1225,7 @@ exit 0
%dir %attr(0755,-,-) %{_sharedstatedir}/glusterd/groups
%attr(0644,-,-) %{_sharedstatedir}/glusterd/groups/virt
%attr(0644,-,-) %{_sharedstatedir}/glusterd/groups/metadata-cache
+ %attr(0644,-,-) %{_sharedstatedir}/glusterd/groups/gluster-block
%dir %attr(0755,-,-) %{_sharedstatedir}/glusterd/glusterfind
%dir %attr(0755,-,-) %{_sharedstatedir}/glusterd/glusterfind/.keys
%ghost %dir %attr(0755,-,-) %{_sharedstatedir}/glusterd/glustershd
@@ -1309,6 +1310,9 @@ exit 0
%endif
%changelog
+* Wed May 10 2017 Pranith Kumar K <pkarampu@redhat.com>
+- Install /var/lib/glusterd/groups/gluster-block by default
+
* Thu Apr 27 2017 Kaleb S. KEITHLEY <kkeithle@redhat.com>
- gnfs in an optional subpackage