From: Mark Kogan Date: Mon, 15 Sep 2025 13:09:00 +0000 (+0000) Subject: rgw/d4n: change cache write ::open() flags X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=b2e44e6cf009584a2b57e0a7adebd67124fc8983;p=ceph.git rgw/d4n: change cache write ::open() flags changing the default flags to O_DSYNC a small performance improvement is observable Signed-off-by: Mark Kogan --- diff --git a/src/common/options/rgw.yaml.in b/src/common/options/rgw.yaml.in index ffec3bacb248..6ab18332f5ff 100644 --- a/src/common/options/rgw.yaml.in +++ b/src/common/options/rgw.yaml.in @@ -3932,8 +3932,11 @@ options: long_desc: For example, to configure synchronized I/O, fcntl-linux.h defines (converted from octal) O_SYNC = 1052672 O_DSYNC = 4096 + O_DIRECT = 16384 + O_SYNC | O_DIRECT = 1118208 + O_DSYNC | O_DIRECT = 65552 (0 for no modification of the flags) - default: 1052672 + default: 4096 services: - rgw with_legacy: true