All of lore.kernel.org
 help / color / mirror / Atom feed
From: fdmanana@kernel.org
To: linux-btrfs@vger.kernel.org
Subject: [PATCH 0/6] btrfs: optimize btree insertions and some cleanups
Date: Thu,  2 Dec 2021 10:30:34 +0000	[thread overview]
Message-ID: <cover.1638440535.git.fdmanana@suse.com> (raw)

From: Filipe Manana <fdmanana@suse.com>

This patchset optimizes btree insertions to allow better parallelism, by
having insertions unlocking upper level nodes sooner and avoid blocking
other tasks, or reduce the time they are blocked, that want to use the
same nodes. The optimization is in patch 2/6, patch 1/6 is preparation
for it, and the rest are just cleanups or removing stale code and comments.

Filipe Manana (6):
  btrfs: allow generic_bin_search() to take low boundary as an argument
  btrfs: try to unlock parent nodes earlier when inserting a key
  btrfs: remove useless condition check before splitting leaf
  btrfs: move leaf search logic out of btrfs_search_slot()
  btrfs: remove BUG_ON() after splitting leaf
  btrfs: remove stale comment about locking at btrfs_search_slot()

 fs/btrfs/ctree.c | 254 +++++++++++++++++++++++++++++++++--------------
 1 file changed, 181 insertions(+), 73 deletions(-)

-- 
2.33.0


             reply	other threads:[~2021-12-02 10:30 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-12-02 10:30 fdmanana [this message]
2021-12-02 10:30 ` [PATCH 1/6] btrfs: allow generic_bin_search() to take low boundary as an argument fdmanana
2021-12-02 10:30 ` [PATCH 2/6] btrfs: try to unlock parent nodes earlier when inserting a key fdmanana
2021-12-02 10:30 ` [PATCH 3/6] btrfs: remove useless condition check before splitting leaf fdmanana
2021-12-02 10:30 ` [PATCH 4/6] btrfs: move leaf search logic out of btrfs_search_slot() fdmanana
2021-12-02 10:30 ` [PATCH 5/6] btrfs: remove BUG_ON() after splitting leaf fdmanana
2021-12-02 10:30 ` [PATCH 6/6] btrfs: remove stale comment about locking at btrfs_search_slot() fdmanana
2021-12-02 19:45 ` [PATCH 0/6] btrfs: optimize btree insertions and some cleanups Josef Bacik
2021-12-06 18:29 ` 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.1638440535.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 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.