From: fdmanana@kernel.org
To: linux-btrfs@vger.kernel.org
Subject: [PATCH 0/2] btrfs: adjust reservation sizes for block group item updates/inserts
Date: Thu, 28 Sep 2023 11:12:48 +0100 [thread overview]
Message-ID: <cover.1695895841.git.fdmanana@suse.com> (raw)
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(-)
--
2.40.1
next reply other threads:[~2023-09-28 10:12 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-09-28 10:12 fdmanana [this message]
2023-09-28 10:12 ` [PATCH 1/2] btrfs: stop reserving excessive space for block group item updates fdmanana
2023-09-28 10:12 ` [PATCH 2/2] btrfs: stop reserving excessive space for block group item insertions fdmanana
2023-10-02 11:23 ` [PATCH 0/2] btrfs: adjust reservation sizes for block group item updates/inserts David Sterba
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=cover.1695895841.git.fdmanana@suse.com \
--to=fdmanana@kernel.org \
--cc=linux-btrfs@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).