[19219.363609] run fstests btrfs/192 at 2022-04-04 02:16:47
[19219.799538] BTRFS: device fsid 0e740251-436a-4511-9db4-74a933a9c96c devid 1 transid 6 /dev/mapper/logwrites-test scanned by mkfs.btrfs (3362323)
[19251.383236] BUG: sleeping function called from invalid context at block/blk-sysfs.c:766
[19251.383508] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 3363099, name: replay-log
[19251.383763] preempt_count: 101, expected: 0
[19251.383912] RCU nest depth: 2, expected: 0
[19251.384062] INFO: lockdep is turned off.
[19251.384229] Preemption disabled at:
[19251.384230] [] blk_cgroup_bio_start+0x28/0xa0
[19251.384550] CPU: 1 PID: 3363099 Comm: replay-log Tainted: G W 5.17.0+ #641
[19251.384802] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.13.0-2.fc32 04/01/2014
[19251.385061] Call Trace:
[19251.385184]
[19251.385298] dump_stack_lvl+0x56/0x6f
[19251.385444] __might_resched.cold+0xff/0x13a
[19251.385595] blk_release_queue+0x24/0x120
[19251.385739] kobject_put+0x7c/0x1d0
[19251.385880] ? rcu_do_batch+0x1ac/0x570
[19251.386024] blkg_free.part.0+0x41/0x60
[19251.386170] rcu_do_batch+0x1e1/0x570
[19251.386311] ? rcu_do_batch+0x1ac/0x570
[19251.386459] rcu_core+0x2cb/0x460
[19251.386593] __do_softirq+0x178/0x517
[19251.386734] __irq_exit_rcu+0xe3/0x160
[19251.386876] irq_exit_rcu+0xa/0x20
[19251.387021] sysvec_call_function_single+0xa2/0xd0
[19251.387183]
[19251.387299]
[19251.387414] asm_sysvec_call_function_single+0x12/0x20
[19251.387576] RIP: 0010:check_preemption_disabled+0x4/0xe0
[19251.387745] Code: a3 be 30 00 00 00 48 c7 c7 60 73 83 a3 c6 05 31 54 fd 00 01 e8 d9 88 f8 ff e9 79 ff ff ff cc cc cc cc cc cc cc cc 41 54 55 53 <48> 83 ec 08 65 44 8b 25 b0 57 1c 5d 65 8b 05 59 bc 1c 5d a9 ff ff
[19251.388215] RSP: 0018:ffffb94a0590fa30 EFLAGS: 00000282
[19251.388379] RAX: 0000000000000001 RBX: ffff963446229000 RCX: 0000000000000000
[19251.388570] RDX: 0000000000000000 RSI: ffffffffa387e4d9 RDI: ffffffffa383354b
[19251.388765] RBP: ffff9634435d4e40 R08: 0000000000000000 R09: 0000000000000000
[19251.388957] R10: ffff9634bffd3e00 R11: 000000000003a420 R12: ffffffffa53619a0
[19251.389152] R13: ffff9634435d4e40 R14: 0000000000000c00 R15: ffff963445060598
[19251.389353] rcu_is_watching+0xd/0x40
[19251.389495] bio_associate_blkg_from_css+0x22d/0x740
[19251.389658] ? bio_associate_blkg_from_css+0x1f1/0x740
[19251.389821] ? mempool_alloc+0x58/0x190
[19251.389964] bio_associate_blkg+0x5d/0x1a0
[19251.390116] bio_alloc_bioset+0x1fe/0x3c0
[19251.390273] bio_alloc_clone+0x20/0x60
[19251.390417] dm_submit_bio+0x8d/0x630
[19251.390559] __submit_bio+0x50/0x180
[19251.390699] submit_bio_noacct_nocheck+0xba/0x280
[19251.390858] submit_bh_wbc+0x117/0x140
[19251.390998] __block_write_full_page+0x236/0x550
[19251.391154] ? bh_uptodate_or_lock+0xa0/0xa0
[19251.391310] ? blkdev_llseek+0x60/0x60
[19251.391454] __writepage+0x17/0x70
[19251.391590] write_cache_pages+0x17d/0x560
[19251.391738] ? writeout_period+0x80/0x80
[19251.391888] generic_writepages+0x41/0x60
[19251.392033] do_writepages+0xbf/0x1b0
[19251.392176] ? rcu_read_lock_sched_held+0x12/0x60
[19251.392335] ? lock_release+0x1ed/0x2c0
[19251.392480] ? lock_release+0x1ed/0x2c0
[19251.392621] ? _raw_spin_unlock+0x29/0x40
[19251.392765] filemap_fdatawrite_wbc+0x62/0x90
[19251.392918] file_write_and_wait_range+0x78/0xc0
[19251.393074] blkdev_fsync+0x14/0x40
[19251.393217] __x64_sys_fsync+0x34/0x60
[19251.393392] do_syscall_64+0x38/0x90
[19251.393533] entry_SYSCALL_64_after_hwframe+0x44/0xae
[19251.393694] RIP: 0033:0x7f75f5e63ff7
[19251.393832] 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 f3 dc f8 ff
[19251.394968] RSP: 002b:00007ffebc810b28 EFLAGS: 00000246 ORIG_RAX: 000000000000004a
[19251.395213] RAX: ffffffffffffffda RBX: 0000000000c0d320 RCX: 00007f75f5e63ff7
[19251.395409] RDX: fffffffffffff000 RSI: 0000000000c0d2e0 RDI: 0000000000000004
[19251.395606] RBP: 0000000000c0d2e0 R08: 0000000000c0d580 R09: 00007f75f5f2fa60
[19251.395801] R10: 00007f75f5d76a20 R11: 0000000000000246 R12: 0000000000000000
[19251.395999] R13: 0000000000000000 R14: 0000000000c0d370 R15: 0000000000000000
[19251.396202]