------------[ cut here ]------------ btree trans held srcu lock (delaying memory reclaim) for 31 seconds WARNING: CPU: 0 PID: 5095 at fs/bcachefs/btree_iter.c:2998 check_srcu_held_too_long fs/bcachefs/btree_iter.c:2996 [inline] WARNING: CPU: 0 PID: 5095 at fs/bcachefs/btree_iter.c:2998 bch2_trans_put+0xd7a/0xfb0 fs/bcachefs/btree_iter.c:3239 Modules linked in: CPU: 0 PID: 5095 Comm: syz-executor Not tainted 6.10.0-syzkaller-04472-g51835949dda3 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/2024 RIP: 0010:check_srcu_held_too_long fs/bcachefs/btree_iter.c:2996 [inline] RIP: 0010:bch2_trans_put+0xd7a/0xfb0 fs/bcachefs/btree_iter.c:3239 Code: 2b 1e 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 a0 c4 11 8c 48 89 d6 e8 67 24 47 fd 90 <0f> 0b 90 90 e9 14 f8 ff ff e8 38 0a 85 fd 90 0f 0b 90 e9 57 f8 ff RSP: 0018:ffffc900041d7948 EFLAGS: 00010246 RAX: eae364ec8e2c5700 RBX: 000000000000031c RCX: ffff8880689f1e00 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000 RBP: dffffc0000000000 R08: ffffffff815877b2 R09: fffffbfff1c39d94 R10: dffffc0000000000 R11: fffffbfff1c39d94 R12: 1ffff11004601808 R13: 1ffff1100460180e R14: ffff88802300c070 R15: ffff88802300c041 FS: 00005555881f8500(0000) GS:ffff8880b9400000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f53e50ca000 CR3: 0000000069466000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: bch2_inode_rm+0x90d/0xd40 fs/bcachefs/inode.c:915 bch2_evict_inode+0x21c/0x3c0 fs/bcachefs/fs.c:1593 evict+0x2a8/0x630 fs/inode.c:669 do_unlinkat+0x512/0x830 fs/namei.c:4493 __do_sys_unlink fs/namei.c:4534 [inline] __se_sys_unlink fs/namei.c:4532 [inline] __x64_sys_unlink+0x47/0x50 fs/namei.c:4532 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f2a7f575127 Code: 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48 83 c8 ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 b8 57 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:00007ffdf2c80708 EFLAGS: 00000206 ORIG_RAX: 0000000000000057 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f2a7f575127 RDX: 00007ffdf2c80730 RSI: 00007ffdf2c807c0 RDI: 00007ffdf2c807c0 RBP: 00007ffdf2c807c0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000100 R11: 0000000000000206 R12: 00007ffdf2c818b0 R13: 00007f2a7f5e344c R14: 0000000000017d98 R15: 0000000000017541