------------[ cut here ]------------ btree trans held srcu lock (delaying memory reclaim) for 12 seconds WARNING: CPU: 0 PID: 6355 at fs/bcachefs/btree_iter.c:3028 check_srcu_held_too_long fs/bcachefs/btree_iter.c:3028 [inline] WARNING: CPU: 0 PID: 6355 at fs/bcachefs/btree_iter.c:3028 check_srcu_held_too_long fs/bcachefs/btree_iter.c:3026 [inline] WARNING: CPU: 0 PID: 6355 at fs/bcachefs/btree_iter.c:3028 bch2_trans_put+0xc43/0xf30 fs/bcachefs/btree_iter.c:3274 Modules linked in: CPU: 0 UID: 0 PID: 6355 Comm: syz.3.113 Not tainted 6.12.0-syzkaller-09567-g7eef7e306d3c #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 RIP: 0010:check_srcu_held_too_long fs/bcachefs/btree_iter.c:3028 [inline] RIP: 0010:check_srcu_held_too_long fs/bcachefs/btree_iter.c:3026 [inline] RIP: 0010:bch2_trans_put+0xc43/0xf30 fs/bcachefs/btree_iter.c:3274 Code: e5 09 48 c7 c7 a0 c3 bf 8b 48 b8 c3 f5 28 5c 8f c2 f5 28 48 29 ea 48 c1 ea 02 48 f7 e2 48 c1 ea 02 48 89 d6 e8 2e f2 53 fd 90 <0f> 0b 90 90 e9 1b ff ff ff e8 3f b2 93 fd 4c 89 f2 4c 89 e3 48 b8 RSP: 0018:ffffc9000bb77538 EFLAGS: 00010286 RAX: 0000000000000000 RBX: ffff888034148042 RCX: ffffc9000d209000 RDX: 0000000000080000 RSI: ffffffff814f0d66 RDI: 0000000000000001 RBP: 00000000ffffbcb5 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000002 R12: 1ffffffff1bc2040 R13: ffff888034148000 R14: fffffffffffffef7 R15: 0000000000000000 FS: 00007f3024b5e6c0(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ff836a656c0 CR3: 0000000029b1c000 CR4: 0000000000350ef0 Call Trace: bch2_snapshots_read+0x60b/0xee0 fs/bcachefs/snapshot.c:1785 bch2_run_recovery_pass+0x91/0x1a0 fs/bcachefs/recovery_passes.c:191 bch2_run_recovery_passes+0x49b/0x780 fs/bcachefs/recovery_passes.c:244 bch2_fs_recovery+0x2358/0x4030 fs/bcachefs/recovery.c:861 bch2_fs_start+0x2e9/0x5f0 fs/bcachefs/super.c:1037 bch2_fs_get_tree+0x10db/0x16f0 fs/bcachefs/fs.c:2170 vfs_get_tree+0x92/0x380 fs/super.c:1814 do_new_mount fs/namespace.c:3507 [inline] path_mount+0x14e6/0x1f20 fs/namespace.c:3834 do_mount fs/namespace.c:3847 [inline] __do_sys_mount fs/namespace.c:4057 [inline] __se_sys_mount fs/namespace.c:4034 [inline] __x64_sys_mount+0x294/0x320 fs/namespace.c:4034 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xcd/0x250 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f3023d7ffba Code: d8 64 89 02 48 c7 c0 ff ff ff ff eb a6 e8 de 1a 00 00 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 49 89 ca b8 a5 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f3024b5de68 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007f3024b5def0 RCX: 00007f3023d7ffba RDX: 0000000020000180 RSI: 0000000020000000 RDI: 00007f3024b5deb0 RBP: 0000000020000180 R08: 00007f3024b5def0 R09: 0000000000800000 R10: 0000000000800000 R11: 0000000000000246 R12: 0000000020000000 R13: 00007f3024b5deb0 R14: 000000000000598d R15: 00000000200003c0