------------[ cut here ]------------ btree trans held srcu lock (delaying memory reclaim) for 14 seconds WARNING: CPU: 1 PID: 6239 at fs/bcachefs/btree_iter.c:3179 check_srcu_held_too_long fs/bcachefs/btree_iter.c:3177 [inline] WARNING: CPU: 1 PID: 6239 at fs/bcachefs/btree_iter.c:3179 bch2_trans_put+0xe20/0x10a0 fs/bcachefs/btree_iter.c:3434 Modules linked in: CPU: 1 UID: 0 PID: 6239 Comm: kworker/1:2H Not tainted 6.15.0-rc4-syzkaller-00291-g2a239ffbebb5 #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/29/2025 Workqueue: bcachefs_btree_io btree_node_write_work 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 ca b2 8b 48 89 d6 e8 11 6b 68 fd 90 <0f> 0b 90 90 e9 71 f8 ff ff e8 a2 0e a4 fd 90 0f 0b 90 e9 b4 f8 ff RSP: 0018:ffffc9000b4a78a0 EFLAGS: 00010246 RAX: 1b61e6a57de9f300 RBX: ffff8880679d8088 RCX: ffff88802bf11e00 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000002 RBP: 00000000ffffe2b2 R08: ffff8880b8923e93 R09: 1ffff110171247d2 R10: dffffc0000000000 R11: ffffed10171247d3 R12: ffff8880679d8045 R13: 1ffff1100cf3b011 R14: 0000000000000164 R15: 1ffff1100cf3b008 FS: 0000000000000000(0000) GS:ffff8881261ff000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055556f94f608 CR3: 0000000068916000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: btree_node_write_work+0xaed/0xc20 fs/bcachefs/btree_io.c:2107 process_one_work kernel/workqueue.c:3238 [inline] process_scheduled_works+0xadb/0x17a0 kernel/workqueue.c:3319 worker_thread+0x8a0/0xda0 kernel/workqueue.c:3400 kthread+0x70e/0x8a0 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