On Thu, Oct 10, 2019 at 02:41:49PM +0800, Qu Wenruo wrote: > This patchset can be fetched from github: > https://github.com/adam900710/btrfs-progs/tree/bg_tree > Which is based on v5.2.2 tag. > > This patchset provides the needed user space infrastructure for BG_TREE > feature. > > Since it's an new incompatible feature, unlike SKINNY_METADATA, btrfs-progs > is needed to convert existing fs (unmounted) to new format. > > Now btrfstune can convert regular extent tree fs to bg tree fs to > improve mount time. > > For the performance improvement, please check the kernel patchset cover > letter or the last patch. > (SPOILER ALERT: It's super fast) > > Changelog: > v2: > - Rebase to v5.2.2 tag > - Add btrfstune ability to convert existing fs to BG_TREE feature > > v3: > - Fix a bug that temp chunks are not cleaned up properly > This is caused by wrong timing btrfs_convert_to_bg_tree() is called. > It should be called after temp chunks cleaned up. > > - Fix a bug that an extent buffer get leaked > This is caused by newly created bg tree not added to dirty list. > > Qu Wenruo (7): > btrfs-progs: Refactor excluded extent functions to use fs_info > btrfs-progs: Refactor btrfs_read_block_groups()
I'll add 1 and 2 to devel as they're independent. Thanks.