btrfs: fix transaction leaks and crashes during unmount
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest5 patches 7 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | btrfs: fix transaction leak and crash after RO remount caused by qgroup rescanfs/ fs/ | +18 | 2 replies | |
| 2/5 | btrfs: fix transaction leak and crash after cleaning up orphans on RO mountfs/ | +1 | 3 replies | |
| 3/5 | btrfs: fix race between RO remount and the cleaner taskfs/ fs/ fs/ +1 more | +44 | 0 replies | |
| 4/5 | btrfs: add assertion for empty list of transactions at late stage of umountfs/ | +3 | 0 replies | |
| 5/5 | btrfs: run delayed iputs when remounting RO to avoid leaking themfs/ | +10 | 0 replies |
Reviews trailers per patch
None of the 5 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Fabian Vogt | Josef Bacik |
|---|---|---|
| Series | R-b | |
| 1/5 | T-b | |
| 2/5 | T-b | |
| 3/5 | T-b | |
| 4/5 | T-b | |
| 5/5 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/5] btrfs: fix transaction leaks and crashes during unmount
From: Filipe Manana <[email protected]>
There are some cases where we can leak a transaction and crash during unmount after remounting the filesystem in RO mode or mounting RO. These issues were actually being hit by automated tests from the openQA for openSUSE Tumbleweed (bugzilla https://bugzilla.suse.com/show_bug.cgi?id=1164503).
Filipe Manana (5):
btrfs: fix transaction leak and crash after RO remount caused by
qgroup rescan
btrfs: fix transaction leak and crash after cleaning up orphans on RO
mount
btrfs: fix race between RO remount and the cleaner task
btrfs: add assertion for empty list of transactions at late stage of
umount
btrfs: run delayed iputs when remounting RO to avoid leaking them
fs/btrfs/ctree.h | 20 +++++++++++++++++++- fs/btrfs/disk-io.c | 13 ++++++++----- fs/btrfs/qgroup.c | 13 ++++++++++--- fs/btrfs/super.c | 40 +++++++++++++++++++++++++++++++++++++--- fs/btrfs/volumes.c | 4 ++-- 5 files changed, 76 insertions(+), 14 deletions(-)
Signature · 1 line
2.28.0