linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/6] btrfs-progs: Support for BG_TREE feature
@ 2018-12-28  8:38 Qu Wenruo
  2018-12-28  8:38 ` [PATCH 1/6] btrfs-progs: Refactor excluded extent functions to use fs_info Qu Wenruo
                   ` (6 more replies)
  0 siblings, 7 replies; 9+ messages in thread
From: Qu Wenruo @ 2018-12-28  8:38 UTC (permalink / raw)
  To: linux-btrfs

This patchset can be fetched from github:
https://github.com/adam900710/btrfs-progs/tree/bg_tree
The basis commit is:

commit 7d16a2b460182ee98c649533a6975b6e419c3d71
Author: Qu Wenruo <wqu@suse.com>
Date:   Thu Dec 27 13:49:18 2018 +0800

    btrfs-progs: Create uuid tree with proper contents

Which is further based on devel branch.

This patchset provides the needed user space infrastructure for BG_TREE
feature.

Since it's an new exclusive feature, unlike SKINNY_METADATA, btrfs-progs
is needed to convert existing fs (unmounted) to new format.

Although I have prepared the functionality, convert_to_bg_tree(), and
already uses it in mkfs, I haven't decided if I should put it under
btrfstune, as btrfstune isn't such offline convert tool.

If anyone has better idea on the new convert tool interface, I'm all
ears.

For the performance improvement, please check the kernel patchset cover
letter or the last patch.
(SPOILER ALERT: It's super fast)

Qu Wenruo (6):
  btrfs-progs: Refactor excluded extent functions to use fs_info
  btrfs-progs: Refactor btrfs_read_block_groups()
  btrfs-progs: Enable read-write ability for 'bg_tree' feature
  btrfs-progs: mkfs: Introduce -O bg-tree
  btrfs-progs: dump-tree/dump-super: Introduce support for bg tree
  btrfs-progs: check: Introduce support for bg-tree feature

 check/main.c              |   7 +-
 check/mode-lowmem.c       |   9 +-
 cmds-inspect-dump-super.c |   3 +-
 cmds-inspect-dump-tree.c  |   5 +
 ctree.h                   |  17 +-
 disk-io.c                 |  29 +++-
 extent-tree.c             | 326 +++++++++++++++++++++++++++-----------
 fsfeatures.c              |   6 +
 mkfs/common.c             |   7 +-
 mkfs/common.h             |   1 +
 mkfs/main.c               |  57 +++++++
 print-tree.c              |   3 +
 transaction.c             |   1 +
 13 files changed, 365 insertions(+), 106 deletions(-)

-- 
2.20.1


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2019-02-26  1:29 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-12-28  8:38 [PATCH 0/6] btrfs-progs: Support for BG_TREE feature Qu Wenruo
2018-12-28  8:38 ` [PATCH 1/6] btrfs-progs: Refactor excluded extent functions to use fs_info Qu Wenruo
2018-12-28  8:38 ` [PATCH 2/6] btrfs-progs: Refactor btrfs_read_block_groups() Qu Wenruo
2018-12-28  8:38 ` [PATCH 3/6] btrfs-progs: Enable read-write ability for 'bg_tree' feature Qu Wenruo
2018-12-28  8:38 ` [PATCH 4/6] btrfs-progs: mkfs: Introduce -O bg-tree Qu Wenruo
2018-12-28  8:38 ` [PATCH 5/6] btrfs-progs: dump-tree/dump-super: Introduce support for bg tree Qu Wenruo
2018-12-28  8:38 ` [PATCH 6/6] btrfs-progs: check: Introduce support for bg-tree feature Qu Wenruo
2019-02-25 16:36 ` [PATCH 0/6] btrfs-progs: Support for BG_TREE feature Hans van Kranenburg
2019-02-26  1:29   ` Qu Wenruo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).