summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKrutika Dhananjay <kdhananj@redhat.com>2018-11-28 12:39:31 +0530
committerAmar Tumballi <amarts@redhat.com>2018-12-05 04:00:14 +0000
commit040a1dbcf6d954dc5965ead40d560a3107f2e3aa (patch)
tree07a848a78930e445a9be01e51b3ffbfc4c48677d
parentf80d9be732042477fc08ceb5873cd903002d7d1a (diff)
extras: Add group-distributed-virt for single-brick ovirt-gluster use-case
Change-Id: I930011327332b7ba30cc76f614efaf5932eb4f3d fixes: bz#1654138 Signed-off-by: Krutika Dhananjay <kdhananj@redhat.com>
-rw-r--r--extras/Makefile.am6
-rw-r--r--extras/group-distributed-virt10
-rw-r--r--glusterfs.spec.in4
3 files changed, 18 insertions, 2 deletions
diff --git a/extras/Makefile.am b/extras/Makefile.am
index a1c657659f3..d0ef4137380 100644
--- a/extras/Makefile.am
+++ b/extras/Makefile.am
@@ -18,7 +18,7 @@ if WITH_SERVER
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 group-nl-cache \
- group-db-workload
+ group-db-workload group-distributed-virt
endif
voldir = $(sysconfdir)/glusterfs
@@ -47,7 +47,7 @@ EXTRA_DIST = glusterfs-logrotate gluster-rsyslog-7.2.conf gluster-rsyslog-5.8.co
pre-upgrade-script-for-quota.sh command-completion/gluster.bash \
command-completion/Makefile command-completion/README \
stop-all-gluster-processes.sh clang-checker.sh mount-shared-storage.sh \
- control-cpu-load.sh control-mem.sh
+ control-cpu-load.sh control-mem.sh group-distributed-virt
if WITH_SERVER
install-data-local:
@@ -67,4 +67,6 @@ install-data-local:
$(DESTDIR)$(GLUSTERD_WORKDIR)/groups/nl-cache
$(INSTALL_DATA) $(top_srcdir)/extras/group-db-workload \
$(DESTDIR)$(GLUSTERD_WORKDIR)/groups/db-workload
+ $(INSTALL_DATA) $(top_srcdir)/extras/group-distributed-virt \
+ $(DESTDIR)$(GLUSTERD_WORKDIR)/groups/distributed-virt
endif
diff --git a/extras/group-distributed-virt b/extras/group-distributed-virt
new file mode 100644
index 00000000000..a960b76c694
--- /dev/null
+++ b/extras/group-distributed-virt
@@ -0,0 +1,10 @@
+performance.quick-read=off
+performance.read-ahead=off
+performance.io-cache=off
+performance.low-prio-threads=32
+network.remote-dio=enable
+features.shard=on
+user.cifs=off
+client.event-threads=4
+server.event-threads=4
+performance.client-io-threads=on
diff --git a/glusterfs.spec.in b/glusterfs.spec.in
index 58d5c6bfd5b..88357e519bd 100644
--- a/glusterfs.spec.in
+++ b/glusterfs.spec.in
@@ -1293,6 +1293,7 @@ exit 0
%attr(0644,-,-) %{_sharedstatedir}/glusterd/groups/gluster-block
%attr(0644,-,-) %{_sharedstatedir}/glusterd/groups/nl-cache
%attr(0644,-,-) %{_sharedstatedir}/glusterd/groups/db-workload
+ %attr(0644,-,-) %{_sharedstatedir}/glusterd/groups/distributed-virt
%dir %attr(0755,-,-) %{_sharedstatedir}/glusterd/glusterfind
%dir %attr(0755,-,-) %{_sharedstatedir}/glusterd/glusterfind/.keys
%ghost %dir %attr(0755,-,-) %{_sharedstatedir}/glusterd/glustershd
@@ -1386,6 +1387,9 @@ exit 0
%endif
%changelog
+* Wed Nov 28 2018 Krutika Dhananjay <kdhananj@redhat.com>
+- Install /var/lib/glusterd/groups/distributed-virt by default
+
* Tue Nov 13 2018 Niels de Vos <ndevos@redhat.com>
- Add an option to build with ThreadSanitizer (TSAN)