btrfs: fix a couple of hangs during unmount caused by races
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest3 patches 3 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | btrfs: fix hang during unmount when stopping block group reclaim workerfs/ | +11 | 0 replies | |
| 2/3 | btrfs: fix hang during unmount when stopping a space reclaim workerfs/ | +25 | 0 replies | |
| 3/3 | btrfs: remove useless used space increment during space reservationfs/ | +0 | 0 replies |
Reviews trailers per patch
None of the 3 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Josef Bacik |
|---|---|
| Series | R-b |
| 1/3 | |
| 2/3 | |
| 3/3 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/3] btrfs: fix a couple of hangs during unmount caused by races
From: Filipe Manana <[email protected]>
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(-)
Signature · 1 line
2.35.1