All of lore.kernel.org
 help / color / mirror / Atom feed
From: fdmanana@kernel.org
To: linux-btrfs@vger.kernel.org
Subject: [PATCH 00/14] btrfs: directory logging bug fix and several updates
Date: Mon,  2 Jun 2025 11:32:53 +0100	[thread overview]
Message-ID: <cover.1748789125.git.fdmanana@suse.com> (raw)

From: Filipe Manana <fdmanana@suse.com>

These fix a race between renames and directory logging and several cleanups
and small optimizations. Details in the change logs.

Filipe Manana (14):
  btrfs: fix a race between renames and directory logging
  btrfs: assert we join log transaction at btrfs_del_inode_ref_in_log()
  btrfs: free path sooner at __btrfs_unlink_inode()
  btrfs: use btrfs_del_item() at del_logged_dentry()
  btrfs: assert we join log transaction at btrfs_del_dir_entries_in_log()
  btrfs: allocate path earlier at btrfs_del_dir_entries_in_log()
  btrfs: allocate path earlier at btrfs_log_new_name()
  btrfs: allocate scratch eb earlier at btrfs_log_new_name()
  btrfs: pass NULL index to btrfs_del_inode_ref() where not needed
  btrfs: switch del_all argument of replay_dir_deletes() from int to bool
  btrfs: make btrfs_delete_delayed_insertion_item() return a boolean
  btrfs: add details to error messages at btrfs_delete_delayed_dir_index()
  btrfs: make btrfs_should_delete_dir_index() return a bool instead
  btrfs: make btrfs_readdir_delayed_dir_index() return a bool instead

 fs/btrfs/delayed-inode.c |  42 +++++++-------
 fs/btrfs/delayed-inode.h |   7 +--
 fs/btrfs/inode.c         | 119 ++++++++++++++++++++++++++-------------
 fs/btrfs/tree-log.c      |  72 ++++++++++++-----------
 4 files changed, 144 insertions(+), 96 deletions(-)

-- 
2.47.2


             reply	other threads:[~2025-06-02 10:33 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-06-02 10:32 fdmanana [this message]
2025-06-02 10:32 ` [PATCH 01/14] btrfs: fix a race between renames and directory logging fdmanana
2025-06-03  1:03   ` Boris Burkov
2025-06-03  7:55     ` Filipe Manana
2025-06-03 17:11       ` Boris Burkov
2025-06-02 10:32 ` [PATCH 02/14] btrfs: assert we join log transaction at btrfs_del_inode_ref_in_log() fdmanana
2025-06-02 10:32 ` [PATCH 03/14] btrfs: free path sooner at __btrfs_unlink_inode() fdmanana
2025-06-02 13:25   ` Sun YangKai
2025-06-02 13:28     ` Filipe Manana
2025-06-02 16:20       ` Daniel Vacek
2025-06-02 10:32 ` [PATCH 04/14] btrfs: use btrfs_del_item() at del_logged_dentry() fdmanana
2025-06-02 10:32 ` [PATCH 05/14] btrfs: assert we join log transaction at btrfs_del_dir_entries_in_log() fdmanana
2025-06-02 10:32 ` [PATCH 06/14] btrfs: allocate path earlier " fdmanana
2025-06-02 10:33 ` [PATCH 07/14] btrfs: allocate path earlier at btrfs_log_new_name() fdmanana
2025-06-02 10:33 ` [PATCH 08/14] btrfs: allocate scratch eb " fdmanana
2025-06-02 10:33 ` [PATCH 09/14] btrfs: pass NULL index to btrfs_del_inode_ref() where not needed fdmanana
2025-06-02 10:33 ` [PATCH 10/14] btrfs: switch del_all argument of replay_dir_deletes() from int to bool fdmanana
2025-06-02 10:33 ` [PATCH 11/14] btrfs: make btrfs_delete_delayed_insertion_item() return a boolean fdmanana
2025-06-02 10:33 ` [PATCH 12/14] btrfs: add details to error messages at btrfs_delete_delayed_dir_index() fdmanana
2025-06-02 10:33 ` [PATCH 13/14] btrfs: make btrfs_should_delete_dir_index() return a bool instead fdmanana
2025-06-02 10:33 ` [PATCH 14/14] btrfs: make btrfs_readdir_delayed_dir_index() " fdmanana
2025-06-03  7:23 ` [PATCH 00/14] btrfs: directory logging bug fix and several updates David Sterba
2025-06-03 17:34 ` Boris Burkov

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.1748789125.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.