[40030.079200] run fstests generic/475 at 2022-08-09 07:59:47
[40030.995302] BTRFS: device fsid fdafe3e1-02b8-4b83-a25a-cfbb16a2a342 devid 1 transid 6 /dev/mapper/vg0-lv9 scanned by mkfs.btrfs (1362571)
[40031.238326] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[40031.238335] BTRFS info (device dm-11): setting incompat feature flag for COMPRESS_ZSTD (0x10)
[40031.238338] BTRFS info (device dm-11): use zstd compression, level 3
[40031.238341] BTRFS info (device dm-11): turning on async discard
[40031.238343] BTRFS info (device dm-11): disk space caching is enabled
[40031.241723] BTRFS info (device dm-11): checking UUID tree
[40031.277121] btrfs_dev_stat_inc_and_print: 2 callbacks suppressed
[40031.277127] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 1, rd 0, flush 0, corrupt 0, gen 0
[40031.279102] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 2, rd 0, flush 0, corrupt 0, gen 0
[40031.279111] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 3, rd 0, flush 0, corrupt 0, gen 0
[40031.279117] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 4, rd 0, flush 0, corrupt 0, gen 0
[40031.279127] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 5, rd 0, flush 0, corrupt 0, gen 0
[40031.279138] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 6, rd 0, flush 0, corrupt 0, gen 0
[40031.279143] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 7, rd 0, flush 0, corrupt 0, gen 0
[40031.279149] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 8, rd 0, flush 0, corrupt 0, gen 0
[40031.279154] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 9, rd 0, flush 0, corrupt 0, gen 0
[40031.279158] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 10, rd 0, flush 0, corrupt 0, gen 0
[40031.281999] BTRFS: error (device dm-11: state A) in cache_save_setup:2804: errno=-5 IO failure
[40031.282679] BTRFS info (device dm-11: state EA): forced readonly
[40031.282704] BTRFS: error (device dm-11: state EA) in btrfs_start_dirty_block_groups:3051: errno=-5 IO failure
[40031.289492] buffer_io_error: 760 callbacks suppressed
[40031.289503] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[40031.868214] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[40031.868223] BTRFS info (device dm-11): setting incompat feature flag for COMPRESS_ZSTD (0x10)
[40031.868226] BTRFS info (device dm-11): use zstd compression, level 3
[40031.868229] BTRFS info (device dm-11): turning on async discard
[40031.868231] BTRFS info (device dm-11): disk space caching is enabled
[40031.872721] BTRFS info (device dm-11): checking UUID tree
[40031.899757] BTRFS warning (device dm-11): direct IO failed ino 269 rw 1,34817 sector 0x6f48 len 45056 err no 10
[40031.902163] BTRFS warning (device dm-11): direct IO failed ino 267 rw 1,34817 sector 0x6fa0 len 4096 err no 10
[40031.904290] BTRFS: error (device dm-11: state A) in cache_save_setup:2804: errno=-5 IO failure
[40031.904935] BTRFS info (device dm-11: state EA): forced readonly
[40031.905276] BTRFS: error (device dm-11: state EA) in btrfs_start_dirty_block_groups:3051: errno=-5 IO failure
[40031.914941] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[40032.525561] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[40032.525571] BTRFS info (device dm-11): setting incompat feature flag for COMPRESS_ZSTD (0x10)
[40032.525573] BTRFS info (device dm-11): use zstd compression, level 3
[40032.525576] BTRFS info (device dm-11): turning on async discard
[40032.525578] BTRFS info (device dm-11): disk space caching is enabled
[40032.529304] BTRFS info (device dm-11): checking UUID tree
[40032.552986] BTRFS: error (device dm-11) in btrfs_commit_transaction:2496: errno=-5 IO failure (Error while writing out transaction)
[40032.553009] BTRFS warning (device dm-11): direct IO failed ino 263 rw 1,34817 sector 0x6900 len 77824 err no 10
[40032.553932] BTRFS info (device dm-11: state E): forced readonly
[40032.553938] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[40032.553941] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[40032.555945] BTRFS: error (device dm-11: state EA) in cache_save_setup:2804: errno=-5 IO failure
[40032.559880] BTRFS: error (device dm-11: state EA) in btrfs_start_dirty_block_groups:3051: errno=-5 IO failure
[40032.569891] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[40033.172900] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[40033.172912] BTRFS info (device dm-11): setting incompat feature flag for COMPRESS_ZSTD (0x10)
[40033.172916] BTRFS info (device dm-11): use zstd compression, level 3
[40033.172920] BTRFS info (device dm-11): turning on async discard
[40033.172923] BTRFS info (device dm-11): disk space caching is enabled
[40033.177369] BTRFS info (device dm-11): checking UUID tree
[40035.204639] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[40035.204654] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[40035.204665] BTRFS error (device dm-11): error writing primary super block to device 1
[40035.204667] BTRFS: error (device dm-11) in write_all_supers:4342: errno=-5 IO failure (1 errors while writing supers)
[40035.205353] BTRFS info (device dm-11: state E): forced readonly
[40035.205358] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[40035.205361] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[40035.210586] BTRFS warning (device dm-11: state EA): direct IO failed ino 280 rw 0,0 sector 0x11f690 len 16384 err no 10
[40035.213840] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[40035.213838] BTRFS warning (device dm-11: state EA): direct IO failed ino 305 rw 0,0 sector 0x11d998 len 32768 err no 10
[40035.227660] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[40035.246856] BTRFS warning (device dm-11: state EA): direct IO failed ino 279 rw 0,0 sector 0x1230b0 len 24576 err no 10
[40035.251115] BTRFS warning (device dm-11: state EA): direct IO failed ino 287 rw 0,0 sector 0x123090 len 40960 err no 10
[40035.253694] BTRFS warning (device dm-11: state EA): direct IO failed ino 294 rw 0,0 sector 0x126f18 len 86016 err no 10
[40035.263792] BTRFS warning (device dm-11: state EA): direct IO failed ino 359 rw 0,0 sector 0x123ce8 len 61440 err no 10
[40035.264092] BTRFS warning (device dm-11: state EA): direct IO failed ino 338 rw 0,0 sector 0x116e48 len 45056 err no 10
[40035.280133] BTRFS warning (device dm-11: state EA): direct IO failed ino 352 rw 0,0 sector 0x122e78 len 98304 err no 10
[40035.280393] BTRFS warning (device dm-11: state EA): direct IO failed ino 322 rw 0,0 sector 0x119b38 len 12288 err no 10
[40035.919295] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[40035.919321] BTRFS info (device dm-11): use zstd compression, level 3
[40035.919324] BTRFS info (device dm-11): turning on async discard
[40035.919326] BTRFS info (device dm-11): disk space caching is enabled
[40035.939429] ------------[ cut here ]------------
[40035.939517] WARNING: CPU: 0 PID: 1323444 at fs/btrfs/discard.c:604 btrfs_discard_update_discardable+0x98/0xb0
[40035.939526] 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 rfkill ip_set nf_tables nfnetlink intel_rapl_msr iTCO_wdt iTCO_vendor_support snd_hda_codec_generic snd_hda_intel snd_intel_dspcfg snd_hda_codec intel_rapl_common snd_hwdep snd_hda_core i2c_i801 snd_pcm joydev snd_timer i2c_smbus snd virtio_balloon soundcore lpc_ich zram ip_tables xfs crct10dif_pclmul crc32_pclmul crc32c_intel ghash_clmulni_intel serio_raw qemu_fw_cfg
[40035.939590] CPU: 0 PID: 1323444 Comm: kworker/u4:7 Tainted: G        W         5.19.0-rc8+ #791
[40035.939593] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.13.0-2.fc32 04/01/2014
[40035.939597] Workqueue: btrfs-cache btrfs_work_helper
[40035.939604] RIP: 0010:btrfs_discard_update_discardable+0x98/0xb0
[40035.939607] Code: 17 00 00 48 8b 83 80 00 00 00 48 89 83 88 00 00 00 5b 5d c3 cc cc cc cc 48 8d 7b 18 be ff ff ff ff e8 2c 9a 7e 00 85 c0 75 ac <0f> 0b eb a8 c3 cc cc cc cc 66 66 2e 0f 1f 84 00 00 00 00 00 0f 1f
[40035.939609] RSP: 0000:ffffbaea85017ad0 EFLAGS: 00010246
[40035.939612] RAX: 0000000000000000 RBX: ffff8f4db24f0000 RCX: 0000000000000001
[40035.939616] RDX: 0000000000000000 RSI: ffffffff8e807c5b RDI: ffffffff8e8a831e
[40035.939617] RBP: ffff8f4d42c00000 R08: 0000000000000000 R09: 0000000080270015
[40035.939619] R10: ffff8f4c5cd7d080 R11: 00000000009e8000 R12: ffff8f4d5056d010
[40035.939621] R13: ffff8f4d44206b30 R14: ffff8f4d42c00000 R15: ffff8f4d402205b0
[40035.939622] FS:  0000000000000000(0000) GS:ffff8f4dbbc00000(0000) knlGS:0000000000000000
[40035.939624] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[40035.939626] CR2: 00007f346a1481f0 CR3: 00000001060de002 CR4: 0000000000370ef0
[40035.939631] Call Trace:
[40035.939634]  
[40035.939639]  __btrfs_remove_free_space_cache+0x27/0x30
[40035.939643]  load_free_space_cache+0xad2/0xaf0
[40035.939683]  caching_thread+0x40b/0x650
[40035.939691]  ? lock_release+0x137/0x2d0
[40035.939698]  btrfs_work_helper+0xf2/0x3e0
[40035.939701]  ? lock_is_held_type+0xe2/0x140
[40035.939708]  process_one_work+0x271/0x590
[40035.939717]  ? process_one_work+0x590/0x590
[40035.939720]  worker_thread+0x52/0x3b0
[40035.939724]  ? process_one_work+0x590/0x590
[40035.939727]  kthread+0xf0/0x120
[40035.939730]  ? kthread_complete_and_exit+0x20/0x20
[40035.939734]  ret_from_fork+0x1f/0x30
[40035.939747]  
[40035.939751] irq event stamp: 4288121
[40035.939752] hardirqs last  enabled at (4288127): [] __up_console_sem+0x5e/0x70
[40035.939758] hardirqs last disabled at (4288132): [] __up_console_sem+0x43/0x70
[40035.939760] softirqs last  enabled at (4287584): [] __irq_exit_rcu+0xeb/0x160
[40035.939763] softirqs last disabled at (4287575): [] __irq_exit_rcu+0xeb/0x160
[40035.939765] ---[ end trace 0000000000000000 ]---
[40035.939768] BTRFS warning (device dm-11): block group 298844160 has wrong amount of free space
[40035.939784] BTRFS warning (device dm-11): failed to load free space cache for block group 298844160, rebuilding it now
[40037.977257] btrfs_dev_stat_inc_and_print: 54 callbacks suppressed
[40037.977263] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 1, rd 0, flush 0, corrupt 0, gen 0
[40037.977326] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 2, rd 0, flush 0, corrupt 0, gen 0
[40037.977331] BTRFS warning (device dm-11): direct IO failed ino 575 rw 1,34817 sector 0x1527a8 len 73728 err no 10
[40037.977350] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 3, rd 0, flush 0, corrupt 0, gen 0
[40037.977358] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 4, rd 0, flush 0, corrupt 0, gen 0
[40037.977387] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 5, rd 0, flush 0, corrupt 0, gen 0
[40037.977395] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 6, rd 0, flush 0, corrupt 0, gen 0
[40037.977414] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[40037.977418] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 7, rd 0, flush 0, corrupt 0, gen 0
[40037.977435] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[40037.977439] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 8, rd 0, flush 0, corrupt 0, gen 0
[40037.977448] BTRFS error (device dm-11): error writing primary super block to device 1
[40037.977452] BTRFS: error (device dm-11) in write_all_supers:4342: errno=-5 IO failure (1 errors while writing supers)
[40037.978319] BTRFS info (device dm-11: state E): forced readonly
[40037.978324] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[40037.978328] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[40037.979554] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 8, rd 1, flush 0, corrupt 0, gen 0
[40037.979572] BTRFS warning (device dm-11: state EA): direct IO failed ino 259 rw 0,0 sector 0x14ab18 len 4096 err no 10
[40037.980431] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 8, rd 2, flush 0, corrupt 0, gen 0
[40037.980447] BTRFS warning (device dm-11: state EA): direct IO failed ino 259 rw 0,0 sector 0x14e938 len 12288 err no 10
[40037.985260] BTRFS warning (device dm-11: state EA): direct IO failed ino 259 rw 0,0 sector 0x14fb40 len 24576 err no 10
[40037.985692] BTRFS warning (device dm-11: state EA): direct IO failed ino 421 rw 0,0 sector 0x13f460 len 4096 err no 10
[40037.990332] BTRFS warning (device dm-11: state EA): Skipping commit of aborted transaction.
[40038.001897] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[40038.023889] BTRFS warning (device dm-11: state EA): direct IO failed ino 582 rw 0,0 sector 0x1507f0 len 24576 err no 10
[40038.027666] BTRFS warning (device dm-11: state EA): direct IO failed ino 501 rw 0,0 sector 0x149e70 len 12288 err no 10
[40038.048672] BTRFS warning (device dm-11: state EA): direct IO failed ino 261 rw 0,0 sector 0x151440 len 28672 err no 10
[40038.053953] BTRFS warning (device dm-11: state EA): direct IO failed ino 421 rw 0,0 sector 0x11eb10 len 49152 err no 10
[40038.054427] BTRFS warning (device dm-11: state EA): direct IO failed ino 421 rw 0,0 sector 0x11eb10 len 8192 err no 10
[40038.059778] BTRFS warning (device dm-11: state EA): direct IO failed ino 468 rw 0,0 sector 0x14dc50 len 4096 err no 10
[40038.061279] BTRFS warning (device dm-11: state EA): direct IO failed ino 488 rw 0,0 sector 0x146588 len 16384 err no 10
[40038.704193] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[40038.704201] BTRFS info (device dm-11): use zstd compression, level 3
[40038.704204] BTRFS info (device dm-11): turning on async discard
[40038.704206] BTRFS info (device dm-11): disk space caching is enabled
[40038.709698] BTRFS info (device dm-11): start tree-log replay
[40038.745047] BTRFS info (device dm-11): checking UUID tree
[40040.777248] BTRFS warning (device dm-11): direct IO failed ino 261 rw 1,34817 sector 0x1686f0 len 126976 err no 10
[40040.778131] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[40040.778142] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[40040.778592] BTRFS error (device dm-11): error writing primary super block to device 1
[40040.778596] BTRFS: error (device dm-11) in write_all_supers:4342: errno=-5 IO failure (1 errors while writing supers)
[40040.779497] BTRFS info (device dm-11: state E): forced readonly
[40040.779507] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[40040.779510] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[40040.780359] BTRFS: error (device dm-11: state EA) in btrfs_sync_log:3192: errno=-5 IO failure
[40040.787451] BTRFS warning (device dm-11: state EA): direct IO failed ino 692 rw 0,0 sector 0x164a78 len 20480 err no 10
[40040.787505] BTRFS warning (device dm-11: state EA): direct IO failed ino 692 rw 0,0 sector 0x1672a0 len 4096 err no 10
[40040.787740] BTRFS warning (device dm-11: state EA): direct IO failed ino 262 rw 0,0 sector 0x166768 len 16384 err no 10
[40040.794016] BTRFS warning (device dm-11: state EA): direct IO failed ino 652 rw 0,0 sector 0x15e168 len 16384 err no 10
[40040.794038] BTRFS warning (device dm-11: state EA): direct IO failed ino 652 rw 0,0 sector 0x15e188 len 12288 err no 10
[40040.797871] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[40040.810497] BTRFS warning (device dm-11: state EA): direct IO failed ino 765 rw 0,0 sector 0x167658 len 20480 err no 10
[40040.826112] BTRFS warning (device dm-11: state EA): direct IO failed ino 692 rw 0,0 sector 0x167338 len 8192 err no 10
[40041.466587] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[40041.466595] BTRFS info (device dm-11): use zstd compression, level 3
[40041.466598] BTRFS info (device dm-11): turning on async discard
[40041.466600] BTRFS info (device dm-11): disk space caching is enabled
[40041.506394] BTRFS: error (device dm-11: state A) in btrfs_add_link:6588: errno=-5 IO failure
[40041.507107] BTRFS info (device dm-11: state EA): forced readonly
[40041.507112] BTRFS: error (device dm-11: state EA) in btrfs_create_new_inode:6528: errno=-5 IO failure
[40041.507647] BTRFS: error (device dm-11: state EA) in create_subvol:735: errno=-5 IO failure
[40041.508369] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[40042.102860] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[40042.102868] BTRFS info (device dm-11): use zstd compression, level 3
[40042.102871] BTRFS info (device dm-11): turning on async discard
[40042.102873] BTRFS info (device dm-11): disk space caching is enabled
[40044.158845] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[40044.158852] btrfs_dev_stat_inc_and_print: 67 callbacks suppressed
[40044.158854] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 1, rd 0, flush 0, corrupt 0, gen 0
[40044.158871] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[40044.158875] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 2, rd 0, flush 0, corrupt 0, gen 0
[40044.158890] BTRFS error (device dm-11): error writing primary super block to device 1
[40044.158894] BTRFS: error (device dm-11) in write_all_supers:4342: errno=-5 IO failure (1 errors while writing supers)
[40044.159587] BTRFS info (device dm-11: state E): forced readonly
[40044.159592] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[40044.159606] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[40044.162597] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 3, rd 0, flush 0, corrupt 0, gen 0
[40044.162753] BTRFS warning (device dm-11: state EA): Skipping commit of aborted transaction.
[40044.162764] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[40044.163321] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 4, rd 0, flush 0, corrupt 0, gen 0
[40044.164072] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 5, rd 0, flush 0, corrupt 0, gen 0
[40044.164298] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 6, rd 0, flush 0, corrupt 0, gen 0
[40044.164626] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 7, rd 0, flush 0, corrupt 0, gen 0
[40044.165510] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 8, rd 0, flush 0, corrupt 0, gen 0
[40044.166989] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 8, rd 1, flush 0, corrupt 0, gen 0
[40044.167009] BTRFS warning (device dm-11: state EA): direct IO failed ino 275 rw 0,0 sector 0x17a620 len 40960 err no 10
[40044.169301] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 8, rd 2, flush 0, corrupt 0, gen 0
[40044.178948] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[40044.226482] BTRFS warning (device dm-11: state EA): direct IO failed ino 920 rw 0,0 sector 0x17ab08 len 20480 err no 10
[40044.849798] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[40044.849807] BTRFS info (device dm-11): use zstd compression, level 3
[40044.849810] BTRFS info (device dm-11): turning on async discard
[40044.849812] BTRFS info (device dm-11): disk space caching is enabled
[40045.957501] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[40045.957523] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[40045.957543] BTRFS error (device dm-11): error writing primary super block to device 1
[40045.957549] BTRFS: error (device dm-11) in write_all_supers:4342: errno=-5 IO failure (1 errors while writing supers)
[40045.958436] BTRFS info (device dm-11: state E): forced readonly
[40045.958443] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[40045.958454] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[40045.963431] BTRFS warning (device dm-11: state EA): Skipping commit of aborted transaction.
[40045.963444] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[40045.970931] BTRFS warning (device dm-11: state EA): direct IO failed ino 654 rw 0,0 sector 0x187138 len 4096 err no 10
[40045.976556] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[40045.976772] BTRFS warning (device dm-11: state EA): direct IO failed ino 967 rw 0,0 sector 0x18e1f8 len 4096 err no 10
[40045.991111] BTRFS warning (device dm-11: state EA): direct IO failed ino 964 rw 0,0 sector 0x18c518 len 40960 err no 10
[40045.997937] BTRFS warning (device dm-11: state EA): direct IO failed ino 1021 rw 0,0 sector 0x18eb70 len 8192 err no 10
[40046.011086] BTRFS warning (device dm-11: state EA): direct IO failed ino 951 rw 0,0 sector 0x18e188 len 28672 err no 10
[40046.011758] BTRFS warning (device dm-11: state EA): direct IO failed ino 964 rw 0,0 sector 0x18a9d8 len 81920 err no 10
[40046.608198] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[40046.608206] BTRFS info (device dm-11): use zstd compression, level 3
[40046.608226] BTRFS info (device dm-11): turning on async discard
[40046.608227] BTRFS info (device dm-11): disk space caching is enabled
[40047.642659] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[40047.642681] BTRFS error (device dm-11): error writing primary super block to device 1
[40047.642683] BTRFS: error (device dm-11) in write_all_supers:4342: errno=-5 IO failure (1 errors while writing supers)
[40047.643330] BTRFS info (device dm-11: state E): forced readonly
[40047.643342] BTRFS: error (device dm-11: state EA) in btrfs_sync_log:3203: errno=-5 IO failure
[40047.644465] BTRFS warning (device dm-11: state EA): Skipping commit of aborted transaction.
[40047.644470] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[40047.650631] BTRFS warning (device dm-11: state EA): direct IO failed ino 1088 rw 0,0 sector 0x195680 len 61440 err no 10
[40047.659051] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[40047.673654] BTRFS warning (device dm-11: state EA): direct IO failed ino 1088 rw 0,0 sector 0x195680 len 24576 err no 10
[40047.675868] BTRFS warning (device dm-11: state EA): direct IO failed ino 1088 rw 0,0 sector 0x195708 len 8192 err no 10
[40047.677763] BTRFS warning (device dm-11: state EA): direct IO failed ino 1088 rw 0,0 sector 0x195680 len 73728 err no 10
[40048.254617] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[40048.254625] BTRFS info (device dm-11): use zstd compression, level 3
[40048.254628] BTRFS info (device dm-11): turning on async discard
[40048.254630] BTRFS info (device dm-11): disk space caching is enabled
[40048.258695] BTRFS info (device dm-11): start tree-log replay
[40048.350431] BTRFS warning (device dm-11): direct IO failed ino 1114 rw 1,34817 sector 0x196fa0 len 118784 err no 10
[40048.360983] BTRFS warning (device dm-11): direct IO failed ino 1114 rw 1,34817 sector 0x197020 len 57344 err no 10
[40048.361764] BTRFS: error (device dm-11: state A) in __btrfs_run_delayed_items:1182: errno=-5 IO failure
[40048.362588] BTRFS info (device dm-11: state EA): forced readonly
[40048.362593] BTRFS warning (device dm-11: state EA): Skipping commit of aborted transaction.
[40048.362596] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[40048.364114] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[40048.365557] BTRFS: error (device dm-11: state EA) in btrfs_start_dirty_block_groups:3051: errno=-5 IO failure
[40048.990815] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[40048.990823] BTRFS info (device dm-11): use zstd compression, level 3
[40048.990827] BTRFS info (device dm-11): turning on async discard
[40048.990828] BTRFS info (device dm-11): disk space caching is enabled
[40051.052317] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[40051.052361] btrfs_dev_stat_inc_and_print: 63 callbacks suppressed
[40051.052363] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 1, rd 0, flush 0, corrupt 0, gen 0
[40051.052376] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[40051.052379] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 2, rd 0, flush 0, corrupt 0, gen 0
[40051.052390] BTRFS error (device dm-11): error writing primary super block to device 1
[40051.052395] BTRFS: error (device dm-11) in write_all_supers:4342: errno=-5 IO failure (1 errors while writing supers)
[40051.053185] BTRFS info (device dm-11: state E): forced readonly
[40051.053190] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[40051.053194] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[40051.058470] BTRFS warning (device dm-11: state EA): Skipping commit of aborted transaction.
[40051.058476] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[40051.060514] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 2, rd 1, flush 0, corrupt 0, gen 0
[40051.060531] BTRFS warning (device dm-11: state EA): direct IO failed ino 1145 rw 0,0 sector 0x19d010 len 65536 err no 10
[40051.061815] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 2, rd 2, flush 0, corrupt 0, gen 0
[40051.061848] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 2, rd 3, flush 0, corrupt 0, gen 0
[40051.063472] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[40051.086439] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 2, rd 4, flush 0, corrupt 0, gen 0
[40051.086456] BTRFS warning (device dm-11: state EA): direct IO failed ino 258 rw 0,0 sector 0x1a4c78 len 49152 err no 10
[40051.086611] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 2, rd 5, flush 0, corrupt 0, gen 0
[40051.086663] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 2, rd 6, flush 0, corrupt 0, gen 0
[40051.102451] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 2, rd 7, flush 0, corrupt 0, gen 0
[40051.102495] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 2, rd 8, flush 0, corrupt 0, gen 0
[40051.711068] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[40051.711076] BTRFS info (device dm-11): use zstd compression, level 3
[40051.711079] BTRFS info (device dm-11): turning on async discard
[40051.711081] BTRFS info (device dm-11): disk space caching is enabled
[40051.759754] BTRFS error (device dm-11): error reading free space cache
[40051.759779] BTRFS warning (device dm-11): failed to load free space cache for block group 298844160, rebuilding it now
[40051.760720] BTRFS warning (device dm-11): direct IO failed ino 1320 rw 1,34817 sector 0x112fd0 len 4096 err no 10
[40051.763891] BTRFS: error (device dm-11: state A) in do_free_extent_accounting:2848: errno=-5 IO failure
[40051.764512] BTRFS info (device dm-11: state EA): forced readonly
[40051.764517] BTRFS: error (device dm-11: state EA) in btrfs_run_delayed_refs:2141: errno=-5 IO failure
[40051.765711] BTRFS warning (device dm-11: state EA): Skipping commit of aborted transaction.
[40051.765716] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[40051.774381] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[40052.379797] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[40052.379805] BTRFS info (device dm-11): use zstd compression, level 3
[40052.379809] BTRFS info (device dm-11): turning on async discard
[40052.379810] BTRFS info (device dm-11): disk space caching is enabled
[40054.419882] BTRFS: error (device dm-11) in btrfs_commit_transaction:2496: errno=-5 IO failure (Error while writing out transaction)
[40054.420840] BTRFS info (device dm-11: state E): forced readonly
[40054.420846] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[40054.420851] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[40054.428518] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[40055.045120] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[40055.045129] BTRFS info (device dm-11): use zstd compression, level 3
[40055.045132] BTRFS info (device dm-11): turning on async discard
[40055.045134] BTRFS info (device dm-11): disk space caching is enabled
[40057.125050] btrfs_dev_stat_inc_and_print: 49 callbacks suppressed
[40057.125055] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 1, rd 0, flush 0, corrupt 0, gen 0
[40057.125144] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 2, rd 0, flush 0, corrupt 0, gen 0
[40057.130434] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 2, rd 1, flush 0, corrupt 0, gen 0
[40057.131098] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 2, rd 2, flush 0, corrupt 0, gen 0
[40057.131331] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 3, rd 2, flush 0, corrupt 0, gen 0
[40057.132856] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 3, rd 3, flush 0, corrupt 0, gen 0
[40057.136511] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 4, rd 3, flush 0, corrupt 0, gen 0
[40057.136530] BTRFS warning (device dm-11): direct IO failed ino 1547 rw 1,34817 sector 0x1e7a80 len 98304 err no 10
[40057.136614] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 4, rd 4, flush 0, corrupt 0, gen 0
[40057.137111] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[40057.137448] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 4, rd 5, flush 0, corrupt 0, gen 0
[40057.138898] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 5, rd 5, flush 0, corrupt 0, gen 0
[40057.139602] BTRFS warning (device dm-11): direct IO failed ino 1369 rw 1,34817 sector 0x1e7a80 len 4096 err no 10
[40057.140194] BTRFS warning (device dm-11): direct IO failed ino 258 rw 1,34817 sector 0x1e7a80 len 102400 err no 10
[40057.146416] BTRFS: error (device dm-11) in btrfs_commit_transaction:2496: errno=-5 IO failure (Error while writing out transaction)
[40057.147120] BTRFS info (device dm-11: state E): forced readonly
[40057.147125] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[40057.147128] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[40057.148017] BTRFS warning (device dm-11: state EA): direct IO failed ino 1425 rw 0,0 sector 0x1d9e48 len 20480 err no 10
[40057.151471] BTRFS warning (device dm-11: state EA): Skipping commit of aborted transaction.
[40057.157369] BTRFS warning (device dm-11: state EA): direct IO failed ino 1500 rw 0,0 sector 0x1e1870 len 24576 err no 10
[40057.772850] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[40057.772861] BTRFS info (device dm-11): use zstd compression, level 3
[40057.772866] BTRFS info (device dm-11): turning on async discard
[40057.772869] BTRFS info (device dm-11): disk space caching is enabled
[40057.778531] BTRFS info (device dm-11): start tree-log replay
[40057.790814] ------------[ cut here ]------------
[40057.790888] WARNING: CPU: 1 PID: 1323444 at fs/btrfs/discard.c:604 btrfs_discard_update_discardable+0x98/0xb0
[40057.790895] 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 rfkill ip_set nf_tables nfnetlink intel_rapl_msr iTCO_wdt iTCO_vendor_support snd_hda_codec_generic snd_hda_intel snd_intel_dspcfg snd_hda_codec intel_rapl_common snd_hwdep snd_hda_core i2c_i801 snd_pcm joydev snd_timer i2c_smbus snd virtio_balloon soundcore lpc_ich zram ip_tables xfs crct10dif_pclmul crc32_pclmul crc32c_intel ghash_clmulni_intel serio_raw qemu_fw_cfg
[40057.790962] CPU: 1 PID: 1323444 Comm: kworker/u4:7 Tainted: G        W         5.19.0-rc8+ #791
[40057.790965] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.13.0-2.fc32 04/01/2014
[40057.790966] Workqueue: btrfs-cache btrfs_work_helper
[40057.790972] RIP: 0010:btrfs_discard_update_discardable+0x98/0xb0
[40057.790974] Code: 17 00 00 48 8b 83 80 00 00 00 48 89 83 88 00 00 00 5b 5d c3 cc cc cc cc 48 8d 7b 18 be ff ff ff ff e8 2c 9a 7e 00 85 c0 75 ac <0f> 0b eb a8 c3 cc cc cc cc 66 66 2e 0f 1f 84 00 00 00 00 00 0f 1f
[40057.790977] RSP: 0018:ffffbaea85017ad0 EFLAGS: 00010246
[40057.790980] RAX: 0000000000000000 RBX: ffff8f4db8c3fc00 RCX: 0000000000000001
[40057.790981] RDX: 0000000000000000 RSI: ffffffff8e807c5b RDI: ffffffff8e8a831e
[40057.790983] RBP: ffff8f4dac51c000 R08: 0000000000000000 R09: 0000000000001000
[40057.790984] R10: ffff8f4ca45847d0 R11: 00000000009e8000 R12: ffff8f4d44449810
[40057.790986] R13: ffff8f4d567784c0 R14: ffff8f4dac51c000 R15: ffff8f4d4559e7e0
[40057.790988] FS:  0000000000000000(0000) GS:ffff8f4dbbd00000(0000) knlGS:0000000000000000
[40057.790990] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[40057.790991] CR2: 00007fc5eb80f658 CR3: 0000000100aa2003 CR4: 0000000000370ee0
[40057.790995] Call Trace:
[40057.790998]  
[40057.791003]  __btrfs_remove_free_space_cache+0x27/0x30
[40057.791007]  load_free_space_cache+0xad2/0xaf0
[40057.791046]  caching_thread+0x40b/0x650
[40057.791055]  ? lock_release+0x137/0x2d0
[40057.791062]  btrfs_work_helper+0xf2/0x3e0
[40057.791065]  ? lock_is_held_type+0xe2/0x140
[40057.791072]  process_one_work+0x271/0x590
[40057.791081]  ? process_one_work+0x590/0x590
[40057.791083]  worker_thread+0x52/0x3b0
[40057.791088]  ? process_one_work+0x590/0x590
[40057.791091]  kthread+0xf0/0x120
[40057.791093]  ? kthread_complete_and_exit+0x20/0x20
[40057.791098]  ret_from_fork+0x1f/0x30
[40057.791112]  
[40057.791113] irq event stamp: 4436461
[40057.791114] hardirqs last  enabled at (4436467): [] __up_console_sem+0x5e/0x70
[40057.791117] hardirqs last disabled at (4436472): [] __up_console_sem+0x43/0x70
[40057.791119] softirqs last  enabled at (4435028): [] __irq_exit_rcu+0xeb/0x160
[40057.791122] softirqs last disabled at (4435023): [] __irq_exit_rcu+0xeb/0x160
[40057.791125] ---[ end trace 0000000000000000 ]---
[40057.791128] BTRFS warning (device dm-11): block group 298844160 has wrong amount of free space
[40057.791145] BTRFS warning (device dm-11): failed to load free space cache for block group 298844160, rebuilding it now
[40057.848059] BTRFS info (device dm-11): checking UUID tree
[40057.879798] BTRFS warning (device dm-11): iterating uuid_tree failed -5
[40057.890073] BTRFS: error (device dm-11: state A) in do_free_extent_accounting:2848: errno=-5 IO failure
[40057.890614] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[40057.890897] BTRFS info (device dm-11: state EA): forced readonly
[40057.890914] BTRFS: error (device dm-11: state EA) in btrfs_run_delayed_refs:2141: errno=-5 IO failure
[40058.443444] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[40058.443451] BTRFS info (device dm-11): use zstd compression, level 3
[40058.443454] BTRFS info (device dm-11): turning on async discard
[40058.443456] BTRFS info (device dm-11): disk space caching is enabled
[40058.461366] BTRFS info (device dm-11): checking UUID tree
[40059.519793] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[40059.519812] BTRFS error (device dm-11): error writing primary super block to device 1
[40059.519817] BTRFS: error (device dm-11) in write_all_supers:4342: errno=-5 IO failure (1 errors while writing supers)
[40059.520501] BTRFS info (device dm-11: state E): forced readonly
[40059.520510] BTRFS: error (device dm-11: state EA) in btrfs_sync_log:3203: errno=-5 IO failure
[40059.521432] BTRFS warning (device dm-11: state EA): direct IO failed ino 1586 rw 0,0 sector 0x1d4220 len 20480 err no 10
[40059.524019] BTRFS warning (device dm-11: state EA): Skipping commit of aborted transaction.
[40059.524023] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[40059.534670] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[40059.564758] BTRFS warning (device dm-11: state EA): direct IO failed ino 264 rw 0,0 sector 0x1f0e80 len 16384 err no 10
[40059.565133] BTRFS warning (device dm-11: state EA): direct IO failed ino 260 rw 0,0 sector 0x1f1148 len 24576 err no 10
[40060.200191] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[40060.200200] BTRFS info (device dm-11): use zstd compression, level 3
[40060.200203] BTRFS info (device dm-11): turning on async discard
[40060.200205] BTRFS info (device dm-11): disk space caching is enabled
[40060.205378] BTRFS info (device dm-11): start tree-log replay
[40062.303654] btrfs_dev_stat_inc_and_print: 41 callbacks suppressed
[40062.303657] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 1, rd 0, flush 0, corrupt 0, gen 0
[40062.303672] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[40062.303677] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 2, rd 0, flush 0, corrupt 0, gen 0
[40062.303685] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[40062.303687] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 3, rd 0, flush 0, corrupt 0, gen 0
[40062.303692] BTRFS error (device dm-11): error writing primary super block to device 1
[40062.303694] BTRFS: error (device dm-11) in write_all_supers:4342: errno=-5 IO failure (1 errors while writing supers)
[40062.304545] BTRFS info (device dm-11: state E): forced readonly
[40062.304551] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[40062.304562] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[40062.306944] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 4, rd 0, flush 0, corrupt 0, gen 0
[40062.307549] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 5, rd 0, flush 0, corrupt 0, gen 0
[40062.307590] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 6, rd 0, flush 0, corrupt 0, gen 0
[40062.307853] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 7, rd 0, flush 0, corrupt 0, gen 0
[40062.312588] BTRFS warning (device dm-11: state EA): Skipping commit of aborted transaction.
[40062.312619] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[40062.313454] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[40062.314181] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 7, rd 1, flush 0, corrupt 0, gen 0
[40062.314237] BTRFS warning (device dm-11: state EA): direct IO failed ino 1677 rw 0,0 sector 0x205dc8 len 28672 err no 10
[40062.315543] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 7, rd 2, flush 0, corrupt 0, gen 0
[40062.315557] BTRFS warning (device dm-11: state EA): direct IO failed ino 1675 rw 0,0 sector 0x2084e8 len 32768 err no 10
[40062.320286] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 7, rd 3, flush 0, corrupt 0, gen 0
[40062.320302] BTRFS warning (device dm-11: state EA): direct IO failed ino 259 rw 0,0 sector 0x2078e8 len 16384 err no 10
[40062.353042] BTRFS warning (device dm-11: state EA): direct IO failed ino 272 rw 0,0 sector 0x1fd478 len 20480 err no 10
[40062.354272] BTRFS warning (device dm-11: state EA): direct IO failed ino 1679 rw 0,0 sector 0x205ca8 len 28672 err no 10
[40062.992725] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[40062.992733] BTRFS info (device dm-11): use zstd compression, level 3
[40062.992736] BTRFS info (device dm-11): turning on async discard
[40062.992738] BTRFS info (device dm-11): disk space caching is enabled
[40064.069060] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[40064.069073] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[40064.069087] BTRFS error (device dm-11): error writing primary super block to device 1
[40064.069090] BTRFS: error (device dm-11) in write_all_supers:4342: errno=-5 IO failure (1 errors while writing supers)
[40064.069925] BTRFS info (device dm-11: state E): forced readonly
[40064.069931] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[40064.069935] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[40064.074702] BTRFS warning (device dm-11: state EA): Skipping commit of aborted transaction.
[40064.075081] BTRFS warning (device dm-11: state EA): direct IO failed ino 257 rw 0,0 sector 0x2198b0 len 28672 err no 10
[40064.086385] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[40064.098613] BTRFS warning (device dm-11: state EA): direct IO failed ino 257 rw 0,0 sector 0x20f538 len 57344 err no 10
[40064.098643] BTRFS warning (device dm-11: state EA): direct IO failed ino 257 rw 0,0 sector 0x1d4c50 len 4096 err no 10
[40064.100972] BTRFS warning (device dm-11: state EA): direct IO failed ino 1766 rw 0,0 sector 0x219468 len 32768 err no 10
[40064.128038] BTRFS warning (device dm-11: state EA): direct IO failed ino 1730 rw 0,0 sector 0x210f00 len 36864 err no 10
[40064.129605] BTRFS warning (device dm-11: state EA): direct IO failed ino 1708 rw 0,0 sector 0x20f440 len 94208 err no 10
[40064.156613] BTRFS warning (device dm-11: state EA): direct IO failed ino 1742 rw 0,0 sector 0x212818 len 94208 err no 10
[40064.158762] BTRFS warning (device dm-11: state EA): direct IO failed ino 1633 rw 0,0 sector 0x215fb8 len 36864 err no 10
[40064.160744] BTRFS warning (device dm-11: state EA): direct IO failed ino 1633 rw 0,0 sector 0x20d420 len 8192 err no 10
[40064.808057] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[40064.808066] BTRFS info (device dm-11): use zstd compression, level 3
[40064.808070] BTRFS info (device dm-11): turning on async discard
[40064.808071] BTRFS info (device dm-11): disk space caching is enabled
[40064.843136] ------------[ cut here ]------------
[40064.843262] WARNING: CPU: 0 PID: 1328639 at fs/btrfs/discard.c:604 btrfs_discard_update_discardable+0x98/0xb0
[40064.843270] 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 rfkill ip_set nf_tables nfnetlink intel_rapl_msr iTCO_wdt iTCO_vendor_support snd_hda_codec_generic snd_hda_intel snd_intel_dspcfg snd_hda_codec intel_rapl_common snd_hwdep snd_hda_core i2c_i801 snd_pcm joydev snd_timer i2c_smbus snd virtio_balloon soundcore lpc_ich zram ip_tables xfs crct10dif_pclmul crc32_pclmul crc32c_intel ghash_clmulni_intel serio_raw qemu_fw_cfg
[40064.843383] CPU: 0 PID: 1328639 Comm: kworker/u4:8 Tainted: G        W         5.19.0-rc8+ #791
[40064.843387] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.13.0-2.fc32 04/01/2014
[40064.843390] Workqueue: btrfs-cache btrfs_work_helper
[40064.843398] RIP: 0010:btrfs_discard_update_discardable+0x98/0xb0
[40064.843402] Code: 17 00 00 48 8b 83 80 00 00 00 48 89 83 88 00 00 00 5b 5d c3 cc cc cc cc 48 8d 7b 18 be ff ff ff ff e8 2c 9a 7e 00 85 c0 75 ac <0f> 0b eb a8 c3 cc cc cc cc 66 66 2e 0f 1f 84 00 00 00 00 00 0f 1f
[40064.843405] RSP: 0018:ffffbaea83a77ad0 EFLAGS: 00010246
[40064.843410] RAX: 0000000000000000 RBX: ffff8f4db8c3f800 RCX: 0000000000000001
[40064.843413] RDX: 0000000000000000 RSI: ffffffff8e807c5b RDI: ffffffff8e8a831e
[40064.843416] RBP: ffff8f4d52420000 R08: 0000000000000000 R09: 0000000000001000
[40064.843419] R10: ffff8f4c492537d0 R11: 0000000000000000 R12: ffff8f4d4444a810
[40064.843421] R13: ffff8f4d5507f480 R14: ffff8f4d52420000 R15: ffff8f4d53cd3d20
[40064.843424] FS:  0000000000000000(0000) GS:ffff8f4dbbc00000(0000) knlGS:0000000000000000
[40064.843427] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[40064.843430] CR2: 00007f331f1ef160 CR3: 0000000120e2e002 CR4: 0000000000370ef0
[40064.843436] Call Trace:
[40064.843440]  
[40064.843446]  __btrfs_remove_free_space_cache+0x27/0x30
[40064.843452]  load_free_space_cache+0xad2/0xaf0
[40064.843535]  caching_thread+0x40b/0x650
[40064.843550]  ? lock_release+0x137/0x2d0
[40064.843564]  btrfs_work_helper+0xf2/0x3e0
[40064.843568]  ? lock_is_held_type+0xe2/0x140
[40064.843580]  process_one_work+0x271/0x590
[40064.843596]  worker_thread+0x52/0x3b0
[40064.843603]  ? process_one_work+0x590/0x590
[40064.843608]  kthread+0xf0/0x120
[40064.843611]  ? kthread_complete_and_exit+0x20/0x20
[40064.843618]  ret_from_fork+0x1f/0x30
[40064.843642]  
[40064.843645] irq event stamp: 3055469
[40064.843647] hardirqs last  enabled at (3055475): [] __up_console_sem+0x5e/0x70
[40064.843652] hardirqs last disabled at (3055480): [] __up_console_sem+0x43/0x70
[40064.843656] softirqs last  enabled at (3054938): [] __irq_exit_rcu+0xeb/0x160
[40064.843660] softirqs last disabled at (3054929): [] __irq_exit_rcu+0xeb/0x160
[40064.843663] ---[ end trace 0000000000000000 ]---
[40064.843668] BTRFS warning (device dm-11): block group 298844160 has wrong amount of free space
[40064.843689] BTRFS warning (device dm-11): failed to load free space cache for block group 298844160, rebuilding it now
[40066.861953] BTRFS warning (device dm-11): direct IO failed ino 263 rw 1,34817 sector 0x232b50 len 73728 err no 10
[40066.861989] BTRFS warning (device dm-11): direct IO failed ino 257 rw 1,34817 sector 0x232be0 len 126976 err no 10
[40066.881368] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[40066.883011] BTRFS: error (device dm-11) in btrfs_commit_transaction:2496: errno=-5 IO failure (Error while writing out transaction)
[40066.884002] BTRFS info (device dm-11: state E): forced readonly
[40066.884009] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[40066.884014] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[40066.887149] BTRFS: error (device dm-11: state EA) in btrfs_start_dirty_block_groups:3051: errno=-5 IO failure
[40067.630531] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[40067.630541] BTRFS info (device dm-11): use zstd compression, level 3
[40067.630545] BTRFS info (device dm-11): turning on async discard
[40067.630547] BTRFS info (device dm-11): disk space caching is enabled
[40069.689549] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[40069.689555] btrfs_dev_stat_inc_and_print: 53 callbacks suppressed
[40069.689557] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 1, rd 0, flush 0, corrupt 0, gen 0
[40069.689568] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[40069.689571] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 2, rd 0, flush 0, corrupt 0, gen 0
[40069.689577] BTRFS error (device dm-11): error writing primary super block to device 1
[40069.689581] BTRFS: error (device dm-11) in write_all_supers:4342: errno=-5 IO failure (1 errors while writing supers)
[40069.690190] BTRFS info (device dm-11: state E): forced readonly
[40069.690195] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[40069.690198] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[40069.694957] BTRFS warning (device dm-11: state EA): Skipping commit of aborted transaction.
[40069.694963] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[40069.695314] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 3, rd 0, flush 0, corrupt 0, gen 0
[40069.696078] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 4, rd 0, flush 0, corrupt 0, gen 0
[40069.696440] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 5, rd 0, flush 0, corrupt 0, gen 0
[40069.696794] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 6, rd 0, flush 0, corrupt 0, gen 0
[40069.696981] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 7, rd 0, flush 0, corrupt 0, gen 0
[40069.697047] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 8, rd 0, flush 0, corrupt 0, gen 0
[40069.697233] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 9, rd 0, flush 0, corrupt 0, gen 0
[40069.697877] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 10, rd 0, flush 0, corrupt 0, gen 0
[40069.703748] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[40069.704020] BTRFS warning (device dm-11: state EA): direct IO failed ino 283 rw 0,0 sector 0x247620 len 4096 err no 10
[40069.704076] BTRFS warning (device dm-11: state EA): direct IO failed ino 283 rw 0,0 sector 0x247628 len 12288 err no 10
[40069.704086] BTRFS warning (device dm-11: state EA): direct IO failed ino 283 rw 0,0 sector 0x247650 len 32768 err no 10
[40069.704086] BTRFS warning (device dm-11: state EA): direct IO failed ino 283 rw 0,0 sector 0x247640 len 8192 err no 10
[40069.705329] BTRFS warning (device dm-11: state EA): direct IO failed ino 1855 rw 0,0 sector 0x23f510 len 45056 err no 10
[40069.721195] BTRFS warning (device dm-11: state EA): direct IO failed ino 265 rw 0,0 sector 0x249548 len 16384 err no 10
[40070.355767] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[40070.355776] BTRFS info (device dm-11): use zstd compression, level 3
[40070.355779] BTRFS info (device dm-11): turning on async discard
[40070.355780] BTRFS info (device dm-11): disk space caching is enabled
[40070.414075] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[40070.433198] BTRFS error (device dm-11): error reading free space cache
[40070.433213] BTRFS warning (device dm-11): failed to load free space cache for block group 298844160, rebuilding it now
[40070.435085] BTRFS: error (device dm-11: state A) in __btrfs_free_extent:3078: errno=-5 IO failure
[40070.435645] BTRFS info (device dm-11: state EA): forced readonly
[40070.435650] BTRFS: error (device dm-11: state EA) in btrfs_run_delayed_refs:2141: errno=-5 IO failure
[40070.984609] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[40070.984617] BTRFS info (device dm-11): use zstd compression, level 3
[40070.984621] BTRFS info (device dm-11): turning on async discard
[40070.984623] BTRFS info (device dm-11): disk space caching is enabled
[40071.011975] ------------[ cut here ]------------
[40071.012051] WARNING: CPU: 0 PID: 1312613 at fs/btrfs/discard.c:604 btrfs_discard_update_discardable+0x98/0xb0
[40071.012059] 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 rfkill ip_set nf_tables nfnetlink intel_rapl_msr iTCO_wdt iTCO_vendor_support snd_hda_codec_generic snd_hda_intel snd_intel_dspcfg snd_hda_codec intel_rapl_common snd_hwdep snd_hda_core i2c_i801 snd_pcm joydev snd_timer i2c_smbus snd virtio_balloon soundcore lpc_ich zram ip_tables xfs crct10dif_pclmul crc32_pclmul crc32c_intel ghash_clmulni_intel serio_raw qemu_fw_cfg
[40071.012180] CPU: 0 PID: 1312613 Comm: kworker/u4:2 Tainted: G        W         5.19.0-rc8+ #791
[40071.012182] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.13.0-2.fc32 04/01/2014
[40071.012184] Workqueue: btrfs-cache btrfs_work_helper
[40071.012190] RIP: 0010:btrfs_discard_update_discardable+0x98/0xb0
[40071.012193] Code: 17 00 00 48 8b 83 80 00 00 00 48 89 83 88 00 00 00 5b 5d c3 cc cc cc cc 48 8d 7b 18 be ff ff ff ff e8 2c 9a 7e 00 85 c0 75 ac <0f> 0b eb a8 c3 cc cc cc cc 66 66 2e 0f 1f 84 00 00 00 00 00 0f 1f
[40071.012196] RSP: 0018:ffffbaea868ffad0 EFLAGS: 00010246
[40071.012198] RAX: 0000000000000000 RBX: ffff8f4d43adde00 RCX: 0000000000000001
[40071.012200] RDX: 0000000000000000 RSI: ffffffff8e807c5b RDI: ffffffff8e8a831e
[40071.012202] RBP: ffff8f4d46f3c000 R08: 0000000000000000 R09: 0000000000001000
[40071.012204] R10: ffff8f4c7119ff20 R11: 00000000009e8e00 R12: ffff8f4d5056a810
[40071.012205] R13: ffff8f4d551661e0 R14: ffff8f4d46f3c000 R15: ffff8f4d4c100d90
[40071.012207] FS:  0000000000000000(0000) GS:ffff8f4dbbc00000(0000) knlGS:0000000000000000
[40071.012209] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[40071.012211] CR2: 0000000001d42000 CR3: 0000000115d74003 CR4: 0000000000370ef0
[40071.012215] Call Trace:
[40071.012218]  
[40071.012223]  __btrfs_remove_free_space_cache+0x27/0x30
[40071.012228]  load_free_space_cache+0xad2/0xaf0
[40071.012268]  caching_thread+0x40b/0x650
[40071.012277]  ? lock_release+0x137/0x2d0
[40071.012285]  btrfs_work_helper+0xf2/0x3e0
[40071.012288]  ? lock_is_held_type+0xe2/0x140
[40071.012295]  process_one_work+0x271/0x590
[40071.012306]  worker_thread+0x52/0x3b0
[40071.012310]  ? process_one_work+0x590/0x590
[40071.012313]  kthread+0xf0/0x120
[40071.012316]  ? kthread_complete_and_exit+0x20/0x20
[40071.012321]  ret_from_fork+0x1f/0x30
[40071.012334]  
[40071.012336] irq event stamp: 4182907
[40071.012337] hardirqs last  enabled at (4182913): [] __up_console_sem+0x5e/0x70
[40071.012340] hardirqs last disabled at (4182918): [] __up_console_sem+0x43/0x70
[40071.012343] softirqs last  enabled at (4182622): [] __irq_exit_rcu+0xeb/0x160
[40071.012346] softirqs last disabled at (4182597): [] __irq_exit_rcu+0xeb/0x160
[40071.012348] ---[ end trace 0000000000000000 ]---
[40071.012351] BTRFS warning (device dm-11): block group 298844160 has wrong amount of free space
[40071.012369] BTRFS warning (device dm-11): failed to load free space cache for block group 298844160, rebuilding it now
[40072.029606] BTRFS: error (device dm-11) in btrfs_commit_transaction:2496: errno=-5 IO failure (Error while writing out transaction)
[40072.030618] BTRFS info (device dm-11: state E): forced readonly
[40072.030625] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[40072.030630] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[40072.035254] BTRFS: error (device dm-11: state EA) in btrfs_start_dirty_block_groups:3051: errno=-5 IO failure
[40072.038550] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[40072.078287] BTRFS warning (device dm-11: state EA): direct IO failed ino 259 rw 0,0 sector 0x253030 len 16384 err no 10
[40072.686066] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[40072.686074] BTRFS info (device dm-11): use zstd compression, level 3
[40072.686078] BTRFS info (device dm-11): turning on async discard
[40072.686080] BTRFS info (device dm-11): disk space caching is enabled
[40072.690402] BTRFS info (device dm-11): start tree-log replay
[40073.792443] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[40073.792461] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[40073.792480] BTRFS error (device dm-11): error writing primary super block to device 1
[40073.792487] BTRFS: error (device dm-11) in write_all_supers:4342: errno=-5 IO failure (1 errors while writing supers)
[40073.793364] BTRFS info (device dm-11: state E): forced readonly
[40073.793371] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[40073.793376] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[40073.800723] BTRFS warning (device dm-11: state EA): Skipping commit of aborted transaction.
[40073.800729] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[40073.806908] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[40073.821541] BTRFS warning (device dm-11: state EA): direct IO failed ino 1987 rw 0,0 sector 0x25e9e8 len 4096 err no 10
[40073.821883] BTRFS warning (device dm-11: state EA): direct IO failed ino 260 rw 0,0 sector 0x261420 len 8192 err no 10
[40073.826695] BTRFS warning (device dm-11: state EA): direct IO failed ino 270 rw 0,0 sector 0x261348 len 20480 err no 10
[40073.826729] BTRFS warning (device dm-11: state EA): direct IO failed ino 266 rw 0,0 sector 0x261d80 len 8192 err no 10
[40073.827898] BTRFS warning (device dm-11: state EA): direct IO failed ino 275 rw 0,0 sector 0x25e538 len 73728 err no 10
[40073.828456] BTRFS warning (device dm-11: state EA): direct IO failed ino 275 rw 0,0 sector 0x25e548 len 65536 err no 10
[40074.434724] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[40074.434731] BTRFS info (device dm-11): use zstd compression, level 3
[40074.434734] BTRFS info (device dm-11): turning on async discard
[40074.434735] BTRFS info (device dm-11): disk space caching is enabled
[40074.439112] BTRFS info (device dm-11): start tree-log replay
[40074.447352] BTRFS info (device dm-11): the free space cache file (298844160) is invalid, skip it
[40075.658831] btrfs_dev_stat_inc_and_print: 84 callbacks suppressed
[40075.658834] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 1, rd 0, flush 0, corrupt 0, gen 0
[40075.658889] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 2, rd 0, flush 0, corrupt 0, gen 0
[40075.660556] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 3, rd 0, flush 0, corrupt 0, gen 0
[40075.661541] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 4, rd 0, flush 0, corrupt 0, gen 0
[40075.661575] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 5, rd 0, flush 0, corrupt 0, gen 0
[40075.661833] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 6, rd 0, flush 0, corrupt 0, gen 0
[40075.661845] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 7, rd 0, flush 0, corrupt 0, gen 0
[40075.661966] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 8, rd 0, flush 0, corrupt 0, gen 0
[40075.661977] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 9, rd 0, flush 0, corrupt 0, gen 0
[40075.662031] BTRFS: error (device dm-11) in btrfs_commit_transaction:2496: errno=-5 IO failure (Error while writing out transaction)
[40075.662942] BTRFS info (device dm-11: state E): forced readonly
[40075.662948] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[40075.662953] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[40075.667186] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 10, rd 0, flush 0, corrupt 0, gen 0
[40075.673073] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[40076.349304] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[40076.349333] BTRFS info (device dm-11): use zstd compression, level 3
[40076.349337] BTRFS info (device dm-11): turning on async discard
[40076.349338] BTRFS info (device dm-11): disk space caching is enabled
[40076.383071] ------------[ cut here ]------------
[40076.383156] WARNING: CPU: 0 PID: 1328642 at fs/btrfs/discard.c:604 btrfs_discard_update_discardable+0x98/0xb0
[40076.383164] 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 rfkill ip_set nf_tables nfnetlink intel_rapl_msr iTCO_wdt iTCO_vendor_support snd_hda_codec_generic snd_hda_intel snd_intel_dspcfg snd_hda_codec intel_rapl_common snd_hwdep snd_hda_core i2c_i801 snd_pcm joydev snd_timer i2c_smbus snd virtio_balloon soundcore lpc_ich zram ip_tables xfs crct10dif_pclmul crc32_pclmul crc32c_intel ghash_clmulni_intel serio_raw qemu_fw_cfg
[40076.383272] CPU: 0 PID: 1328642 Comm: kworker/u4:12 Tainted: G        W         5.19.0-rc8+ #791
[40076.383276] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.13.0-2.fc32 04/01/2014
[40076.383279] Workqueue: btrfs-cache btrfs_work_helper
[40076.383286] RIP: 0010:btrfs_discard_update_discardable+0x98/0xb0
[40076.383290] Code: 17 00 00 48 8b 83 80 00 00 00 48 89 83 88 00 00 00 5b 5d c3 cc cc cc cc 48 8d 7b 18 be ff ff ff ff e8 2c 9a 7e 00 85 c0 75 ac <0f> 0b eb a8 c3 cc cc cc cc 66 66 2e 0f 1f 84 00 00 00 00 00 0f 1f
[40076.383294] RSP: 0018:ffffbaea83a8fad0 EFLAGS: 00010246
[40076.383298] RAX: 0000000000000000 RBX: ffff8f4db8c3fa00 RCX: 0000000000000001
[40076.383301] RDX: 0000000000000000 RSI: ffffffff8e807c5b RDI: ffffffff8e8a831e
[40076.383304] RBP: ffff8f4d6f0d8000 R08: 0000000000000000 R09: 0000000000001000
[40076.383306] R10: ffff8f4d4762b560 R11: 00000000009f2b00 R12: ffff8f4d4444c810
[40076.383309] R13: ffff8f4d40545890 R14: ffff8f4d6f0d8000 R15: ffff8f4d69c05d20
[40076.383311] FS:  0000000000000000(0000) GS:ffff8f4dbbc00000(0000) knlGS:0000000000000000
[40076.383315] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[40076.383318] CR2: 00007ffe109fdef0 CR3: 00000001127ca003 CR4: 0000000000370ef0
[40076.383323] Call Trace:
[40076.383326]  
[40076.383333]  __btrfs_remove_free_space_cache+0x27/0x30
[40076.383351]  load_free_space_cache+0xad2/0xaf0
[40076.383429]  caching_thread+0x40b/0x650
[40076.383444]  ? lock_release+0x137/0x2d0
[40076.383457]  btrfs_work_helper+0xf2/0x3e0
[40076.383461]  ? lock_is_held_type+0xe2/0x140
[40076.383474]  process_one_work+0x271/0x590
[40076.383489]  ? process_one_work+0x590/0x590
[40076.383494]  worker_thread+0x52/0x3b0
[40076.383502]  ? process_one_work+0x590/0x590
[40076.383507]  kthread+0xf0/0x120
[40076.383511]  ? kthread_complete_and_exit+0x20/0x20
[40076.383518]  ret_from_fork+0x1f/0x30
[40076.383542]  
[40076.383545] irq event stamp: 2546557
[40076.383547] hardirqs last  enabled at (2546563): [] __up_console_sem+0x5e/0x70
[40076.383551] hardirqs last disabled at (2546568): [] __up_console_sem+0x43/0x70
[40076.383555] softirqs last  enabled at (2546014): [] __irq_exit_rcu+0xeb/0x160
[40076.383559] softirqs last disabled at (2546009): [] __irq_exit_rcu+0xeb/0x160
[40076.383563] ---[ end trace 0000000000000000 ]---
[40076.383567] BTRFS warning (device dm-11): block group 298844160 has wrong amount of free space
[40076.383589] BTRFS warning (device dm-11): failed to load free space cache for block group 298844160, rebuilding it now
[40077.398257] BTRFS: error (device dm-11) in btrfs_commit_transaction:2496: errno=-5 IO failure (Error while writing out transaction)
[40077.399136] BTRFS info (device dm-11: state E): forced readonly
[40077.399159] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[40077.399162] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[40077.408434] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[40078.016185] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[40078.016195] BTRFS info (device dm-11): use zstd compression, level 3
[40078.016198] BTRFS info (device dm-11): turning on async discard
[40078.016200] BTRFS info (device dm-11): disk space caching is enabled
[40078.020018] BTRFS info (device dm-11): start tree-log replay
[40078.103578] BTRFS warning (device dm-11): direct IO failed ino 2124 rw 1,34817 sector 0x2786d8 len 65536 err no 10
[40078.108118] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[40078.115771] BTRFS warning (device dm-11): direct IO failed ino 2122 rw 1,34817 sector 0x278f18 len 94208 err no 10
[40078.121454] BTRFS: error (device dm-11) in btrfs_commit_transaction:2496: errno=-5 IO failure (Error while writing out transaction)
[40078.122165] BTRFS info (device dm-11: state E): forced readonly
[40078.122170] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[40078.122172] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[40078.722570] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[40078.722578] BTRFS info (device dm-11): use zstd compression, level 3
[40078.722581] BTRFS info (device dm-11): turning on async discard
[40078.722583] BTRFS info (device dm-11): disk space caching is enabled
[40079.755686] BTRFS: error (device dm-11) in btrfs_commit_transaction:2496: errno=-5 IO failure (Error while writing out transaction)
[40079.756708] BTRFS info (device dm-11: state E): forced readonly
[40079.756716] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[40079.756721] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[40079.770009] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[40080.425655] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[40080.425679] BTRFS info (device dm-11): use zstd compression, level 3
[40080.425682] BTRFS info (device dm-11): turning on async discard
[40080.425684] BTRFS info (device dm-11): disk space caching is enabled
[40080.430076] BTRFS info (device dm-11): start tree-log replay
[40082.542712] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[40082.542718] btrfs_dev_stat_inc_and_print: 97 callbacks suppressed
[40082.542720] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 1, rd 0, flush 0, corrupt 0, gen 0
[40082.542734] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[40082.542737] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 2, rd 0, flush 0, corrupt 0, gen 0
[40082.542749] BTRFS error (device dm-11): error writing primary super block to device 1
[40082.542754] BTRFS: error (device dm-11) in write_all_supers:4342: errno=-5 IO failure (1 errors while writing supers)
[40082.543347] BTRFS info (device dm-11: state E): forced readonly
[40082.543352] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[40082.543355] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[40082.544987] BTRFS warning (device dm-11: state EA): Skipping commit of aborted transaction.
[40082.544992] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[40082.549119] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 3, rd 0, flush 0, corrupt 0, gen 0
[40082.550018] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 4, rd 0, flush 0, corrupt 0, gen 0
[40082.550197] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 5, rd 0, flush 0, corrupt 0, gen 0
[40082.550466] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 6, rd 0, flush 0, corrupt 0, gen 0
[40082.550626] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 7, rd 0, flush 0, corrupt 0, gen 0
[40082.551209] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 8, rd 0, flush 0, corrupt 0, gen 0
[40082.551287] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 9, rd 0, flush 0, corrupt 0, gen 0
[40082.551356] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 10, rd 0, flush 0, corrupt 0, gen 0
[40082.553365] BTRFS warning (device dm-11: state EA): direct IO failed ino 2126 rw 0,0 sector 0x292240 len 4096 err no 10
[40082.557556] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[40082.581656] BTRFS warning (device dm-11: state EA): direct IO failed ino 2126 rw 0,0 sector 0x284e88 len 36864 err no 10
[40083.210804] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[40083.210812] BTRFS info (device dm-11): use zstd compression, level 3
[40083.210815] BTRFS info (device dm-11): turning on async discard
[40083.210817] BTRFS info (device dm-11): disk space caching is enabled
[40083.215453] BTRFS info (device dm-11): start tree-log replay
[40083.226045] BTRFS info (device dm-11): the free space cache file (298844160) is invalid, skip it
[40085.315155] BTRFS: error (device dm-11) in btrfs_commit_transaction:2496: errno=-5 IO failure (Error while writing out transaction)
[40085.315930] BTRFS info (device dm-11: state E): forced readonly
[40085.315935] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[40085.315939] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[40085.334310] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[40085.972304] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[40085.972312] BTRFS info (device dm-11): use zstd compression, level 3
[40085.972316] BTRFS info (device dm-11): turning on async discard
[40085.972318] BTRFS info (device dm-11): disk space caching is enabled
[40088.023644] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[40088.023651] btrfs_dev_stat_inc_and_print: 24 callbacks suppressed
[40088.023652] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 1, rd 0, flush 0, corrupt 0, gen 0
[40088.023663] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[40088.023666] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 2, rd 0, flush 0, corrupt 0, gen 0
[40088.023674] BTRFS error (device dm-11): error writing primary super block to device 1
[40088.023677] BTRFS: error (device dm-11) in write_all_supers:4342: errno=-5 IO failure (1 errors while writing supers)
[40088.024510] BTRFS info (device dm-11: state E): forced readonly
[40088.024516] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[40088.024529] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[40088.025999] BTRFS warning (device dm-11: state EA): Skipping commit of aborted transaction.
[40088.026007] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[40088.029000] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 2, rd 1, flush 0, corrupt 0, gen 0
[40088.030717] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 3, rd 1, flush 0, corrupt 0, gen 0
[40088.031605] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 4, rd 1, flush 0, corrupt 0, gen 0
[40088.031622] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 5, rd 1, flush 0, corrupt 0, gen 0
[40088.031627] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 6, rd 1, flush 0, corrupt 0, gen 0
[40088.032214] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 7, rd 1, flush 0, corrupt 0, gen 0
[40088.032369] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 8, rd 1, flush 0, corrupt 0, gen 0
[40088.033062] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 9, rd 1, flush 0, corrupt 0, gen 0
[40088.043693] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[40088.078630] BTRFS warning (device dm-11: state EA): direct IO failed ino 2423 rw 0,0 sector 0x2b6280 len 20480 err no 10
[40088.079752] BTRFS warning (device dm-11: state EA): direct IO failed ino 293 rw 0,0 sector 0x2c7458 len 53248 err no 10
[40088.699233] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[40088.699242] BTRFS info (device dm-11): use zstd compression, level 3
[40088.699245] BTRFS info (device dm-11): turning on async discard
[40088.699247] BTRFS info (device dm-11): disk space caching is enabled
[40088.704091] BTRFS info (device dm-11): start tree-log replay
[40088.810669] BTRFS: error (device dm-11: state A) in btrfs_start_dirty_block_groups:3051: errno=-5 IO failure
[40088.811369] BTRFS info (device dm-11: state EA): forced readonly
[40088.814512] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[40089.443531] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[40089.443539] BTRFS info (device dm-11): use zstd compression, level 3
[40089.443542] BTRFS info (device dm-11): turning on async discard
[40089.443544] BTRFS info (device dm-11): disk space caching is enabled
[40090.514035] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[40090.514051] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[40090.514065] BTRFS error (device dm-11): error writing primary super block to device 1
[40090.514070] BTRFS: error (device dm-11) in write_all_supers:4342: errno=-5 IO failure (1 errors while writing supers)
[40090.514839] BTRFS info (device dm-11: state E): forced readonly
[40090.514845] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[40090.514850] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[40090.517875] BTRFS warning (device dm-11: state EA): direct IO failed ino 2046 rw 0,0 sector 0x2c9e20 len 12288 err no 10
[40090.518372] BTRFS warning (device dm-11: state EA): Skipping commit of aborted transaction.
[40090.518376] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[40090.530022] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[40090.531328] BTRFS warning (device dm-11: state EA): direct IO failed ino 2355 rw 0,0 sector 0x2d0050 len 61440 err no 10
[40090.536795] BTRFS warning (device dm-11: state EA): direct IO failed ino 849 rw 0,0 sector 0x2cebf0 len 4096 err no 10
[40090.542774] BTRFS warning (device dm-11: state EA): direct IO failed ino 262 rw 0,0 sector 0x2ce8c0 len 98304 err no 10
[40090.582471] BTRFS warning (device dm-11: state EA): direct IO failed ino 260 rw 0,0 sector 0x2cedd8 len 4096 err no 10
[40090.583519] BTRFS warning (device dm-11: state EA): direct IO failed ino 268 rw 0,0 sector 0x2cfc38 len 28672 err no 10
[40090.585563] BTRFS warning (device dm-11: state EA): direct IO failed ino 268 rw 0,0 sector 0x2cfc00 len 49152 err no 10
[40091.200337] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[40091.200348] BTRFS info (device dm-11): use zstd compression, level 3
[40091.200352] BTRFS info (device dm-11): turning on async discard
[40091.200355] BTRFS info (device dm-11): disk space caching is enabled
[40091.229219] BTRFS info (device dm-11): the free space cache file (298844160) is invalid, skip it
[40092.248215] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[40092.248236] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[40092.248246] BTRFS error (device dm-11): error writing primary super block to device 1
[40092.248249] BTRFS: error (device dm-11) in write_all_supers:4342: errno=-5 IO failure (1 errors while writing supers)
[40092.249015] BTRFS info (device dm-11: state E): forced readonly
[40092.249021] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[40092.249028] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[40092.250049] BTRFS warning (device dm-11: state EA): Skipping commit of aborted transaction.
[40092.250053] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[40092.252874] BTRFS warning (device dm-11: state EA): direct IO failed ino 1624 rw 0,0 sector 0x2d1828 len 8192 err no 10
[40092.255276] BTRFS warning (device dm-11: state EA): direct IO failed ino 2046 rw 0,0 sector 0x2d1280 len 20480 err no 10
[40092.261417] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[40092.285656] BTRFS warning (device dm-11: state EA): direct IO failed ino 261 rw 0,0 sector 0x2d7198 len 4096 err no 10
[40092.288108] BTRFS warning (device dm-11: state EA): direct IO failed ino 2500 rw 0,0 sector 0x11a878 len 16384 err no 10
[40092.289589] BTRFS warning (device dm-11: state EA): direct IO failed ino 2209 rw 0,0 sector 0x2d16f0 len 20480 err no 10
[40092.289744] BTRFS warning (device dm-11: state EA): direct IO failed ino 2502 rw 0,0 sector 0x14dd00 len 20480 err no 10
[40092.319476] BTRFS warning (device dm-11: state EA): direct IO failed ino 2526 rw 0,0 sector 0x2d35f0 len 28672 err no 10
[40092.928181] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[40092.928188] BTRFS info (device dm-11): use zstd compression, level 3
[40092.928191] BTRFS info (device dm-11): turning on async discard
[40092.928193] BTRFS info (device dm-11): disk space caching is enabled
[40092.967214] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[40092.990839] BTRFS error (device dm-11): error reading free space cache
[40092.990857] BTRFS warning (device dm-11): failed to load free space cache for block group 298844160, rebuilding it now
[40092.992221] BTRFS: error (device dm-11: state A) in __btrfs_free_extent:3078: errno=-5 IO failure
[40092.992748] BTRFS info (device dm-11: state EA): forced readonly
[40092.992753] BTRFS: error (device dm-11: state EA) in btrfs_run_delayed_refs:2141: errno=-5 IO failure
[40093.514552] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[40093.514560] BTRFS info (device dm-11): use zstd compression, level 3
[40093.514564] BTRFS info (device dm-11): turning on async discard
[40093.514566] BTRFS info (device dm-11): disk space caching is enabled
[40093.544572] btrfs_dev_stat_inc_and_print: 83 callbacks suppressed
[40093.544577] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 0, rd 1, flush 0, corrupt 0, gen 0
[40093.544590] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 0, rd 2, flush 0, corrupt 0, gen 0
[40093.545510] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 0, rd 3, flush 0, corrupt 0, gen 0
[40093.545587] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 0, rd 4, flush 0, corrupt 0, gen 0
[40093.545681] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 0, rd 5, flush 0, corrupt 0, gen 0
[40093.545836] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 0, rd 6, flush 0, corrupt 0, gen 0
[40093.545956] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 0, rd 7, flush 0, corrupt 0, gen 0
[40093.546133] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 0, rd 8, flush 0, corrupt 0, gen 0
[40093.547040] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 0, rd 9, flush 0, corrupt 0, gen 0
[40093.547062] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 0, rd 10, flush 0, corrupt 0, gen 0
[40093.550749] BTRFS error (device dm-11): error reading free space cache
[40093.550764] BTRFS warning (device dm-11): failed to load free space cache for block group 298844160, rebuilding it now
[40093.551931] BTRFS warning (device dm-11): direct IO failed ino 2568 rw 1,34817 sector 0x1148f0 len 28672 err no 10
[40093.553682] BTRFS warning (device dm-11): direct IO failed ino 2568 rw 1,34817 sector 0x312800 len 69632 err no 10
[40093.554473] BTRFS warning (device dm-11): direct IO failed ino 2568 rw 1,34817 sector 0x312800 len 77824 err no 10
[40093.555281] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[40093.560279] BTRFS: error (device dm-11: state A) in __btrfs_free_extent:3078: errno=-5 IO failure
[40093.560924] BTRFS info (device dm-11: state EA): forced readonly
[40093.560929] BTRFS: error (device dm-11: state EA) in btrfs_run_delayed_refs:2141: errno=-5 IO failure
[40094.105914] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[40094.105922] BTRFS info (device dm-11): use zstd compression, level 3
[40094.105925] BTRFS info (device dm-11): turning on async discard
[40094.105927] BTRFS info (device dm-11): disk space caching is enabled
[40094.151196] BTRFS error (device dm-11): error reading free space cache
[40094.151221] BTRFS warning (device dm-11): failed to load free space cache for block group 298844160, rebuilding it now
[40094.156858] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[40094.178447] BTRFS warning (device dm-11): direct IO failed ino 2502 rw 1,34817 sector 0x313140 len 102400 err no 10
[40094.182299] BTRFS warning (device dm-11): direct IO failed ino 2570 rw 1,34817 sector 0x313140 len 4096 err no 10
[40094.190169] BTRFS warning (device dm-11): direct IO failed ino 2570 rw 1,34817 sector 0x313140 len 114688 err no 10
[40094.191383] BTRFS warning (device dm-11): direct IO failed ino 2502 rw 1,34817 sector 0x313140 len 65536 err no 10
[40094.193853] BTRFS warning (device dm-11): direct IO failed ino 2502 rw 1,34817 sector 0x313140 len 86016 err no 10
[40094.195395] BTRFS: error (device dm-11: state A) in __btrfs_free_extent:3078: errno=-5 IO failure
[40094.196057] BTRFS info (device dm-11: state EA): forced readonly
[40094.196063] BTRFS: error (device dm-11: state EA) in btrfs_run_delayed_refs:2141: errno=-5 IO failure
[40094.801435] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[40094.801443] BTRFS info (device dm-11): use zstd compression, level 3
[40094.801447] BTRFS info (device dm-11): turning on async discard
[40094.801449] BTRFS info (device dm-11): disk space caching is enabled
[40096.855917] BTRFS: error (device dm-11: state A) in __btrfs_free_extent:3078: errno=-5 IO failure
[40096.856413] BTRFS info (device dm-11: state EA): forced readonly
[40096.856418] BTRFS: error (device dm-11: state EA) in btrfs_run_delayed_refs:2141: errno=-5 IO failure
[40096.856950] BTRFS: error (device dm-11: state EA) in btrfs_commit_transaction:2496: errno=-5 IO failure (Error while writing out transaction)
[40096.857634] BTRFS warning (device dm-11: state EA): Skipping commit of aborted transaction.
[40096.857637] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[40096.874112] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[40097.552203] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[40097.552214] BTRFS info (device dm-11): use zstd compression, level 3
[40097.552218] BTRFS info (device dm-11): turning on async discard
[40097.552221] BTRFS info (device dm-11): disk space caching is enabled
[40097.557656] BTRFS info (device dm-11): start tree-log replay
[40097.560955] BTRFS warning (device dm-11): block group 30408704 has wrong amount of free space
[40097.560973] BTRFS warning (device dm-11): failed to load free space cache for block group 30408704, rebuilding it now
[40097.568536] BTRFS info (device dm-11): the free space cache file (298844160) is invalid, skip it
[40098.678827] btrfs_dev_stat_inc_and_print: 117 callbacks suppressed
[40098.678898] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 1, rd 0, flush 0, corrupt 0, gen 0
[40098.678932] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 2, rd 0, flush 0, corrupt 0, gen 0
[40098.678971] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 3, rd 0, flush 0, corrupt 0, gen 0
[40098.678974] BTRFS warning (device dm-11): direct IO failed ino 2664 rw 1,34817 sector 0x2f9380 len 40960 err no 10
[40098.678989] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[40098.678992] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 4, rd 0, flush 0, corrupt 0, gen 0
[40098.679003] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[40098.679007] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 5, rd 0, flush 0, corrupt 0, gen 0
[40098.679736] BTRFS error (device dm-11): error writing primary super block to device 1
[40098.679740] BTRFS: error (device dm-11) in write_all_supers:4342: errno=-5 IO failure (1 errors while writing supers)
[40098.680528] BTRFS info (device dm-11: state E): forced readonly
[40098.680533] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[40098.680535] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[40098.682913] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 6, rd 0, flush 0, corrupt 0, gen 0
[40098.686964] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 7, rd 0, flush 0, corrupt 0, gen 0
[40098.687233] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 8, rd 0, flush 0, corrupt 0, gen 0
[40098.688144] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 9, rd 0, flush 0, corrupt 0, gen 0
[40098.688548] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 10, rd 0, flush 0, corrupt 0, gen 0
[40098.693889] BTRFS warning (device dm-11: state EA): direct IO failed ino 1692 rw 0,0 sector 0x2f60e8 len 24576 err no 10
[40098.693942] BTRFS warning (device dm-11: state EA): direct IO failed ino 1692 rw 0,0 sector 0x2f6620 len 40960 err no 10
[40098.693957] BTRFS warning (device dm-11: state EA): direct IO failed ino 1692 rw 0,0 sector 0x2d3368 len 4096 err no 10
[40098.693963] BTRFS warning (device dm-11: state EA): direct IO failed ino 1692 rw 0,0 sector 0x2ef118 len 8192 err no 10
[40098.695297] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[40099.206085] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[40099.206094] BTRFS info (device dm-11): use zstd compression, level 3
[40099.206099] BTRFS info (device dm-11): turning on async discard
[40099.206100] BTRFS info (device dm-11): disk space caching is enabled
[40099.315556] BTRFS error (device dm-11): error reading free space cache
[40099.315590] BTRFS warning (device dm-11): failed to load free space cache for block group 298844160, rebuilding it now
[40099.323370] BTRFS: error (device dm-11: state A) in create_subvol:729: errno=-5 IO failure
[40099.323715] BTRFS: error (device dm-11: state A) in __btrfs_free_extent:3078: errno=-5 IO failure
[40099.324015] BTRFS info (device dm-11: state EA): forced readonly
[40099.324740] BTRFS: error (device dm-11: state EA) in btrfs_run_delayed_refs:2141: errno=-5 IO failure
[40099.342136] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[40099.897694] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[40099.897702] BTRFS info (device dm-11): use zstd compression, level 3
[40099.897706] BTRFS info (device dm-11): turning on async discard
[40099.897707] BTRFS info (device dm-11): disk space caching is enabled
[40099.923661] ------------[ cut here ]------------
[40099.923736] WARNING: CPU: 0 PID: 1328642 at fs/btrfs/discard.c:604 btrfs_discard_update_discardable+0x98/0xb0
[40099.923742] 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 rfkill ip_set nf_tables nfnetlink intel_rapl_msr iTCO_wdt iTCO_vendor_support snd_hda_codec_generic snd_hda_intel snd_intel_dspcfg snd_hda_codec intel_rapl_common snd_hwdep snd_hda_core i2c_i801 snd_pcm joydev snd_timer i2c_smbus snd virtio_balloon soundcore lpc_ich zram ip_tables xfs crct10dif_pclmul crc32_pclmul crc32c_intel ghash_clmulni_intel serio_raw qemu_fw_cfg
[40099.923834] CPU: 0 PID: 1328642 Comm: kworker/u4:12 Tainted: G        W         5.19.0-rc8+ #791
[40099.923837] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.13.0-2.fc32 04/01/2014
[40099.923839] Workqueue: btrfs-cache btrfs_work_helper
[40099.923844] RIP: 0010:btrfs_discard_update_discardable+0x98/0xb0
[40099.923847] Code: 17 00 00 48 8b 83 80 00 00 00 48 89 83 88 00 00 00 5b 5d c3 cc cc cc cc 48 8d 7b 18 be ff ff ff ff e8 2c 9a 7e 00 85 c0 75 ac <0f> 0b eb a8 c3 cc cc cc cc 66 66 2e 0f 1f 84 00 00 00 00 00 0f 1f
[40099.923849] RSP: 0018:ffffbaea83a8fad0 EFLAGS: 00010246
[40099.923852] RAX: 0000000000000000 RBX: ffff8f4db8c3fe00 RCX: 0000000000000001
[40099.923853] RDX: 0000000000000000 RSI: ffffffff8e807c5b RDI: ffffffff8e8a831e
[40099.923855] RBP: ffff8f4d43b3c000 R08: 0000000000000000 R09: 0000000000001000
[40099.923857] R10: 00000000000305a8 R11: 0000000000a02d00 R12: ffff8f4d50569010
[40099.923858] R13: ffff8f4d551f0e10 R14: ffff8f4d43b3c000 R15: ffff8f4d4559e310
[40099.923860] FS:  0000000000000000(0000) GS:ffff8f4dbbc00000(0000) knlGS:0000000000000000
[40099.923862] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[40099.923864] CR2: 0000000001e774a8 CR3: 0000000112402005 CR4: 0000000000370ef0
[40099.923867] Call Trace:
[40099.923870]  
[40099.923874]  __btrfs_remove_free_space_cache+0x27/0x30
[40099.923878]  load_free_space_cache+0xad2/0xaf0
[40099.923918]  caching_thread+0x40b/0x650
[40099.923926]  ? lock_release+0x137/0x2d0
[40099.923934]  btrfs_work_helper+0xf2/0x3e0
[40099.923937]  ? lock_is_held_type+0xe2/0x140
[40099.923944]  process_one_work+0x271/0x590
[40099.923953]  ? process_one_work+0x590/0x590
[40099.923956]  worker_thread+0x52/0x3b0
[40099.923960]  ? process_one_work+0x590/0x590
[40099.923963]  kthread+0xf0/0x120
[40099.923966]  ? kthread_complete_and_exit+0x20/0x20
[40099.923971]  ret_from_fork+0x1f/0x30
[40099.923984]  
[40099.923985] irq event stamp: 2724879
[40099.923987] hardirqs last  enabled at (2724885): [] __up_console_sem+0x5e/0x70
[40099.923990] hardirqs last disabled at (2724890): [] __up_console_sem+0x43/0x70
[40099.923992] softirqs last  enabled at (2724612): [] __irq_exit_rcu+0xeb/0x160
[40099.923995] softirqs last disabled at (2724605): [] __irq_exit_rcu+0xeb/0x160
[40099.923997] ---[ end trace 0000000000000000 ]---
[40099.924000] BTRFS warning (device dm-11): block group 298844160 has wrong amount of free space
[40099.924018] BTRFS warning (device dm-11): failed to load free space cache for block group 298844160, rebuilding it now
[40100.937749] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[40100.937758] BTRFS error (device dm-11): error writing primary super block to device 1
[40100.937760] BTRFS: error (device dm-11) in write_all_supers:4342: errno=-5 IO failure (1 errors while writing supers)
[40100.938414] BTRFS info (device dm-11: state E): forced readonly
[40100.938425] BTRFS: error (device dm-11: state EA) in btrfs_sync_log:3203: errno=-5 IO failure
[40100.946223] BTRFS warning (device dm-11: state EA): Skipping commit of aborted transaction.
[40100.946229] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[40100.950036] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[40100.974423] BTRFS warning (device dm-11: state EA): direct IO failed ino 2693 rw 0,0 sector 0x2fb610 len 4096 err no 10
[40100.981225] BTRFS warning (device dm-11: state EA): direct IO failed ino 2741 rw 0,0 sector 0x214550 len 12288 err no 10
[40101.640686] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[40101.640695] BTRFS info (device dm-11): use zstd compression, level 3
[40101.640698] BTRFS info (device dm-11): turning on async discard
[40101.640700] BTRFS info (device dm-11): disk space caching is enabled
[40103.743433] btrfs_dev_stat_inc_and_print: 206 callbacks suppressed
[40103.743437] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 1, rd 0, flush 0, corrupt 0, gen 0
[40103.743443] BTRFS warning (device dm-11): direct IO failed ino 2786 rw 1,34817 sector 0x217f08 len 36864 err no 10
[40103.743467] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 2, rd 0, flush 0, corrupt 0, gen 0
[40103.743999] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 3, rd 0, flush 0, corrupt 0, gen 0
[40103.744004] BTRFS warning (device dm-11): direct IO failed ino 2761 rw 1,34817 sector 0x217f08 len 40960 err no 10
[40103.746357] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 4, rd 0, flush 0, corrupt 0, gen 0
[40103.746362] BTRFS warning (device dm-11): direct IO failed ino 265 rw 1,34817 sector 0x21c250 len 110592 err no 10
[40103.748289] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 5, rd 0, flush 0, corrupt 0, gen 0
[40103.748323] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 6, rd 0, flush 0, corrupt 0, gen 0
[40103.748552] BTRFS: error (device dm-11) in btrfs_commit_transaction:2496: errno=-5 IO failure (Error while writing out transaction)
[40103.749300] BTRFS info (device dm-11: state E): forced readonly
[40103.749306] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[40103.749310] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[40103.752789] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 7, rd 0, flush 0, corrupt 0, gen 0
[40103.752807] BTRFS warning (device dm-11: state EA): Skipping commit of aborted transaction.
[40103.752811] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[40103.752964] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 8, rd 0, flush 0, corrupt 0, gen 0
[40103.756329] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[40104.438792] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[40104.438803] BTRFS info (device dm-11): use zstd compression, level 3
[40104.438808] BTRFS info (device dm-11): turning on async discard
[40104.438811] BTRFS info (device dm-11): disk space caching is enabled
[40106.477128] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 1, rd 0, flush 0, corrupt 0, gen 0
[40106.477135] BTRFS warning (device dm-11): direct IO failed ino 2813 rw 1,34817 sector 0x21c3e0 len 16384 err no 10
[40106.477152] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 2, rd 0, flush 0, corrupt 0, gen 0
[40106.486670] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[40106.487682] BTRFS: error (device dm-11) in btrfs_commit_transaction:2496: errno=-5 IO failure (Error while writing out transaction)
[40106.488444] BTRFS info (device dm-11: state E): forced readonly
[40106.488449] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[40106.488452] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[40107.128154] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[40107.128163] BTRFS info (device dm-11): use zstd compression, level 3
[40107.128168] BTRFS info (device dm-11): turning on async discard
[40107.128170] BTRFS info (device dm-11): disk space caching is enabled
[40109.220337] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[40109.220344] btrfs_dev_stat_inc_and_print: 14 callbacks suppressed
[40109.220346] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 1, rd 0, flush 0, corrupt 0, gen 0
[40109.220359] BTRFS error (device dm-11): error writing primary super block to device 1
[40109.220362] BTRFS: error (device dm-11) in write_all_supers:4342: errno=-5 IO failure (1 errors while writing supers)
[40109.221108] BTRFS info (device dm-11: state E): forced readonly
[40109.221120] BTRFS: error (device dm-11: state EA) in btrfs_sync_log:3203: errno=-5 IO failure
[40109.222860] BTRFS warning (device dm-11: state EA): Skipping commit of aborted transaction.
[40109.222864] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[40109.223076] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 2, rd 0, flush 0, corrupt 0, gen 0
[40109.226411] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 3, rd 0, flush 0, corrupt 0, gen 0
[40109.227611] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 4, rd 0, flush 0, corrupt 0, gen 0
[40109.227951] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 5, rd 0, flush 0, corrupt 0, gen 0
[40109.228325] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 6, rd 0, flush 0, corrupt 0, gen 0
[40109.228583] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 7, rd 0, flush 0, corrupt 0, gen 0
[40109.228987] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 8, rd 0, flush 0, corrupt 0, gen 0
[40109.229192] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 9, rd 0, flush 0, corrupt 0, gen 0
[40109.229618] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 10, rd 0, flush 0, corrupt 0, gen 0
[40109.251199] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[40109.293589] BTRFS warning (device dm-11: state EA): direct IO failed ino 2000 rw 0,0 sector 0x1a5878 len 4096 err no 10
[40109.928096] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[40109.928104] BTRFS info (device dm-11): use zstd compression, level 3
[40109.928107] BTRFS info (device dm-11): turning on async discard
[40109.928109] BTRFS info (device dm-11): disk space caching is enabled
[40109.933370] BTRFS info (device dm-11): start tree-log replay
[40109.948094] ------------[ cut here ]------------
[40109.948168] WARNING: CPU: 0 PID: 1328641 at fs/btrfs/discard.c:604 btrfs_discard_update_discardable+0x98/0xb0
[40109.948175] 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 rfkill ip_set nf_tables nfnetlink intel_rapl_msr iTCO_wdt iTCO_vendor_support snd_hda_codec_generic snd_hda_intel snd_intel_dspcfg snd_hda_codec intel_rapl_common snd_hwdep snd_hda_core i2c_i801 snd_pcm joydev snd_timer i2c_smbus snd virtio_balloon soundcore lpc_ich zram ip_tables xfs crct10dif_pclmul crc32_pclmul crc32c_intel ghash_clmulni_intel serio_raw qemu_fw_cfg
[40109.948239] CPU: 0 PID: 1328641 Comm: kworker/u4:11 Tainted: G        W         5.19.0-rc8+ #791
[40109.948242] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.13.0-2.fc32 04/01/2014
[40109.948244] Workqueue: btrfs-cache btrfs_work_helper
[40109.948249] RIP: 0010:btrfs_discard_update_discardable+0x98/0xb0
[40109.948252] Code: 17 00 00 48 8b 83 80 00 00 00 48 89 83 88 00 00 00 5b 5d c3 cc cc cc cc 48 8d 7b 18 be ff ff ff ff e8 2c 9a 7e 00 85 c0 75 ac <0f> 0b eb a8 c3 cc cc cc cc 66 66 2e 0f 1f 84 00 00 00 00 00 0f 1f
[40109.948254] RSP: 0018:ffffbaea83a87ad0 EFLAGS: 00010246
[40109.948257] RAX: 0000000000000000 RBX: ffff8f4db8c3f200 RCX: 0000000000000001
[40109.948259] RDX: 0000000000000000 RSI: ffffffff8e807c5b RDI: ffffffff8e8a831e
[40109.948260] RBP: ffff8f4d47ac4000 R08: 0000000000000000 R09: 0000000000001000
[40109.948262] R10: ffff8f4c72a233c0 R11: 0000000000000000 R12: ffff8f4d5056d010
[40109.948263] R13: ffff8f4d442061e0 R14: ffff8f4d47ac4000 R15: ffff8f4d4559ecb0
[40109.948265] FS:  0000000000000000(0000) GS:ffff8f4dbbc00000(0000) knlGS:0000000000000000
[40109.948267] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[40109.948268] CR2: 00007fc5eb80f658 CR3: 0000000103336002 CR4: 0000000000370ef0
[40109.948273] Call Trace:
[40109.948275]  
[40109.948279]  __btrfs_remove_free_space_cache+0x27/0x30
[40109.948284]  load_free_space_cache+0xad2/0xaf0
[40109.948323]  caching_thread+0x40b/0x650
[40109.948331]  ? lock_release+0x137/0x2d0
[40109.948339]  btrfs_work_helper+0xf2/0x3e0
[40109.948342]  ? lock_is_held_type+0xe2/0x140
[40109.948349]  process_one_work+0x271/0x590
[40109.948358]  worker_thread+0x52/0x3b0
[40109.948363]  ? process_one_work+0x590/0x590
[40109.948366]  kthread+0xf0/0x120
[40109.948368]  ? kthread_complete_and_exit+0x20/0x20
[40109.948373]  ret_from_fork+0x1f/0x30
[40109.948386]  
[40109.948387] irq event stamp: 316887
[40109.948389] hardirqs last  enabled at (316893): [] __up_console_sem+0x5e/0x70
[40109.948392] hardirqs last disabled at (316898): [] __up_console_sem+0x43/0x70
[40109.948394] softirqs last  enabled at (316188): [] __irq_exit_rcu+0xeb/0x160
[40109.948397] softirqs last disabled at (316183): [] __irq_exit_rcu+0xeb/0x160
[40109.948399] ---[ end trace 0000000000000000 ]---
[40109.948402] BTRFS warning (device dm-11): block group 298844160 has wrong amount of free space
[40109.948418] BTRFS warning (device dm-11): failed to load free space cache for block group 298844160, rebuilding it now
[40111.188045] BTRFS: error (device dm-11) in btrfs_commit_transaction:2496: errno=-5 IO failure (Error while writing out transaction)
[40111.188784] BTRFS info (device dm-11: state E): forced readonly
[40111.188789] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[40111.188798] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[40111.191825] BTRFS warning (device dm-11: state EA): Skipping commit of aborted transaction.
[40111.191834] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[40111.193458] BTRFS warning (device dm-11: state EA): direct IO failed ino 263 rw 0,0 sector 0x2d4a08 len 49152 err no 10
[40111.202220] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[40111.241985] BTRFS warning (device dm-11: state EA): direct IO failed ino 2816 rw 0,0 sector 0x1d6508 len 24576 err no 10
[40111.776403] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[40111.776412] BTRFS info (device dm-11): use zstd compression, level 3
[40111.776417] BTRFS info (device dm-11): turning on async discard
[40111.776419] BTRFS info (device dm-11): disk space caching is enabled
[40111.830764] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[40111.847115] BTRFS: error (device dm-11: state A) in __btrfs_free_extent:3078: errno=-5 IO failure
[40111.847757] BTRFS info (device dm-11: state EA): forced readonly
[40111.847762] BTRFS: error (device dm-11: state EA) in btrfs_run_delayed_refs:2141: errno=-5 IO failure
[40112.457104] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[40112.457112] BTRFS info (device dm-11): use zstd compression, level 3
[40112.457115] BTRFS info (device dm-11): turning on async discard
[40112.457117] BTRFS info (device dm-11): disk space caching is enabled
[40114.507829] btrfs_dev_stat_inc_and_print: 106 callbacks suppressed
[40114.507834] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 0, rd 1, flush 0, corrupt 0, gen 0
[40114.507847] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 0, rd 2, flush 0, corrupt 0, gen 0
[40114.507847] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[40114.507854] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 1, rd 2, flush 0, corrupt 0, gen 0
[40114.507856] BTRFS warning (device dm-11): direct IO failed ino 257 rw 1,34817 sector 0x2d4bd8 len 49152 err no 10
[40114.507892] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 2, rd 2, flush 0, corrupt 0, gen 0
[40114.507898] BTRFS error (device dm-11): error writing primary super block to device 1
[40114.507901] BTRFS: error (device dm-11) in write_all_supers:4342: errno=-5 IO failure (1 errors while writing supers)
[40114.508754] BTRFS info (device dm-11: state E): forced readonly
[40114.508758] BTRFS: error (device dm-11: state EA) in btrfs_sync_log:3203: errno=-5 IO failure
[40114.513958] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 3, rd 2, flush 0, corrupt 0, gen 0
[40114.516970] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 4, rd 2, flush 0, corrupt 0, gen 0
[40114.517107] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 5, rd 2, flush 0, corrupt 0, gen 0
[40114.518036] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 6, rd 2, flush 0, corrupt 0, gen 0
[40114.518642] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 7, rd 2, flush 0, corrupt 0, gen 0
[40114.518659] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 8, rd 2, flush 0, corrupt 0, gen 0
[40114.524136] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[40114.548272] BTRFS warning (device dm-11: state EA): direct IO failed ino 2991 rw 0,0 sector 0x2133d0 len 4096 err no 10
[40114.572435] BTRFS warning (device dm-11: state EA): direct IO failed ino 3005 rw 0,0 sector 0x1d8988 len 8192 err no 10
[40115.209299] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[40115.209308] BTRFS info (device dm-11): use zstd compression, level 3
[40115.209311] BTRFS info (device dm-11): turning on async discard
[40115.209312] BTRFS info (device dm-11): disk space caching is enabled
[40117.251653] BTRFS: error (device dm-11) in btrfs_commit_transaction:2496: errno=-5 IO failure (Error while writing out transaction)
[40117.252400] BTRFS info (device dm-11: state E): forced readonly
[40117.252404] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[40117.252407] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[40117.258661] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[40117.926261] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[40117.926269] BTRFS info (device dm-11): use zstd compression, level 3
[40117.926272] BTRFS info (device dm-11): turning on async discard
[40117.926274] BTRFS info (device dm-11): disk space caching is enabled
[40117.965542] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[40117.991206] BTRFS error (device dm-11): error reading free space cache
[40117.991223] BTRFS warning (device dm-11): failed to load free space cache for block group 298844160, rebuilding it now
[40117.992737] BTRFS: error (device dm-11: state A) in __btrfs_free_extent:3078: errno=-5 IO failure
[40117.993446] BTRFS info (device dm-11: state EA): forced readonly
[40117.993451] BTRFS: error (device dm-11: state EA) in btrfs_run_delayed_refs:2141: errno=-5 IO failure
[40118.555072] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[40118.555082] BTRFS info (device dm-11): use zstd compression, level 3
[40118.555086] BTRFS info (device dm-11): turning on async discard
[40118.555088] BTRFS info (device dm-11): disk space caching is enabled
[40119.607679] btrfs_dev_stat_inc_and_print: 65 callbacks suppressed
[40119.607683] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 1, rd 0, flush 0, corrupt 0, gen 0
[40119.607736] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 2, rd 0, flush 0, corrupt 0, gen 0
[40119.609886] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 3, rd 0, flush 0, corrupt 0, gen 0
[40119.611923] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 4, rd 0, flush 0, corrupt 0, gen 0
[40119.612785] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 5, rd 0, flush 0, corrupt 0, gen 0
[40119.614920] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 5, rd 1, flush 0, corrupt 0, gen 0
[40119.615921] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 6, rd 1, flush 0, corrupt 0, gen 0
[40119.615925] BTRFS warning (device dm-11): direct IO failed ino 3171 rw 1,34817 sector 0x1dc8e8 len 32768 err no 10
[40119.616316] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 7, rd 1, flush 0, corrupt 0, gen 0
[40119.616326] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 8, rd 1, flush 0, corrupt 0, gen 0
[40119.616369] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 9, rd 1, flush 0, corrupt 0, gen 0
[40119.618181] BTRFS: error (device dm-11) in btrfs_commit_transaction:2496: errno=-5 IO failure (Error while writing out transaction)
[40119.619039] BTRFS info (device dm-11: state E): forced readonly
[40119.619045] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[40119.619049] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[40119.619670] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[40120.273788] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[40120.273798] BTRFS info (device dm-11): use zstd compression, level 3
[40120.273803] BTRFS info (device dm-11): turning on async discard
[40120.273805] BTRFS info (device dm-11): disk space caching is enabled