INFO: task syz-executor:13351 blocked for more than 143 seconds.
      Not tainted syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor    state:D stack:17800 pid:13351 tgid:13351 ppid:1      task_flags:0x400140 flags:0x00004006
Call Trace:
 <TASK>
 __schedule+0x1798/0x4cc0
 schedule+0x165/0x360
 schedule_preempt_disabled+0x13/0x30
 __mutex_lock+0x7e6/0x1350
 journal_flush_done+0x86/0x810
 bch2_journal_flush_pins+0x1b5/0x250
 __bch2_fs_read_only+0x144/0x5b0
 bch2_fs_read_only+0x42a/0xb00
 __bch2_fs_stop+0x100/0x900
 generic_shutdown_super+0x135/0x2c0
 bch2_kill_sb+0x41/0x50
 deactivate_locked_super+0xbc/0x130
 cleanup_mnt+0x425/0x4c0
 task_work_run+0x1d4/0x260
 exit_to_user_mode_loop+0xec/0x110
 do_syscall_64+0x2bd/0x3b0
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f6500f8ff17
RSP: 002b:00007ffc35acc528 EFLAGS: 00000246 ORIG_RAX: 00000000000000a6
RAX: 0000000000000000 RBX: 00007f6501011c05 RCX: 00007f6500f8ff17
RDX: 0000000000000000 RSI: 0000000000000009 RDI: 00007ffc35acc5e0
RBP: 00007ffc35acc5e0 R08: 0000000000000000 R09: 0000000000000000
R10: 00000000ffffffff R11: 0000000000000246 R12: 00007ffc35acd670
R13: 00007f6501011c05 R14: 000000000007906a R15: 00007ffc35acd6b0
 </TASK>

Showing all locks held in the system:
4 locks held by kworker/u9:0/26:
 #0: ffff888030659148 ((wq_completion)btree_update){+.+.}-{0:0}, at: process_scheduled_works+0x9b4/0x17b0
 #1: ffffc900001efbc0 ((work_completion)(&c->btree_interior_update_work)){+.+.}-{0:0}, at: process_scheduled_works+0x9ef/0x17b0
 #2: ffff888114684398 (&c->btree_trans_barrier){.+.+}-{0:0}, at: bch2_trans_srcu_lock+0xaf/0x220
 #3: ffff8881146a6710 (&c->gc_lock){++++}-{4:4}, at: bch2_btree_update_start+0x542/0x1de0
1 lock held by rcu_tasks_trace/32:
 #0: ffffffff8e13ac50 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{4:4}, at: rcu_tasks_one_gp+0xaf9/0xdf0
1 lock held by khungtaskd/34:
 #0: ffffffff8e139f20 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x2e/0x180
2 locks held by getty/5668:
 #0: ffff88811025d0a0 (&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
2 locks held by kworker/u8:2/5861:
 #0: ffff88804b039f98 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x2a/0x140
 #1: ffff88804b024008 (psi_seq){-.-.}-{0:0}, at: psi_task_switch+0x53/0x880
3 locks held by syz-executor/13351:
 #0: ffff888134c620e0 (&type->s_umount_key#50){++++}-{4:4}, at: deactivate_super+0xa9/0xe0
 #1: ffff888114680278 (&c->state_lock){++++}-{4:4}, at: __bch2_fs_stop+0xf8/0x900
 #2: ffff8881146caf68 (&j->reclaim_lock){+.+.}-{4:4}, at: journal_flush_done+0x86/0x810
4 locks held by bch-reclaim/loo/14175:
 #0: ffff8881146caf68 (&j->reclaim_lock){+.+.}-{4:4}, at: bch2_journal_reclaim_thread+0x16b/0x4f0
 #1: ffff888114684398 (&c->btree_trans_barrier){.+.+}-{0:0}, at: __bch2_trans_get+0x7f4/0xd80
 #2: ffff888114684398 (&c->btree_trans_barrier){.+.+}-{0:0}, at: bch2_trans_srcu_lock+0xaf/0x220
 #3: ffff8881146a6710 (&c->gc_lock){++++}-{4:4}, at: bch2_btree_update_start+0x542/0x1de0

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

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: 15026 Comm: kworker/0:0H 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:  0x0 (events_highpri)
RIP: 0010:wq_worker_running+0x9c/0x200
Code: 37 01 00 00 41 8b 2f 89 ee 81 e6 c8 01 00 00 31 ff e8 88 bf 35 00 81 e5 c8 01 00 00 74 11 e8 3b bb 35 00 eb 47 e8 34 bb 35 00 <e9> cf 00 00 00 e8 2a bb 35 00 4d 8d 7e 58 4c 89 f8 48 c1 e8 03 42
RSP: 0018:ffffc90004037c48 EFLAGS: 00000293
RAX: ffffffff8189f05c RBX: 1ffff11007cfe5e6 RCX: ffff888022b69cc0
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: 0000000000000000 R08: ffffffff8fa38a37 R09: 1ffffffff1f47146
R10: dffffc0000000000 R11: fffffbfff1f47147 R12: dffffc0000000000
R13: ffff88803e7f2f34 R14: ffff88803e7f2f00 R15: ffff88803e7f2f00
FS:  0000000000000000(0000) GS:ffff8880b861b000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000200000449000 CR3: 000000003b3d2000 CR4: 00000000000006f0
Call Trace:
 <TASK>
 worker_thread+0xa82/0xda0
 kthread+0x711/0x8a0
 ret_from_fork+0x3fc/0x770
 ret_from_fork_asm+0x1a/0x30
 </TASK>
