[39031.187119] run fstests generic/475 at 2022-08-04 07:43:01
[39032.092868] BTRFS: device fsid 4e89bbda-ad85-4862-85e5-f39122479220 devid 1 transid 6 /dev/mapper/vg0-lv9 scanned by mkfs.btrfs (1377059)
[39032.367871] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[39032.367883] BTRFS info (device dm-11): setting incompat feature flag for COMPRESS_ZSTD (0x10)
[39032.367887] BTRFS info (device dm-11): use zstd compression, level 3
[39032.367891] BTRFS info (device dm-11): turning on async discard
[39032.367893] BTRFS info (device dm-11): disk space caching is enabled
[39032.373650] BTRFS info (device dm-11): checking UUID tree
[39034.418237] btrfs_dev_stat_inc_and_print: 2 callbacks suppressed
[39034.418241] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 1, rd 0, flush 0, corrupt 0, gen 0
[39034.418270] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 2, rd 0, flush 0, corrupt 0, gen 0
[39034.418931] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 3, rd 0, flush 0, corrupt 0, gen 0
[39034.418942] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 4, rd 0, flush 0, corrupt 0, gen 0
[39034.418974] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 5, rd 0, flush 0, corrupt 0, gen 0
[39034.418982] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 6, rd 0, flush 0, corrupt 0, gen 0
[39034.420073] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 7, rd 0, flush 0, corrupt 0, gen 0
[39034.420081] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 8, rd 0, flush 0, corrupt 0, gen 0
[39034.420092] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 9, rd 0, flush 0, corrupt 0, gen 0
[39034.420096] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 10, rd 0, flush 0, corrupt 0, gen 0
[39034.421164] BTRFS: error (device dm-11) in btrfs_commit_transaction:2496: errno=-5 IO failure (Error while writing out transaction)
[39034.421911] BTRFS info (device dm-11: state E): forced readonly
[39034.421916] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[39034.421922] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[39034.427265] BTRFS warning (device dm-11: state EA): Skipping commit of aborted transaction.
[39034.427278] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[39034.429784] BTRFS warning (device dm-11: state EA): direct IO failed ino 266 rw 0,0 sector 0x7f28 len 4096 err no 10
[39034.430547] BTRFS warning (device dm-11: state EA): direct IO failed ino 301 rw 0,0 sector 0x126320 len 65536 err no 10
[39034.430594] BTRFS warning (device dm-11: state EA): direct IO failed ino 301 rw 0,0 sector 0x1162e0 len 8192 err no 10
[39034.432906] buffer_io_error: 760 callbacks suppressed
[39034.432909] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[39034.467171] BTRFS warning (device dm-11: state EA): direct IO failed ino 272 rw 0,0 sector 0x116da0 len 20480 err no 10
[39034.468011] BTRFS warning (device dm-11: state EA): direct IO failed ino 284 rw 0,0 sector 0x8290 len 32768 err no 10
[39034.478849] BTRFS warning (device dm-11: state EA): direct IO failed ino 284 rw 0,0 sector 0x7518 len 4096 err no 10
[39034.478865] BTRFS warning (device dm-11: state EA): direct IO failed ino 284 rw 0,0 sector 0x6aa8 len 4096 err no 10
[39035.114453] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[39035.114479] BTRFS info (device dm-11): use zstd compression, level 3
[39035.114501] BTRFS info (device dm-11): turning on async discard
[39035.114503] BTRFS info (device dm-11): disk space caching is enabled
[39036.198867] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[39036.198882] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[39036.198990] BTRFS error (device dm-11): error writing primary super block to device 1
[39036.198993] BTRFS: error (device dm-11) in write_all_supers:4356: errno=-5 IO failure (1 errors while writing supers)
[39036.199768] BTRFS info (device dm-11: state E): forced readonly
[39036.199772] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[39036.199782] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[39036.201368] BTRFS warning (device dm-11: state EA): Skipping commit of aborted transaction.
[39036.201377] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[39036.212852] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[39036.890497] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[39036.890507] BTRFS info (device dm-11): use zstd compression, level 3
[39036.890510] BTRFS info (device dm-11): turning on async discard
[39036.890512] BTRFS info (device dm-11): disk space caching is enabled
[39036.895076] BTRFS info (device dm-11): start tree-log replay
[39038.966243] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[39038.966259] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[39038.966271] BTRFS error (device dm-11): error writing primary super block to device 1
[39038.966274] BTRFS: error (device dm-11) in write_all_supers:4356: errno=-5 IO failure (1 errors while writing supers)
[39038.967113] BTRFS info (device dm-11: state E): forced readonly
[39038.967119] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[39038.967128] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[39038.969569] BTRFS warning (device dm-11: state EA): Skipping commit of aborted transaction.
[39038.969592] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[39038.971622] BTRFS warning (device dm-11: state EA): direct IO failed ino 618 rw 0,0 sector 0x15e038 len 4096 err no 10
[39038.974653] BTRFS warning (device dm-11: state EA): direct IO failed ino 645 rw 0,0 sector 0x152810 len 61440 err no 10
[39038.988543] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[39039.666769] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[39039.666778] BTRFS info (device dm-11): use zstd compression, level 3
[39039.666781] BTRFS info (device dm-11): turning on async discard
[39039.666783] BTRFS info (device dm-11): disk space caching is enabled
[39039.671627] BTRFS info (device dm-11): start tree-log replay
[39039.682008] BTRFS info (device dm-11): the free space cache file (298844160) is invalid, skip it
[39041.763237] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[39041.763244] btrfs_dev_stat_inc_and_print: 55 callbacks suppressed
[39041.763246] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 1, rd 0, flush 0, corrupt 0, gen 0
[39041.763258] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[39041.763261] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 2, rd 0, flush 0, corrupt 0, gen 0
[39041.763272] BTRFS error (device dm-11): error writing primary super block to device 1
[39041.763275] BTRFS: error (device dm-11) in write_all_supers:4356: errno=-5 IO failure (1 errors while writing supers)
[39041.763969] BTRFS info (device dm-11: state E): forced readonly
[39041.763975] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[39041.763978] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[39041.766575] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 3, rd 0, flush 0, corrupt 0, gen 0
[39041.767232] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 4, rd 0, flush 0, corrupt 0, gen 0
[39041.767530] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 5, rd 0, flush 0, corrupt 0, gen 0
[39041.767917] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 6, rd 0, flush 0, corrupt 0, gen 0
[39041.768096] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 7, rd 0, flush 0, corrupt 0, gen 0
[39041.768266] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 8, rd 0, flush 0, corrupt 0, gen 0
[39041.768376] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 9, rd 0, flush 0, corrupt 0, gen 0
[39041.768596] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 10, rd 0, flush 0, corrupt 0, gen 0
[39041.775745] BTRFS warning (device dm-11: state EA): direct IO failed ino 741 rw 0,0 sector 0x16a500 len 8192 err no 10
[39041.777253] BTRFS warning (device dm-11: state EA): direct IO failed ino 271 rw 0,0 sector 0x174630 len 16384 err no 10
[39041.778730] BTRFS warning (device dm-11: state EA): direct IO failed ino 786 rw 0,0 sector 0x1663d0 len 16384 err no 10
[39041.780840] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[39041.784850] BTRFS warning (device dm-11: state EA): direct IO failed ino 759 rw 0,0 sector 0x166470 len 65536 err no 10
[39041.786040] BTRFS warning (device dm-11: state EA): direct IO failed ino 777 rw 0,0 sector 0x171a10 len 16384 err no 10
[39041.787662] BTRFS warning (device dm-11: state EA): direct IO failed ino 793 rw 0,0 sector 0x16f1b0 len 4096 err no 10
[39041.788670] BTRFS warning (device dm-11: state EA): direct IO failed ino 741 rw 0,0 sector 0x174748 len 49152 err no 10
[39041.812394] BTRFS warning (device dm-11: state EA): direct IO failed ino 580 rw 0,0 sector 0x15f340 len 4096 err no 10
[39042.424006] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[39042.424033] BTRFS info (device dm-11): use zstd compression, level 3
[39042.424036] BTRFS info (device dm-11): turning on async discard
[39042.424038] BTRFS info (device dm-11): disk space caching is enabled
[39042.428104] BTRFS info (device dm-11): start tree-log replay
[39042.439530] ------------[ cut here ]------------
[39042.439605] WARNING: CPU: 0 PID: 801848 at fs/btrfs/discard.c:604 btrfs_discard_update_discardable+0x98/0xb0
[39042.439615] Modules linked in: dm_thin_pool dm_persistent_data dm_bio_prison dm_log_writes dm_dust dm_flakey nft_fib_inet nft_fib_ipv4 nft_fib_ipv6 nft_fib nft_reject_inet nf_reject_ipv4 nf_reject_ipv6 nft_reject nft_ct nft_chain_nat nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 ip6_tables nft_compat ip_set rfkill nf_tables nfnetlink intel_rapl_msr iTCO_wdt iTCO_vendor_support snd_hda_codec_generic intel_rapl_common snd_hda_intel joydev snd_intel_dspcfg snd_hda_codec snd_hwdep snd_hda_core snd_pcm virtio_balloon i2c_i801 i2c_smbus snd_timer snd soundcore lpc_ich zram ip_tables xfs crct10dif_pclmul crc32_pclmul crc32c_intel ghash_clmulni_intel serio_raw qemu_fw_cfg
[39042.439680] CPU: 0 PID: 801848 Comm: kworker/u4:2 Tainted: G        W         5.19.0-rc8+ #786
[39042.439683] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.13.0-2.fc32 04/01/2014
[39042.439687] Workqueue: btrfs-cache btrfs_work_helper
[39042.439694] RIP: 0010:btrfs_discard_update_discardable+0x98/0xb0
[39042.439697] 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 9c 98 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
[39042.439699] RSP: 0018:ffffb0328786bad0 EFLAGS: 00010246
[39042.439701] RAX: 0000000000000000 RBX: ffff98c7d38a6000 RCX: 0000000000000001
[39042.439703] RDX: 0000000000000000 RSI: ffffffff8d807c93 RDI: ffffffff8d8a825e
[39042.439705] RBP: ffff98c7b5e8c000 R08: 0000000000000000 R09: 0000000000001000
[39042.439706] R10: ffff98c6911b38a0 R11: 0000000000000000 R12: ffff98c78304e010
[39042.439708] R13: ffff98c7965845f0 R14: ffff98c7b5e8c000 R15: ffff98c784567e70
[39042.439710] FS:  0000000000000000(0000) GS:ffff98c7fbc00000(0000) knlGS:0000000000000000
[39042.439711] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[39042.439713] CR2: 000055d0578f1200 CR3: 00000001078fa002 CR4: 0000000000370ef0
[39042.439718] Call Trace:
[39042.439721]  
[39042.439725]  __btrfs_remove_free_space_cache+0x27/0x30
[39042.439729]  load_free_space_cache+0xad2/0xaf0
[39042.439769]  caching_thread+0x40b/0x650
[39042.439777]  ? lock_release+0x137/0x2d0
[39042.439784]  btrfs_work_helper+0xf2/0x3e0
[39042.439787]  ? lock_is_held_type+0xe2/0x140
[39042.439794]  process_one_work+0x271/0x590
[39042.439803]  worker_thread+0x52/0x3b0
[39042.439808]  ? process_one_work+0x590/0x590
[39042.439811]  kthread+0xf0/0x120
[39042.439813]  ? kthread_complete_and_exit+0x20/0x20
[39042.439817]  ret_from_fork+0x1f/0x30
[39042.439831]  
[39042.439835] irq event stamp: 15276967
[39042.439836] hardirqs last  enabled at (15276973): [] __up_console_sem+0x5e/0x70
[39042.439843] hardirqs last disabled at (15276978): [] __up_console_sem+0x43/0x70
[39042.439845] softirqs last  enabled at (15276412): [] __irq_exit_rcu+0xeb/0x160
[39042.439848] softirqs last disabled at (15276401): [] __irq_exit_rcu+0xeb/0x160
[39042.439850] ---[ end trace 0000000000000000 ]---
[39042.439853] BTRFS warning (device dm-11): block group 298844160 has wrong amount of free space
[39042.439871] BTRFS warning (device dm-11): failed to load free space cache for block group 298844160, rebuilding it now
[39044.517677] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[39044.517701] BTRFS error (device dm-11): error writing primary super block to device 1
[39044.517706] BTRFS: error (device dm-11) in write_all_supers:4356: errno=-5 IO failure (1 errors while writing supers)
[39044.518350] BTRFS info (device dm-11: state E): forced readonly
[39044.518361] BTRFS: error (device dm-11: state EA) in btrfs_sync_log:3205: errno=-5 IO failure
[39044.525298] BTRFS warning (device dm-11: state EA): direct IO failed ino 258 rw 0,0 sector 0x1a0a30 len 16384 err no 10
[39044.528481] BTRFS warning (device dm-11: state EA): Skipping commit of aborted transaction.
[39044.528486] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[39044.529959] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[39044.531346] BTRFS warning (device dm-11: state EA): direct IO failed ino 257 rw 0,0 sector 0x1955e0 len 4096 err no 10
[39044.533500] BTRFS warning (device dm-11: state EA): direct IO failed ino 257 rw 0,0 sector 0x1955e0 len 4096 err no 10
[39044.534895] BTRFS warning (device dm-11: state EA): direct IO failed ino 257 rw 0,0 sector 0x1955e0 len 4096 err no 10
[39044.535316] BTRFS warning (device dm-11: state EA): direct IO failed ino 1079 rw 0,0 sector 0x19cac8 len 12288 err no 10
[39044.547353] BTRFS warning (device dm-11: state EA): direct IO failed ino 870 rw 0,0 sector 0x1845d0 len 81920 err no 10
[39044.558152] BTRFS warning (device dm-11: state EA): direct IO failed ino 263 rw 0,0 sector 0x196e30 len 8192 err no 10
[39044.558202] BTRFS warning (device dm-11: state EA): direct IO failed ino 993 rw 0,0 sector 0x19ba58 len 32768 err no 10
[39044.561721] BTRFS warning (device dm-11: state EA): direct IO failed ino 950 rw 0,0 sector 0x190098 len 4096 err no 10
[39044.571634] BTRFS warning (device dm-11: state EA): direct IO failed ino 257 rw 0,0 sector 0x1955e0 len 4096 err no 10
[39044.572232] BTRFS warning (device dm-11: state EA): direct IO failed ino 946 rw 0,0 sector 0x1992a0 len 4096 err no 10
[39045.284703] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[39045.284713] BTRFS info (device dm-11): use zstd compression, level 3
[39045.284717] BTRFS info (device dm-11): turning on async discard
[39045.284719] BTRFS info (device dm-11): disk space caching is enabled
[39045.327332] BTRFS error (device dm-11): error reading free space cache
[39045.327399] BTRFS warning (device dm-11): failed to load free space cache for block group 298844160, rebuilding it now
[39045.338906] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[39045.350346] BTRFS: error (device dm-11: state A) in create_subvol:712: errno=-5 IO failure
[39045.351001] BTRFS info (device dm-11: state EA): forced readonly
[39045.354133] BTRFS: error (device dm-11: state EA) in __btrfs_free_extent:3078: errno=-5 IO failure
[39045.354867] BTRFS: error (device dm-11: state EA) in btrfs_run_delayed_refs:2141: errno=-5 IO failure
[39045.954780] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[39045.954794] BTRFS info (device dm-11): use zstd compression, level 3
[39045.954800] BTRFS info (device dm-11): turning on async discard
[39045.954802] BTRFS info (device dm-11): disk space caching is enabled
[39048.006571] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[39048.006578] btrfs_dev_stat_inc_and_print: 51 callbacks suppressed
[39048.006580] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 1, rd 0, flush 0, corrupt 0, gen 0
[39048.006602] BTRFS error (device dm-11): error writing primary super block to device 1
[39048.006606] BTRFS: error (device dm-11) in write_all_supers:4356: errno=-5 IO failure (1 errors while writing supers)
[39048.007222] BTRFS info (device dm-11: state E): forced readonly
[39048.007231] BTRFS: error (device dm-11: state EA) in btrfs_sync_log:3205: errno=-5 IO failure
[39048.008901] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 1, rd 1, flush 0, corrupt 0, gen 0
[39048.008919] BTRFS warning (device dm-11: state EA): direct IO failed ino 268 rw 0,0 sector 0x1bffc0 len 4096 err no 10
[39048.011380] BTRFS warning (device dm-11: state EA): Skipping commit of aborted transaction.
[39048.011385] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[39048.014848] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[39048.015510] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 2, rd 1, flush 0, corrupt 0, gen 0
[39048.016222] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 3, rd 1, flush 0, corrupt 0, gen 0
[39048.016438] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 4, rd 1, flush 0, corrupt 0, gen 0
[39048.016831] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 5, rd 1, flush 0, corrupt 0, gen 0
[39048.017018] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 6, rd 1, flush 0, corrupt 0, gen 0
[39048.017232] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 7, rd 1, flush 0, corrupt 0, gen 0
[39048.017428] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 8, rd 1, flush 0, corrupt 0, gen 0
[39048.045090] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 8, rd 2, flush 0, corrupt 0, gen 0
[39048.045111] BTRFS warning (device dm-11: state EA): direct IO failed ino 268 rw 0,0 sector 0x1b5520 len 69632 err no 10
[39048.046729] BTRFS warning (device dm-11: state EA): direct IO failed ino 261 rw 0,0 sector 0x1bfb68 len 61440 err no 10
[39048.738904] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[39048.738912] BTRFS info (device dm-11): use zstd compression, level 3
[39048.738916] BTRFS info (device dm-11): turning on async discard
[39048.738926] BTRFS info (device dm-11): disk space caching is enabled
[39048.743660] BTRFS info (device dm-11): start tree-log replay
[39048.871663] BTRFS warning (device dm-11): direct IO failed ino 1141 rw 1,34817 sector 0x1c0110 len 28672 err no 10
[39048.871734] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[39048.871791] BTRFS error (device dm-11): error writing primary super block to device 1
[39048.871795] BTRFS: error (device dm-11) in write_all_supers:4356: errno=-5 IO failure (1 errors while writing supers)
[39048.872518] BTRFS info (device dm-11: state E): forced readonly
[39048.872523] BTRFS: error (device dm-11: state EA) in btrfs_sync_log:3205: errno=-5 IO failure
[39048.885404] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[39048.885438] BTRFS warning (device dm-11: state EA): direct IO failed ino 1142 rw 0,0 sector 0x1c00c0 len 16384 err no 10
[39048.910258] BTRFS error (device dm-11: state EA): error loading props for ino 284 (root 5): -5
[39049.484368] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[39049.484377] BTRFS info (device dm-11): use zstd compression, level 3
[39049.484380] BTRFS info (device dm-11): turning on async discard
[39049.484382] BTRFS info (device dm-11): disk space caching is enabled
[39050.540179] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[39050.540204] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[39050.540223] BTRFS error (device dm-11): error writing primary super block to device 1
[39050.540229] BTRFS: error (device dm-11) in write_all_supers:4356: errno=-5 IO failure (1 errors while writing supers)
[39050.541101] BTRFS info (device dm-11: state E): forced readonly
[39050.541108] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[39050.541113] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[39050.545183] BTRFS warning (device dm-11: state EA): direct IO failed ino 1139 rw 0,0 sector 0x1c37c8 len 61440 err no 10
[39050.547780] BTRFS warning (device dm-11: state EA): direct IO failed ino 1139 rw 0,0 sector 0x1c6778 len 65536 err no 10
[39050.548461] BTRFS warning (device dm-11: state EA): direct IO failed ino 1138 rw 0,0 sector 0x1c2210 len 24576 err no 10
[39050.552645] BTRFS warning (device dm-11: state EA): Skipping commit of aborted transaction.
[39050.552654] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[39050.557146] BTRFS warning (device dm-11: state EA): direct IO failed ino 1181 rw 0,0 sector 0x1c65b0 len 40960 err no 10
[39050.558012] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[39050.567816] BTRFS warning (device dm-11: state EA): direct IO failed ino 1139 rw 0,0 sector 0x1c22d8 len 61440 err no 10
[39050.567865] BTRFS warning (device dm-11: state EA): direct IO failed ino 1139 rw 0,0 sector 0x1937f0 len 4096 err no 10
[39050.591577] BTRFS warning (device dm-11: state EA): direct IO failed ino 257 rw 0,0 sector 0x1c6868 len 40960 err no 10
[39050.592655] BTRFS warning (device dm-11: state EA): direct IO failed ino 1154 rw 0,0 sector 0x1c1b38 len 57344 err no 10
[39050.618178] BTRFS warning (device dm-11: state EA): direct IO failed ino 1137 rw 0,0 sector 0x1c68c0 len 32768 err no 10
[39050.618921] BTRFS warning (device dm-11: state EA): direct IO failed ino 1206 rw 0,0 sector 0x1c89d8 len 8192 err no 10
[39050.618954] BTRFS warning (device dm-11: state EA): direct IO failed ino 1206 rw 0,0 sector 0x196050 len 73728 err no 10
[39050.620772] BTRFS warning (device dm-11: state EA): direct IO failed ino 1206 rw 0,0 sector 0x1c7a90 len 16384 err no 10
[39051.243667] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[39051.243676] BTRFS info (device dm-11): use zstd compression, level 3
[39051.243680] BTRFS info (device dm-11): turning on async discard
[39051.243681] BTRFS info (device dm-11): disk space caching is enabled
[39051.280284] ------------[ cut here ]------------
[39051.280408] WARNING: CPU: 0 PID: 801848 at fs/btrfs/discard.c:604 btrfs_discard_update_discardable+0x98/0xb0
[39051.280415] Modules linked in: dm_thin_pool dm_persistent_data dm_bio_prison dm_log_writes dm_dust dm_flakey nft_fib_inet nft_fib_ipv4 nft_fib_ipv6 nft_fib nft_reject_inet nf_reject_ipv4 nf_reject_ipv6 nft_reject nft_ct nft_chain_nat nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 ip6_tables nft_compat ip_set rfkill nf_tables nfnetlink intel_rapl_msr iTCO_wdt iTCO_vendor_support snd_hda_codec_generic intel_rapl_common snd_hda_intel joydev snd_intel_dspcfg snd_hda_codec snd_hwdep snd_hda_core snd_pcm virtio_balloon i2c_i801 i2c_smbus snd_timer snd soundcore lpc_ich zram ip_tables xfs crct10dif_pclmul crc32_pclmul crc32c_intel ghash_clmulni_intel serio_raw qemu_fw_cfg
[39051.280488] CPU: 0 PID: 801848 Comm: kworker/u4:2 Tainted: G        W         5.19.0-rc8+ #786
[39051.280491] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.13.0-2.fc32 04/01/2014
[39051.280494] Workqueue: btrfs-cache btrfs_work_helper
[39051.280499] RIP: 0010:btrfs_discard_update_discardable+0x98/0xb0
[39051.280502] 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 9c 98 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
[39051.280505] RSP: 0018:ffffb0328786bad0 EFLAGS: 00010246
[39051.280508] RAX: 0000000000000000 RBX: ffff98c78431ea00 RCX: 0000000000000001
[39051.280510] RDX: 0000000000000000 RSI: ffffffff8d807c93 RDI: ffffffff8d8a825e
[39051.280512] RBP: ffff98c785570000 R08: 0000000000000000 R09: 0000000000001000
[39051.280514] R10: ffff98c78312f838 R11: 0000000000000000 R12: ffff98c78304f810
[39051.280515] R13: ffff98c7960a9760 R14: ffff98c785570000 R15: ffff98c7830b1a80
[39051.280517] FS:  0000000000000000(0000) GS:ffff98c7fbc00000(0000) knlGS:0000000000000000
[39051.280519] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[39051.280521] CR2: 00007ff484602300 CR3: 000000010383a006 CR4: 0000000000370ef0
[39051.280525] Call Trace:
[39051.280528]  
[39051.280533]  __btrfs_remove_free_space_cache+0x27/0x30
[39051.280538]  load_free_space_cache+0xad2/0xaf0
[39051.280583]  caching_thread+0x40b/0x650
[39051.280592]  ? lock_release+0x137/0x2d0
[39051.280600]  btrfs_work_helper+0xf2/0x3e0
[39051.280603]  ? lock_is_held_type+0xe2/0x140
[39051.280611]  process_one_work+0x271/0x590
[39051.280622]  worker_thread+0x52/0x3b0
[39051.280627]  ? process_one_work+0x590/0x590
[39051.280631]  kthread+0xf0/0x120
[39051.280634]  ? kthread_complete_and_exit+0x20/0x20
[39051.280639]  ret_from_fork+0x1f/0x30
[39051.280654]  
[39051.280656] irq event stamp: 15329271
[39051.280657] hardirqs last  enabled at (15329277): [] __up_console_sem+0x5e/0x70
[39051.280660] hardirqs last disabled at (15329282): [] __up_console_sem+0x43/0x70
[39051.280663] softirqs last  enabled at (15328740): [] __irq_exit_rcu+0xeb/0x160
[39051.280666] softirqs last disabled at (15328731): [] __irq_exit_rcu+0xeb/0x160
[39051.280669] ---[ end trace 0000000000000000 ]---
[39051.280672] BTRFS warning (device dm-11): block group 298844160 has wrong amount of free space
[39051.280693] BTRFS warning (device dm-11): failed to load free space cache for block group 298844160, rebuilding it now
[39053.288662] btrfs_dev_stat_inc_and_print: 36 callbacks suppressed
[39053.288666] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 1, rd 0, flush 0, corrupt 0, gen 0
[39053.288674] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 2, rd 0, flush 0, corrupt 0, gen 0
[39053.288693] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 3, rd 0, flush 0, corrupt 0, gen 0
[39053.288698] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 4, rd 0, flush 0, corrupt 0, gen 0
[39053.288709] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 5, rd 0, flush 0, corrupt 0, gen 0
[39053.288745] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 6, rd 0, flush 0, corrupt 0, gen 0
[39053.290671] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 7, rd 0, flush 0, corrupt 0, gen 0
[39053.291159] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 8, rd 0, flush 0, corrupt 0, gen 0
[39053.292904] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 9, rd 0, flush 0, corrupt 0, gen 0
[39053.294074] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 10, rd 0, flush 0, corrupt 0, gen 0
[39053.295108] BTRFS: error (device dm-11) in btrfs_commit_transaction:2496: errno=-5 IO failure (Error while writing out transaction)
[39053.295844] BTRFS info (device dm-11: state E): forced readonly
[39053.295849] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[39053.295852] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[39053.299906] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[39053.944075] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[39053.944086] BTRFS info (device dm-11): use zstd compression, level 3
[39053.944089] BTRFS info (device dm-11): turning on async discard
[39053.944091] BTRFS info (device dm-11): disk space caching is enabled
[39055.990706] BTRFS: error (device dm-11) in btrfs_commit_transaction:2496: errno=-5 IO failure (Error while writing out transaction)
[39055.991565] BTRFS info (device dm-11: state E): forced readonly
[39055.991570] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[39055.991573] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[39056.000383] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[39056.742568] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[39056.742577] BTRFS info (device dm-11): use zstd compression, level 3
[39056.742580] BTRFS info (device dm-11): turning on async discard
[39056.742582] BTRFS info (device dm-11): disk space caching is enabled
[39058.781505] btrfs_dev_stat_inc_and_print: 23 callbacks suppressed
[39058.781513] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 1, rd 0, flush 0, corrupt 0, gen 0
[39058.781568] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 2, rd 0, flush 0, corrupt 0, gen 0
[39058.782824] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 3, rd 0, flush 0, corrupt 0, gen 0
[39058.782836] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 4, rd 0, flush 0, corrupt 0, gen 0
[39058.782906] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 5, rd 0, flush 0, corrupt 0, gen 0
[39058.782916] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 6, rd 0, flush 0, corrupt 0, gen 0
[39058.782990] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 7, rd 0, flush 0, corrupt 0, gen 0
[39058.783000] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 8, rd 0, flush 0, corrupt 0, gen 0
[39058.783131] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 9, rd 0, flush 0, corrupt 0, gen 0
[39058.783141] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 10, rd 0, flush 0, corrupt 0, gen 0
[39058.785081] BTRFS: error (device dm-11) in btrfs_commit_transaction:2496: errno=-5 IO failure (Error while writing out transaction)
[39058.786323] BTRFS info (device dm-11: state E): forced readonly
[39058.786329] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[39058.786333] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[39058.802145] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[39059.481795] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[39059.481803] BTRFS info (device dm-11): use zstd compression, level 3
[39059.481815] BTRFS info (device dm-11): turning on async discard
[39059.481817] BTRFS info (device dm-11): disk space caching is enabled
[39059.527245] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[39059.548793] BTRFS: error (device dm-11: state A) in __btrfs_free_extent:3078: errno=-5 IO failure
[39059.549358] BTRFS info (device dm-11: state EA): forced readonly
[39059.549363] BTRFS: error (device dm-11: state EA) in btrfs_run_delayed_refs:2141: errno=-5 IO failure
[39060.205913] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[39060.205922] BTRFS info (device dm-11): use zstd compression, level 3
[39060.205926] BTRFS info (device dm-11): turning on async discard
[39060.205928] BTRFS info (device dm-11): disk space caching is enabled
[39060.245162] ------------[ cut here ]------------
[39060.245259] WARNING: CPU: 0 PID: 1325230 at fs/btrfs/discard.c:604 btrfs_discard_update_discardable+0x98/0xb0
[39060.245270] Modules linked in: dm_thin_pool dm_persistent_data dm_bio_prison dm_log_writes dm_dust dm_flakey nft_fib_inet nft_fib_ipv4 nft_fib_ipv6 nft_fib nft_reject_inet nf_reject_ipv4 nf_reject_ipv6 nft_reject nft_ct nft_chain_nat nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 ip6_tables nft_compat ip_set rfkill nf_tables nfnetlink intel_rapl_msr iTCO_wdt iTCO_vendor_support snd_hda_codec_generic intel_rapl_common snd_hda_intel joydev snd_intel_dspcfg snd_hda_codec snd_hwdep snd_hda_core snd_pcm virtio_balloon i2c_i801 i2c_smbus snd_timer snd soundcore lpc_ich zram ip_tables xfs crct10dif_pclmul crc32_pclmul crc32c_intel ghash_clmulni_intel serio_raw qemu_fw_cfg
[39060.245341] CPU: 0 PID: 1325230 Comm: kworker/u4:1 Tainted: G        W         5.19.0-rc8+ #786
[39060.245343] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.13.0-2.fc32 04/01/2014
[39060.245348] Workqueue: btrfs-cache btrfs_work_helper
[39060.245356] RIP: 0010:btrfs_discard_update_discardable+0x98/0xb0
[39060.245359] 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 9c 98 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
[39060.245361] RSP: 0018:ffffb032858d3ad0 EFLAGS: 00010246
[39060.245365] RAX: 0000000000000000 RBX: ffff98c7ac716800 RCX: 0000000000000001
[39060.245366] RDX: 0000000000000000 RSI: ffffffff8d807c93 RDI: ffffffff8d8a825e
[39060.245368] RBP: ffff98c7c0914000 R08: 0000000000000000 R09: 0000000000001000
[39060.245370] R10: ffff98c6d3169838 R11: 00000000009de600 R12: ffff98c78fd1b010
[39060.245372] R13: ffff98c782f6c5f0 R14: ffff98c7c0914000 R15: ffff98c7846a1a10
[39060.245374] FS:  0000000000000000(0000) GS:ffff98c7fbc00000(0000) knlGS:0000000000000000
[39060.245376] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[39060.245378] CR2: 00007fd0ba1f0e20 CR3: 0000000104700006 CR4: 0000000000370ef0
[39060.245384] Call Trace:
[39060.245386]  
[39060.245390]  __btrfs_remove_free_space_cache+0x27/0x30
[39060.245395]  load_free_space_cache+0xad2/0xaf0
[39060.245441]  caching_thread+0x40b/0x650
[39060.245450]  ? lock_release+0x137/0x2d0
[39060.245458]  btrfs_work_helper+0xf2/0x3e0
[39060.245461]  ? lock_is_held_type+0xe2/0x140
[39060.245469]  process_one_work+0x271/0x590
[39060.245480]  worker_thread+0x52/0x3b0
[39060.245485]  ? process_one_work+0x590/0x590
[39060.245488]  kthread+0xf0/0x120
[39060.245491]  ? kthread_complete_and_exit+0x20/0x20
[39060.245496]  ret_from_fork+0x1f/0x30
[39060.245511]  
[39060.245516] irq event stamp: 6620151
[39060.245517] hardirqs last  enabled at (6620157): [] __up_console_sem+0x5e/0x70
[39060.245520] hardirqs last disabled at (6620162): [] __up_console_sem+0x43/0x70
[39060.245523] softirqs last  enabled at (6619620): [] __irq_exit_rcu+0xeb/0x160
[39060.245526] softirqs last disabled at (6619613): [] __irq_exit_rcu+0xeb/0x160
[39060.245529] ---[ end trace 0000000000000000 ]---
[39060.245532] BTRFS warning (device dm-11): block group 298844160 has wrong amount of free space
[39060.245551] BTRFS warning (device dm-11): failed to load free space cache for block group 298844160, rebuilding it now
[39062.249724] BTRFS warning (device dm-11): direct IO failed ino 259 rw 1,34817 sector 0x253788 len 4096 err no 10
[39062.252482] BTRFS warning (device dm-11): direct IO failed ino 259 rw 0,0 sector 0x250198 len 8192 err no 10
[39062.254078] BTRFS warning (device dm-11): direct IO failed ino 269 rw 1,34817 sector 0x253788 len 110592 err no 10
[39062.256148] BTRFS: error (device dm-11) in btrfs_commit_transaction:2496: errno=-5 IO failure (Error while writing out transaction)
[39062.257106] BTRFS info (device dm-11: state E): forced readonly
[39062.257111] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[39062.257114] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[39062.261423] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[39062.951220] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[39062.951229] BTRFS info (device dm-11): use zstd compression, level 3
[39062.951233] BTRFS info (device dm-11): turning on async discard
[39062.951234] BTRFS info (device dm-11): disk space caching is enabled
[39062.993546] ------------[ cut here ]------------
[39062.993619] WARNING: CPU: 1 PID: 700213 at fs/btrfs/discard.c:604 btrfs_discard_update_discardable+0x98/0xb0
[39062.993626] Modules linked in: dm_thin_pool dm_persistent_data dm_bio_prison dm_log_writes dm_dust dm_flakey nft_fib_inet nft_fib_ipv4 nft_fib_ipv6 nft_fib nft_reject_inet nf_reject_ipv4 nf_reject_ipv6 nft_reject nft_ct nft_chain_nat nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 ip6_tables nft_compat ip_set rfkill nf_tables nfnetlink intel_rapl_msr iTCO_wdt iTCO_vendor_support snd_hda_codec_generic intel_rapl_common snd_hda_intel joydev snd_intel_dspcfg snd_hda_codec snd_hwdep snd_hda_core snd_pcm virtio_balloon i2c_i801 i2c_smbus snd_timer snd soundcore lpc_ich zram ip_tables xfs crct10dif_pclmul crc32_pclmul crc32c_intel ghash_clmulni_intel serio_raw qemu_fw_cfg
[39062.993714] CPU: 1 PID: 700213 Comm: kworker/u4:3 Tainted: G        W         5.19.0-rc8+ #786
[39062.993717] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.13.0-2.fc32 04/01/2014
[39062.993719] Workqueue: btrfs-cache btrfs_work_helper
[39062.993724] RIP: 0010:btrfs_discard_update_discardable+0x98/0xb0
[39062.993727] 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 9c 98 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
[39062.993730] RSP: 0018:ffffb03286bf3ad0 EFLAGS: 00010246
[39062.993733] RAX: 0000000000000000 RBX: ffff98c788cbb600 RCX: 0000000000000001
[39062.993735] RDX: 0000000000000000 RSI: ffffffff8d807c93 RDI: ffffffff8d8a825e
[39062.993736] RBP: ffff98c7c0914000 R08: 0000000000000000 R09: 0000000000001000
[39062.993738] R10: ffff98c6fa6ca150 R11: 00000000009de700 R12: ffff98c78304d810
[39062.993740] R13: ffff98c7960ad890 R14: ffff98c7c0914000 R15: ffff98c7ec45fa10
[39062.993742] FS:  0000000000000000(0000) GS:ffff98c7fbd00000(0000) knlGS:0000000000000000
[39062.993744] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[39062.993745] CR2: 00007f9a1f48b300 CR3: 0000000103824005 CR4: 0000000000370ee0
[39062.993749] Call Trace:
[39062.993752]  
[39062.993757]  __btrfs_remove_free_space_cache+0x27/0x30
[39062.993761]  load_free_space_cache+0xad2/0xaf0
[39062.993807]  caching_thread+0x40b/0x650
[39062.993816]  ? lock_release+0x137/0x2d0
[39062.993824]  btrfs_work_helper+0xf2/0x3e0
[39062.993827]  ? lock_is_held_type+0xe2/0x140
[39062.993834]  process_one_work+0x271/0x590
[39062.993844]  worker_thread+0x52/0x3b0
[39062.993848]  ? process_one_work+0x590/0x590
[39062.993851]  kthread+0xf0/0x120
[39062.993854]  ? kthread_complete_and_exit+0x20/0x20
[39062.993859]  ret_from_fork+0x1f/0x30
[39062.993872]  
[39062.993874] irq event stamp: 103808659
[39062.993875] hardirqs last  enabled at (103808665): [] __up_console_sem+0x5e/0x70
[39062.993878] hardirqs last disabled at (103808670): [] __up_console_sem+0x43/0x70
[39062.993880] softirqs last  enabled at (103807564): [] __irq_exit_rcu+0xeb/0x160
[39062.993884] softirqs last disabled at (103807557): [] __irq_exit_rcu+0xeb/0x160
[39062.993886] ---[ end trace 0000000000000000 ]---
[39062.993889] BTRFS warning (device dm-11): block group 298844160 has wrong amount of free space
[39062.993908] BTRFS warning (device dm-11): failed to load free space cache for block group 298844160, rebuilding it now
[39063.991186] btrfs_dev_stat_inc_and_print: 43 callbacks suppressed
[39063.991190] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 1, rd 0, flush 0, corrupt 0, gen 0
[39063.992419] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 2, rd 0, flush 0, corrupt 0, gen 0
[39063.994148] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 3, rd 0, flush 0, corrupt 0, gen 0
[39063.994154] BTRFS warning (device dm-11): direct IO failed ino 262 rw 1,34817 sector 0x25e990 len 53248 err no 10
[39063.994858] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 4, rd 0, flush 0, corrupt 0, gen 0
[39063.994869] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 5, rd 0, flush 0, corrupt 0, gen 0
[39063.994903] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 6, rd 0, flush 0, corrupt 0, gen 0
[39063.996289] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 7, rd 0, flush 0, corrupt 0, gen 0
[39063.996317] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 8, rd 0, flush 0, corrupt 0, gen 0
[39063.996359] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 9, rd 0, flush 0, corrupt 0, gen 0
[39063.996458] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 10, rd 0, flush 0, corrupt 0, gen 0
[39063.998271] BTRFS: error (device dm-11) in btrfs_commit_transaction:2496: errno=-5 IO failure (Error while writing out transaction)
[39063.999226] BTRFS info (device dm-11: state E): forced readonly
[39063.999233] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[39063.999239] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[39064.009856] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[39064.668078] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[39064.668086] BTRFS info (device dm-11): use zstd compression, level 3
[39064.668089] BTRFS info (device dm-11): turning on async discard
[39064.668091] BTRFS info (device dm-11): disk space caching is enabled
[39064.672128] BTRFS info (device dm-11): start tree-log replay
[39064.675046] BTRFS warning (device dm-11): block group 30408704 has wrong amount of free space
[39064.675064] BTRFS warning (device dm-11): failed to load free space cache for block group 30408704, rebuilding it now
[39064.687682] BTRFS info (device dm-11): the free space cache file (298844160) is invalid, skip it
[39065.781222] BTRFS: error (device dm-11) in btrfs_commit_transaction:2496: errno=-5 IO failure (Error while writing out transaction)
[39065.781946] BTRFS info (device dm-11: state E): forced readonly
[39065.781951] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[39065.781954] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[39065.793616] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[39066.429053] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[39066.429062] BTRFS info (device dm-11): use zstd compression, level 3
[39066.429066] BTRFS info (device dm-11): turning on async discard
[39066.429068] BTRFS info (device dm-11): disk space caching is enabled
[39066.434851] BTRFS info (device dm-11): start tree-log replay
[39066.529561] BTRFS warning (device dm-11): direct IO failed ino 1799 rw 1,34817 sector 0x26bee0 len 53248 err no 10
[39066.534302] BTRFS warning (device dm-11): direct IO failed ino 1802 rw 1,34817 sector 0x26bee0 len 53248 err no 10
[39066.535513] BTRFS warning (device dm-11): direct IO failed ino 1802 rw 1,34817 sector 0x26bee0 len 36864 err no 10
[39066.537794] BTRFS warning (device dm-11): direct IO failed ino 1732 rw 1,34817 sector 0x26bee0 len 32768 err no 10
[39066.541781] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[39066.552050] BTRFS warning (device dm-11): direct IO failed ino 1732 rw 1,34817 sector 0x26bee0 len 45056 err no 10
[39066.552516] BTRFS warning (device dm-11): direct IO failed ino 1732 rw 1,34817 sector 0x26bee0 len 4096 err no 10
[39066.553807] BTRFS: error (device dm-11: state A) in __btrfs_free_extent:3078: errno=-5 IO failure
[39066.554625] BTRFS info (device dm-11: state EA): forced readonly
[39066.554631] BTRFS: error (device dm-11: state EA) in btrfs_run_delayed_refs:2141: errno=-5 IO failure
[39067.172888] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[39067.172915] BTRFS info (device dm-11): use zstd compression, level 3
[39067.172918] BTRFS info (device dm-11): turning on async discard
[39067.172920] BTRFS info (device dm-11): disk space caching is enabled
[39067.224622] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[39067.281230] BTRFS: error (device dm-11: state A) in __btrfs_free_extent:3078: errno=-5 IO failure
[39067.281794] BTRFS info (device dm-11: state EA): forced readonly
[39067.281801] BTRFS: error (device dm-11: state EA) in btrfs_run_delayed_refs:2141: errno=-5 IO failure
[39067.783324] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[39067.783333] BTRFS info (device dm-11): use zstd compression, level 3
[39067.783336] BTRFS info (device dm-11): turning on async discard
[39067.783337] BTRFS info (device dm-11): disk space caching is enabled
[39068.828436] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[39068.828450] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[39068.828459] BTRFS error (device dm-11): error writing primary super block to device 1
[39068.828462] BTRFS: error (device dm-11) in write_all_supers:4356: errno=-5 IO failure (1 errors while writing supers)
[39068.829220] BTRFS info (device dm-11: state E): forced readonly
[39068.829226] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[39068.829241] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[39068.834738] BTRFS warning (device dm-11: state EA): Skipping commit of aborted transaction.
[39068.834750] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[39068.839445] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[39068.869140] BTRFS warning (device dm-11: state EA): direct IO failed ino 1881 rw 0,0 sector 0x278f40 len 4096 err no 10
[39068.869594] BTRFS warning (device dm-11: state EA): direct IO failed ino 1838 rw 0,0 sector 0x272cb8 len 20480 err no 10
[39068.871226] BTRFS warning (device dm-11: state EA): direct IO failed ino 1863 rw 0,0 sector 0x253b40 len 4096 err no 10
[39069.462469] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[39069.462477] BTRFS info (device dm-11): use zstd compression, level 3
[39069.462480] BTRFS info (device dm-11): turning on async discard
[39069.462482] BTRFS info (device dm-11): disk space caching is enabled
[39069.467329] BTRFS info (device dm-11): start tree-log replay
[39069.480611] BTRFS info (device dm-11): the free space cache file (298844160) is invalid, skip it
[39070.728555] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[39070.728563] btrfs_dev_stat_inc_and_print: 237 callbacks suppressed
[39070.728565] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 1, rd 0, flush 0, corrupt 0, gen 0
[39070.728580] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[39070.728583] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 2, rd 0, flush 0, corrupt 0, gen 0
[39070.728595] BTRFS error (device dm-11): error writing primary super block to device 1
[39070.728599] BTRFS: error (device dm-11) in write_all_supers:4356: errno=-5 IO failure (1 errors while writing supers)
[39070.729672] BTRFS info (device dm-11: state E): forced readonly
[39070.729678] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[39070.729693] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[39070.731533] BTRFS warning (device dm-11: state EA): Skipping commit of aborted transaction.
[39070.731541] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[39070.735428] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 2, rd 1, flush 0, corrupt 0, gen 0
[39070.735446] BTRFS warning (device dm-11: state EA): direct IO failed ino 261 rw 0,0 sector 0x284868 len 28672 err no 10
[39070.737801] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 2, rd 2, flush 0, corrupt 0, gen 0
[39070.737818] BTRFS warning (device dm-11: state EA): direct IO failed ino 1908 rw 0,0 sector 0x27aff0 len 86016 err no 10
[39070.739109] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 2, rd 3, flush 0, corrupt 0, gen 0
[39070.739142] BTRFS warning (device dm-11: state EA): direct IO failed ino 260 rw 0,0 sector 0x280f08 len 61440 err no 10
[39070.739470] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 2, rd 4, flush 0, corrupt 0, gen 0
[39070.739482] BTRFS warning (device dm-11: state EA): direct IO failed ino 258 rw 0,0 sector 0x27e4e0 len 4096 err no 10
[39070.739619] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[39070.769762] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 2, rd 5, flush 0, corrupt 0, gen 0
[39070.769781] BTRFS warning (device dm-11: state EA): direct IO failed ino 1908 rw 0,0 sector 0x27b060 len 36864 err no 10
[39070.769914] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 2, rd 6, flush 0, corrupt 0, gen 0
[39070.769925] BTRFS warning (device dm-11: state EA): direct IO failed ino 260 rw 0,0 sector 0x280f80 len 4096 err no 10
[39071.383820] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[39071.383828] BTRFS info (device dm-11): use zstd compression, level 3
[39071.383831] BTRFS info (device dm-11): turning on async discard
[39071.383832] BTRFS info (device dm-11): disk space caching is enabled
[39072.418770] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 1, rd 0, flush 0, corrupt 0, gen 0
[39072.418795] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 2, rd 0, flush 0, corrupt 0, gen 0
[39072.420230] BTRFS: error (device dm-11) in btrfs_commit_transaction:2496: errno=-5 IO failure (Error while writing out transaction)
[39072.421028] BTRFS info (device dm-11: state E): forced readonly
[39072.421033] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[39072.421036] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[39072.423805] BTRFS warning (device dm-11: state EA): Skipping commit of aborted transaction.
[39072.423824] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[39072.432048] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[39073.064593] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[39073.064602] BTRFS info (device dm-11): use zstd compression, level 3
[39073.064605] BTRFS info (device dm-11): turning on async discard
[39073.064606] BTRFS info (device dm-11): disk space caching is enabled
[39073.109690] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[39073.137920] BTRFS: error (device dm-11: state A) in __btrfs_free_extent:3078: errno=-5 IO failure
[39073.138431] BTRFS info (device dm-11: state EA): forced readonly
[39073.138437] BTRFS: error (device dm-11: state EA) in btrfs_run_delayed_refs:2141: errno=-5 IO failure
[39073.140798] BTRFS: error (device dm-11: state EA) in __btrfs_free_extent:3078: errno=-5 IO failure
[39073.141479] BTRFS: error (device dm-11: state EA) in btrfs_run_delayed_refs:2141: errno=-5 IO failure
[39073.692365] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[39073.692374] BTRFS info (device dm-11): use zstd compression, level 3
[39073.692377] BTRFS info (device dm-11): turning on async discard
[39073.692378] BTRFS info (device dm-11): disk space caching is enabled
[39073.727935] ------------[ cut here ]------------
[39073.728013] WARNING: CPU: 0 PID: 1325230 at fs/btrfs/discard.c:604 btrfs_discard_update_discardable+0x98/0xb0
[39073.728021] Modules linked in: dm_thin_pool dm_persistent_data dm_bio_prison dm_log_writes dm_dust dm_flakey nft_fib_inet nft_fib_ipv4 nft_fib_ipv6 nft_fib nft_reject_inet nf_reject_ipv4 nf_reject_ipv6 nft_reject nft_ct nft_chain_nat nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 ip6_tables nft_compat ip_set rfkill nf_tables nfnetlink intel_rapl_msr iTCO_wdt iTCO_vendor_support snd_hda_codec_generic intel_rapl_common snd_hda_intel joydev snd_intel_dspcfg snd_hda_codec snd_hwdep snd_hda_core snd_pcm virtio_balloon i2c_i801 i2c_smbus snd_timer snd soundcore lpc_ich zram ip_tables xfs crct10dif_pclmul crc32_pclmul crc32c_intel ghash_clmulni_intel serio_raw qemu_fw_cfg
[39073.728135] CPU: 0 PID: 1325230 Comm: kworker/u4:1 Tainted: G        W         5.19.0-rc8+ #786
[39073.728139] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.13.0-2.fc32 04/01/2014
[39073.728142] Workqueue: btrfs-cache btrfs_work_helper
[39073.728149] RIP: 0010:btrfs_discard_update_discardable+0x98/0xb0
[39073.728153] 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 9c 98 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
[39073.728156] RSP: 0018:ffffb032858d3ad0 EFLAGS: 00010246
[39073.728160] RAX: 0000000000000000 RBX: ffff98c788cba600 RCX: 0000000000000001
[39073.728163] RDX: 0000000000000000 RSI: ffffffff8d807c93 RDI: ffffffff8d8a825e
[39073.728165] RBP: ffff98c784dec000 R08: 0000000000000000 R09: 0000000000001000
[39073.728168] R10: ffff98c685475150 R11: 00000000009de800 R12: ffff98c787128010
[39073.728171] R13: ffff98c787efaa00 R14: ffff98c784dec000 R15: ffff98c7846a1a10
[39073.728174] FS:  0000000000000000(0000) GS:ffff98c7fbc00000(0000) knlGS:0000000000000000
[39073.728177] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[39073.728179] CR2: 00007f6215fadb50 CR3: 0000000107b7e006 CR4: 0000000000370ef0
[39073.728185] Call Trace:
[39073.728188]  
[39073.728194]  __btrfs_remove_free_space_cache+0x27/0x30
[39073.728199]  load_free_space_cache+0xad2/0xaf0
[39073.728250]  caching_thread+0x40b/0x650
[39073.728260]  ? lock_release+0x137/0x2d0
[39073.728270]  btrfs_work_helper+0xf2/0x3e0
[39073.728274]  ? lock_is_held_type+0xe2/0x140
[39073.728284]  process_one_work+0x271/0x590
[39073.728297]  worker_thread+0x52/0x3b0
[39073.728304]  ? process_one_work+0x590/0x590
[39073.728307]  kthread+0xf0/0x120
[39073.728310]  ? kthread_complete_and_exit+0x20/0x20
[39073.728317]  ret_from_fork+0x1f/0x30
[39073.728339]  
[39073.728341] irq event stamp: 6700935
[39073.728343] hardirqs last  enabled at (6700941): [] __up_console_sem+0x5e/0x70
[39073.728347] hardirqs last disabled at (6700946): [] __up_console_sem+0x43/0x70
[39073.728350] softirqs last  enabled at (6700578): [] __irq_exit_rcu+0xeb/0x160
[39073.728354] softirqs last disabled at (6700573): [] __irq_exit_rcu+0xeb/0x160
[39073.728358] ---[ end trace 0000000000000000 ]---
[39073.728362] BTRFS warning (device dm-11): block group 298844160 has wrong amount of free space
[39073.728383] BTRFS warning (device dm-11): failed to load free space cache for block group 298844160, rebuilding it now
[39074.743296] BTRFS: error (device dm-11) in btrfs_commit_transaction:2496: errno=-5 IO failure (Error while writing out transaction)
[39074.743992] BTRFS info (device dm-11: state E): forced readonly
[39074.743998] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[39074.744001] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[39074.756059] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[39075.407803] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[39075.407812] BTRFS info (device dm-11): use zstd compression, level 3
[39075.407815] BTRFS info (device dm-11): turning on async discard
[39075.407817] BTRFS info (device dm-11): disk space caching is enabled
[39075.458246] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[39075.478503] BTRFS: error (device dm-11: state A) in __btrfs_run_delayed_items:1182: errno=-5 IO failure
[39075.479227] BTRFS info (device dm-11: state EA): forced readonly
[39075.479231] BTRFS warning (device dm-11: state EA): Skipping commit of aborted transaction.
[39075.479234] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[39075.482471] BTRFS: error (device dm-11: state EA) in __btrfs_free_extent:3078: errno=-5 IO failure
[39075.483247] BTRFS: error (device dm-11: state EA) in btrfs_run_delayed_refs:2141: errno=-5 IO failure
[39075.994566] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[39075.994575] BTRFS info (device dm-11): use zstd compression, level 3
[39075.994579] BTRFS info (device dm-11): turning on async discard
[39075.994581] BTRFS info (device dm-11): disk space caching is enabled
[39076.050803] btrfs_dev_stat_inc_and_print: 99 callbacks suppressed
[39076.050807] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 1, rd 0, flush 0, corrupt 0, gen 0
[39076.050813] BTRFS warning (device dm-11): direct IO failed ino 2105 rw 1,34817 sector 0x13f598 len 122880 err no 10
[39076.050835] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 2, rd 0, flush 0, corrupt 0, gen 0
[39076.050838] BTRFS warning (device dm-11): direct IO failed ino 2107 rw 1,34817 sector 0x14ac10 len 73728 err no 10
[39076.050848] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 3, rd 0, flush 0, corrupt 0, gen 0
[39076.050854] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 3, rd 1, flush 0, corrupt 0, gen 0
[39076.050859] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 4, rd 1, flush 0, corrupt 0, gen 0
[39076.050861] BTRFS warning (device dm-11): direct IO failed ino 2103 rw 1,34817 sector 0x2a3028 len 12288 err no 10
[39076.051185] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 4, rd 2, flush 0, corrupt 0, gen 0
[39076.051545] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 4, rd 3, flush 0, corrupt 0, gen 0
[39076.051760] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 4, rd 4, flush 0, corrupt 0, gen 0
[39076.053898] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 4, rd 5, flush 0, corrupt 0, gen 0
[39076.054755] BTRFS: error (device dm-11: state A) in btrfs_finish_ordered_io:3318: errno=-5 IO failure
[39076.055420] BTRFS error (device dm-11: state A): bdev /dev/mapper/error-test errs: wr 4, rd 6, flush 0, corrupt 0, gen 0
[39076.055653] BTRFS info (device dm-11: state EA): forced readonly
[39076.067840] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[39076.627452] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[39076.627461] BTRFS info (device dm-11): use zstd compression, level 3
[39076.627464] BTRFS info (device dm-11): turning on async discard
[39076.627466] BTRFS info (device dm-11): disk space caching is enabled
[39077.693326] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[39077.693341] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[39077.693350] BTRFS error (device dm-11): error writing primary super block to device 1
[39077.693353] BTRFS: error (device dm-11) in write_all_supers:4356: errno=-5 IO failure (1 errors while writing supers)
[39077.693955] BTRFS info (device dm-11: state E): forced readonly
[39077.693966] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[39077.693969] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[39077.693979] BTRFS: error (device dm-11: state EA) in btrfs_sync_log:3194: errno=-5 IO failure
[39077.695588] BTRFS warning (device dm-11: state EA): Skipping commit of aborted transaction.
[39077.695593] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[39077.719713] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[39077.729916] BTRFS warning (device dm-11: state EA): direct IO failed ino 2197 rw 0,0 sector 0x2b0900 len 8192 err no 10
[39077.735414] BTRFS warning (device dm-11: state EA): direct IO failed ino 2138 rw 0,0 sector 0x2971d8 len 12288 err no 10
[39077.769820] BTRFS warning (device dm-11: state EA): direct IO failed ino 2140 rw 0,0 sector 0x2a9108 len 28672 err no 10
[39077.771890] BTRFS warning (device dm-11: state EA): direct IO failed ino 1969 rw 0,0 sector 0x2a48f8 len 45056 err no 10
[39077.772016] BTRFS warning (device dm-11: state EA): direct IO failed ino 2114 rw 0,0 sector 0x2a3dc8 len 8192 err no 10
[39078.362926] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[39078.362935] BTRFS info (device dm-11): use zstd compression, level 3
[39078.362938] BTRFS info (device dm-11): turning on async discard
[39078.362940] BTRFS info (device dm-11): disk space caching is enabled
[39080.399943] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[39080.399951] BTRFS error (device dm-11): error writing primary super block to device 1
[39080.399954] BTRFS: error (device dm-11) in write_all_supers:4356: errno=-5 IO failure (1 errors while writing supers)
[39080.400604] BTRFS info (device dm-11: state E): forced readonly
[39080.400609] BTRFS: error (device dm-11: state EA) in btrfs_sync_log:3205: errno=-5 IO failure
[39080.409700] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[39081.083807] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[39081.083815] BTRFS info (device dm-11): use zstd compression, level 3
[39081.083818] BTRFS info (device dm-11): turning on async discard
[39081.083820] BTRFS info (device dm-11): disk space caching is enabled
[39082.151609] btrfs_dev_stat_inc_and_print: 131 callbacks suppressed
[39082.151613] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 1, rd 0, flush 0, corrupt 0, gen 0
[39082.151734] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 1, rd 1, flush 0, corrupt 0, gen 0
[39082.151749] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[39082.151753] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 2, rd 1, flush 0, corrupt 0, gen 0
[39082.151766] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[39082.151769] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 3, rd 1, flush 0, corrupt 0, gen 0
[39082.151780] BTRFS warning (device dm-11): direct IO failed ino 2356 rw 0,0 sector 0x2d16d8 len 4096 err no 10
[39082.152127] BTRFS error (device dm-11): error writing primary super block to device 1
[39082.152132] BTRFS: error (device dm-11) in write_all_supers:4356: errno=-5 IO failure (1 errors while writing supers)
[39082.153177] BTRFS info (device dm-11: state E): forced readonly
[39082.153206] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[39082.153211] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[39082.155173] BTRFS warning (device dm-11: state EA): Skipping commit of aborted transaction.
[39082.155179] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[39082.157383] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 4, rd 1, flush 0, corrupt 0, gen 0
[39082.158571] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 5, rd 1, flush 0, corrupt 0, gen 0
[39082.158803] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 6, rd 1, flush 0, corrupt 0, gen 0
[39082.159296] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 7, rd 1, flush 0, corrupt 0, gen 0
[39082.159354] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 8, rd 1, flush 0, corrupt 0, gen 0
[39082.159840] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 9, rd 1, flush 0, corrupt 0, gen 0
[39082.171332] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[39082.216768] BTRFS warning (device dm-11: state EA): direct IO failed ino 2352 rw 0,0 sector 0x2c7880 len 69632 err no 10
[39082.218338] BTRFS warning (device dm-11: state EA): direct IO failed ino 2383 rw 0,0 sector 0x2d0f28 len 45056 err no 10
[39082.224259] BTRFS warning (device dm-11: state EA): direct IO failed ino 2360 rw 0,0 sector 0x2ca260 len 24576 err no 10
[39082.846517] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[39082.846525] BTRFS info (device dm-11): use zstd compression, level 3
[39082.846528] BTRFS info (device dm-11): turning on async discard
[39082.846530] BTRFS info (device dm-11): disk space caching is enabled
[39082.852176] BTRFS info (device dm-11): start tree-log replay
[39084.952976] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[39084.952987] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[39084.953011] BTRFS error (device dm-11): error writing primary super block to device 1
[39084.953015] BTRFS: error (device dm-11) in write_all_supers:4356: errno=-5 IO failure (1 errors while writing supers)
[39084.953703] BTRFS info (device dm-11: state E): forced readonly
[39084.953714] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[39084.953718] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[39084.958849] BTRFS warning (device dm-11: state EA): direct IO failed ino 257 rw 0,0 sector 0x2dd278 len 24576 err no 10
[39084.961819] BTRFS: error (device dm-11: state EA) in btrfs_sync_log:3194: errno=-5 IO failure
[39084.963105] BTRFS warning (device dm-11: state EA): direct IO failed ino 2438 rw 0,0 sector 0x2e5938 len 36864 err no 10
[39084.966863] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[39085.011549] BTRFS warning (device dm-11: state EA): direct IO failed ino 2438 rw 0,0 sector 0x2e5970 len 8192 err no 10
[39085.640373] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[39085.640382] BTRFS info (device dm-11): use zstd compression, level 3
[39085.640385] BTRFS info (device dm-11): turning on async discard
[39085.640387] BTRFS info (device dm-11): disk space caching is enabled
[39085.645441] BTRFS info (device dm-11): start tree-log replay
[39085.729010] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[39085.731968] BTRFS error (device dm-11): error writing primary super block to device 1
[39085.731973] BTRFS: error (device dm-11) in write_all_supers:4356: errno=-5 IO failure (1 errors while writing supers)
[39085.732825] BTRFS info (device dm-11: state E): forced readonly
[39085.732831] BTRFS: error (device dm-11: state EA) in btrfs_sync_log:3205: errno=-5 IO failure
[39085.740172] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[39086.357181] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[39086.357190] BTRFS info (device dm-11): use zstd compression, level 3
[39086.357193] BTRFS info (device dm-11): turning on async discard
[39086.357195] BTRFS info (device dm-11): disk space caching is enabled
[39086.397337] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[39086.399651] BTRFS: error (device dm-11: state A) in create_subvol:729: errno=-5 IO failure
[39086.400487] BTRFS info (device dm-11: state EA): forced readonly
[39086.960205] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[39086.960214] BTRFS info (device dm-11): use zstd compression, level 3
[39086.960217] BTRFS info (device dm-11): turning on async discard
[39086.960219] BTRFS info (device dm-11): disk space caching is enabled
[39086.997980] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[39087.024851] BTRFS: error (device dm-11: state A) in btrfs_run_delayed_refs:2141: errno=-5 IO failure
[39087.025423] BTRFS info (device dm-11: state EA): forced readonly
[39087.556161] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[39087.556170] BTRFS info (device dm-11): use zstd compression, level 3
[39087.556173] BTRFS info (device dm-11): turning on async discard
[39087.556175] BTRFS info (device dm-11): disk space caching is enabled
[39087.587210] btrfs_dev_stat_inc_and_print: 239 callbacks suppressed
[39087.587213] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 0, rd 1, flush 0, corrupt 0, gen 0
[39087.587310] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 0, rd 2, flush 0, corrupt 0, gen 0
[39087.587403] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 0, rd 3, flush 0, corrupt 0, gen 0
[39087.587430] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 0, rd 4, flush 0, corrupt 0, gen 0
[39087.587899] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 0, rd 5, flush 0, corrupt 0, gen 0
[39087.590865] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 0, rd 6, flush 0, corrupt 0, gen 0
[39087.595363] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 0, rd 7, flush 0, corrupt 0, gen 0
[39087.595393] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 0, rd 8, flush 0, corrupt 0, gen 0
[39087.596004] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[39087.599002] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 0, rd 9, flush 0, corrupt 0, gen 0
[39087.599761] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 0, rd 10, flush 0, corrupt 0, gen 0
[39087.607109] BTRFS: error (device dm-11: state A) in create_subvol:729: errno=-5 IO failure
[39087.607766] BTRFS info (device dm-11: state EA): forced readonly
[39088.180333] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[39088.180342] BTRFS info (device dm-11): use zstd compression, level 3
[39088.180346] BTRFS info (device dm-11): turning on async discard
[39088.180348] BTRFS info (device dm-11): disk space caching is enabled
[39090.244405] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[39090.244419] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[39090.244430] BTRFS error (device dm-11): error writing primary super block to device 1
[39090.244433] BTRFS: error (device dm-11) in write_all_supers:4356: errno=-5 IO failure (1 errors while writing supers)
[39090.245313] BTRFS info (device dm-11: state E): forced readonly
[39090.245322] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[39090.245326] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[39090.246861] BTRFS: error (device dm-11: state EA) in btrfs_sync_log:3194: errno=-5 IO failure
[39090.256460] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[39090.257122] BTRFS: error (device dm-11: state EA) in btrfs_run_delayed_refs:2141: errno=-5 IO failure
[39090.273658] BTRFS warning (device dm-11: state EA): direct IO failed ino 273 rw 0,0 sector 0x252888 len 12288 err no 10
[39090.920215] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[39090.920225] BTRFS info (device dm-11): use zstd compression, level 3
[39090.920230] BTRFS info (device dm-11): turning on async discard
[39090.920232] BTRFS info (device dm-11): disk space caching is enabled
[39090.926122] BTRFS info (device dm-11): start tree-log replay
[39090.943787] ------------[ cut here ]------------
[39090.943861] WARNING: CPU: 0 PID: 1326554 at fs/btrfs/discard.c:604 btrfs_discard_update_discardable+0x98/0xb0
[39090.943869] Modules linked in: dm_thin_pool dm_persistent_data dm_bio_prison dm_log_writes dm_dust dm_flakey nft_fib_inet nft_fib_ipv4 nft_fib_ipv6 nft_fib nft_reject_inet nf_reject_ipv4 nf_reject_ipv6 nft_reject nft_ct nft_chain_nat nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 ip6_tables nft_compat ip_set rfkill nf_tables nfnetlink intel_rapl_msr iTCO_wdt iTCO_vendor_support snd_hda_codec_generic intel_rapl_common snd_hda_intel joydev snd_intel_dspcfg snd_hda_codec snd_hwdep snd_hda_core snd_pcm virtio_balloon i2c_i801 i2c_smbus snd_timer snd soundcore lpc_ich zram ip_tables xfs crct10dif_pclmul crc32_pclmul crc32c_intel ghash_clmulni_intel serio_raw qemu_fw_cfg
[39090.943987] CPU: 0 PID: 1326554 Comm: kworker/u4:4 Tainted: G        W         5.19.0-rc8+ #786
[39090.943991] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.13.0-2.fc32 04/01/2014
[39090.943994] Workqueue: btrfs-cache btrfs_work_helper
[39090.944000] RIP: 0010:btrfs_discard_update_discardable+0x98/0xb0
[39090.944005] 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 9c 98 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
[39090.944008] RSP: 0018:ffffb032862dbad0 EFLAGS: 00010246
[39090.944012] RAX: 0000000000000000 RBX: ffff98c788cba800 RCX: 0000000000000001
[39090.944014] RDX: 0000000000000000 RSI: ffffffff8d807c93 RDI: ffffffff8d8a825e
[39090.944016] RBP: ffff98c7ce1fc000 R08: 0000000000000000 R09: 0000000000001000
[39090.944019] R10: ffff98c68e187b78 R11: 00000000009e7a00 R12: ffff98c78304e010
[39090.944021] R13: ffff98c7960acf40 R14: ffff98c7ce1fc000 R15: ffff98c7b76ac310
[39090.944024] FS:  0000000000000000(0000) GS:ffff98c7fbc00000(0000) knlGS:0000000000000000
[39090.944027] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[39090.944029] CR2: 000055d0578f1200 CR3: 000000010b61e003 CR4: 0000000000370ef0
[39090.944035] Call Trace:
[39090.944038]  
[39090.944044]  __btrfs_remove_free_space_cache+0x27/0x30
[39090.944049]  load_free_space_cache+0xad2/0xaf0
[39090.944109]  caching_thread+0x40b/0x650
[39090.944121]  ? lock_release+0x137/0x2d0
[39090.944131]  btrfs_work_helper+0xf2/0x3e0
[39090.944135]  ? lock_is_held_type+0xe2/0x140
[39090.944147]  process_one_work+0x271/0x590
[39090.944160]  ? process_one_work+0x590/0x590
[39090.944164]  worker_thread+0x52/0x3b0
[39090.944172]  ? process_one_work+0x590/0x590
[39090.944176]  kthread+0xf0/0x120
[39090.944180]  ? kthread_complete_and_exit+0x20/0x20
[39090.944187]  ret_from_fork+0x1f/0x30
[39090.944211]  
[39090.944214] irq event stamp: 4862395
[39090.944216] hardirqs last  enabled at (4862401): [] __up_console_sem+0x5e/0x70
[39090.944221] hardirqs last disabled at (4862406): [] __up_console_sem+0x43/0x70
[39090.944224] softirqs last  enabled at (4861886): [] __irq_exit_rcu+0xeb/0x160
[39090.944229] softirqs last disabled at (4861879): [] __irq_exit_rcu+0xeb/0x160
[39090.944233] ---[ end trace 0000000000000000 ]---
[39090.944237] BTRFS warning (device dm-11): block group 298844160 has wrong amount of free space
[39090.944261] BTRFS warning (device dm-11): failed to load free space cache for block group 298844160, rebuilding it now
[39093.027768] btrfs_dev_stat_inc_and_print: 153 callbacks suppressed
[39093.027772] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 1, rd 0, flush 0, corrupt 0, gen 0
[39093.027824] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 2, rd 0, flush 0, corrupt 0, gen 0
[39093.029332] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 3, rd 0, flush 0, corrupt 0, gen 0
[39093.029340] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 4, rd 0, flush 0, corrupt 0, gen 0
[39093.029648] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 5, rd 0, flush 0, corrupt 0, gen 0
[39093.029654] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 6, rd 0, flush 0, corrupt 0, gen 0
[39093.030231] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 7, rd 0, flush 0, corrupt 0, gen 0
[39093.030238] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 8, rd 0, flush 0, corrupt 0, gen 0
[39093.030351] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 9, rd 0, flush 0, corrupt 0, gen 0
[39093.030356] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 10, rd 0, flush 0, corrupt 0, gen 0
[39093.030630] BTRFS: error (device dm-11) in btrfs_commit_transaction:2496: errno=-5 IO failure (Error while writing out transaction)
[39093.031364] BTRFS info (device dm-11: state E): forced readonly
[39093.031369] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[39093.031372] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[39093.038595] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[39093.666541] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[39093.666550] BTRFS info (device dm-11): use zstd compression, level 3
[39093.666554] BTRFS info (device dm-11): turning on async discard
[39093.666555] BTRFS info (device dm-11): disk space caching is enabled
[39093.710968] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[39093.735655] BTRFS: error (device dm-11: state A) in btrfs_run_delayed_refs:2141: errno=-5 IO failure
[39093.736412] BTRFS info (device dm-11: state EA): forced readonly
[39094.061591] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[39094.061601] BTRFS info (device dm-11): use zstd compression, level 3
[39094.061605] BTRFS info (device dm-11): turning on async discard
[39094.061607] BTRFS info (device dm-11): disk space caching is enabled
[39094.256568] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[39094.280983] BTRFS: error (device dm-11: state A) in btrfs_run_delayed_refs:2141: errno=-5 IO failure
[39094.281766] BTRFS info (device dm-11: state EA): forced readonly
[39094.813708] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[39094.813716] BTRFS info (device dm-11): use zstd compression, level 3
[39094.813719] BTRFS info (device dm-11): turning on async discard
[39094.813721] BTRFS info (device dm-11): disk space caching is enabled
[39094.855751] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[39094.879162] BTRFS: error (device dm-11: state A) in btrfs_run_delayed_refs:2141: errno=-5 IO failure
[39094.879827] BTRFS info (device dm-11: state EA): forced readonly
[39095.148027] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[39095.148037] BTRFS info (device dm-11): use zstd compression, level 3
[39095.148040] BTRFS info (device dm-11): turning on async discard
[39095.148042] BTRFS info (device dm-11): disk space caching is enabled
[39096.374276] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[39096.374293] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[39096.374304] BTRFS error (device dm-11): error writing primary super block to device 1
[39096.374308] BTRFS: error (device dm-11) in write_all_supers:4356: errno=-5 IO failure (1 errors while writing supers)
[39096.375156] BTRFS info (device dm-11: state E): forced readonly
[39096.375161] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[39096.375164] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[39096.376889] BTRFS warning (device dm-11: state EA): Skipping commit of aborted transaction.
[39096.376900] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[39096.380151] BTRFS warning (device dm-11: state EA): direct IO failed ino 257 rw 0,0 sector 0x21c248 len 40960 err no 10
[39096.388721] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[39096.401578] BTRFS warning (device dm-11: state EA): direct IO failed ino 2606 rw 0,0 sector 0x25a6d0 len 16384 err no 10
[39096.435078] BTRFS warning (device dm-11: state EA): direct IO failed ino 1432 rw 0,0 sector 0x21c158 len 20480 err no 10
[39096.439966] BTRFS warning (device dm-11: state EA): direct IO failed ino 2766 rw 0,0 sector 0x2129c8 len 49152 err no 10
[39097.028264] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[39097.028273] BTRFS info (device dm-11): use zstd compression, level 3
[39097.028276] BTRFS info (device dm-11): turning on async discard
[39097.028278] BTRFS info (device dm-11): disk space caching is enabled
[39099.092049] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[39099.092058] btrfs_dev_stat_inc_and_print: 106 callbacks suppressed
[39099.092061] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 1, rd 0, flush 0, corrupt 0, gen 0
[39099.092078] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[39099.092082] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 2, rd 0, flush 0, corrupt 0, gen 0
[39099.092097] BTRFS error (device dm-11): error writing primary super block to device 1
[39099.092101] BTRFS: error (device dm-11) in write_all_supers:4356: errno=-5 IO failure (1 errors while writing supers)
[39099.093143] BTRFS info (device dm-11: state E): forced readonly
[39099.093158] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[39099.093163] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[39099.098495] BTRFS: error (device dm-11: state EA) in btrfs_sync_log:3194: errno=-5 IO failure
[39099.102889] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[39099.103605] BTRFS warning (device dm-11: state EA): Skipping commit of aborted transaction.
[39099.103610] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[39099.105363] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 3, rd 0, flush 0, corrupt 0, gen 0
[39099.105559] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 4, rd 0, flush 0, corrupt 0, gen 0
[39099.106129] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 5, rd 0, flush 0, corrupt 0, gen 0
[39099.107280] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 6, rd 0, flush 0, corrupt 0, gen 0
[39099.107539] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 7, rd 0, flush 0, corrupt 0, gen 0
[39099.107678] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 8, rd 0, flush 0, corrupt 0, gen 0
[39099.107989] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 9, rd 0, flush 0, corrupt 0, gen 0
[39099.108192] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 10, rd 0, flush 0, corrupt 0, gen 0
[39099.125055] BTRFS warning (device dm-11: state EA): direct IO failed ino 2830 rw 0,0 sector 0x29db58 len 4096 err no 10
[39099.132766] BTRFS warning (device dm-11: state EA): direct IO failed ino 261 rw 0,0 sector 0x2d8110 len 28672 err no 10
[39099.133256] BTRFS warning (device dm-11: state EA): direct IO failed ino 267 rw 0,0 sector 0x19a7a8 len 12288 err no 10
[39099.147095] BTRFS warning (device dm-11: state EA): direct IO failed ino 2732 rw 0,0 sector 0x1d62d0 len 28672 err no 10
[39099.147347] BTRFS warning (device dm-11: state EA): direct IO failed ino 262 rw 0,0 sector 0x2d9dd8 len 28672 err no 10
[39099.802460] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[39099.802467] BTRFS info (device dm-11): use zstd compression, level 3
[39099.802470] BTRFS info (device dm-11): turning on async discard
[39099.802472] BTRFS info (device dm-11): disk space caching is enabled
[39099.807608] BTRFS info (device dm-11): start tree-log replay
[39099.898376] BTRFS: error (device dm-11: state A) in create_subvol:729: errno=-5 IO failure
[39099.899150] BTRFS info (device dm-11: state EA): forced readonly
[39099.899873] BTRFS: error (device dm-11: state EA) in create_subvol:729: errno=-5 IO failure
[39099.901695] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[39100.459702] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[39100.459713] BTRFS info (device dm-11): use zstd compression, level 3
[39100.459717] BTRFS info (device dm-11): turning on async discard
[39100.459719] BTRFS info (device dm-11): disk space caching is enabled
[39102.496055] BTRFS: error (device dm-11) in btrfs_commit_transaction:2496: errno=-5 IO failure (Error while writing out transaction)
[39102.496693] BTRFS info (device dm-11: state E): forced readonly
[39102.496698] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[39102.496701] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[39102.502922] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[39103.135608] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[39103.135617] BTRFS info (device dm-11): use zstd compression, level 3
[39103.135620] BTRFS info (device dm-11): turning on async discard
[39103.135621] BTRFS info (device dm-11): disk space caching is enabled
[39103.171415] ------------[ cut here ]------------
[39103.171488] WARNING: CPU: 0 PID: 1341662 at fs/btrfs/discard.c:604 btrfs_discard_update_discardable+0x98/0xb0
[39103.171495] Modules linked in: dm_thin_pool dm_persistent_data dm_bio_prison dm_log_writes dm_dust dm_flakey nft_fib_inet nft_fib_ipv4 nft_fib_ipv6 nft_fib nft_reject_inet nf_reject_ipv4 nf_reject_ipv6 nft_reject nft_ct nft_chain_nat nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 ip6_tables nft_compat ip_set rfkill nf_tables nfnetlink intel_rapl_msr iTCO_wdt iTCO_vendor_support snd_hda_codec_generic intel_rapl_common snd_hda_intel joydev snd_intel_dspcfg snd_hda_codec snd_hwdep snd_hda_core snd_pcm virtio_balloon i2c_i801 i2c_smbus snd_timer snd soundcore lpc_ich zram ip_tables xfs crct10dif_pclmul crc32_pclmul crc32c_intel ghash_clmulni_intel serio_raw qemu_fw_cfg
[39103.171564] CPU: 0 PID: 1341662 Comm: kworker/u4:7 Tainted: G        W         5.19.0-rc8+ #786
[39103.171567] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.13.0-2.fc32 04/01/2014
[39103.171569] Workqueue: btrfs-cache btrfs_work_helper
[39103.171574] RIP: 0010:btrfs_discard_update_discardable+0x98/0xb0
[39103.171577] 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 9c 98 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
[39103.171579] RSP: 0018:ffffb03282583ad0 EFLAGS: 00010246
[39103.171582] RAX: 0000000000000000 RBX: ffff98c788cbbc00 RCX: 0000000000000001
[39103.171584] RDX: 0000000000000000 RSI: ffffffff8d807c93 RDI: ffffffff8d8a825e
[39103.171585] RBP: ffff98c78e65c000 R08: 0000000000000000 R09: 0000000000001000
[39103.171587] R10: ffff98c78429e3c0 R11: 00000000009f3f00 R12: ffff98c783d9e010
[39103.171589] R13: ffff98c79602bca0 R14: ffff98c78e65c000 R15: ffff98c7b76acaf0
[39103.171590] FS:  0000000000000000(0000) GS:ffff98c7fbc00000(0000) knlGS:0000000000000000
[39103.171592] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[39103.171594] CR2: 0000000001f5d090 CR3: 0000000103eb6001 CR4: 0000000000370ef0
[39103.171598] Call Trace:
[39103.171600]  
[39103.171605]  __btrfs_remove_free_space_cache+0x27/0x30
[39103.171609]  load_free_space_cache+0xad2/0xaf0
[39103.171658]  caching_thread+0x40b/0x650
[39103.171666]  ? lock_release+0x137/0x2d0
[39103.171674]  btrfs_work_helper+0xf2/0x3e0
[39103.171677]  ? lock_is_held_type+0xe2/0x140
[39103.171684]  process_one_work+0x271/0x590
[39103.171694]  worker_thread+0x52/0x3b0
[39103.171699]  ? process_one_work+0x590/0x590
[39103.171702]  kthread+0xf0/0x120
[39103.171704]  ? kthread_complete_and_exit+0x20/0x20
[39103.171709]  ret_from_fork+0x1f/0x30
[39103.171723]  
[39103.171725] irq event stamp: 3263695
[39103.171726] hardirqs last  enabled at (3263701): [] __up_console_sem+0x5e/0x70
[39103.171729] hardirqs last disabled at (3263706): [] __up_console_sem+0x43/0x70
[39103.171731] softirqs last  enabled at (3263006): [] __irq_exit_rcu+0xeb/0x160
[39103.171734] softirqs last disabled at (3262989): [] __irq_exit_rcu+0xeb/0x160
[39103.171737] ---[ end trace 0000000000000000 ]---
[39103.171740] BTRFS warning (device dm-11): block group 298844160 has wrong amount of free space
[39103.171784] BTRFS warning (device dm-11): failed to load free space cache for block group 298844160, rebuilding it now
[39105.195212] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[39105.195219] btrfs_dev_stat_inc_and_print: 189 callbacks suppressed
[39105.195221] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 1, rd 0, flush 0, corrupt 0, gen 0
[39105.195232] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[39105.195235] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 2, rd 0, flush 0, corrupt 0, gen 0
[39105.195241] BTRFS error (device dm-11): error writing primary super block to device 1
[39105.195246] BTRFS: error (device dm-11) in write_all_supers:4356: errno=-5 IO failure (1 errors while writing supers)
[39105.195842] BTRFS info (device dm-11: state E): forced readonly
[39105.195847] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[39105.195855] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[39105.198675] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 3, rd 0, flush 0, corrupt 0, gen 0
[39105.198919] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 3, rd 1, flush 0, corrupt 0, gen 0
[39105.199819] BTRFS warning (device dm-11: state EA): direct IO failed ino 2982 rw 0,0 sector 0x2d9cc0 len 28672 err no 10
[39105.200908] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 4, rd 1, flush 0, corrupt 0, gen 0
[39105.201071] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 5, rd 1, flush 0, corrupt 0, gen 0
[39105.201370] BTRFS warning (device dm-11: state EA): Skipping commit of aborted transaction.
[39105.201381] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[39105.206642] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 5, rd 2, flush 0, corrupt 0, gen 0
[39105.206667] BTRFS warning (device dm-11: state EA): direct IO failed ino 2993 rw 0,0 sector 0x206848 len 32768 err no 10
[39105.209280] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[39105.231796] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 5, rd 3, flush 0, corrupt 0, gen 0
[39105.231814] BTRFS warning (device dm-11: state EA): direct IO failed ino 1759 rw 0,0 sector 0x1a03a0 len 4096 err no 10
[39105.233215] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 5, rd 4, flush 0, corrupt 0, gen 0
[39105.233277] BTRFS warning (device dm-11: state EA): direct IO failed ino 2929 rw 0,0 sector 0x196dd0 len 4096 err no 10
[39105.233670] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 5, rd 5, flush 0, corrupt 0, gen 0
[39105.233714] BTRFS warning (device dm-11: state EA): direct IO failed ino 2929 rw 0,0 sector 0x1994e8 len 4096 err no 10
[39105.237982] BTRFS warning (device dm-11: state EA): direct IO failed ino 2955 rw 0,0 sector 0x2da278 len 53248 err no 10
[39105.238019] BTRFS warning (device dm-11: state EA): direct IO failed ino 2955 rw 0,0 sector 0x2d74e0 len 24576 err no 10
[39105.255965] BTRFS warning (device dm-11: state EA): direct IO failed ino 3015 rw 0,0 sector 0x199480 len 32768 err no 10
[39105.256141] BTRFS warning (device dm-11: state EA): direct IO failed ino 258 rw 0,0 sector 0x2a1068 len 16384 err no 10
[39105.259082] BTRFS warning (device dm-11: state EA): direct IO failed ino 266 rw 0,0 sector 0x29fdc0 len 4096 err no 10
[39105.259344] BTRFS warning (device dm-11: state EA): direct IO failed ino 2955 rw 0,0 sector 0x2da2d8 len 4096 err no 10
[39105.259359] BTRFS warning (device dm-11: state EA): direct IO failed ino 2955 rw 0,0 sector 0x2d74e0 len 20480 err no 10
[39105.906199] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[39105.906208] BTRFS info (device dm-11): use zstd compression, level 3
[39105.906211] BTRFS info (device dm-11): turning on async discard
[39105.906213] BTRFS info (device dm-11): disk space caching is enabled
[39107.973270] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[39107.973284] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[39107.973299] BTRFS error (device dm-11): error writing primary super block to device 1
[39107.973302] BTRFS: error (device dm-11) in write_all_supers:4356: errno=-5 IO failure (1 errors while writing supers)
[39107.974050] BTRFS info (device dm-11: state E): forced readonly
[39107.974055] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[39107.974062] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[39107.977282] BTRFS warning (device dm-11: state EA): Skipping commit of aborted transaction.
[39107.977297] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[39107.985897] BTRFS warning (device dm-11: state EA): direct IO failed ino 3065 rw 0,0 sector 0x1d2d80 len 4096 err no 10
[39107.992805] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[39108.023852] BTRFS warning (device dm-11: state EA): direct IO failed ino 271 rw 0,0 sector 0x2d3598 len 4096 err no 10
[39108.669674] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[39108.669683] BTRFS info (device dm-11): use zstd compression, level 3
[39108.669711] BTRFS info (device dm-11): turning on async discard
[39108.669713] BTRFS info (device dm-11): disk space caching is enabled
[39110.700224] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[39110.700231] btrfs_dev_stat_inc_and_print: 21 callbacks suppressed
[39110.700232] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 1, rd 0, flush 0, corrupt 0, gen 0
[39110.700246] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[39110.700248] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 2, rd 0, flush 0, corrupt 0, gen 0
[39110.700320] BTRFS error (device dm-11): error writing primary super block to device 1
[39110.700323] BTRFS: error (device dm-11) in write_all_supers:4356: errno=-5 IO failure (1 errors while writing supers)
[39110.701053] BTRFS info (device dm-11: state E): forced readonly
[39110.701058] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[39110.701064] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[39110.702621] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 3, rd 0, flush 0, corrupt 0, gen 0
[39110.705275] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 4, rd 0, flush 0, corrupt 0, gen 0
[39110.705765] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 5, rd 0, flush 0, corrupt 0, gen 0
[39110.705937] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 6, rd 0, flush 0, corrupt 0, gen 0
[39110.706290] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 7, rd 0, flush 0, corrupt 0, gen 0
[39110.707954] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 8, rd 0, flush 0, corrupt 0, gen 0
[39110.708104] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 9, rd 0, flush 0, corrupt 0, gen 0
[39110.708472] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 10, rd 0, flush 0, corrupt 0, gen 0
[39110.708749] BTRFS warning (device dm-11: state EA): Skipping commit of aborted transaction.
[39110.708758] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[39110.711351] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[39110.737357] BTRFS warning (device dm-11: state EA): direct IO failed ino 3216 rw 0,0 sector 0x2e3900 len 49152 err no 10
[39110.738356] BTRFS warning (device dm-11: state EA): direct IO failed ino 1759 rw 0,0 sector 0x1dec00 len 24576 err no 10
[39111.372789] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[39111.372817] BTRFS info (device dm-11): use zstd compression, level 3
[39111.372820] BTRFS info (device dm-11): turning on async discard
[39111.372822] BTRFS info (device dm-11): disk space caching is enabled
[39111.414626] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[39111.443252] BTRFS: error (device dm-11: state A) in __btrfs_free_extent:3078: errno=-5 IO failure
[39111.444028] BTRFS info (device dm-11: state EA): forced readonly
[39111.444035] BTRFS: error (device dm-11: state EA) in btrfs_run_delayed_refs:2141: errno=-5 IO failure
[39111.958695] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[39111.958705] BTRFS info (device dm-11): use zstd compression, level 3
[39111.958709] BTRFS info (device dm-11): turning on async discard
[39111.958710] BTRFS info (device dm-11): disk space caching is enabled
[39114.012779] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[39114.012793] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[39114.012803] BTRFS error (device dm-11): error writing primary super block to device 1
[39114.012806] BTRFS: error (device dm-11) in write_all_supers:4356: errno=-5 IO failure (1 errors while writing supers)
[39114.013437] BTRFS info (device dm-11: state E): forced readonly
[39114.013442] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[39114.013446] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[39114.019734] BTRFS warning (device dm-11: state EA): direct IO failed ino 259 rw 0,0 sector 0x1e77d0 len 8192 err no 10
[39114.019749] BTRFS warning (device dm-11: state EA): direct IO failed ino 3325 rw 0,0 sector 0x1a5418 len 45056 err no 10
[39114.019817] BTRFS warning (device dm-11: state EA): direct IO failed ino 263 rw 0,0 sector 0x25b320 len 12288 err no 10
[39114.020889] BTRFS warning (device dm-11: state EA): direct IO failed ino 3344 rw 0,0 sector 0x30b9d0 len 20480 err no 10
[39114.022148] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[39114.023457] BTRFS warning (device dm-11: state EA): direct IO failed ino 1550 rw 0,0 sector 0x1a6d68 len 20480 err no 10
[39114.046508] BTRFS warning (device dm-11: state EA): direct IO failed ino 257 rw 0,0 sector 0x2a5d80 len 8192 err no 10
[39114.048246] BTRFS warning (device dm-11: state EA): direct IO failed ino 3313 rw 0,0 sector 0x2657e0 len 61440 err no 10
[39114.051080] BTRFS warning (device dm-11: state EA): direct IO failed ino 3294 rw 0,0 sector 0x2a6f58 len 24576 err no 10
[39114.052120] BTRFS warning (device dm-11: state EA): direct IO failed ino 3294 rw 0,0 sector 0x255f00 len 4096 err no 10
[39114.661066] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[39114.661074] BTRFS info (device dm-11): use zstd compression, level 3
[39114.661078] BTRFS info (device dm-11): turning on async discard
[39114.661080] BTRFS info (device dm-11): disk space caching is enabled
[39115.719569] btrfs_dev_stat_inc_and_print: 91 callbacks suppressed
[39115.719573] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 0, rd 1, flush 0, corrupt 0, gen 0
[39115.719587] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 1, rd 1, flush 0, corrupt 0, gen 0
[39115.719659] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 2, rd 1, flush 0, corrupt 0, gen 0
[39115.720934] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 3, rd 1, flush 0, corrupt 0, gen 0
[39115.720943] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 4, rd 1, flush 0, corrupt 0, gen 0
[39115.721131] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 5, rd 1, flush 0, corrupt 0, gen 0
[39115.721137] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 6, rd 1, flush 0, corrupt 0, gen 0
[39115.721364] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 7, rd 1, flush 0, corrupt 0, gen 0
[39115.721370] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 8, rd 1, flush 0, corrupt 0, gen 0
[39115.721476] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 9, rd 1, flush 0, corrupt 0, gen 0
[39115.722500] BTRFS warning (device dm-11): direct IO failed ino 257 rw 1,34817 sector 0x268c38 len 45056 err no 10
[39115.724689] BTRFS: error (device dm-11) in btrfs_commit_transaction:2496: errno=-5 IO failure (Error while writing out transaction)
[39115.725323] BTRFS info (device dm-11: state E): forced readonly
[39115.725327] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[39115.725331] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[39115.730072] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[39116.367121] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[39116.367133] BTRFS info (device dm-11): use zstd compression, level 3
[39116.367138] BTRFS info (device dm-11): turning on async discard
[39116.367141] BTRFS info (device dm-11): disk space caching is enabled
[39118.402723] BTRFS: error (device dm-11) in btrfs_commit_transaction:2496: errno=-5 IO failure (Error while writing out transaction)
[39118.403665] BTRFS info (device dm-11: state E): forced readonly
[39118.403671] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[39118.403674] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[39118.412165] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[39119.042208] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[39119.042236] BTRFS info (device dm-11): use zstd compression, level 3
[39119.042239] BTRFS info (device dm-11): turning on async discard
[39119.042241] BTRFS info (device dm-11): disk space caching is enabled
[39119.070574] ------------[ cut here ]------------
[39119.070680] WARNING: CPU: 1 PID: 1336728 at fs/btrfs/discard.c:604 btrfs_discard_update_discardable+0x98/0xb0
[39119.070687] Modules linked in: dm_thin_pool dm_persistent_data dm_bio_prison dm_log_writes dm_dust dm_flakey nft_fib_inet nft_fib_ipv4 nft_fib_ipv6 nft_fib nft_reject_inet nf_reject_ipv4 nf_reject_ipv6 nft_reject nft_ct nft_chain_nat nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 ip6_tables nft_compat ip_set rfkill nf_tables nfnetlink intel_rapl_msr iTCO_wdt iTCO_vendor_support snd_hda_codec_generic intel_rapl_common snd_hda_intel joydev snd_intel_dspcfg snd_hda_codec snd_hwdep snd_hda_core snd_pcm virtio_balloon i2c_i801 i2c_smbus snd_timer snd soundcore lpc_ich zram ip_tables xfs crct10dif_pclmul crc32_pclmul crc32c_intel ghash_clmulni_intel serio_raw qemu_fw_cfg
[39119.070754] CPU: 1 PID: 1336728 Comm: kworker/u4:5 Tainted: G        W         5.19.0-rc8+ #786
[39119.070756] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.13.0-2.fc32 04/01/2014
[39119.070758] Workqueue: btrfs-cache btrfs_work_helper
[39119.070763] RIP: 0010:btrfs_discard_update_discardable+0x98/0xb0
[39119.070766] 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 9c 98 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
[39119.070768] RSP: 0018:ffffb03283c0bad0 EFLAGS: 00010246
[39119.070771] RAX: 0000000000000000 RBX: ffff98c7ac717a00 RCX: 0000000000000001
[39119.070772] RDX: 0000000000000000 RSI: ffffffff8d807c93 RDI: ffffffff8d8a825e
[39119.070774] RBP: ffff98c78e65c000 R08: 0000000000000000 R09: 0000000000001000
[39119.070775] R10: ffff98c6d27ea1b8 R11: 0000000000000000 R12: ffff98c78fd1c010
[39119.070777] R13: ffff98c7965845f0 R14: ffff98c78e65c000 R15: ffff98c7968837e0
[39119.070779] FS:  0000000000000000(0000) GS:ffff98c7fbd00000(0000) knlGS:0000000000000000
[39119.070780] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[39119.070782] CR2: 0000000000607090 CR3: 000000017fe4a005 CR4: 0000000000370ee0
[39119.070786] Call Trace:
[39119.070789]  
[39119.070793]  __btrfs_remove_free_space_cache+0x27/0x30
[39119.070797]  load_free_space_cache+0xad2/0xaf0
[39119.070843]  caching_thread+0x40b/0x650
[39119.070853]  ? lock_release+0x137/0x2d0
[39119.070863]  btrfs_work_helper+0xf2/0x3e0
[39119.070866]  ? lock_is_held_type+0xe2/0x140
[39119.070875]  process_one_work+0x271/0x590
[39119.070887]  ? process_one_work+0x590/0x590
[39119.070892]  worker_thread+0x52/0x3b0
[39119.070899]  ? process_one_work+0x590/0x590
[39119.070902]  kthread+0xf0/0x120
[39119.070904]  ? kthread_complete_and_exit+0x20/0x20
[39119.070909]  ret_from_fork+0x1f/0x30
[39119.070923]  
[39119.070924] irq event stamp: 3015295
[39119.070925] hardirqs last  enabled at (3015301): [] __up_console_sem+0x5e/0x70
[39119.070929] hardirqs last disabled at (3015306): [] __up_console_sem+0x43/0x70
[39119.070931] softirqs last  enabled at (3014022): [] __irq_exit_rcu+0xeb/0x160
[39119.070934] softirqs last disabled at (3014015): [] __irq_exit_rcu+0xeb/0x160
[39119.070936] ---[ end trace 0000000000000000 ]---
[39119.070939] BTRFS warning (device dm-11): block group 298844160 has wrong amount of free space
[39119.070958] BTRFS warning (device dm-11): failed to load free space cache for block group 298844160, rebuilding it now
[39120.076275] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[39120.076872] BTRFS error (device dm-11): error writing primary super block to device 1
[39120.076877] BTRFS: error (device dm-11) in write_all_supers:4356: errno=-5 IO failure (1 errors while writing supers)
[39120.077977] BTRFS info (device dm-11: state E): forced readonly
[39120.077982] BTRFS: error (device dm-11: state EA) in btrfs_sync_log:3205: errno=-5 IO failure
[39120.083121] BTRFS warning (device dm-11: state EA): Skipping commit of aborted transaction.
[39120.083128] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[39120.089525] BTRFS warning (device dm-11: state EA): direct IO failed ino 3497 rw 0,0 sector 0x292898 len 4096 err no 10
[39120.090195] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[39120.103347] BTRFS warning (device dm-11: state EA): direct IO failed ino 3480 rw 0,0 sector 0x273918 len 36864 err no 10
[39120.137170] BTRFS warning (device dm-11: state EA): direct IO failed ino 1546 rw 0,0 sector 0x2d0d50 len 36864 err no 10
[39120.745271] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[39120.745279] BTRFS info (device dm-11): use zstd compression, level 3
[39120.745283] BTRFS info (device dm-11): turning on async discard
[39120.745285] BTRFS info (device dm-11): disk space caching is enabled