Have test_fsync output details that fdatasync is the default
authorBruce Momjian <bruce@momjian.us>
Sat, 15 Jan 2011 20:00:20 +0000 (15:00 -0500)
committerBruce Momjian <bruce@momjian.us>
Sat, 15 Jan 2011 20:00:20 +0000 (15:00 -0500)
wal_sync_method on Linux.

src/tools/fsync/test_fsync.c

index ce59afa9c149050b8f5a0ca1807fbf9c067aff0e..cd2b1f2e39ede286b0d361bb5f9378a15e36bd0a 100644 (file)
@@ -168,7 +168,8 @@ test_sync(int writes_per_op)
        printf("\nCompare file sync methods using one write:\n");
    else
        printf("\nCompare file sync methods using two writes:\n");
-   printf("(in wal_sync_method preference order)\n");
+   printf("(in wal_sync_method preference order, except fdatasync\n");
+   printf("is Linux's default)\n");
 
    /*
     * Test open_datasync if available