From ef61a79f33ca43a9548b9076bb152e6421416f78 Mon Sep 17 00:00:00 2001 From: Pranith Kumar K Date: Wed, 10 May 2017 16:26:35 +0530 Subject: extras: Provide group set for gluster-block workloads For gluster-block workloads I/O is always with o-direct so it doesn't benefit by any of the perf xlators so disabling all of them to save on memory. 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 We want the I/O on the file to be with o-direct network.remote-dio=enable Options that are proven to give good performance with VM workloads which is very similar to gluster-block 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 It is better to turn off things we are not using user.cifs=off It is better to have allow-insecure to be on so that ports that are > 1024 in tcmu-runner are allowed. server.allow-insecure=on Change-Id: I9a21c824fa42242f02b57569feedd03d9b6f9439 BUG: 1450010 Signed-off-by: Pranith Kumar K Reviewed-on: https://review.gluster.org/17254 Smoke: Gluster Build System Reviewed-by: Niels de Vos CentOS-regression: Gluster Build System NetBSD-regression: NetBSD Build System Reviewed-by: Jeff Darcy --- glusterfs.spec.in | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'glusterfs.spec.in') 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 +- Install /var/lib/glusterd/groups/gluster-block by default + * Thu Apr 27 2017 Kaleb S. KEITHLEY - gnfs in an optional subpackage -- cgit