INFO: task bch-reclaim/loo:5978 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:20520 pid:5978  tgid:5978  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 ksoftirqd/1/23:
 #0: ffff888136639f98 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x2a/0x140
1 lock held by khungtaskd/34:
 #0: ffffffff8e139ee0 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x2e/0x180
2 locks held by getty/5676:
 #0: ffff8880228330a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70
 #1: 
ffffc900029062f0 (
&ldata->atomic_read_lock
){+.+.}-{4:4}, at: n_tty_read+0x43e/0x1400
6 locks held by syz-executor/5846:
 #0: 
ffff8880384220e0
 (
&type->s_umount_key
#52
){++++}-{4:4}, at: deactivate_super+0xa9/0xe0
 #1: ffff888036200278 (&c->state_lock){++++}-{4:4}, at: __bch2_fs_stop+0xf8/0x900
 #2: ffff88803624af68 (&j->reclaim_lock){+.+.}-{4:4}, at: journal_flush_done+0x86/0x810
 #3: ffff888036204398 (&c->btree_trans_barrier){.+.+}-{0:0}, at: __bch2_trans_get+0x7f4/0xd80
 #4: 
ffff888036204398
 (
&c->btree_trans_barrier
){.+.+}-{0:0}, at: bch2_trans_srcu_lock+0xaf/0x220
 #5: ffff888036226710 (&c->gc_lock){++++}-{4:4}, at: bch2_btree_update_start+0x542/0x1de0
3 locks held by kworker/u8:4/5884:
 #0: ffff888108b9d148 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_scheduled_works+0x9b4/0x17b0
 #1: ffffc9000335fbc0 ((work_completion)(&(&ifa->dad_work)->work)){+.+.}-{0:0}, at: process_scheduled_works+0x9ef/0x17b0
 #2: ffffffff8f538888 (rtnl_mutex){+.+.}-{4:4}, at: addrconf_dad_work+0x112/0x14b0
3 locks held by kworker/0:5/5900:
 #0: ffff88801a480d48 ((wq_completion)events){+.+.}-{0:0}, at: process_scheduled_works+0x9b4/0x17b0
 #1: ffffc900032efbc0 ((work_completion)(&data->fib_event_work)){+.+.}-{0:0}
, at: process_scheduled_works+0x9ef/0x17b0
 #2: ffff888034093240 (&data->fib_lock){+.+.}-{4:4}, at: nsim_fib_event_work+0x26b/0x3180
1 lock held by bch-reclaim/loo/5978:
 #0: ffff88803624af68 (&j->reclaim_lock){+.+.}-{4:4}, at: bch2_journal_reclaim_thread+0x16b/0x4f0
1 lock held by syz.1.319/8110:
 #0: ffff8880384220e0 (&type->s_umount_key#52){++++}-{4:4}, at: super_lock+0x2a9/0x3b0
1 lock held by syz.1.319/8111:
 #0: ffff8880384220e0 (&type->s_umount_key#52){++++}-{4:4}, at: super_lock+0x2a9/0x3b0
1 lock held by syz.1.319/8112:
 #0: ffff8880384220e0 (&type->s_umount_key#52){++++}-{4:4}, at: super_lock+0x2a9/0x3b0
3 locks held by syz-executor/9483:
 #0: ffffffff8f538888 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_newlink+0x8db/0x1c70
 #1: ffff8881258954e8 (&wg->device_update_lock){+.+.}-{4:4}, at: wg_open+0x227/0x420
 #2: ffffffff8e13f978 (rcu_state.exp_mutex){+.+.}-{4:4}, at: synchronize_rcu_expedited+0x2f6/0x730
1 lock held by syz.5.513/9520:
 #0: ffff888118f00278 (&c->state_lock){++++}-{4:4}, at: __bch2_fs_stop+0xf8/0x900
2 locks held by syz.6.514/9566:
 #0: ffff8881193700e0 (&type->s_umount_key#55/1){+.+.}-{4:4}, at: alloc_super+0x204/0x970
 #1: ffffffff8dfe1668 (wq_pool_mutex){+.+.}-{4:4}, at: __alloc_workqueue+0x9eb/0x1b70

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

NMI backtrace for cpu 1
CPU: 1 UID: 0 PID: 34 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 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 UID: 0 PID: 9579 Comm: udevadm 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
RIP: 0010:__sanitizer_cov_trace_pc+0x0/0x70
Code: 89 fb e8 23 00 00 00 48 8b 3d 64 59 fe 0b 48 89 de 5b e9 43 9d 58 00 cc cc cc 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 <f3> 0f 1e fa 48 8b 04 24 65 48 8b 0c 25 08 50 a0 92 65 8b 15 88 a4
RSP: 0018:ffffc90002ddfd60 EFLAGS: 00000282
RAX: 3f7cb2f7848dbc00 RBX: ffff888022c95b98 RCX: 3f7cb2f7848dbc00
RDX: ffff888022c95640 RSI: ffffffff8dba6cac RDI: ffffffff8be33680
RBP: 00000000000000f8 R08: ffffffff8fa38a37 R09: 1ffffffff1f47146
R10: dffffc0000000000 R11: fffffbfff1f47147 R12: dffffc0000000000
R13: 1ffff11004592b73 R14: ffffffff8b942594 R15: ffff888023314b40
FS:  00007f5d362c8c80(0000) GS:ffff8880b861b000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000557b0be19e18 CR3: 000000002b270000 CR4: 00000000000006f0
Call Trace:
 <TASK>
 __might_fault+0xa2/0x130
 __rseq_handle_notify_resume+0x12b/0x11f0
 exit_to_user_mode_loop+0xc2/0x110
 do_syscall_64+0x2bd/0x3b0
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f5d35f1a477
Code: 10 00 00 00 44 8b 54 24 e0 48 89 44 24 c0 48 8d 44 24 d0 48 89 44 24 c8 44 89 c2 4c 89 ce bf 9c ff ff ff b8 01 01 00 00 0f 05 <48> 3d 00 f0 ff ff 76 10 48 8b 15 82 69 0d 00 f7 d8 64 89 02 48 83
RSP: 002b:00007ffcbb61fca8 EFLAGS: 00000287 ORIG_RAX: 0000000000000101
RAX: 0000000000000003 RBX: 0000557b0be11910 RCX: 00007f5d35f1a477
RDX: 0000000000090800 RSI: 00007ffcbb61fcc8 RDI: 00000000ffffff9c
RBP: 00007ffcbb61fcc8 R08: 0000000000090800 R09: 00007ffcbb61fcc8
R10: 0000000000000000 R11: 0000000000000287 R12: 0000557b0be11930
R13: 0000557ad8299343 R14: 0000000000000000 R15: 0000000000000000
 </TASK>
