Use pg_pwritev_with_retry() instead of write() in dir_open_for_write() to avoid partial writes

Edit
Title Use pg_pwritev_with_retry() instead of write() in dir_open_for_write() to avoid partial writes
Topic Refactoring
Created 2022-08-07 05:10:32
Last modified 2022-09-23 06:04:26 (4 days, 5 hours ago)
Latest email 2022-09-27 09:30:22 (2 hours, 26 minutes ago)
Status
2022-09: Needs review
Target version
Authors Bharath Rupireddy (bharathrupireddy)
Reviewers Nathan Bossart (bossartn)Become reviewer
Committer
Links
Emails
Use pg_pwritev_with_retry() instead of write() in dir_open_for_write() to avoid partial writes?
First at 2022-08-05 10:25:26 by Bharath Rupireddy <bharath.rupireddyforpostgres at gmail.com>
Latest at 2022-09-27 09:30:22 by Thomas Munro <thomas.munro at gmail.com>
Latest attachment (0001-Restore-pg_pread-and-friends.txt) at 2022-09-27 09:30:22 from Thomas Munro <thomas.munro at gmail.com>
    Attachment (0001-Restore-pg_pread-and-friends.txt) at 2022-09-27 09:30:22 from Thomas Munro <thomas.munro at gmail.com> (Patch: Yes)
    Attachment (v4-0001-Move-pg_pwritev_with_retry-to-file_utils.c.patch) at 2022-09-23 06:16:56 from Bharath Rupireddy <bharath.rupireddyforpostgres at gmail.com> (Patch: Yes)
    Attachment (v3-0001-Move-pg_pwritev_with_retry-to-file_utils.c.patch) at 2022-08-08 12:40:23 from Bharath Rupireddy <bharath.rupireddyforpostgres at gmail.com> (Patch: Yes)
    Attachment (v2-0001-Move-pg_pwritev_with_retry-to-file_utils.c.patch) at 2022-08-07 05:11:49 from Bharath Rupireddy <bharath.rupireddyforpostgres at gmail.com> (Patch: Yes)
    Attachment (v1-0001-Use-pg_pwritev_with_retry-instead-of-write-in-wal.patch) at 2022-08-07 01:12:11 from Bharath Rupireddy <bharath.rupireddyforpostgres at gmail.com> (Patch: Yes)
History
When Who What
2022-09-23 06:04:26 Bharath Rupireddy (bharathrupireddy) New status: Needs review
2022-09-20 23:04:35 Nathan Bossart (bossartn) New status: Waiting on Author
2022-09-20 23:00:46 Nathan Bossart (bossartn) Added bossartn as reviewer
2022-08-07 05:10:44 Bharath Rupireddy (bharathrupireddy) Changed authors to Bharath Rupireddy (bharathrupireddy)
2022-08-07 05:10:33 Bharath Rupireddy (bharathrupireddy) Attached mail thread CALj2ACUq7nAb7=bJNbK3yYmp-SZhJcXFR_pLk8un6XgDzDF3OA@mail.gmail.com
2022-08-07 05:10:32 Bharath Rupireddy (bharathrupireddy) Created patch record
Edit