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

DeadPage Reference Counter Test Case #178

Merged
merged 9 commits into from
Dec 17, 2024

Conversation

bhaskarbora2
Copy link
Collaborator

This MR is to release LLFS dead-page reference counter test cases to enable us to recreate the issue. The issue mostly happens when both Volume trimmer and Page recycler tries to execute dead page recycling command second time during (or soon after) recovery. MR adds two test cases. Test-1 recreates the scenario where only recycler retries the command at the time of recovery. Test-2 recreates the scenario where both trimmer and recycler retries the command during (or soon after) recovery.

Copy link
Collaborator

@tonyastolfi tonyastolfi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for this MR! Very well commented and documented code. I have a few suggestions and nits but overall looks great.

src/llfs/volume.test.cpp Outdated Show resolved Hide resolved
src/llfs/volume.test.cpp Outdated Show resolved Hide resolved
src/llfs/volume.test.cpp Outdated Show resolved Hide resolved
src/llfs/volume.test.cpp Show resolved Hide resolved
src/llfs/volume.test.cpp Outdated Show resolved Hide resolved
src/llfs/volume.test.cpp Outdated Show resolved Hide resolved
src/llfs/volume.test.cpp Outdated Show resolved Hide resolved
src/llfs/volume.test.cpp Outdated Show resolved Hide resolved
@tonyastolfi tonyastolfi merged commit b405972 into mathworks:main Dec 17, 2024
4 checks passed
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