btrfs: fix a deadlock with reclaim during logging/log replay
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest4 patches 9 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | btrfs: use NOFS context when getting inodes during logging and log replayfs/ | +28 | 5 replies | |
| 2/4 | btrfs: remove super block argument from btrfs_iget()fs/ fs/ fs/ +6 more | +19 | 0 replies | |
| 3/4 | btrfs: remove super block argument from btrfs_iget_path()fs/ fs/ fs/ | +7 | 0 replies | |
| 4/4 | btrfs: remove super block argument from btrfs_iget_locked()fs/ | +3 | 0 replies |
Reviews trailers per patch
None of the 4 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Johannes Thumshirn | Josef Bacik | David Sterba | Qu Wenruo |
|---|---|---|---|---|
| Series | R-b | R-b | R-b | R-b |
| 1/4 | ||||
| 2/4 | ||||
| 3/4 | ||||
| 4/4 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 4 reviewers.
Cover letter [PATCH 0/4] btrfs: fix a deadlock with reclaim during logging/log replay
From: Filipe Manana <[email protected]>
Fix a deadlock when opening an inode during inode logging and log replay due to a GFP_KERNEL allocation, reported by syzbot. The rest is just some trivial cleanups. Details in the change logs.
Filipe Manana (4):
btrfs: use NOFS context when getting inodes during logging and log replay
btrfs: remove super block argument from btrfs_iget()
btrfs: remove super block argument from btrfs_iget_path()
btrfs: remove super block argument from btrfs_iget_locked()
fs/btrfs/btrfs_inode.h | 6 +++--- fs/btrfs/defrag.c | 2 +- fs/btrfs/export.c | 4 ++-- fs/btrfs/free-space-cache.c | 3 +-- fs/btrfs/inode.c | 24 ++++++++++----------- fs/btrfs/ioctl.c | 3 +-- fs/btrfs/relocation.c | 4 ++-- fs/btrfs/send.c | 9 ++++---- fs/btrfs/super.c | 2 +- fs/btrfs/tree-log.c | 43 ++++++++++++++++++++++++------------- 10 files changed, 54 insertions(+), 46 deletions(-)
Signature · 1 line
2.43.0