[31939.000810] run fstests btrfs/192 at 2022-04-04 05:43:12
[31939.439146] BTRFS: device fsid 0c1f3b83-2d40-4ced-9348-6d34be2b3041 devid 1 transid 6 /dev/mapper/logwrites-test scanned by mkfs.btrfs (3163859)
[31939.448393] BTRFS info (device dm-11): using free space tree
[31939.448750] BTRFS info (device dm-11): has skinny extents
[31939.450478] BTRFS info (device dm-11): checking UUID tree
[31970.813901] BUG: sleeping function called from invalid context at block/blk-sysfs.c:766
[31970.814394] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 3164700, name: replay-log
[31970.814906] preempt_count: 101, expected: 0
[31970.815160] RCU nest depth: 1, expected: 0
[31970.815405] INFO: lockdep is turned off.
[31970.815640] Preemption disabled at:
[31970.815641] [<0000000000000000>] 0x0
[31970.816092] CPU: 0 PID: 3164700 Comm: replay-log Tainted: G        W         5.17.0+ #641
[31970.816571] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.13.0-2.fc32 04/01/2014
[31970.817068] Call Trace:
[31970.817221]  
[31970.817349]  dump_stack_lvl+0x56/0x6f
[31970.817575]  __might_resched.cold+0xff/0x13a
[31970.817829]  blk_release_queue+0x24/0x120
[31970.818187]  kobject_put+0x7c/0x1d0
[31970.818401]  ? rcu_do_batch+0x1ac/0x570
[31970.818631]  blkg_free.part.0+0x41/0x60
[31970.818862]  rcu_do_batch+0x1e1/0x570
[31970.819091]  ? rcu_do_batch+0x1ac/0x570
[31970.819321]  rcu_core+0x2cb/0x460
[31970.819522]  __do_softirq+0x178/0x517
[31970.819746]  __irq_exit_rcu+0xe3/0x160
[31970.819971]  irq_exit_rcu+0xa/0x20
[31970.820179]  sysvec_apic_timer_interrupt+0xa2/0xd0
[31970.820462]  
[31970.820592]  
[31970.820721]  asm_sysvec_apic_timer_interrupt+0x12/0x20
[31970.821025] RIP: 0010:_raw_spin_unlock_irqrestore+0x33/0x60
[31970.821355] Code: 48 83 c7 18 53 48 89 f3 48 8b 74 24 10 e8 45 1b 38 ff 48 89 ef e8 dd 44 38 ff 80 e7 02 74 0b e8 53 70 44 ff fb 0f 1f 44 00 00  01 00 00 00 e8 93 d8 33 ff 65 8b 05 6c ac 1b 56 85 c0 74 03 5b
[31970.822435] RSP: 0018:ffffa28442c43b78 EFLAGS: 00000246
[31970.822744] RAX: 0000000080000001 RBX: 0000000000000246 RCX: ffff94fc45b61800
[31970.823168] RDX: 0000000000000002 RSI: ffffffffa9363f5f RDI: ffffffffa9e651fd
[31970.823583] RBP: ffff94fc43826b90 R08: 0000000000000000 R09: 0000000000000000
[31970.824000] R10: ffff94fc43826960 R11: 000000000003a420 R12: ffffa28442c43e00
[31970.824430] R13: 0000000000000001 R14: ffff94fc43826b88 R15: ffffc95d041355c0
[31970.824849]  ? __folio_start_writeback+0x1af/0x340
[31970.825141]  ? _raw_spin_unlock_irqrestore+0x2d/0x60
[31970.825436]  ? _raw_spin_unlock_irqrestore+0x2d/0x60
[31970.825730]  __folio_start_writeback+0x1af/0x340
[31970.826005]  __block_write_full_page+0x20e/0x550
[31970.826284]  ? bh_uptodate_or_lock+0xa0/0xa0
[31970.826540]  ? blkdev_llseek+0x60/0x60
[31970.826766]  __writepage+0x17/0x70
[31970.826971]  write_cache_pages+0x17d/0x560
[31970.827220]  ? writeout_period+0x80/0x80
[31970.827456]  generic_writepages+0x41/0x60
[31970.827697]  do_writepages+0xbf/0x1b0
[31970.827918]  ? rcu_read_lock_sched_held+0x12/0x60
[31970.828200]  ? lock_release+0x1ed/0x2c0
[31970.828430]  ? lock_release+0x1ed/0x2c0
[31970.828658]  ? _raw_spin_unlock+0x29/0x40
[31970.828898]  filemap_fdatawrite_wbc+0x62/0x90
[31970.829163]  file_write_and_wait_range+0x78/0xc0
[31970.829440]  blkdev_fsync+0x14/0x40
[31970.829651]  __x64_sys_fsync+0x34/0x60
[31970.829878]  do_syscall_64+0x38/0x90
[31970.830095]  entry_SYSCALL_64_after_hwframe+0x44/0xae
[31970.830393] RIP: 0033:0x7f90d36a3307
[31970.830609] 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
[31970.831697] RSP: 002b:00007ffd9f95bf58 EFLAGS: 00000246 ORIG_RAX: 000000000000004a
[31970.832142] RAX: ffffffffffffffda RBX: 0000000000c73320 RCX: 00007f90d36a3307
[31970.832556] RDX: fffffffffffff000 RSI: 0000000000c732e0 RDI: 0000000000000004
[31970.832969] RBP: 0000000000c732e0 R08: 0000000000c73580 R09: 00007f90d376ea60
[31970.833385] R10: 00007f90d35b5a20 R11: 0000000000000246 R12: 0000000000000000
[31970.833797] R13: 0000000000000000 R14: 0000000000c73370 R15: 0000000000000000
[31970.834218]