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=refs%2Fpull%2F65528%2Fhead;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 ffec3bacb24..6ab18332f5f 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