Add remove_cache API to remove caching from a pool - #4057
Open
jbaublitz wants to merge 4 commits into
Open
Conversation
jbaublitz
force-pushed
the
issue-stratisd-3796
branch
from
July 21, 2026 14:18
680fb6c to
4c3a21a
Compare
|
Congratulations! One of the builds has completed. 🍾 You can install the built RPMs by following these steps:
Please note that the RPMs should be used only in a testing environment. |
jbaublitz
force-pushed
the
issue-stratisd-3796
branch
from
August 3, 2026 19:14
4c3a21a to
e4f2e76
Compare
Member
Author
|
@mulkieran I believe this is ready for preliminary review. |
jbaublitz
force-pushed
the
issue-stratisd-3796
branch
from
August 17, 2026 21:32
fc562a3 to
4bee5dd
Compare
Assisted-by: Claude Code/claude-opus-4-6
Adds remove_cache to the Pool trait and implements it across the sim engine, v1/v2 backstores, and v1/v2 pool layers. The v1 backstore tears down dm-cache and its sub-devices then rebuilds the origin as a LinearDev. The v2 backstore replaces the cache table in-place with a linear target. Both wipe the cache tier blockdevs on removal. Assisted-by: Claude Code/claude-opus-4-6
Assisted-by: Claude Code/claude-opus-4-6
Assisted-by: Claude Code/claude-opus-4-6
jbaublitz
force-pushed
the
issue-stratisd-3796
branch
from
August 19, 2026 15:24
4bee5dd to
94b2ab1
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #3796
This PR adds the ability to remove the cache from a started pool.