diff options
Diffstat (limited to 'src/backend/storage/file/fd.c')
-rw-r--r-- | src/backend/storage/file/fd.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/backend/storage/file/fd.c b/src/backend/storage/file/fd.c index db39186f058..3c2a2fbef73 100644 --- a/src/backend/storage/file/fd.c +++ b/src/backend/storage/file/fd.c @@ -415,7 +415,7 @@ pg_fsync(int fd) int pg_fsync_no_writethrough(int fd) { - int rc; + int rc; if (!enableFsync) return 0; @@ -456,7 +456,7 @@ pg_fsync_writethrough(int fd) int pg_fdatasync(int fd) { - int rc; + int rc; if (!enableFsync) return 0; @@ -500,6 +500,7 @@ pg_flush_data(int fd, off_t offset, off_t nbytes) return; retry: + /* * sync_file_range(SYNC_FILE_RANGE_WRITE), currently linux specific, * tells the OS that writeback for the specified blocks should be |