From: fdmanana@kernel.org
To: linux-btrfs@vger.kernel.org
Subject: [PATCH v2 0/4] btrfs: fix unexpected delayed iputs at umount time and cleanups
Date: Wed, 5 Mar 2025 18:17:46 +0000 [thread overview]
Message-ID: <cover.1741198394.git.fdmanana@suse.com> (raw)
In-Reply-To: <cover.1741196484.git.fdmanana@suse.com>
From: Filipe Manana <fdmanana@suse.com>
Fix a couple races that can result in adding delayed iputs during umount after
we no longer expect to find any, triggering an assertion failure. Plus a couple
cleanups. Details in the change logs.
V2: Removed the NULL checks for the workqueues in patches 1 and 2, as they
can never be NULL while at close_ctree() (they can only be NULL in error
paths from open_ctree()).
Filipe Manana (4):
btrfs: fix non-empty delayed iputs list on unmount due to endio workers
btrfs: fix non-empty delayed iputs list on unmount due to compressed write workers
btrfs: move __btrfs_bio_end_io() code into its single caller
btrfs: move btrfs_cleanup_bio() code into its single caller
fs/btrfs/bio.c | 36 ++++++++++++++----------------------
fs/btrfs/disk-io.c | 21 +++++++++++++++++++++
2 files changed, 35 insertions(+), 22 deletions(-)
--
2.45.2
next prev parent reply other threads:[~2025-03-05 18:17 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-03-05 17:45 [PATCH 0/4] btrfs: fix unexpected delayed iputs at umount time and cleanups fdmanana
2025-03-05 17:45 ` [PATCH 1/4] btrfs: fix non-empty delayed iputs list on unmount due to endio workers fdmanana
2025-03-05 17:45 ` [PATCH 2/4] btrfs: fix non-empty delayed iputs list on unmount due to compressed write workers fdmanana
2025-03-05 17:45 ` [PATCH 3/4] btrfs: move __btrfs_bio_end_io() code into its single caller fdmanana
2025-03-05 17:45 ` [PATCH 4/4] btrfs: move btrfs_cleanup_bio() " fdmanana
2025-03-05 18:17 ` fdmanana [this message]
2025-03-05 18:17 ` [PATCH v2 1/4] btrfs: fix non-empty delayed iputs list on unmount due to endio workers fdmanana
2025-03-05 22:46 ` Qu Wenruo
2025-03-05 22:50 ` Qu Wenruo
2025-03-05 23:14 ` Filipe Manana
2025-03-05 18:17 ` [PATCH v2 2/4] btrfs: fix non-empty delayed iputs list on unmount due to compressed write workers fdmanana
2025-03-05 18:17 ` [PATCH v2 3/4] btrfs: move __btrfs_bio_end_io() code into its single caller fdmanana
2025-03-05 18:17 ` [PATCH v2 4/4] btrfs: move btrfs_cleanup_bio() " fdmanana
2025-03-05 22:54 ` [PATCH v2 0/4] btrfs: fix unexpected delayed iputs at umount time and cleanups Qu Wenruo
2025-03-06 10:09 ` Qu Wenruo
2025-03-06 16:00 ` Filipe Manana
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.1741198394.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox