-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Fix msync04 race #1157
Comments
New version of patch needed, updating. |
We merge improvement (hopefully) in 66517b8, but there are still some TODO from Jan Kara (https://lore.kernel.org/ltp/20240528095030.valplwc5t3m3betn@quack3/):
@metan-ucw FYI |
At least verification for storing data on the disc was added in 21be0b1. @metan-ucw Do we want to have this open for looking into abort fs or we are done? I'm not sure if anybody spents time to implement it. |
msync04 suffers races. According to Jan Kara nothing guarantees that the page is not written out before get_dirty_page() manages to read the page state, test should be reworked to verify the page contents is on disk when it finds dirty bit isn't set anymore:
=> We should find out how fstests do filesystem abort. And also evaluate if it'd make more sense to add msync support to fstests.
[1] https://lore.kernel.org/ltp/[email protected]/
The text was updated successfully, but these errors were encountered: