Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make should_fsync() taking a constant. #1805

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

RomanSofyin
Copy link

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 [email protected]

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

Signed-off-by: Roman Sofin [email protected]
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.

1 participant