postgresql/src/tools/fsync
Bruce Momjian 9f2696f266 Add fsync test program. It tests fsync to see if times for fsync are the
same when done on the write() ile descriptor and a new descriptor.

it also times various fsync methods.
2004-03-18 03:56:59 +00:00
..
Makefile Add fsync test program. It tests fsync to see if times for fsync are the 2004-03-18 03:56:59 +00:00
README Add fsync test program. It tests fsync to see if times for fsync are the 2004-03-18 03:56:59 +00:00
test_fsync Add fsync test program. It tests fsync to see if times for fsync are the 2004-03-18 03:56:59 +00:00
test_fsync.c Add fsync test program. It tests fsync to see if times for fsync are the 2004-03-18 03:56:59 +00:00
test_fsync.o Add fsync test program. It tests fsync to see if times for fsync are the 2004-03-18 03:56:59 +00:00

This program tests fsync.  If first times a simple read.  Then, it times
an fsync that is part of a write, and one that is done on a newly opened
file.  Third, it tests various fsync methods.

The program writes to /var/tmp because /tmp is sometimes a memory file
system.