mbox series

[0/2] btrfs: adjust reservation sizes for block group item updates/inserts

Message ID cover.1695895841.git.fdmanana@suse.com (mailing list archive)
Headers show
Series btrfs: adjust reservation sizes for block group item updates/inserts | expand

Message

Filipe Manana Sept. 28, 2023, 10:12 a.m. UTC
From: Filipe Manana <fdmanana@suse.com>

The following patches adjust how we calculate the size for block group
item insertions and updates, so that we stop reserving/accounting
excessive space for these operations, specially when the free space tree
is being used (a default nowadays). More details on the changelogs.

Filipe Manana (2):
  btrfs: stop reserving excessive space for block group item updates
  btrfs: stop reserving excessive space for block group item insertions

 fs/btrfs/block-group.c | 17 +++++-----
 fs/btrfs/delayed-ref.c | 70 ++++++++++++++++++++++++++++++++++++++++++
 fs/btrfs/delayed-ref.h |  4 +++
 fs/btrfs/disk-io.c     |  2 +-
 fs/btrfs/transaction.c |  2 +-
 5 files changed, 85 insertions(+), 10 deletions(-)

Comments

David Sterba Oct. 2, 2023, 11:23 a.m. UTC | #1
On Thu, Sep 28, 2023 at 11:12:48AM +0100, fdmanana@kernel.org wrote:
> From: Filipe Manana <fdmanana@suse.com>
> 
> The following patches adjust how we calculate the size for block group
> item insertions and updates, so that we stop reserving/accounting
> excessive space for these operations, specially when the free space tree
> is being used (a default nowadays). More details on the changelogs.
> 
> Filipe Manana (2):
>   btrfs: stop reserving excessive space for block group item updates
>   btrfs: stop reserving excessive space for block group item insertions

Added to misc-next, thanks.