bcachefs (loop4): recovering from clean shutdown, journal seq 8 ------------[ cut here ]------------ btree trans held srcu lock (delaying memory reclaim) for 37 seconds WARNING: CPU: 0 PID: 5614 at fs/bcachefs/btree_iter.c:2998 check_srcu_held_too_long fs/bcachefs/btree_iter.c:2996 [inline] WARNING: CPU: 0 PID: 5614 at fs/bcachefs/btree_iter.c:2998 bch2_trans_put+0xdd0/0x1030 fs/bcachefs/btree_iter.c:3243 Modules linked in: CPU: 0 PID: 5614 Comm: syz-executor.4 Not tainted 6.10.0-rc3-syzkaller-00044-g2ccbdf43d5e7 #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 e0 8e 11 8c 48 89 d6 e8 11 1c 44 fd 90 <0f> 0b 90 90 e9 e2 f7 ff ff e8 72 ed 81 fd 90 0f 0b 90 e9 25 f8 ff RSP: 0018:ffffc90002d36fa8 EFLAGS: 00010246 RAX: ffe797314e8b1e00 RBX: 00000000000003a9 RCX: 0000000000040000 RDX: ffffc9000ae36000 RSI: 000000000003ffff RDI: 0000000000040000 RBP: dffffc0000000000 R08: ffffffff81585822 R09: 1ffff110172a519a R10: dffffc0000000000 R11: ffffed10172a519b R12: 1ffff11003cb2808 R13: 1ffff11003cb280e R14: ffff88801e594070 R15: ffff88801e594041 FS: 00007f03b25ff6c0(0000) GS:ffff8880b9400000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00005555855f98f8 CR3: 00000000111d0000 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:0x7f03b2a7e5aa 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:00007f03b25feef8 EFLAGS: 00000202 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007f03b25fef80 RCX: 00007f03b2a7e5aa RDX: 0000000020000080 RSI: 0000000020000040 RDI: 00007f03b25fef40 RBP: 0000000020000080 R08: 00007f03b25fef80 R09: 0000000000000010 R10: 0000000000000010 R11: 0000000000000202 R12: 0000000020000040 R13: 00007f03b25fef40 R14: 0000000000005b1c R15: 00000000200000c0