Have test_fsync output details that fdatasync is the default

wal_sync_method on Linux.
pull/1/head
Bruce Momjian 15 years ago
parent 169516ad93
commit 001d3664e3
  1. 3
      src/tools/fsync/test_fsync.c

@ -168,7 +168,8 @@ test_sync(int writes_per_op)
printf("\nCompare file sync methods using one write:\n"); printf("\nCompare file sync methods using one write:\n");
else else
printf("\nCompare file sync methods using two writes:\n"); 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 * Test open_datasync if available

Loading…
Cancel
Save