From: fdmanana@kernel.org
To: linux-btrfs@vger.kernel.org
Subject: [PATCH 0/3] btrfs: speedup bulk item insertions
Date: Fri, 24 Sep 2021 12:28:12 +0100 [thread overview]
Message-ID: <cover.1632482680.git.fdmanana@suse.com> (raw)
From: Filipe Manana <fdmanana@suse.com>
This patchset does some minor improvements to speedup bulk insertion of
items into a btree, which is used when logging directories, when running
delayed items for directories (fsync and transaction commits) and when
running the slow path (full sync) of an fsync. The last patch in the
series contains test results in its changelog.
Filipe Manana (3):
btrfs: loop only once over data sizes array when inserting an item batch
btrfs: unexport setup_items_for_insert()
btrfs: use single bulk copy operations when logging directories
fs/btrfs/ctree.c | 148 +++++++++++++++------------
fs/btrfs/ctree.h | 45 ++++++--
fs/btrfs/delayed-inode.c | 41 ++++----
fs/btrfs/file.c | 3 +-
fs/btrfs/inode.c | 8 +-
fs/btrfs/tests/extent-buffer-tests.c | 2 +-
fs/btrfs/tests/inode-tests.c | 4 +-
fs/btrfs/tree-log.c | 52 +++++++---
8 files changed, 188 insertions(+), 115 deletions(-)
--
2.33.0
next reply other threads:[~2021-09-24 11:28 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-09-24 11:28 fdmanana [this message]
2021-09-24 11:28 ` [PATCH 1/3] btrfs: loop only once over data sizes array when inserting an item batch fdmanana
2021-09-24 11:28 ` [PATCH 2/3] btrfs: unexport setup_items_for_insert() fdmanana
2021-09-24 11:28 ` [PATCH 3/3] btrfs: use single bulk copy operations when logging directories fdmanana
2021-09-27 19:27 ` [PATCH 0/3] btrfs: speedup bulk item insertions 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.1632482680.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