------------[ cut here ]------------ btree trans held srcu lock (delaying memory reclaim) for 19 seconds WARNING: CPU: 1 PID: 2601 at fs/bcachefs/btree_iter.c:2996 check_srcu_held_too_long fs/bcachefs/btree_iter.c:2996 [inline] WARNING: CPU: 1 PID: 2601 at fs/bcachefs/btree_iter.c:2996 check_srcu_held_too_long fs/bcachefs/btree_iter.c:2994 [inline] WARNING: CPU: 1 PID: 2601 at fs/bcachefs/btree_iter.c:2996 bch2_trans_put+0xcc3/0xf40 fs/bcachefs/btree_iter.c:3243 Modules linked in: CPU: 1 PID: 2601 Comm: kworker/1:1H Not tainted 6.10.0-rc5-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/2024 Workqueue: bcachefs_btree_io btree_node_write_work RIP: 0010:check_srcu_held_too_long fs/bcachefs/btree_iter.c:2996 [inline] RIP: 0010:check_srcu_held_too_long fs/bcachefs/btree_iter.c:2994 [inline] RIP: 0010:bch2_trans_put+0xcc3/0xf40 fs/bcachefs/btree_iter.c:3243 Code: 91 09 48 c7 c7 c0 39 7e 8b 48 b8 c3 f5 28 5c 8f c2 f5 28 48 29 ea 48 c1 ea 02 48 f7 e2 48 c1 ea 02 48 89 d6 e8 9e d3 60 fd 90 <0f> 0b 90 90 e9 b8 fe ff ff e8 9f b8 9e fd 90 0f 0b e8 97 b8 9e fd RSP: 0018:ffffc90009c37b10 EFLAGS: 00010286 RAX: 0000000000000000 RBX: ffff88802cafc041 RCX: ffffffff81500069 RDX: ffff88802a7e3c00 RSI: ffffffff81500076 RDI: 0000000000000001 RBP: 00000001000002d6 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000001 R12: 1ffffffff1b01e40 R13: ffff88802cafc000 R14: fffffffffffffc79 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff8880b9300000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f1c36d81198 CR3: 000000005f63c000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: btree_node_write_work+0x41b/0xa40 fs/bcachefs/btree_io.c:1890 process_one_work+0x9fb/0x1b60 kernel/workqueue.c:3231 process_scheduled_works kernel/workqueue.c:3312 [inline] worker_thread+0x6c8/0xf70 kernel/workqueue.c:3393 kthread+0x2c1/0x3a0 kernel/kthread.c:389 ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244