Skip to content

Conversation

@ChrisDryden
Copy link
Collaborator

@ChrisDryden ChrisDryden commented Dec 24, 2025

Theres a GNU test that validates that the value 0 is used in the strace when clearing the cache in the trace for posix_fadvise. This is because 0 as an input for the length of the file means until the end of the file. This simplifies the code and removes the need for the helper functions.

What was also missing was a check to clear the caches if the read buffer is empty for when it reaches the EOF

@github-actions
Copy link

GNU testsuite comparison:

Congrats! The gnu test tests/dd/nocache_eof is no longer failing!

@ChrisDryden ChrisDryden marked this pull request as ready for review December 24, 2025 15:58
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