Linux Btrfs filesystem development
 help / color / mirror / Atom feed
* [PATCH 0/4] btrfs: fix a deadlock with reclaim during logging/log replay
@ 2024-06-13 11:05 fdmanana
  2024-06-13 11:05 ` [PATCH 1/4] btrfs: use NOFS context when getting inodes during logging and log replay fdmanana
                   ` (7 more replies)
  0 siblings, 8 replies; 14+ messages in thread
From: fdmanana @ 2024-06-13 11:05 UTC (permalink / raw)
  To: linux-btrfs

From: Filipe Manana <fdmanana@suse.com>

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(-)

-- 
2.43.0


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

end of thread, other threads:[~2024-06-16 18:40 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-06-13 11:05 [PATCH 0/4] btrfs: fix a deadlock with reclaim during logging/log replay fdmanana
2024-06-13 11:05 ` [PATCH 1/4] btrfs: use NOFS context when getting inodes during logging and log replay fdmanana
2024-06-13 21:37   ` Qu Wenruo
2024-06-13 21:54     ` Filipe Manana
2024-06-13 22:21       ` Qu Wenruo
2024-06-13 22:29         ` Filipe Manana
2024-06-16 18:40         ` David Sterba
2024-06-13 11:05 ` [PATCH 2/4] btrfs: remove super block argument from btrfs_iget() fdmanana
2024-06-13 11:05 ` [PATCH 3/4] btrfs: remove super block argument from btrfs_iget_path() fdmanana
2024-06-13 11:05 ` [PATCH 4/4] btrfs: remove super block argument from btrfs_iget_locked() fdmanana
2024-06-13 14:04 ` [PATCH 0/4] btrfs: fix a deadlock with reclaim during logging/log replay Johannes Thumshirn
2024-06-13 14:56 ` Josef Bacik
2024-06-13 21:10 ` David Sterba
2024-06-13 21:37 ` Qu Wenruo

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