All of lore.kernel.org
 help / color / mirror / Atom feed
From: fdmanana@kernel.org
To: linux-btrfs@vger.kernel.org
Subject: [PATCH 0/3] btrfs: free space tree fixes and cleanups
Date: Sun,  8 Jun 2025 23:43:31 +0100	[thread overview]
Message-ID: <cover.1749421865.git.fdmanana@suse.com> (raw)

From: Filipe Manana <fdmanana@suse.com>

Fix a regression when rebuilding a free space tree, reported by syzbot,
ensure transaction aborts where critical when adding a new block group to
the free space tree, and a cleanup. Details in the changelogs.

Filipe Manana (3):
  btrfs: fix failure to rebuild free space tree using multiple transactions
  btrfs: always abort transaction on failure to add block group to free space tree
  btrfs: check BLOCK_GROUP_FLAG_NEEDS_FREE_SPACE at __add_block_group_free_space()

 fs/btrfs/block-group.h     |   2 +
 fs/btrfs/free-space-tree.c | 110 +++++++++++++++++++++++++------------
 2 files changed, 77 insertions(+), 35 deletions(-)

-- 
2.47.2


             reply	other threads:[~2025-06-08 22:43 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-06-08 22:43 fdmanana [this message]
2025-06-08 22:43 ` [PATCH 1/3] btrfs: fix failure to rebuild free space tree using multiple transactions fdmanana
2025-06-08 22:43 ` [PATCH 2/3] btrfs: always abort transaction on failure to add block group to free space tree fdmanana
2025-06-08 22:43 ` [PATCH 3/3] btrfs: check BLOCK_GROUP_FLAG_NEEDS_FREE_SPACE at __add_block_group_free_space() fdmanana
2025-06-16 15:44   ` Boris Burkov
2025-06-16 15:48     ` Filipe Manana
2025-06-16 16:49       ` Boris Burkov
2025-06-16 21:47         ` Filipe Manana
2025-06-16 15:45 ` [PATCH 0/3] btrfs: free space tree fixes and cleanups 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.1749421865.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.