btrfs-progs: add block-group-tree to the default mkfs/convert features
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest3 patches 2 repliesIn review
- v13 patches 1 replySuperseded
Changes in v2 from the cover letter
- Automatically remove bgt feature when dependent feature is missing Instead of erroring out. This will allow us to run the existing no-holes/v1 free space cache test cases without any modification.
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | btrfs-progs: disable block-group-tree feature if dependency is missingDocumentation/ convert/ mkfs/ | +14 | 0 replies | |
| 2/3 | btrfs-progs: misc-tests: check if free space tree is enabled after mounttests/ | +8 | 0 replies | |
| 3/3 | btrfs-progs: add block-group-tree to the default mkfs featuresDocumentation/ common/ common/ | +4 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
Cover letter [PATCH v2 0/3] btrfs-progs: add block-group-tree to the default mkfs/convert features
[CHANGELOG]
v2:
- Automatically remove bgt feature when dependent feature is missing Instead of erroring out. This will allow us to run the existing no-holes/v1 free space cache test cases without any modification.
I was planning to do this during v6.12 but forgot it and now the next LTS kernel release is not that far away, it's finally time to make the switch.
The first patch is to change mkfs/btrfs-convert from rejecting "bgt,^no-holes" to disabling bgt when no-holes/fst feature is not selected.
This allows the existing "mkfs.btrfs ^no-holes" to be executed without extra modification.
The second patch is a large page-size specific fix, where on 64K page size systems misc/057 will fail due to subpage mounts always enable v2 free space cache, resulting later conversion failure to fst (as it's already fst).
The final patch is the one enabling new default block-group-tree feature for mkfs and convert.
Qu Wenruo (3):
btrfs-progs: disable block-group-tree feature if dependency is missing
btrfs-progs: misc-tests: check if free space tree is enabled after
mount
btrfs-progs: add block-group-tree to the default mkfs features
Documentation/mkfs.btrfs.rst | 7 ++++++- common/fsfeatures.c | 2 +- common/fsfeatures.h | 3 ++- convert/main.c | 4 ++-- mkfs/main.c | 10 +++++++--- tests/misc-tests/057-btrfstune-free-space-tree/test.sh | 8 ++++++++ 6 files changed, 26 insertions(+), 8 deletions(-)
--
2.52.0