diff options
| -rw-r--r-- | extras/Makefile.am | 23 | ||||
| -rw-r--r-- | extras/group-db-workload | 8 | ||||
| -rw-r--r-- | glusterfs.spec.in | 1 | 
3 files changed, 23 insertions, 9 deletions
diff --git a/extras/Makefile.am b/extras/Makefile.am index e827dde0bd9..a1c657659f3 100644 --- a/extras/Makefile.am +++ b/extras/Makefile.am @@ -16,7 +16,9 @@ SUBDIRS = init.d systemd benchmarking hook-scripts $(OCF_SUBDIR) LinuxRPM \  confdir = $(sysconfdir)/glusterfs  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 +	    logger.conf.example glusterfs-georep-logrotate group-virt.example \ +	    group-metadata-cache group-gluster-block group-nl-cache \ +	    group-db-workload  endif  voldir = $(sysconfdir)/glusterfs @@ -37,14 +39,15 @@ endif  EXTRA_DIST = 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 specgen.scm \ -	glusterfs-mode.el glusterfs.vim migrate-unify-to-distribute.sh \ -	backend-xattr-sanitize.sh backend-cleanup.sh disk_usage_sync.sh \ -	clear_xattrs.sh glusterd-sysconfig glusterd.vol \ -	post-upgrade-script-for-quota.sh 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 +	group-metadata-cache group-gluster-block group-nl-cache \ +	group-db-workload specgen.scm glusterfs-mode.el glusterfs.vim \ +	migrate-unify-to-distribute.sh backend-xattr-sanitize.sh \ +	backend-cleanup.sh disk_usage_sync.sh clear_xattrs.sh \ +	glusterd-sysconfig glusterd.vol post-upgrade-script-for-quota.sh \ +	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  if WITH_SERVER  install-data-local: @@ -62,4 +65,6 @@ install-data-local:  		$(DESTDIR)$(GLUSTERD_WORKDIR)/groups/gluster-block  	$(INSTALL_DATA) $(top_srcdir)/extras/group-nl-cache \  		$(DESTDIR)$(GLUSTERD_WORKDIR)/groups/nl-cache +	$(INSTALL_DATA) $(top_srcdir)/extras/group-db-workload \ +		$(DESTDIR)$(GLUSTERD_WORKDIR)/groups/db-workload  endif diff --git a/extras/group-db-workload b/extras/group-db-workload new file mode 100644 index 00000000000..c9caf218268 --- /dev/null +++ b/extras/group-db-workload @@ -0,0 +1,8 @@ +performance.open-behind=off +performance.write-behind=off +performance.stat-prefetch=off +performance.quick-read=off +performance.strict-o-direct=on +performance.read-ahead=off +performance.io-cache=off +performance.readdir-ahead=off diff --git a/glusterfs.spec.in b/glusterfs.spec.in index 7f83c686e27..25f7633df06 100644 --- a/glusterfs.spec.in +++ b/glusterfs.spec.in @@ -1391,6 +1391,7 @@ exit 0              %attr(0644,-,-) %{_sharedstatedir}/glusterd/groups/metadata-cache              %attr(0644,-,-) %{_sharedstatedir}/glusterd/groups/gluster-block              %attr(0644,-,-) %{_sharedstatedir}/glusterd/groups/nl-cache +            %attr(0644,-,-) %{_sharedstatedir}/glusterd/groups/db-workload         %dir %attr(0755,-,-) %{_sharedstatedir}/glusterd/glusterfind         %dir %attr(0755,-,-) %{_sharedstatedir}/glusterd/glusterfind/.keys  %ghost %dir %attr(0755,-,-) %{_sharedstatedir}/glusterd/glustershd  | 
