mbox series

[0/2] object-file: retry linking file into place when occluding file vanishes

Message ID 20250103-b4-pks-object-file-racy-collision-check-v1-0-6ef9e2da1f87@pks.im (mailing list archive)
Headers show
Series object-file: retry linking file into place when occluding file vanishes | expand

Message

Patrick Steinhardt Jan. 3, 2025, 8:19 a.m. UTC
Hi,

this small patch series adapts the race fix for collision checks when
moving object files into place [1] to retry linking the object into
place instead of silently ignoring the error, as suggested by Peff in
[2].

The series at [1] has already been merged into 'next', so this is built
on top of 1b4e9a5f8b (Merge branch 'ps/build-meson-html', 2025-01-02)
with ps/object-collision-check at 0ad3d65652 (object-file: fix race in
object collision check, 2024-12-30) merged into it.

Thanks!

Patrick

[1]: <20241230-b4-pks-object-file-racy-collision-check-v1-1-11571294e60a@pks.im>
[2]: <20241231014220.GA225521@coredump.intra.peff.net>

---
Patrick Steinhardt (2):
      object-file: rename variables in `check_collision()`
      object-file: retry linking file into place when occluding file vanishes

 object-file.c | 61 +++++++++++++++++++++++++++++++++++------------------------
 1 file changed, 36 insertions(+), 25 deletions(-)


---
base-commit: 2be278337fd02495a86577a89fbf9387b2df6523
change-id: 20250103-b4-pks-object-file-racy-collision-check-a649bbf96a92