------------[ cut here ]------------ btree trans held srcu lock (delaying memory reclaim) for 10 seconds WARNING: CPU: 1 PID: 25 at fs/bcachefs/btree_iter.c:3176 check_srcu_held_too_long fs/bcachefs/btree_iter.c:3174 [inline] WARNING: CPU: 1 PID: 25 at fs/bcachefs/btree_iter.c:3176 bch2_trans_put+0xe4b/0x1030 fs/bcachefs/btree_iter.c:3431 Modules linked in: CPU: 1 UID: 0 PID: 25 Comm: kworker/1:0H Not tainted 6.14.0-syzkaller-13524-gf4d2ef48250a #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025 Workqueue: bcachefs_btree_io btree_node_write_work RIP: 0010:check_srcu_held_too_long fs/bcachefs/btree_iter.c:3174 [inline] RIP: 0010:bch2_trans_put+0xe4b/0x1030 fs/bcachefs/btree_iter.c:3431 Code: 1c 24 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 c4 92 8c 48 89 d6 e8 26 7b 2a fd 90 <0f> 0b 90 90 e9 57 f8 ff ff e8 67 5b 6b fd 90 0f 0b 90 e9 9a f8 ff RSP: 0018:ffffc900001f78b0 EFLAGS: 00010246 RAX: 4e9768a88e85ce00 RBX: 0000000000000109 RCX: ffff88801d6e1e00 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000 RBP: 00000000ffffd9df R08: ffffffff818268d2 R09: 1ffffffff20bd6ce R10: dffffc0000000000 R11: fffffbfff20bd6cf R12: ffff8880324c0088 R13: 1ffff11006498011 R14: ffff8880324c0042 R15: 1ffff11006498008 FS: 0000000000000000(0000) GS:ffff8881250c9000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f3994fffc00 CR3: 0000000012538000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: btree_node_write_work+0xb8c/0xcc0 fs/bcachefs/btree_io.c:2107 process_one_work kernel/workqueue.c:3238 [inline] process_scheduled_works+0xac3/0x18e0 kernel/workqueue.c:3319 worker_thread+0x870/0xd50 kernel/workqueue.c:3400 kthread+0x7b7/0x940 kernel/kthread.c:464 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:153 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245