------------[ cut here ]------------ btree trans held srcu lock (delaying memory reclaim) for 13 seconds WARNING: CPU: 0 PID: 10582 at fs/bcachefs/btree_iter.c:2998 check_srcu_held_too_long fs/bcachefs/btree_iter.c:2996 [inline] WARNING: CPU: 0 PID: 10582 at fs/bcachefs/btree_iter.c:2998 bch2_trans_put+0xdd0/0x1030 fs/bcachefs/btree_iter.c:3243 Modules linked in: CPU: 0 PID: 10582 Comm: syz-executor.0 Not tainted 6.10.0-rc4-syzkaller-00148-g50736169ecc8 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/2024 RIP: 0010:check_srcu_held_too_long fs/bcachefs/btree_iter.c:2996 [inline] RIP: 0010:bch2_trans_put+0xdd0/0x1030 fs/bcachefs/btree_iter.c:3243 Code: 2b 1e 48 c1 eb 02 48 b9 c3 f5 28 5c 8f c2 f5 28 48 89 d8 48 f7 e1 48 c1 ea 02 48 c7 c7 60 81 11 8c 48 89 d6 e8 81 b6 44 fd 90 <0f> 0b 90 90 e9 e2 f7 ff ff e8 72 86 82 fd 90 0f 0b 90 e9 25 f8 ff RSP: 0018:ffffc90009296fa8 EFLAGS: 00010246 RAX: 8f5f0fa81f8fe500 RBX: 000000000000014d RCX: 0000000000040000 RDX: ffffc90009bd9000 RSI: 000000000003ffff RDI: 0000000000040000 RBP: dffffc0000000000 R08: ffffffff81585822 R09: fffffbfff1c39994 R10: dffffc0000000000 R11: fffffbfff1c39994 R12: 1ffff1100a47e808 R13: 1ffff1100a47e80e R14: ffff8880523f4070 R15: ffff8880523f4041 FS: 00007fd56170c6c0(0000) GS:ffff8880b9400000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fe35c8e66e4 CR3: 000000006afd2000 CR4: 0000000000350ef0 Call Trace: bch2_btree_root_read+0x8b2/0x970 fs/bcachefs/btree_io.c:1793 read_btree_roots+0x22d/0x7b0 fs/bcachefs/recovery.c:475 bch2_fs_recovery+0x2346/0x3720 fs/bcachefs/recovery.c:803 bch2_fs_start+0x356/0x5b0 fs/bcachefs/super.c:1035 bch2_fs_open+0xa8d/0xdf0 fs/bcachefs/super.c:2127 bch2_mount+0x6b0/0x13a0 fs/bcachefs/fs.c:1919 legacy_get_tree+0xf0/0x190 fs/fs_context.c:662 vfs_get_tree+0x92/0x2a0 fs/super.c:1780 do_new_mount+0x2be/0xb40 fs/namespace.c:3352 do_mount fs/namespace.c:3692 [inline] __do_sys_mount fs/namespace.c:3898 [inline] __se_sys_mount+0x2d9/0x3c0 fs/namespace.c:3875 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fd560a7e62a Code: d8 64 89 02 48 c7 c0 ff ff ff ff eb a6 e8 de 09 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 b0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fd56170bef8 EFLAGS: 00000202 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007fd56170bf80 RCX: 00007fd560a7e62a RDX: 000000002001f540 RSI: 0000000020005dc0 RDI: 00007fd56170bf40 RBP: 000000002001f540 R08: 00007fd56170bf80 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000202 R12: 0000000020005dc0 R13: 00007fd56170bf40 R14: 0000000000005d5e R15: 0000000020005f80