Skip to content

Conversation

@orgads
Copy link

@orgads orgads commented Aug 11, 2024

@orgads orgads marked this pull request as draft August 11, 2024 21:00
poettering and others added 5 commits August 12, 2024 08:43
let's automatically destroy test dirs, instead of manually.

(cherry picked from commit 951174e)
(cherry picked from commit ff95b60)
… more than once

Previously, if journal_file_set_offline() is called twice with 'wait = false',
the second call triggered segfaults, as the offline_state is OFFLINE_DONE,
and journal_file_set_offline_thread_join() tries to call pthread_join()
with NULL.

(cherry picked from commit 46e98df)
It seems truncating might cause SIGBUS (#24320). Let's play it safe
and always prefer punching holes over truncating.

(cherry picked from commit f20c07d)
The added code fails without the previous commit.

For issue #24320.

(cherry picked from commit 3b0ae13)
@orgads orgads marked this pull request as ready for review August 12, 2024 05:54
@orgads orgads changed the title journal: replace truncating with punching holes journal: replace truncating with punching holes (v252) Aug 15, 2024
@orgads
Copy link
Author

orgads commented Aug 15, 2024

ping

@audiocodes audiocodes closed this by deleting the head repository Jun 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Development

Successfully merging this pull request may close these issues.

5 participants