public inbox for linux-btrfs@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/3] btrfs: fix a couple of hangs during unmount caused by races
@ 2022-09-08 11:31 fdmanana
  2022-09-08 11:31 ` [PATCH 1/3] btrfs: fix hang during unmount when stopping block group reclaim worker fdmanana
                   ` (4 more replies)
  0 siblings, 5 replies; 7+ messages in thread
From: fdmanana @ 2022-09-08 11:31 UTC (permalink / raw)
  To: linux-btrfs

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


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2022-09-13 11:58 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-09-08 11:31 [PATCH 0/3] btrfs: fix a couple of hangs during unmount caused by races fdmanana
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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox