]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
kclient: default to safe writeback
authorSage Weil <sage@newdream.net>
Mon, 29 Sep 2008 20:31:24 +0000 (13:31 -0700)
committerSage Weil <sage@newdream.net>
Mon, 29 Sep 2008 20:31:24 +0000 (13:31 -0700)
Now that async writepages is working, we can wait for data to be fully committed without the higher latency affecting writeback throughput.

src/kernel/super.h

index 9333634a6c582b8115bd367c836098a3e173869d..2a653dc3b2cac2602c6f7fc183e2263dc9d17154 100644 (file)
@@ -101,8 +101,7 @@ static inline unsigned long time_sub(unsigned long a, unsigned long b)
 #define CEPH_MOUNT_DIRSTAT       (1<<4)
 #define CEPH_MOUNT_RBYTES        (1<<5)
 
-#define CEPH_MOUNT_DEFAULT (CEPH_MOUNT_RBYTES |                \
-                           CEPH_MOUNT_UNSAFE_WRITEBACK) /* just for now */
+#define CEPH_MOUNT_DEFAULT   (CEPH_MOUNT_RBYTES)
 
 struct ceph_mount_args {
        int sb_flags;