1f2f23ddef
Resolves: bz#1350745 bz#1362129 bz#1541568 bz#1597252 bz#1599220 Resolves: bz#1633177 bz#1637564 bz#1639476 bz#1639568 bz#1643370 Resolves: bz#1645480 bz#1648296 bz#1648893 bz#1651040 bz#1651460 Resolves: bz#1652466 bz#1652537 bz#1653224 bz#1653613 bz#1654103 Resolves: bz#1654161 bz#1655385 bz#1655578 bz#1656357 bz#1659439 Signed-off-by: Milind Changire <mchangir@redhat.com>
87 lines
3.3 KiB
Diff
87 lines
3.3 KiB
Diff
From 2ef41e27b452f215e56bfc08c8117f8f18c33619 Mon Sep 17 00:00:00 2001
|
|
From: Krutika Dhananjay <kdhananj@redhat.com>
|
|
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 <kdhananj@redhat.com>
|
|
Reviewed-on: https://code.engineering.redhat.com/gerrit/158487
|
|
Tested-by: RHGS Build Bot <nigelb@redhat.com>
|
|
Reviewed-by: Milind Changire <mchangir@redhat.com>
|
|
Reviewed-by: Atin Mukherjee <amukherj@redhat.com>
|
|
---
|
|
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 <kdhananj@redhat.com>
|
|
+- Install /var/lib/glusterd/groups/distributed-virt by default (#1653613)
|
|
+
|
|
* Fri Jul 6 2018 Atin Mukherjee <amukherj@redhat.com>
|
|
- Added db group profile (#1597506)
|
|
|
|
--
|
|
1.8.3.1
|
|
|