Skip to content

Make should_fsync() taking a constant.#1805

Closed
RomanSofyin wants to merge 1 commit intoaxboe:masterfrom
RomanSofyin:r.sofin/should_fsync_const
Closed

Make should_fsync() taking a constant.#1805
RomanSofyin wants to merge 1 commit intoaxboe:masterfrom
RomanSofyin:r.sofin/should_fsync_const

Conversation

@RomanSofyin
Copy link
Copy Markdown

Make should_fsync() safer by using a pointer to a constant thread_data structure instance.
This update is mostly to address the need of get_sync_ddir() function (a caller of should_fsync()) to operate with a thread_data instance as a constant. See PR #1799 for details.

Signed-off-by: Roman Sofin roma.sofin@gmail.com

Make `should_fsync()` safer by using a pointer to a constant
thread_data structure instance.

Signed-off-by: Roman Sofin roma.sofin@gmail.com
@sitsofe
Copy link
Copy Markdown
Collaborator

sitsofe commented Aug 23, 2025

We can close this as it will be done as part of #1799 .

@sitsofe sitsofe closed this Aug 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants