[38249.224613] run fstests generic/299 at 2022-02-23 07:29:31
[38249.435817] BTRFS info (device dm-0): using free space tree
[38249.436029] BTRFS info (device dm-0): has skinny extents
[38250.888472] BTRFS: device fsid f353d555-37bf-4df5-900d-673338623b1a devid 1 transid 6 /dev/dm-9 scanned by mkfs.btrfs (3845917)
[38250.912789] BTRFS info (device dm-9): flagging fs with big metadata feature
[38250.913022] BTRFS info (device dm-9): turning on sync discard
[38250.913202] BTRFS info (device dm-9): enabling free space tree
[38250.913379] BTRFS info (device dm-9): using free space tree
[38250.913550] BTRFS info (device dm-9): has skinny extents
[38250.917140] BTRFS info (device dm-9): creating free space tree
[38250.917395] BTRFS info (device dm-9): setting compat-ro feature flag for FREE_SPACE_TREE (0x1)
[38250.917653] BTRFS info (device dm-9): setting compat-ro feature flag for FREE_SPACE_TREE_VALID (0x2)
[38250.921520] BTRFS info (device dm-9): cleaning free space cache v1
[38250.925626] BTRFS info (device dm-9): checking UUID tree
[38262.475847] ------------[ cut here ]------------
[38262.476049] BTRFS: Transaction aborted (error -28)
[38262.476230] WARNING: CPU: 1 PID: 3789915 at fs/btrfs/free-space-tree.c:1051 add_to_free_space_tree+0xe5/0x110
[38262.476517] Modules linked in: dm_thin_pool dm_persistent_data dm_bio_prison dm_log_writes dm_dust dm_flakey nft_fib_inet nft_fib_ipv4 nft_fib_ipv6 nft_fib nft_reject_inet nf_reject_ipv4 nf_reject_ipv6 nft_reject nft_ct nft_chain_nat nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 ip6_tables nft_compat ip_set rfkill nf_tables nfnetlink intel_rapl_msr iTCO_wdt iTCO_vendor_support intel_rapl_common snd_hda_codec_generic joydev i2c_i801 i2c_smbus snd_hda_intel snd_intel_dspcfg snd_hda_codec snd_hwdep snd_hda_core snd_pcm virtio_balloon snd_timer lpc_ich snd soundcore zram ip_tables xfs crct10dif_pclmul crc32_pclmul crc32c_intel ghash_clmulni_intel serio_raw virtio_blk qemu_fw_cfg
[38262.477941] CPU: 1 PID: 3789915 Comm: kworker/u4:10 Not tainted 5.17.0-rc5+ #578
[38262.478180] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.13.0-2.fc32 04/01/2014
[38262.478442] Workqueue: events_unbound btrfs_async_reclaim_metadata_space
[38262.478638] RIP: 0010:add_to_free_space_tree+0xe5/0x110
[38262.478805] Code: 8b 45 50 f0 48 0f ba a8 10 1a 00 00 03 72 1d 41 83 fc fb 74 33 41 83 fc e2 74 2d 44 89 e6 48 c7 c7 a8 3b 85 91 e8 44 4d 74 00 <0f> 0b 44 89 e1 ba 1b 04 00 00 48 c7 c6 60 3a 48 91 48 89 ef e8 57
[38262.479277] RSP: 0018:ffffae45c649fb50 EFLAGS: 00010282
[38262.479444] RAX: 0000000000000026 RBX: 0000000000004000 RCX: 0000000000000000
[38262.479642] RDX: 0000000000000001 RSI: ffffffff91871822 RDI: 00000000ffffffff
[38262.479835] RBP: ffff960974a58888 R08: 0000000000000000 R09: ffffae45c649f990
[38262.480037] R10: ffffae45c649f988 R11: ffffffff91b5f128 R12: 00000000ffffffe4
[38262.480231] R13: ffff9609455a1a80 R14: ffff960955a08400 R15: ffff960955a08680
[38262.480433] FS: 0000000000000000(0000) GS:ffff9609bbd00000(0000) knlGS:0000000000000000
[38262.480681] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[38262.480856] CR2: 00007fb308dab158 CR3: 0000000102c90004 CR4: 0000000000370ee0
[38262.481065] Call Trace:
[38262.481204]
[38262.481331] __btrfs_free_extent+0x543/0x9f0
[38262.481492] __btrfs_run_delayed_refs+0x29c/0x12e0
[38262.481658] btrfs_run_delayed_refs+0x86/0x210
[38262.481809] flush_space+0x3c8/0x5f0
[38262.481970] ? rcu_read_lock_sched_held+0x12/0x60
[38262.482137] ? lock_release+0x1f0/0x2d0
[38262.482281] ? _raw_spin_unlock+0x29/0x40
[38262.482428] btrfs_async_reclaim_metadata_space+0x139/0x320
[38262.482604] process_one_work+0x26d/0x580
[38262.482758] ? process_one_work+0x580/0x580
[38262.482920] worker_thread+0x55/0x3b0
[38262.483060] ? process_one_work+0x580/0x580
[38262.483208] kthread+0xf0/0x120
[38262.483342] ? kthread_complete_and_exit+0x20/0x20
[38262.483500] ret_from_fork+0x1f/0x30
[38262.483652]
[38262.483772] irq event stamp: 0
[38262.483909] hardirqs last enabled at (0): [<0000000000000000>] 0x0
[38262.484099] hardirqs last disabled at (0): [] copy_process+0xaeb/0x1fa0
[38262.484357] softirqs last enabled at (0): [] copy_process+0xaeb/0x1fa0
[38262.484607] softirqs last disabled at (0): [<0000000000000000>] 0x0
[38262.484789] ---[ end trace 0000000000000000 ]---
[38262.484958] BTRFS: error (device dm-9: state X) in add_to_free_space_tree:1051: errno=-28 No space left
[38262.485226] BTRFS info (device dm-9: state EX): forced readonly
[38262.485575] BTRFS: error (device dm-9: state EX) in __btrfs_free_extent:3206: errno=-28 No space left
[38262.486187] BTRFS: error (device dm-9: state EX) in btrfs_run_delayed_refs:2159: errno=-28 No space left
[38269.463681] BTRFS info (device dm-0): turning on sync discard
[38269.463904] BTRFS info (device dm-0): using free space tree
[38269.464081] BTRFS info (device dm-0): has skinny extents
[38269.636925] BTRFS info (device dm-9): flagging fs with big metadata feature
[38269.637144] BTRFS info (device dm-9): turning on sync discard
[38269.637319] BTRFS info (device dm-9): using free space tree
[38269.637493] BTRFS info (device dm-9): has skinny extents