bcachefs (loop1): stripes_read... done bcachefs (loop1): snapshots_read... ------------[ cut here ]------------ btree trans held srcu lock (delaying memory reclaim) for 18 seconds WARNING: CPU: 1 PID: 5965 at fs/bcachefs/btree_iter.c:3028 check_srcu_held_too_long fs/bcachefs/btree_iter.c:3028 [inline] WARNING: CPU: 1 PID: 5965 at fs/bcachefs/btree_iter.c:3028 check_srcu_held_too_long fs/bcachefs/btree_iter.c:3026 [inline] WARNING: CPU: 1 PID: 5965 at fs/bcachefs/btree_iter.c:3028 bch2_trans_srcu_unlock fs/bcachefs/btree_iter.c:3044 [inline] WARNING: CPU: 1 PID: 5965 at fs/bcachefs/btree_iter.c:3028 bch2_trans_srcu_unlock+0x4b6/0x5a0 fs/bcachefs/btree_iter.c:3033 Modules linked in: CPU: 1 UID: 0 PID: 5965 Comm: syz.1.8 Not tainted 6.12.0-syzkaller-08446-g228a1157fb9f #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_srcu_unlock fs/bcachefs/btree_iter.c:3044 [inline] RIP: 0010:bch2_trans_srcu_unlock+0x4b6/0x5a0 fs/bcachefs/btree_iter.c:3033 Code: f0 09 48 c7 c7 e0 cf be 8b 48 b8 c3 f5 28 5c 8f c2 f5 28 48 29 da 48 c1 ea 02 48 f7 e2 48 c1 ea 02 48 89 d6 e8 4b 0e 5e fd 90 <0f> 0b 90 90 e9 21 fe ff ff e8 6c b2 9d fd 90 0f 0b 90 e9 68 fe ff RSP: 0018:ffffc90004057450 EFLAGS: 00010286 RAX: 0000000000000000 RBX: 00000000ffffb0db RCX: ffffc9000bcc1000 RDX: 0000000000080000 RSI: ffffffff814e9676 RDI: 0000000000000001 RBP: ffffffff8de10200 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000002 R12: ffff888030308042 R13: fffffffffffffcc7 R14: ffff888030308000 R15: 0000000000000040 FS: 00007fb08309f6c0(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055685ee70dd8 CR3: 000000007df72000 CR4: 0000000000350ef0 Call Trace: bch2_trans_begin+0xefa/0x11e0 fs/bcachefs/btree_iter.c:3121 bch2_snapshots_read+0x2ae/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:0x7fb08237ffba 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:00007fb08309ee68 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007fb08309eef0 RCX: 00007fb08237ffba RDX: 00000000200002c0 RSI: 0000000020005900 RDI: 00007fb08309eeb0 RBP: 00000000200002c0 R08: 00007fb08309eef0 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000020005900 R13: 00007fb08309eeb0 R14: 00000000000058fd R15: 00000000200000c0