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

Storage: Enable nodatacow on BTRFS subvolume for block volumes #9627

Merged
merged 1 commit into from
Dec 6, 2021

Conversation

tomponline
Copy link
Member

This reduces the impact of random writes to large block files on the BTRFS quota.
Although this does not entirely prevent CoW from taking up quota usage, as when a snapshot is taken,
the first write to a block after that will cause a CoW and the new and old extent will be referenced
as used in the quota

Related to #9124

Signed-off-by: Thomas Parrott thomas.parrott@canonical.com

…me for block volumes

This reduces the impact of random writes to large block files on the BTRFS quota.
Although this does not entirely prevent CoW from taking up quota usage, as when a snapshot is taken,
the first write to a block after that will cause a CoW and the new and old extent will be referenced
as used in the quota

Signed-off-by: Thomas Parrott <thomas.parrott@canonical.com>
@stgraber stgraber merged commit 60a6f46 into canonical:master Dec 6, 2021
@tomponline tomponline deleted the tp-btrfs-vm-nodatacow branch December 6, 2021 14:34
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.

None yet

2 participants