model-writtenrun 7803 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Thomas Munro proposed using pg_pwrite() in pg_test_fsync to match PostgreSQL's WAL synchronization system calls since version 12, reporting a small measurable difference on one system #1.
- The initial patch left the fsync-after-closing and non-sync tests using write() because neither used lseek(), although Munro questioned the non-sync test's behavior #1.
- On closer inspection, Munro found that the non-sync test opened and closed the file for every write; his revision moved those calls outside the timed loop and switched the write to pg_pwrite() #2.
- Munro committed the revised patch without code changes as 2c8b42b50d, incorporating both the original syscall replacements and the non-sync test correction from #2.
- The thread ended with Munro confirming the push, leaving the submitted work fully committed and no outstanding review requests #3.