[15157.779941] run fstests btrfs/192 at 2022-04-03 01:15:04
[15158.207988] BTRFS: device fsid 383d0e47-65f1-462b-9c56-7920c85c0f07 devid 1 transid 6 /dev/mapper/logwrites-test scanned by mkfs.btrfs (3421077)
[15189.514995] BUG: sleeping function called from invalid context at block/blk-sysfs.c:766
[15189.515595] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 3421918, name: replay-log
[15189.516112] preempt_count: 100, expected: 0
[15189.516365] RCU nest depth: 1, expected: 0
[15189.516616] INFO: lockdep is turned off.
[15189.516852] Preemption disabled at:
[15189.516853] [] __do_softirq+0x5e/0x517
[15189.517706] CPU: 1 PID: 3421918 Comm: replay-log Tainted: G W 5.17.0+ #640
[15189.518316] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.13.0-2.fc32 04/01/2014
[15189.518820] Call Trace:
[15189.518973]
[15189.519100] dump_stack_lvl+0x56/0x6f
[15189.519325] __might_resched.cold+0xff/0x13a
[15189.519587] blk_release_queue+0x24/0x120
[15189.519831] kobject_put+0x7c/0x1d0
[15189.520044] ? rcu_do_batch+0x1ac/0x570
[15189.520277] blkg_free.part.0+0x41/0x60
[15189.520512] rcu_do_batch+0x1e1/0x570
[15189.520734] ? rcu_do_batch+0x1ac/0x570
[15189.520969] rcu_core+0x2cb/0x460
[15189.521173] __do_softirq+0x178/0x517
[15189.521400] __irq_exit_rcu+0xe3/0x160
[15189.521632] irq_exit_rcu+0xa/0x20
[15189.521839] sysvec_call_function_single+0xa2/0xd0
[15189.522127]
[15189.522258]
[15189.522390] asm_sysvec_call_function_single+0x12/0x20
[15189.522701] RIP: 0010:__rcu_read_unlock+0x9/0x1b0
[15189.522986] Code: 00 0f 1f 44 00 00 55 48 8b 6f f8 e8 81 b5 ff ff 48 89 ef 5d e9 88 f2 ff ff 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 41 56 41 55 <41> 54 55 65 48 8b 2c 25 c0 fe 01 00 53 83 ad f4 07 00 00 01 75 0a
[15189.524086] RSP: 0018:ffffa8c185fb7ad0 EFLAGS: 00000202
[15189.524401] RAX: 0000000000000001 RBX: ffff9da1515035c0 RCX: 0000000000000000
[15189.524824] RDX: ffffffffab760771 RSI: ffffffffac87e4d9 RDI: ffffffffac83354b
[15189.525275] RBP: ffff9da1515035c0 R08: 0000000000000000 R09: 0000000000000000
[15189.525702] R10: ffff9da10f886600 R11: ffff9da10f886658 R12: ffff9da104c00000
[15189.526121] R13: ffff9da151503500 R14: 0000000000000800 R15: ffff9da141bc92a0
[15189.526547] ? bio_associate_blkg_from_css+0x1f1/0x740
[15189.526858] bio_associate_blkg+0x6b/0x1a0
[15189.527107] linear_map+0x3e/0x80
[15189.527311] __map_bio+0x5f/0x1a0
[15189.527517] dm_submit_bio+0x200/0x630
[15189.527745] __submit_bio+0x50/0x180
[15189.527964] submit_bio_noacct_nocheck+0xba/0x280
[15189.528246] submit_bh_wbc+0x117/0x140
[15189.528477] __block_write_full_page+0x236/0x550
[15189.528757] ? bh_uptodate_or_lock+0xa0/0xa0
[15189.529016] ? blkdev_llseek+0x60/0x60
[15189.529244] __writepage+0x17/0x70
[15189.529542] write_cache_pages+0x17d/0x560
[15189.529789] ? writeout_period+0x80/0x80
[15189.530027] generic_writepages+0x41/0x60
[15189.530268] do_writepages+0xbf/0x1b0
[15189.530494] ? rcu_read_lock_sched_held+0x12/0x60
[15189.530776] ? lock_release+0x1ed/0x2c0
[15189.531007] ? lock_release+0x1ed/0x2c0
[15189.531238] ? _raw_spin_unlock+0x29/0x40
[15189.531482] filemap_fdatawrite_wbc+0x62/0x90
[15189.531745] file_write_and_wait_range+0x78/0xc0
[15189.532022] blkdev_fsync+0x14/0x40
[15189.532235] __x64_sys_fsync+0x34/0x60
[15189.532471] do_syscall_64+0x38/0x90
[15189.532689] entry_SYSCALL_64_after_hwframe+0x44/0xae
[15189.532988] RIP: 0033:0x7f8bbbbd4307
[15189.533206] Code: 64 89 01 48 83 c8 ff c3 66 2e 0f 1f 84 00 00 00 00 00 90 f3 0f 1e fa 64 8b 04 25 18 00 00 00 85 c0 75 10 b8 4a 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 41 c3 48 83 ec 18 89 7c 24 0c e8 23 dc f8 ff
[15189.534285] RSP: 002b:00007ffc982af6b8 EFLAGS: 00000246 ORIG_RAX: 000000000000004a
[15189.534731] RAX: ffffffffffffffda RBX: 000000000044e320 RCX: 00007f8bbbbd4307
[15189.535148] RDX: fffffffffffff000 RSI: 000000000044e2e0 RDI: 0000000000000004
[15189.535572] RBP: 000000000044e2e0 R08: 000000000044e580 R09: 00007f8bbbc9fa60
[15189.535989] R10: 00007f8bbbae6a20 R11: 0000000000000246 R12: 0000000000000000
[15189.536410] R13: 0000000000000000 R14: 000000000044e370 R15: 0000000000000000
[15189.536829]