model-writtenrun 9569 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Thomas Munro proposed two patches to remove additional lseek() calls by using pg_pread() and pg_pwrite() in #1.
- The first patch in #1 removes unconditional seeks for SLRU reads and writes, while the second simplifies logical-rewrite and WAL I/O across five files by removing seeks and redundant offset tracking.
- Ashwin Agrawal reviewed the changes in #2, welcomed the cleaner code, and noted that SimpleLruDoesPhysicalPageExist() retained the only remaining SLRU_SEEK_FAILED usage.
- The thread ends with Ashwin's review in #2, without a revised submission or a commitment announcement.
- The SLRU changes eventually landed unchanged modulo rebase in e2b37d9e7c, attributed to the later matching submission #442829 in thread #41895; this commit does not include the second patch from #1.