]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
rgw/d4n: change cache write ::open() flags 65528/head
authorMark Kogan <mkogan@ibm.com>
Mon, 15 Sep 2025 13:09:00 +0000 (13:09 +0000)
committerMark Kogan <mkogan@ibm.com>
Mon, 15 Sep 2025 13:15:31 +0000 (13:15 +0000)
changing the default flags to O_DSYNC
a small performance improvement is observable

Signed-off-by: Mark Kogan <mkogan@ibm.com>
src/common/options/rgw.yaml.in

index ffec3bacb2487fd5bf3248946d7d30942b4466f4..6ab18332f5ff82fa8c3a2ecf60725501fc6aef7c 100644 (file)
@@ -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