Skip to content

Add remove_cache API to remove caching from a pool - #4057

Open
jbaublitz wants to merge 4 commits into
stratis-storage:masterfrom
jbaublitz:issue-stratisd-3796
Open

Add remove_cache API to remove caching from a pool#4057
jbaublitz wants to merge 4 commits into
stratis-storage:masterfrom
jbaublitz:issue-stratisd-3796

Conversation

@jbaublitz

Copy link
Copy Markdown
Member

Closes #3796

This PR adds the ability to remove the cache from a started pool.

@jbaublitz jbaublitz added this to the v3.9.3 milestone Jul 21, 2026
@jbaublitz jbaublitz self-assigned this Jul 21, 2026
@jbaublitz
jbaublitz force-pushed the issue-stratisd-3796 branch from 680fb6c to 4c3a21a Compare July 21, 2026 14:18
@packit-as-a-service

Copy link
Copy Markdown

Congratulations! One of the builds has completed. 🍾

You can install the built RPMs by following these steps:

  • sudo dnf install -y 'dnf*-command(copr)'
  • dnf copr enable packit/stratis-storage-stratisd-4057-copr_pull
  • And now you can install the packages.

Please note that the RPMs should be used only in a testing environment.

@jbaublitz jbaublitz modified the milestones: v3.9.3, v3.10.0 Jul 21, 2026
@mulkieran mulkieran moved this to In Progress (long term) in 2026July Jul 24, 2026
@mulkieran mulkieran removed this from 2026July Jul 31, 2026
@mulkieran mulkieran moved this to In Progress (long term) in 2026August Jul 31, 2026
@jbaublitz
jbaublitz force-pushed the issue-stratisd-3796 branch from 4c3a21a to e4f2e76 Compare August 3, 2026 19:14
@jbaublitz jbaublitz moved this from In Progress (long term) to In Progress in 2026August Aug 3, 2026
@jbaublitz
jbaublitz requested a review from mulkieran August 3, 2026 19:52
@jbaublitz jbaublitz moved this from In Progress to In Review in 2026August Aug 3, 2026
@jbaublitz

Copy link
Copy Markdown
Member Author

@mulkieran I believe this is ready for preliminary review.

@jbaublitz
jbaublitz force-pushed the issue-stratisd-3796 branch from fc562a3 to 4bee5dd Compare August 17, 2026 21:32
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
jbaublitz force-pushed the issue-stratisd-3796 branch from 4bee5dd to 94b2ab1 Compare August 19, 2026 15:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: In Review

Development

Successfully merging this pull request may close these issues.

Handle failed cache devices

2 participants