bcachefs (loop2): btree_node_read_work: rewriting btree node at due to error btree=alloc level=0 u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq ac62141f8dc7e261 written 24 min_key POS_MIN durability: 1 ptr: 0:26:0 gen 0 ------------[ cut here ]------------ btree trans held srcu lock (delaying memory reclaim) for 21 seconds WARNING: CPU: 0 PID: 7082 at fs/bcachefs/btree_iter.c:3179 check_srcu_held_too_long fs/bcachefs/btree_iter.c:3177 [inline] WARNING: CPU: 0 PID: 7082 at fs/bcachefs/btree_iter.c:3179 bch2_trans_put+0xe20/0x10a0 fs/bcachefs/btree_iter.c:3434 Modules linked in: CPU: 0 UID: 0 PID: 7082 Comm: syz.2.302 Not tainted 6.15.0-rc3-syzkaller-00283-gf1a3944c860b #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/19/2025 RIP: 0010:check_srcu_held_too_long fs/bcachefs/btree_iter.c:3177 [inline] RIP: 0010:bch2_trans_put+0xe20/0x10a0 fs/bcachefs/btree_iter.c:3434 Code: 2b 33 49 c1 ee 02 48 b9 c3 f5 28 5c 8f c2 f5 28 4c 89 f0 48 f7 e1 48 c1 ea 02 48 c7 c7 20 dc b2 8b 48 89 d6 e8 31 6b 66 fd 90 <0f> 0b 90 90 e9 71 f8 ff ff e8 42 0d a2 fd 90 0f 0b 90 e9 b4 f8 ff RSP: 0018:ffffc900043c7140 EFLAGS: 00010246 RAX: 38824d41ee7c2200 RBX: ffff8880488a0088 RCX: 0000000000080000 RDX: ffffc9000caf4000 RSI: 000000000007ffff RDI: 0000000000080000 RBP: 00000000fffff739 R08: ffff8880b8823e93 R09: 1ffff110171047d2 R10: dffffc0000000000 R11: ffffed10171047d3 R12: ffff8880488a0045 R13: 1ffff11009114011 R14: 000000000000021f R15: 1ffff11009114008 FS: 00007efd812de6c0(0000) GS:ffff8881260cc000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f5fc8be63b0 CR3: 000000007a9c0000 CR4: 0000000000350ef0 Call Trace: bch2_btree_root_read+0x6a0/0x750 fs/bcachefs/btree_io.c:1819 read_btree_roots+0x2cb/0x800 fs/bcachefs/recovery.c:582 bch2_fs_recovery+0x2356/0x37b0 fs/bcachefs/recovery.c:929 bch2_fs_start+0x70b/0xae0 fs/bcachefs/super.c:1083 bch2_fs_get_tree+0xd99/0x1340 fs/bcachefs/fs.c:2570 vfs_get_tree+0x92/0x2b0 fs/super.c:1759 do_new_mount+0x24a/0xa40 fs/namespace.c:3884 do_mount fs/namespace.c:4224 [inline] __do_sys_mount fs/namespace.c:4435 [inline] __se_sys_mount+0x317/0x410 fs/namespace.c:4412 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xf6/0x210 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7efd8039010a 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:00007efd812dde68 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007efd812ddef0 RCX: 00007efd8039010a RDX: 00002000000058c0 RSI: 0000200000005900 RDI: 00007efd812ddeb0 RBP: 00002000000058c0 R08: 00007efd812ddef0 R09: 0000000001000000 R10: 0000000001000000 R11: 0000000000000246 R12: 0000200000005900 R13: 00007efd812ddeb0 R14: 000000000000595a R15: 0000200000000240