model-writtenrun 7689 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Thomas Munro revived Robert Haas’s 2016 buffer I/O condition-variable patch in #1, explaining that the AIO project depended on it and had exercised it extensively; the change makes waits interruptible and avoids busy-looping during I/O error cleanup.
- In #1, Thomas explained that clearing BM_IO_IN_PROGRESS still requires the existing termination path, now accompanied by a condition-variable broadcast, and identified a separate InvalidateBuffer() busy loop as possible future work.
- Thomas corrected the wait event to the IPC category, updated documentation, and cleaned up formatting in #2, then proposed embedding the condition variable in BufferDesc, deleting unused LWLockMinimallyPadded infrastructure, and preserving the BufferIO event name in #3.
- Julien Rouhaud reviewed the revised patch in #4, checked the 64-byte BufferDesc layout and possible extension dependencies, and reported that regression tests and documentation builds passed.
- Thomas committed d87251048a from #3 with the separate condition-variable array restored and a buffer README update, explaining in #5 that the AIO branch needed space for another BufferDesc member.
- Julien requested a comment explaining the external condition-variable storage in #6, and Thomas proposed an inline addition beside BufferDesc’s existing cache-line-size discussion in #7.
- Julien accepted that comment in the thread’s final message, #8, and Thomas subsequently landed it with minor wording edits as 049d9b872d; the synchronization change and comment follow-up were complete, while embedding the condition variable remained deferred.