From: fdmanana@kernel.org
To: linux-btrfs@vger.kernel.org
Subject: [PATCH 0/3] btrfs: fix a couple of hangs during unmount caused by races
Date: Thu, 8 Sep 2022 12:31:49 +0100 [thread overview]
Message-ID: <cover.1662636489.git.fdmanana@suse.com> (raw)
From: Filipe Manana <fdmanana@suse.com>
Due to some races or bad timmings, we can hang during unmount when trying
to stop the block group reclaim task or one of the space reclaim tasks.
The second case if often triggered by generic/562 for a while, but the
underlying problem has been there for a long time, despite seeming to be
more frequent recently. More details in the changelogs.
Filipe Manana (3):
btrfs: fix hang during unmount when stopping block group reclaim worker
btrfs: fix hang during unmount when stopping a space reclaim worker
btrfs: remove useless used space increment during space reservation
fs/btrfs/disk-io.c | 42 ++++++++++++++++++++++++++++++++++++------
fs/btrfs/space-info.c | 1 -
2 files changed, 36 insertions(+), 7 deletions(-)
--
2.35.1
next reply other threads:[~2022-09-08 11:32 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-09-08 11:31 fdmanana [this message]
2022-09-08 11:31 ` [PATCH 1/3] btrfs: fix hang during unmount when stopping block group reclaim worker fdmanana
2022-09-08 11:31 ` [PATCH 2/3] btrfs: fix hang during unmount when stopping a space " fdmanana
2022-09-08 11:31 ` [PATCH 3/3] btrfs: remove useless used space increment during space reservation fdmanana
2022-09-08 13:14 ` [PATCH 0/3] btrfs: fix a couple of hangs during unmount caused by races Josef Bacik
2022-09-09 14:32 ` David Sterba
2022-09-13 11:52 ` 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.1662636489.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