[ 4742.633754] run fstests btrfs/192 at 2022-04-02 22:10:30
[ 4743.071289] BTRFS: device fsid feef9964-2cd4-4b01-ba16-8847cb813606 devid 1 transid 6 /dev/mapper/logwrites-test scanned by mkfs.btrfs (842010)
[ 4775.352659] BUG: sleeping function called from invalid context at block/blk-sysfs.c:766
[ 4775.352928] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 842808, name: replay-log
[ 4775.353189] preempt_count: 100, expected: 0
[ 4775.353337] RCU nest depth: 0, expected: 0
[ 4775.353482] INFO: lockdep is turned off.
[ 4775.353626] Preemption disabled at:
[ 4775.353627] [] __do_softirq+0x5e/0x517
[ 4775.353963] CPU: 1 PID: 842808 Comm: replay-log Tainted: G        W         5.17.0+ #640
[ 4775.354216] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.13.0-2.fc32 04/01/2014
[ 4775.354472] Call Trace:
[ 4775.354592]  
[ 4775.354714]  dump_stack_lvl+0x56/0x6f
[ 4775.354856]  __might_resched.cold+0xff/0x13a
[ 4775.355011]  blk_release_queue+0x24/0x120
[ 4775.355162]  kobject_put+0x7c/0x1d0
[ 4775.355301]  ? rcu_do_batch+0x1ac/0x570
[ 4775.355445]  blkg_free.part.0+0x41/0x60
[ 4775.355591]  rcu_do_batch+0x1e1/0x570
[ 4775.355737]  ? rcu_do_batch+0x1ac/0x570
[ 4775.355882]  rcu_core+0x2cb/0x460
[ 4775.356022]  __do_softirq+0x178/0x517
[ 4775.356233]  __irq_exit_rcu+0xe3/0x160
[ 4775.356375]  irq_exit_rcu+0xa/0x20
[ 4775.356511]  sysvec_apic_timer_interrupt+0xa2/0xd0
[ 4775.356678]  
[ 4775.356797]  
[ 4775.356912]  asm_sysvec_apic_timer_interrupt+0x12/0x20
[ 4775.357081] RIP: 0010:__block_write_full_page+0x23b/0x550
[ 4775.357251] Code: 39 fd 74 26 48 89 ea 48 8b 6d 08 48 8b 02 84 c0 79 ed 4c 89 e1 44 89 f6 bf 01 00 00 00 83 c3 01 e8 aa ca ff ff 4c 39 fd 75 da <4c> 89 ef e8 bd 79 ec ff 45 31 db 85 db 0f 84 a8 00 00 00 48 83 c4
[ 4775.357721] RSP: 0018:ffffb18fc55fbc20 EFLAGS: 00000246
[ 4775.357892] RAX: 0000000000000000 RBX: 0000000000000001 RCX: 0000000000000000
[ 4775.358091] RDX: ffffffffb7739905 RSI: ffffffffb7739951 RDI: 0000000000000000
[ 4775.358290] RBP: ffff9e59c8dcbf18 R08: 0000000000000000 R09: 0000000000000000
[ 4775.358489] R10: 0000000000000001 R11: ffff9e59c5d43700 R12: ffffb18fc55fbe78
[ 4775.358694] R13: ffffe16704139800 R14: 0000000000000800 R15: ffff9e59c8dcbf18
[ 4775.358895]  ? blk_queue_exit+0x5/0x100
[ 4775.359038]  ? blk_queue_exit+0x51/0x100
[ 4775.359183]  ? bh_uptodate_or_lock+0xa0/0xa0
[ 4775.359338]  ? blkdev_llseek+0x60/0x60
[ 4775.359484]  __writepage+0x17/0x70
[ 4775.359621]  write_cache_pages+0x17d/0x560
[ 4775.359773]  ? writeout_period+0x80/0x80
[ 4775.359922]  generic_writepages+0x41/0x60
[ 4775.360073]  do_writepages+0xbf/0x1b0
[ 4775.360212]  ? rcu_read_lock_sched_held+0x12/0x60
[ 4775.360375]  ? lock_release+0x1ed/0x2c0
[ 4775.360521]  ? lock_release+0x1ed/0x2c0
[ 4775.360670]  ? _raw_spin_unlock+0x29/0x40
[ 4775.360818]  filemap_fdatawrite_wbc+0x62/0x90
[ 4775.360978]  file_write_and_wait_range+0x78/0xc0
[ 4775.361142]  blkdev_fsync+0x14/0x40
[ 4775.361281]  __x64_sys_fsync+0x34/0x60
[ 4775.361428]  do_syscall_64+0x38/0x90
[ 4775.361574]  entry_SYSCALL_64_after_hwframe+0x44/0xae
[ 4775.361743] RIP: 0033:0x7f8d694ba327
[ 4775.361891] 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 b3 ca f8 ff
[ 4775.362370] RSP: 002b:00007ffde4509ff8 EFLAGS: 00000246 ORIG_RAX: 000000000000004a
[ 4775.362620] RAX: ffffffffffffffda RBX: 0000000001acd320 RCX: 00007f8d694ba327
[ 4775.362825] RDX: 0000000000000000 RSI: 0000000001acd2e0 RDI: 0000000000000004
[ 4775.363025] RBP: 0000000001acd2e0 R08: 0000000001acd580 R09: 00007f8d69585a60
[ 4775.363230] R10: 00007f8d695b3780 R11: 0000000000000246 R12: 0000000000000000
[ 4775.363433] R13: 0000000000000000 R14: 0000000001acd370 R15: 0000000000000000
[ 4775.363644]