From 2ef41e27b452f215e56bfc08c8117f8f18c33619 Mon Sep 17 00:00:00 2001 From: Krutika Dhananjay Date: Wed, 28 Nov 2018 12:39:31 +0530 Subject: [PATCH 466/493] extras: Add group-distributed-virt for single-brick ovirt-gluster use-case > Upstream: https://review.gluster.org/21735 > BUG: 1654138 > Change-Id: I930011327332b7ba30cc76f614efaf5932eb4f3d Change-Id: I930011327332b7ba30cc76f614efaf5932eb4f3d BUG: 1653613 Signed-off-by: Krutika Dhananjay Reviewed-on: https://code.engineering.redhat.com/gerrit/158487 Tested-by: RHGS Build Bot Reviewed-by: Milind Changire Reviewed-by: Atin Mukherjee --- extras/Makefile.am | 6 +++++- extras/group-distributed-virt | 10 ++++++++++ glusterfs.spec.in | 4 ++++ 3 files changed, 19 insertions(+), 1 deletion(-) create mode 100644 extras/group-distributed-virt diff --git a/extras/Makefile.am b/extras/Makefile.am index 7b791af..e0e05b5 100644 --- a/extras/Makefile.am +++ b/extras/Makefile.am @@ -12,7 +12,9 @@ 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 group-nl-cache group-db-workload + logger.conf.example glusterfs-georep-logrotate group-virt.example \ + group-metadata-cache group-gluster-block group-nl-cache group-db-workload \ + group-distributed-virt voldir = $(sysconfdir)/glusterfs vol_DATA = glusterd.vol @@ -49,3 +51,5 @@ 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 diff --git a/extras/group-distributed-virt b/extras/group-distributed-virt new file mode 100644 index 0000000..a960b76 --- /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 f6a4ab0..a4accd9 100644 --- a/glusterfs.spec.in +++ b/glusterfs.spec.in @@ -1522,6 +1522,7 @@ exit 0 %attr(0644,-,-) %{_sharedstatedir}/glusterd/groups/metadata-cache %attr(0644,-,-) %{_sharedstatedir}/glusterd/groups/gluster-block %attr(0644,-,-) %{_sharedstatedir}/glusterd/groups/db-workload + %attr(0644,-,-) %{_sharedstatedir}/glusterd/groups/distributed-virt %attr(0644,-,-) %{_sharedstatedir}/glusterd/groups/nl-cache %dir %attr(0755,-,-) %{_sharedstatedir}/glusterd/glusterfind %dir %attr(0755,-,-) %{_sharedstatedir}/glusterd/glusterfind/.keys @@ -2169,6 +2170,9 @@ fi %endif %changelog +* Thu Dec 13 2018 Krutika Dhananjay +- Install /var/lib/glusterd/groups/distributed-virt by default (#1653613) + * Fri Jul 6 2018 Atin Mukherjee - Added db group profile (#1597506) -- 1.8.3.1