------------[ cut here ]------------ btree trans held srcu lock (delaying memory reclaim) for 18 seconds WARNING: CPU: 1 PID: 10922 at fs/bcachefs/btree_iter.c:3028 check_srcu_held_too_long fs/bcachefs/btree_iter.c:3028 [inline] WARNING: CPU: 1 PID: 10922 at fs/bcachefs/btree_iter.c:3028 check_srcu_held_too_long fs/bcachefs/btree_iter.c:3026 [inline] WARNING: CPU: 1 PID: 10922 at fs/bcachefs/btree_iter.c:3028 bch2_trans_put+0xc40/0xf30 fs/bcachefs/btree_iter.c:3274 Modules linked in: CPU: 1 UID: 0 PID: 10922 Comm: syz.6.717 Not tainted 6.12.0-rc6-syzkaller-00077-g2e1b3cc9d7f7 #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+0xc40/0xf30 fs/bcachefs/btree_iter.c:3274 Code: e9 09 48 c7 c7 e0 a3 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 11 50 57 fd 90 <0f> 0b 90 90 e9 1e ff ff ff e8 62 5d 96 fd 4c 89 f2 4c 89 e3 48 b8 RSP: 0018:ffffc90003cd7660 EFLAGS: 00010286 RAX: 0000000000000000 RBX: ffff88806af10042 RCX: ffffc9000ae21000 RDX: 0000000000040000 RSI: ffffffff814e6e86 RDI: 0000000000000001 RBP: 0000000100008100 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: 1ffffffff1bc1e40 R13: ffff88806af10000 R14: fffffffffffffcb9 R15: 0000000000000000 FS: 00007f17b13b16c0(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffdf82e7098 CR3: 000000003501a000 CR4: 0000000000350ef0 Call Trace: bch2_btree_root_read+0x369/0x470 fs/bcachefs/btree_io.c:1775 read_btree_roots fs/bcachefs/recovery.c:523 [inline] bch2_fs_recovery+0x1cbe/0x4020 fs/bcachefs/recovery.c:853 bch2_fs_start+0x2e9/0x5f0 fs/bcachefs/super.c:1036 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:0x7f17b057feba 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:00007f17b13b0e68 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007f17b13b0ef0 RCX: 00007f17b057feba RDX: 00000000200058c0 RSI: 0000000020005900 RDI: 00007f17b13b0eb0 RBP: 00000000200058c0 R08: 00007f17b13b0ef0 R09: 0000000000010008 R10: 0000000000010008 R11: 0000000000000246 R12: 0000000020005900 R13: 00007f17b13b0eb0 R14: 00000000000058d3 R15: 0000000020000100