public inbox for linux-btrfs@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/6] btrfs: optimize btree insertions and some cleanups
@ 2021-12-02 10:30 fdmanana
  2021-12-02 10:30 ` [PATCH 1/6] btrfs: allow generic_bin_search() to take low boundary as an argument fdmanana
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: fdmanana @ 2021-12-02 10:30 UTC (permalink / raw)
  To: linux-btrfs

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


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2021-12-06 18:29 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-12-02 10:30 [PATCH 0/6] btrfs: optimize btree insertions and some cleanups fdmanana
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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox