All of lore.kernel.org
 help / color / mirror / Atom feed
From: fdmanana@kernel.org
To: linux-btrfs@vger.kernel.org
Subject: [PATCH 00/11] btrfs: some delayed refs optimizations and cleanups
Date: Mon, 29 May 2023 16:16:56 +0100	[thread overview]
Message-ID: <cover.1685363099.git.fdmanana@suse.com> (raw)

From: Filipe Manana <fdmanana@suse.com>

This brings an optimization for delayed ref heads and several cleanups.
These come out while doing some other work around delayed refs, but as
these are independent of that other work, and trivial, I'm sending these
out separately. More details on the changelogs.

Filipe Manana (11):
  btrfs: reorder some members of struct btrfs_delayed_ref_head
  btrfs: remove unused is_head field from struct btrfs_delayed_ref_node
  btrfs: remove pointless in_tree field from struct btrfs_delayed_ref_node
  btrfs: use a bool to track qgroup record insertion when adding ref head
  btrfs: make insert_delayed_ref() return a bool instead of an int
  btrfs: get rid of label and goto at insert_delayed_ref()
  btrfs: assert correct lock is held at btrfs_select_ref_head()
  btrfs: use bool type for delayed ref head fields that are used as booleans
  btrfs: use a single switch statement when initializing delayed ref head
  btrfs: remove unnecessary prototype declarations at disk-io.c
  btrfs: make btrfs_destroy_delayed_refs() return void

 fs/btrfs/delayed-ref.c | 110 ++++++++++++++++++++---------------------
 fs/btrfs/delayed-ref.h |  25 +++++-----
 fs/btrfs/disk-io.c     |  19 ++-----
 fs/btrfs/extent-tree.c |  11 ++---
 4 files changed, 77 insertions(+), 88 deletions(-)

-- 
2.34.1


             reply	other threads:[~2023-05-29 15:17 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-05-29 15:16 fdmanana [this message]
2023-05-29 15:16 ` [PATCH 01/11] btrfs: reorder some members of struct btrfs_delayed_ref_head fdmanana
2023-05-29 15:16 ` [PATCH 02/11] btrfs: remove unused is_head field from struct btrfs_delayed_ref_node fdmanana
2023-05-29 15:16 ` [PATCH 03/11] btrfs: remove pointless in_tree " fdmanana
2023-05-29 15:17 ` [PATCH 04/11] btrfs: use a bool to track qgroup record insertion when adding ref head fdmanana
2023-05-29 15:17 ` [PATCH 05/11] btrfs: make insert_delayed_ref() return a bool instead of an int fdmanana
2023-05-29 15:17 ` [PATCH 06/11] btrfs: get rid of label and goto at insert_delayed_ref() fdmanana
2023-05-29 15:17 ` [PATCH 07/11] btrfs: assert correct lock is held at btrfs_select_ref_head() fdmanana
2023-05-29 15:17 ` [PATCH 08/11] btrfs: use bool type for delayed ref head fields that are used as booleans fdmanana
2023-05-29 15:17 ` [PATCH 09/11] btrfs: use a single switch statement when initializing delayed ref head fdmanana
2023-05-29 15:17 ` [PATCH 10/11] btrfs: remove unnecessary prototype declarations at disk-io.c fdmanana
2023-05-29 15:17 ` [PATCH 11/11] btrfs: make btrfs_destroy_delayed_refs() return void fdmanana
2023-05-30 15:03   ` David Sterba
2023-05-30 16:01     ` Filipe Manana
2023-05-30 15:04 ` [PATCH 00/11] btrfs: some delayed refs optimizations and cleanups 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.1685363099.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.