Skip to content

btrfs-progs: Metadata preallocation enhancement

Qu Wenruo linux-btrfs 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 6 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2btrfs-progs: Avoid nested chunk allocation callcheck/main.c extent-tree.c transaction.c +1 more+17 -35 replies
2/2btrfs-progs: Do metadata preallocation for fs trees and csum treeextent-tree.c+7 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] btrfs-progs: Metadata preallocation enhancement

This patchset will address the github issue #123 to make btrfs-convert less possible to report false ENOSPC.

The first patch will try to avoid the nested chunk/extent tree modification in a more explicit way.

The 2nd patch will address the ENOSPC problem, by adding CSUM tree to the metadata preallocate list.

The 2nd patch is not as aggressive as 7a12d8470e5f ("btrfs-progs:
Do metadata preallocation as long as we're not modifying extent tree"). Even we have the 1st patch I still prefer to make less modification to avoid possible bugs.

Qu Wenruo (2):
btrfs-progs: Avoid nested chunk allocation call
btrfs-progs: Do metadata preallocation for fs trees and csum tree

 check/main.c  |  2 +-
 extent-tree.c | 20 +++++++++++++++++++-
 transaction.c |  3 ++-
 transaction.h |  3 ++-
 4 files changed, 24 insertions(+), 4 deletions(-)
Signature · 1 line
2.21.0