All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] btrfs-progs: Metadata preallocation enhancement
@ 2019-04-16 10:21 Qu Wenruo
  2019-04-16 10:21 ` [PATCH 1/2] btrfs-progs: Avoid nested chunk allocation call Qu Wenruo
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Qu Wenruo @ 2019-04-16 10:21 UTC (permalink / raw)
  To: linux-btrfs

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(-)

-- 
2.21.0


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

end of thread, other threads:[~2019-06-06  0:29 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-04-16 10:21 [PATCH 0/2] btrfs-progs: Metadata preallocation enhancement Qu Wenruo
2019-04-16 10:21 ` [PATCH 1/2] btrfs-progs: Avoid nested chunk allocation call Qu Wenruo
2019-04-16 11:22   ` Filipe Manana
2019-04-16 11:32     ` Qu Wenruo
2019-04-16 11:40       ` Filipe Manana
2019-06-05 16:32   ` David Sterba
2019-06-06  0:29     ` Qu Wenruo
2019-04-16 10:21 ` [PATCH 2/2] btrfs-progs: Do metadata preallocation for fs trees and csum tree Qu Wenruo
2019-06-05 16:39 ` [PATCH 0/2] btrfs-progs: Metadata preallocation enhancement David Sterba

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.