summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--extras/Makefile.am6
-rw-r--r--extras/group-samba10
-rw-r--r--glusterfs.spec.in1
3 files changed, 15 insertions, 2 deletions
diff --git a/extras/Makefile.am b/extras/Makefile.am
index d0ef4137380..cf4e9264bed 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-distributed-virt
+ group-db-workload group-distributed-virt group-samba
endif
voldir = $(sysconfdir)/glusterfs
@@ -40,7 +40,7 @@ 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 \
- group-db-workload specgen.scm glusterfs-mode.el glusterfs.vim \
+ group-db-workload group-samba 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 \
@@ -69,4 +69,6 @@ install-data-local:
$(DESTDIR)$(GLUSTERD_WORKDIR)/groups/db-workload
$(INSTALL_DATA) $(top_srcdir)/extras/group-distributed-virt \
$(DESTDIR)$(GLUSTERD_WORKDIR)/groups/distributed-virt
+ $(INSTALL_DATA) $(top_srcdir)/extras/group-samba \
+ $(DESTDIR)$(GLUSTERD_WORKDIR)/groups/samba
endif
diff --git a/extras/group-samba b/extras/group-samba
new file mode 100644
index 00000000000..ee392024c47
--- /dev/null
+++ b/extras/group-samba
@@ -0,0 +1,10 @@
+features.cache-invalidation=on
+features.cache-invalidation-timeout=600
+performance.cache-samba-metadata=on
+performance.stat-prefetch=on
+performance.cache-invalidation=on
+performance.md-cache-timeout=600
+network.inode-lru-limit=200000
+performance.nl-cache=on
+performance.nl-cache-timeout=600
+performance.parallel-readdir=on
diff --git a/glusterfs.spec.in b/glusterfs.spec.in
index 025dbb6cdef..01f8e16e0a3 100644
--- a/glusterfs.spec.in
+++ b/glusterfs.spec.in
@@ -1287,6 +1287,7 @@ exit 0
%attr(0644,-,-) %{_sharedstatedir}/glusterd/groups/nl-cache
%attr(0644,-,-) %{_sharedstatedir}/glusterd/groups/db-workload
%attr(0644,-,-) %{_sharedstatedir}/glusterd/groups/distributed-virt
+ %attr(0644,-,-) %{_sharedstatedir}/glusterd/groups/samba
%dir %attr(0755,-,-) %{_sharedstatedir}/glusterd/glusterfind
%dir %attr(0755,-,-) %{_sharedstatedir}/glusterd/glusterfind/.keys
%ghost %dir %attr(0755,-,-) %{_sharedstatedir}/glusterd/glustershd