mirror of
https://github.com/postgres/postgres.git
synced 2026-03-09 17:50:43 -04:00
same when done on the write() ile descriptor and a new descriptor. it also times various fsync methods. |
||
|---|---|---|
| .. | ||
| Makefile | ||
| README | ||
| test_fsync | ||
| test_fsync.c | ||
| test_fsync.o | ||
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.