Bug 1926892

Summary: blivet needs a way to override mount options for btrfs
Product: [Fedora] Fedora Reporter: Michel Lind <michel>
Component: python-blivetAssignee: Michel Lind <michel>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 34CC: blivet-maint-list, dlehman, japokorn, mkolman, rvykydal, vponcova, vtrefny
Target Milestone: ---Keywords: Reopened
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: python-blivet-3.3.3-1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-02-19 13:31:42 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1916918    

Description Michel Lind 2021-02-09 15:54:22 UTC
Description of problem:
As part of https://fedoraproject.org/wiki/Changes/BtrfsTransparentCompression, we need to mount Btrfs filesystems with compression enabled on Fedora variants that default to using Btrfs.

Ideally this can be done via configuration files, but we might have to hardcode the overridden options for now (in which case we will do that in Fedora only, pending a general solution upstream)

Version-Release number of selected component (if applicable):
python-blivet-3.3.2-1.fc34

Comment 1 Michel Lind 2021-02-15 16:56:36 UTC
Per the comment in the pull request, it's insufficient to change this in Blivet.

Comment 2 Michel Lind 2021-02-16 05:48:03 UTC
Edit: we'll likely need to carry this in blivet in the short term, while working on a permanent solution with the Anaconda developers

https://src.fedoraproject.org/rpms/python-blivet/pull-request/8

Comment 3 Michel Lind 2021-02-17 05:00:08 UTC
Updated PR per discussion with the Anaconda/Blivet teams, this time making it toggled by a new Blivet flag that Anaconda will set

https://github.com/storaged-project/blivet/pull/932