INFO: task bch-reclaim/loo:9255 blocked for more than 143 seconds.
      Not tainted syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:bch-reclaim/loo state:D stack:16824 pid:9255  tgid:9255  ppid:2      task_flags:0x200040 flags:0x00004000
Call Trace:
 <TASK>
 __schedule+0x1798/0x4cc0
 schedule+0x165/0x360
 schedule_preempt_disabled+0x13/0x30
 __mutex_lock+0x7e6/0x1350
 bch2_journal_reclaim_thread+0x16b/0x4f0
 kthread+0x711/0x8a0
 ret_from_fork+0x3fc/0x770
 ret_from_fork_asm+0x1a/0x30
 </TASK>

Showing all locks held in the system:
1 lock held by khungtaskd/35:
 #0: ffffffff8e139f20 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x2e/0x180
13 locks held by kworker/1:2/1272:
2 locks held by getty/5677:
 #0: ffff88810f91e0a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70
 #1: ffffc900029032f0 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0x43e/0x1400
4 locks held by kworker/1:2H/6088:
 #0: ffff8881099ddd48 ((wq_completion)bcachefs_btree_write_complete#2){+.+.}-{0:0}, at: process_scheduled_works+0x9b4/0x17b0
 #1: ffffc900046afbc0 ((work_completion)(&wb->work)){+.+.}-{0:0}, at: process_scheduled_works+0x9ef/0x17b0
 #2: ffff88803df84398 (
&c->btree_trans_barrier){.+.+}-{0:0}, at: bch2_trans_srcu_lock+0xaf/0x220
 #3: ffff88803dfa6710 (&c->gc_lock){++++}-{4:4}, at: bch2_btree_update_start+0x542/0x1de0
6 locks held by syz-executor/8898:
 #0: ffff888026e660e0 (&type->s_umount_key#63){++++}-{4:4}, at: deactivate_super+0xa9/0xe0
 #1: ffff88803df80278 (&c->state_lock){++++}-{4:4}, at: __bch2_fs_stop+0xf8/0x900
 #2: ffff88803dfcaf68 (&j->reclaim_lock){+.+.}-{4:4}, at: journal_flush_done+0x86/0x810
 #3: ffff88803df84398 (&c->btree_trans_barrier){.+.+}-{0:0}, at: __bch2_trans_get+0x7f4/0xd80
 #4: ffff88803df84740 (&wb->flushing.lock){+.+.}-{4:4}, at: btree_write_buffer_flush_seq+0x18bd/0x1a40
 #5: ffff88803dfa6710 (&c->gc_lock){++++}-{4:4}, at: bch2_btree_update_start+0x542/0x1de0
1 lock held by bch-reclaim/loo/9255:
 #0: ffff88803dfcaf68 (&j->reclaim_lock){+.+.}-{4:4}, at: bch2_journal_reclaim_thread+0x16b/0x4f0
3 locks held by syz.9.868/12421:
2 locks held by syz.5.874/12447:

=============================================

NMI backtrace for cpu 0
CPU: 0 UID: 0 PID: 35 Comm: khungtaskd Not tainted syzkaller #0 PREEMPT(full) 
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.2-debian-1.16.2-1 04/01/2014
Call Trace:
 <TASK>
 dump_stack_lvl+0x189/0x250
 nmi_cpu_backtrace+0x39e/0x3d0
 nmi_trigger_cpumask_backtrace+0x17a/0x300
 watchdog+0xf93/0xfe0
 kthread+0x711/0x8a0
 ret_from_fork+0x3fc/0x770
 ret_from_fork_asm+0x1a/0x30
 </TASK>
Sending NMI from CPU 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 UID: 0 PID: 5880 Comm: kworker/u8:4 Not tainted syzkaller #0 PREEMPT(full) 
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.2-debian-1.16.2-1 04/01/2014
Workqueue: bat_events batadv_nc_worker
RIP: 0010:check_preemption_disabled+0x35/0x120
Code: 48 8b 05 be 9e 26 07 48 89 44 24 08 65 8b 05 c6 9e 26 07 65 8b 0d bb 9e 26 07 f7 c1 ff ff ff 7f 74 23 65 48 8b 0d 9b 9e 26 07 <48> 3b 4c 24 08 0f 85 cc 00 00 00 48 83 c4 10 5b 41 5e 41 5f 5d e9
RSP: 0018:ffffc9000377f8f0 EFLAGS: 00000202
RAX: 0000000000000001 RBX: ffffffff8b47c7a0 RCX: 6e58ad3972bfc500
RDX: 0000000000000000 RSI: ffffffff8be33860 RDI: ffffffff8be33820
RBP: 0000000000000001 R08: 0000000000000000 R09: ffffffff8b47c4aa
R10: dffffc0000000000 R11: fffffbfff1f47207 R12: dffffc0000000000
R13: ffffffff8b47c4aa R14: ffffffff8e139f20 R15: ffff88802c680d80
FS:  0000000000000000(0000) GS:ffff8881a3c18000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f24ebbff000 CR3: 000000003a5b0000 CR4: 00000000000006f0
Call Trace:
 <TASK>
 rcu_is_watching+0x15/0xb0
 lock_release+0x4b/0x3e0
 batadv_nc_process_nc_paths+0x2f9/0x3a0
 batadv_nc_worker+0x429/0x610
 process_scheduled_works+0xae1/0x17b0
 worker_thread+0x8a0/0xda0
 kthread+0x711/0x8a0
 ret_from_fork+0x3fc/0x770
 ret_from_fork_asm+0x1a/0x30
 </TASK>
