Skip to content

btrfs: adjust reservation sizes for block group item updates/inserts

[email protected] linux-btrfs 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2btrfs: stop reserving excessive space for block group item updatesfs/btrfs/block-group.c fs/btrfs/delayed-ref.c fs/btrfs/delayed-ref.h +1 more+45 -60 replies
2/2btrfs: stop reserving excessive space for block group item insertionsfs/btrfs/block-group.c fs/btrfs/delayed-ref.c fs/btrfs/delayed-ref.h +1 more+40 -40 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: adjust reservation sizes for block group item updates/inserts

From: Filipe Manana <[email protected]>

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(-)
Signature · 1 line
2.40.1