From 9f2cf498b62f3af75416c1c5955667568a61563e Mon Sep 17 00:00:00 2001 From: Rakshith R Date: Wed, 7 Apr 2021 10:04:33 +0530 Subject: [PATCH] cephfs: enable ceph-fuse big_writes by default By default, the write buffer size in libfuse2 is 2KiB `fuse_big_writes = true` option is used to override this limit. This commit makes `fuse_big_writes = true` option as default in ceph.conf. Closes: #1928 Signed-off-by: Rakshith R --- internal/util/cephconf.go | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/internal/util/cephconf.go b/internal/util/cephconf.go index 7c82837c6..b33c828de 100644 --- a/internal/util/cephconf.go +++ b/internal/util/cephconf.go @@ -28,6 +28,11 @@ auth_client_required = cephx # Workaround for http://tracker.ceph.com/issues/23446 fuse_set_user_groups = false + +# ceph-fuse which uses libfuse2 by default has write buffer size of 2KiB +# adding 'fuse_big_writes = true' option by default to override this limit +# see https://github.com/ceph/ceph-csi/issues/1928 +fuse_big_writes = true `) const (