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

btrfs: add new btrfs state #51420

Closed
wants to merge 2 commits into from
Closed

Conversation

aplanas
Copy link
Contributor

@aplanas aplanas commented Jan 30, 2019

What does this PR do?

Add a new btrfs state to create and delete subvolumes.

Tests written?

Yes

(backport from #50635)
(backport from #50801)

(cherry picked from commit 237d40d)
When we want to create a subvolume and set is as default, we can
use the set_default parameter. The current code will check, for
already created subvolumes, if it is actually marked as default,
and if not it will be set inside the state.

For composability with other states, we sometimes want to avoid
the re-set of the default flag for already present subvolumes, as
can be that this was change in a later action by another state.

(cherry picked from commit 067482e)
@dwoz
Copy link
Contributor

dwoz commented Feb 1, 2019

2019.2 has been feature frozen.

@dwoz dwoz closed this Feb 1, 2019
@aplanas aplanas deleted the backport_50635 branch February 13, 2019 12:19
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