INFO: task bch-reclaim/loo:8360 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:22568 pid:8360  tgid:8360  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:
5 locks held by kworker/u8:1/13:
4 locks held by kworker/u10:0/27:
 #0: ffff888030c9d148 ((wq_completion)btree_update){+.+.}-{0:0}, at: process_scheduled_works+0x9b4/0x17b0
 #1: ffffc9000060fbc0 ((work_completion)(&c->btree_interior_update_work)){+.+.}-{0:0}, at: process_scheduled_works+0x9ef/0x17b0
 #2: ffff88803cd04398 (&c->btree_trans_barrier){.+.+}-{0:0}, at: bch2_trans_srcu_lock+0xaf/0x220
 #3: ffff88803cd26710 (&c->gc_lock){++++}-{4:4}, at: bch2_btree_update_start+0x542/0x1de0
1 lock held by khungtaskd/34:
 #0: ffffffff8e139ee0 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x2e/0x180
2 locks held by kworker/u10:4/3957:
 #0: ffff88801f222148 ((wq_completion)iou_exit){+.+.}-{0:0}, at: process_scheduled_works+0x9b4/0x17b0
 #1: ffffc900063afbc0 ((work_completion)(&ctx->exit_work)){+.+.}-{0:0}, at: process_scheduled_works+0x9ef/0x17b0
2 locks held by getty/5681:
 #0: ffff8880227830a0 (&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/7749:
 #0: ffff8880341900e0 (&type->s_umount_key#81){++++}-{4:4}, at: deactivate_super+0xa9/0xe0
 #1: ffff88803cd00278 (&c->state_lock){++++}-{4:4}, at: __bch2_fs_stop+0xf8/0x900
 #2: ffff88803cd4af68 (&j->reclaim_lock){+.+.}-{4:4}, at: journal_flush_done+0x86/0x810
 #3: ffff88803cd04398 (&c->btree_trans_barrier){.+.+}-{0:0}, at: __bch2_trans_get+0x7f4/0xd80
 #4: ffff88803cd04740 (&wb->flushing.lock){+.+.}-{4:4}, at: btree_write_buffer_flush_seq+0x18bd/0x1a40
 #5: ffff88803cd26710 (&c->gc_lock){++++}-{4:4}, at: bch2_btree_update_start+0x542/0x1de0
1 lock held by bch-reclaim/loo/8360:
 #0: ffff88803cd4af68 (&j->reclaim_lock){+.+.}-{4:4}, at: bch2_journal_reclaim_thread+0x16b/0x4f0
1 lock held by syz.3.421/8987:
 #0: ffff8880341900e0 (&type->s_umount_key#81){++++}-{4:4}, at: super_lock+0x2a9/0x3b0
1 lock held by syz.9.551/10111:
 #0: ffff8880341900e0 (&type->s_umount_key#81){++++}-{4:4}, at: super_lock+0x2a9/0x3b0
1 lock held by syz.1.731/11247:
 #0: ffff8880341900e0 (&type->s_umount_key#81){++++}-{4:4}, at: super_lock+0x2a9/0x3b0
2 locks held by syz-executor/11413:
 #0: ffffffff8f52b9f0 (pernet_ops_rwsem){++++}-{4:4}, at: copy_net_ns+0x304/0x4d0
 #1: ffffffff8f538888 (rtnl_mutex){+.+.}-{4:4}, at: register_netdev+0x18/0x60
4 locks held by syz.4.756/11437:

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

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: 11437 Comm: syz.4.756 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:native_apic_msr_write+0x39/0x50
Code: 74 2a 83 ff 30 74 25 eb 10 81 ff d0 00 00 00 74 1b 81 ff e0 00 00 00 74 13 c1 ef 04 81 c7 00 08 00 00 89 f9 89 f0 31 d2 0f 30 <66> 90 c3 cc cc cc cc cc f3 0f 1e fa 89 f6 31 d2 e9 52 9d 8e 03 66
RSP: 0018:ffffc90000007e50 EFLAGS: 00000046
RAX: 00000000000556d3 RBX: ffff88804b023900 RCX: 0000000000000838
RDX: 0000000000000000 RSI: 00000000000556d3 RDI: 0000000000000838
RBP: 0000000000000000 R08: 0000000000000000 R09: ffffffff81ae022e
R10: 0000000000000003 R11: ffffffff81703490 R12: 0000000010004824
R13: dffffc0000000000 R14: 00000000000556d3 R15: 0000000000000020
FS:  00007f42d1e426c0(0000) GS:ffff8880b861b000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f42d0f733e0 CR3: 0000000034596000 CR4: 00000000000006f0
Call Trace:
 <IRQ>
 lapic_next_event+0x11/0x20
 clockevents_program_event+0x1cf/0x360
 hrtimer_interrupt+0x620/0xaa0
 __sysvec_apic_timer_interrupt+0x10b/0x410
 sysvec_apic_timer_interrupt+0xa1/0xc0
 </IRQ>
 <TASK>
 asm_sysvec_apic_timer_interrupt+0x1a/0x20
RIP: 0010:vprintk_emit+0x58f/0x7a0
Code: 85 32 01 00 00 e8 11 87 1f 00 41 89 df 4d 85 f6 48 8b 1c 24 75 07 e8 00 87 1f 00 eb 06 e8 f9 86 1f 00 fb 48 c7 c7 80 e1 12 8e <31> f6 ba 01 00 00 00 31 c9 41 b8 01 00 00 00 45 31 c9 53 e8 b9 35
RSP: 0018:ffffc9000613f680 EFLAGS: 00000283
RAX: ffffffff81a02497 RBX: ffffffff81a02354 RCX: 0000000000080000
RDX: ffffc90003351000 RSI: 000000000000440f RDI: ffffffff8e12e180
RBP: ffffc9000613f790 R08: ffffffff8fa38a37 R09: 1ffffffff1f47146
R10: dffffc0000000000 R11: fffffbfff1f47147 R12: dffffc0000000000
R13: 1ffff92000c27ed4 R14: 0000000000000200 R15: 0000000000000056
 _printk+0xcf/0x120
 __ext4_msg+0x293/0x2a0
 ext4_check_journal_data_mode+0x248/0x3d0
 ext4_fill_super+0x2807/0x6090
 get_tree_bdev_flags+0x40e/0x4d0
 vfs_get_tree+0x92/0x2b0
 do_new_mount+0x2a2/0x9e0
 __se_sys_mount+0x317/0x410
 do_syscall_64+0xfa/0x3b0
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f42d0f9038a
Code: d8 64 89 02 48 c7 c0 ff ff ff ff eb a6 e8 de 1a 00 00 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 49 89 ca b8 a5 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:00007f42d1e41e68 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5
RAX: ffffffffffffffda RBX: 00007f42d1e41ef0 RCX: 00007f42d0f9038a
RDX: 0000200000000040 RSI: 0000200000000200 RDI: 00007f42d1e41eb0
RBP: 0000200000000040 R08: 00007f42d1e41ef0 R09: 000000000000408e
R10: 000000000000408e R11: 0000000000000246 R12: 0000200000000200
R13: 00007f42d1e41eb0 R14: 000000000000043a R15: 00002000000000c0
 </TASK>
