------------[ cut here ]------------ btree trans held srcu lock (delaying memory reclaim) for 25 seconds WARNING: CPU: 0 PID: 6083 at fs/bcachefs/btree_iter.c:3232 check_srcu_held_too_long fs/bcachefs/btree_iter.c:3230 [inline] WARNING: CPU: 0 PID: 6083 at fs/bcachefs/btree_iter.c:3232 bch2_trans_srcu_unlock+0x50d/0x620 fs/bcachefs/btree_iter.c:3246 Modules linked in: CPU: 0 UID: 0 PID: 6083 Comm: syz.1.35 Not tainted 6.16.0-rc1-syzkaller-00239-g08215f5486ec #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 RIP: 0010:check_srcu_held_too_long fs/bcachefs/btree_iter.c:3230 [inline] RIP: 0010:bch2_trans_srcu_unlock+0x50d/0x620 fs/bcachefs/btree_iter.c:3246 Code: 7d 00 49 c1 ef 02 48 b9 c3 f5 28 5c 8f c2 f5 28 4c 89 f8 48 f7 e1 48 c1 ea 02 48 c7 c7 c0 42 d3 8b 48 89 d6 e8 b4 ec 61 fd 90 <0f> 0b 90 90 e9 a6 fe ff ff 44 89 e1 80 e1 07 38 c1 0f 8c 1c fb ff RSP: 0018:ffffc90004de6a58 EFLAGS: 00010246 RAX: a646085ca445e900 RBX: 1ffff1100b066008 RCX: ffff8880350d8000 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000002 RBP: 1ffff1100b066011 R08: ffffffff8f9fe2f7 R09: 1ffffffff1f3fc5e R10: dffffc0000000000 R11: fffffbfff1f3fc5f R12: ffff888058330042 R13: ffff888058330088 R14: 1ffff1100b066008 R15: 0000000000000278 FS: 00007f382773b6c0(0000) GS:ffff888125c85000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f4fb83b2060 CR3: 000000002962e000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: bch2_trans_begin+0x1a0d/0x1fc0 fs/bcachefs/btree_iter.c:3322 bch2_trans_mark_metadata_bucket+0x1b7/0x1260 fs/bcachefs/buckets.c:1091 bch2_trans_mark_metadata_sectors fs/bcachefs/buckets.c:1108 [inline] __bch2_trans_mark_dev_sb fs/bcachefs/buckets.c:1148 [inline] bch2_trans_mark_dev_sb+0x3ed/0x7c0 fs/bcachefs/buckets.c:1176 bch2_trans_mark_dev_sbs_flags+0x49c/0x500 fs/bcachefs/buckets.c:1186 bch2_fs_initialize+0xd42/0x1550 fs/bcachefs/recovery.c:1208 bch2_fs_start+0xa88/0xd90 fs/bcachefs/super.c:1204 bch2_fs_get_tree+0xb02/0x14f0 fs/bcachefs/fs.c:2489 vfs_get_tree+0x92/0x2b0 fs/super.c:1802 do_new_mount+0x24a/0xa40 fs/namespace.c:3885 do_mount fs/namespace.c:4222 [inline] __do_sys_mount fs/namespace.c:4433 [inline] __se_sys_mount+0x317/0x410 fs/namespace.c:4410