[17143.978778] run fstests generic/475 at 2022-08-14 01:39:21
[17144.906579] BTRFS: device fsid 8e4fce42-7015-44a3-9266-0aa2cda5bc5e devid 1 transid 6 /dev/mapper/vg0-lv9 scanned by mkfs.btrfs (2244013)
[17145.149692] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[17145.149702] BTRFS info (device dm-11): turning on async discard
[17145.149704] BTRFS info (device dm-11): disk space caching is enabled
[17145.153919] BTRFS info (device dm-11): checking UUID tree
[17145.189244] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 1, rd 0, flush 0, corrupt 0, gen 0
[17145.189262] BTRFS warning (device dm-11): direct IO failed ino 260 rw 1,34817 sector 0x6800 len 16384 err no 10
[17145.190219] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 2, rd 0, flush 0, corrupt 0, gen 0
[17145.191636] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 3, rd 0, flush 0, corrupt 0, gen 0
[17145.191680] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 4, rd 0, flush 0, corrupt 0, gen 0
[17145.193215] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 5, rd 0, flush 0, corrupt 0, gen 0
[17145.193909] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 6, rd 0, flush 0, corrupt 0, gen 0
[17145.194855] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 7, rd 0, flush 0, corrupt 0, gen 0
[17145.194860] BTRFS warning (device dm-11): direct IO failed ino 272 rw 1,34817 sector 0x6b48 len 122880 err no 10
[17145.196590] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 8, rd 0, flush 0, corrupt 0, gen 0
[17145.196936] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 9, rd 0, flush 0, corrupt 0, gen 0
[17145.198989] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 10, rd 0, flush 0, corrupt 0, gen 0
[17145.199004] BTRFS warning (device dm-11): direct IO failed ino 274 rw 1,34817 sector 0x6d60 len 98304 err no 10
[17145.206763] buffer_io_error: 760 callbacks suppressed
[17145.206768] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[17145.214082] BTRFS warning (device dm-11): direct IO failed ino 277 rw 1,34817 sector 0x7420 len 28672 err no 10
[17145.218147] BTRFS warning (device dm-11): direct IO failed ino 272 rw 1,34817 sector 0x7420 len 32768 err no 10
[17145.220450] BTRFS: error (device dm-11) in btrfs_commit_transaction:2496: errno=-5 IO failure (Error while writing out transaction)
[17145.221211] BTRFS info (device dm-11: state E): forced readonly
[17145.221257] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[17145.221280] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[17145.736922] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[17145.736930] BTRFS info (device dm-11): turning on async discard
[17145.736932] BTRFS info (device dm-11): disk space caching is enabled
[17145.741412] BTRFS info (device dm-11): checking UUID tree
[17145.781340] BTRFS warning (device dm-11): direct IO failed ino 264 rw 1,34817 sector 0x7790 len 12288 err no 10
[17145.794881] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[17145.800016] BTRFS warning (device dm-11): direct IO failed ino 268 rw 1,34817 sector 0x7b68 len 8192 err no 10
[17145.800976] BTRFS warning (device dm-11): direct IO failed ino 268 rw 1,34817 sector 0x7b68 len 106496 err no 10
[17145.802068] BTRFS warning (device dm-11): direct IO failed ino 276 rw 1,34817 sector 0x7be8 len 81920 err no 10
[17145.815147] BTRFS: error (device dm-11: state A) in btrfs_rename_exchange:9253: errno=-5 IO failure
[17145.816003] BTRFS info (device dm-11: state EA): forced readonly
[17146.340211] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[17146.340219] BTRFS info (device dm-11): turning on async discard
[17146.340221] BTRFS info (device dm-11): disk space caching is enabled
[17146.343806] BTRFS info (device dm-11): start tree-log replay
[17146.367934] BTRFS info (device dm-11): checking UUID tree
[17147.449411] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[17147.449427] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[17147.449438] BTRFS error (device dm-11): error writing primary super block to device 1
[17147.449440] BTRFS: error (device dm-11) in write_all_supers:4342: errno=-5 IO failure (1 errors while writing supers)
[17147.450179] BTRFS info (device dm-11: state E): forced readonly
[17147.450193] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[17147.451003] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[17147.456782] BTRFS warning (device dm-11: state EA): direct IO failed ino 300 rw 0,0 sector 0x8948 len 4096 err no 10
[17147.458679] BTRFS warning (device dm-11: state EA): direct IO failed ino 300 rw 0,0 sector 0x9328 len 61440 err no 10
[17147.460355] BTRFS warning (device dm-11: state EA): Skipping commit of aborted transaction.
[17147.460395] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[17147.462400] BTRFS warning (device dm-11: state EA): direct IO failed ino 294 rw 0,0 sector 0x6cb0 len 4096 err no 10
[17147.462641] BTRFS warning (device dm-11: state EA): direct IO failed ino 285 rw 0,0 sector 0x8f90 len 28672 err no 10
[17147.463006] BTRFS warning (device dm-11: state EA): direct IO failed ino 327 rw 0,0 sector 0x113b68 len 61440 err no 10
[17147.464145] BTRFS warning (device dm-11: state EA): direct IO failed ino 285 rw 0,0 sector 0x114c50 len 12288 err no 10
[17147.465798] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[17147.470540] BTRFS warning (device dm-11: state EA): direct IO failed ino 257 rw 0,0 sector 0x7de0 len 32768 err no 10
[17147.471810] BTRFS warning (device dm-11: state EA): direct IO failed ino 257 rw 0,0 sector 0x7de0 len 20480 err no 10
[17147.476986] BTRFS warning (device dm-11: state EA): direct IO failed ino 294 rw 0,0 sector 0x6cb0 len 4096 err no 10
[17147.489940] BTRFS warning (device dm-11: state EA): direct IO failed ino 285 rw 0,0 sector 0x114d38 len 77824 err no 10
[17147.490134] BTRFS warning (device dm-11: state EA): direct IO failed ino 260 rw 0,0 sector 0x96c8 len 20480 err no 10
[17147.490205] BTRFS warning (device dm-11: state EA): direct IO failed ino 285 rw 0,0 sector 0x114c50 len 57344 err no 10
[17147.490644] BTRFS warning (device dm-11: state EA): direct IO failed ino 257 rw 0,0 sector 0x7de0 len 8192 err no 10
[17147.492498] BTRFS warning (device dm-11: state EA): direct IO failed ino 300 rw 0,0 sector 0x8948 len 4096 err no 10
[17147.492735] BTRFS warning (device dm-11: state EA): direct IO failed ino 257 rw 0,0 sector 0x7de0 len 36864 err no 10
[17147.493034] BTRFS warning (device dm-11: state EA): direct IO failed ino 290 rw 0,0 sector 0x94e8 len 4096 err no 10
[17147.493043] BTRFS warning (device dm-11: state EA): direct IO failed ino 290 rw 0,0 sector 0x6bb0 len 4096 err no 10
[17147.494659] BTRFS warning (device dm-11: state EA): direct IO failed ino 344 rw 0,0 sector 0x8988 len 12288 err no 10
[17147.494681] BTRFS warning (device dm-11: state EA): direct IO failed ino 344 rw 0,0 sector 0x8950 len 4096 err no 10
[17147.494985] BTRFS warning (device dm-11: state EA): direct IO failed ino 257 rw 0,0 sector 0x8010 len 16384 err no 10
[17147.495033] BTRFS warning (device dm-11: state EA): direct IO failed ino 344 rw 0,0 sector 0x8958 len 36864 err no 10
[17147.495053] BTRFS warning (device dm-11: state EA): direct IO failed ino 344 rw 0,0 sector 0x8950 len 4096 err no 10
[17147.496496] BTRFS warning (device dm-11: state EA): direct IO failed ino 316 rw 0,0 sector 0xa020 len 8192 err no 10
[17147.499676] BTRFS warning (device dm-11: state EA): direct IO failed ino 308 rw 0,0 sector 0xa110 len 57344 err no 10
[17147.518657] BTRFS warning (device dm-11: state EA): direct IO failed ino 341 rw 0,0 sector 0x114e38 len 40960 err no 10
[17148.000349] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[17148.000359] BTRFS info (device dm-11): turning on async discard
[17148.000361] BTRFS info (device dm-11): disk space caching is enabled
[17148.004458] BTRFS info (device dm-11): start tree-log replay
[17150.074122] BTRFS: error (device dm-11) in btrfs_commit_transaction:2496: errno=-5 IO failure (Error while writing out transaction)
[17150.075054] BTRFS info (device dm-11: state E): forced readonly
[17150.075061] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[17150.075066] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[17150.082921] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[17150.655138] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[17150.655146] BTRFS info (device dm-11): turning on async discard
[17150.655148] BTRFS info (device dm-11): disk space caching is enabled
[17151.709930] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[17151.709937] btrfs_dev_stat_inc_and_print: 112 callbacks suppressed
[17151.709939] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 1, rd 0, flush 0, corrupt 0, gen 0
[17151.709952] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[17151.709954] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 2, rd 0, flush 0, corrupt 0, gen 0
[17151.709965] BTRFS error (device dm-11): error writing primary super block to device 1
[17151.709999] BTRFS: error (device dm-11) in write_all_supers:4342: errno=-5 IO failure (1 errors while writing supers)
[17151.710727] BTRFS info (device dm-11: state E): forced readonly
[17151.710740] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[17151.710744] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[17151.712215] BTRFS: error (device dm-11: state EA) in btrfs_sync_log:3192: errno=-5 IO failure
[17151.713379] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 2, rd 1, flush 0, corrupt 0, gen 0
[17151.713410] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 2, rd 2, flush 0, corrupt 0, gen 0
[17151.714356] BTRFS warning (device dm-11: state EA): direct IO failed ino 258 rw 0,0 sector 0x136cf0 len 4096 err no 10
[17151.714362] BTRFS warning (device dm-11: state EA): direct IO failed ino 258 rw 0,0 sector 0x135f60 len 4096 err no 10
[17151.715193] BTRFS warning (device dm-11: state EA): Skipping commit of aborted transaction.
[17151.715208] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[17151.715913] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 3, rd 2, flush 0, corrupt 0, gen 0
[17151.717095] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 4, rd 2, flush 0, corrupt 0, gen 0
[17151.717147] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 5, rd 2, flush 0, corrupt 0, gen 0
[17151.721257] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 5, rd 3, flush 0, corrupt 0, gen 0
[17151.721276] BTRFS warning (device dm-11: state EA): direct IO failed ino 462 rw 0,0 sector 0x133000 len 53248 err no 10
[17151.726953] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[17151.743442] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 5, rd 4, flush 0, corrupt 0, gen 0
[17151.743463] BTRFS warning (device dm-11: state EA): direct IO failed ino 481 rw 0,0 sector 0x136290 len 24576 err no 10
[17151.744950] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 5, rd 5, flush 0, corrupt 0, gen 0
[17151.744966] BTRFS warning (device dm-11: state EA): direct IO failed ino 458 rw 0,0 sector 0x137128 len 40960 err no 10
[17151.760557] BTRFS warning (device dm-11: state EA): direct IO failed ino 466 rw 0,0 sector 0x138138 len 69632 err no 10
[17151.760580] BTRFS warning (device dm-11: state EA): direct IO failed ino 466 rw 0,0 sector 0x112928 len 4096 err no 10
[17151.760927] BTRFS warning (device dm-11: state EA): direct IO failed ino 484 rw 0,0 sector 0x138b98 len 32768 err no 10
[17152.269067] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[17152.269075] BTRFS info (device dm-11): turning on async discard
[17152.269077] BTRFS info (device dm-11): disk space caching is enabled
[17152.292579] ------------[ cut here ]------------
[17152.292656] WARNING: CPU: 1 PID: 2211616 at fs/btrfs/discard.c:604 btrfs_discard_update_discardable+0x98/0xb0
[17152.292665] 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 snd_hda_codec_generic iTCO_vendor_support snd_hda_intel snd_intel_dspcfg snd_hda_codec snd_hwdep snd_hda_core intel_rapl_common snd_pcm joydev snd_timer snd virtio_balloon soundcore i2c_i801 lpc_ich i2c_smbus zram ip_tables crct10dif_pclmul crc32_pclmul xfs crc32c_intel ghash_clmulni_intel serio_raw qemu_fw_cfg
[17152.292729] CPU: 1 PID: 2211616 Comm: kworker/u4:7 Not tainted 5.19.0-rc8+ #796
[17152.292731] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.13.0-2.fc32 04/01/2014
[17152.292735] Workqueue: btrfs-cache btrfs_work_helper
[17152.292742] RIP: 0010:btrfs_discard_update_discardable+0x98/0xb0
[17152.292745] Code: 17 00 00 48 8b 83 80 00 00 00 48 89 83 88 00 00 00 5b 5d c3 cc cc cc cc 48 8d 7b 18 be ff ff ff ff e8 2c 9a 7e 00 85 c0 75 ac <0f> 0b eb a8 c3 cc cc cc cc 66 66 2e 0f 1f 84 00 00 00 00 00 0f 1f
[17152.292747] RSP: 0018:ffff9aa0c1c6fad0 EFLAGS: 00010246
[17152.292749] RAX: 0000000000000000 RBX: ffff8f1a44392800 RCX: 0000000000000001
[17152.292754] RDX: 0000000000000000 RSI: ffffffff92807c5b RDI: ffffffff928a831e
[17152.292756] RBP: ffff8f1a9a4b0000 R08: 0000000000000000 R09: 0000000080270023
[17152.292758] R10: 000000000003a31b R11: 0000000000000000 R12: ffff8f1a44699010
[17152.292759] R13: ffff8f1a437045f0 R14: ffff8f1a9a4b0000 R15: ffff8f1a54033070
[17152.292761] FS: 0000000000000000(0000) GS:ffff8f1abbd00000(0000) knlGS:0000000000000000
[17152.292763] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[17152.292764] CR2: 00000000013fe438 CR3: 0000000104c18002 CR4: 0000000000370ee0
[17152.292770] Call Trace:
[17152.292771]
[17152.292776] __btrfs_remove_free_space_cache+0x27/0x30
[17152.292780] load_free_space_cache+0xad2/0xaf0
[17152.292820] caching_thread+0x40b/0x650
[17152.292828] ? lock_release+0x137/0x2d0
[17152.292835] btrfs_work_helper+0xf2/0x3e0
[17152.292838] ? lock_is_held_type+0xe2/0x140
[17152.292845] process_one_work+0x271/0x590
[17152.292853] ? process_one_work+0x590/0x590
[17152.292856] worker_thread+0x52/0x3b0
[17152.292860] ? process_one_work+0x590/0x590
[17152.292863] kthread+0xf0/0x120
[17152.292865] ? kthread_complete_and_exit+0x20/0x20
[17152.292870] ret_from_fork+0x1f/0x30
[17152.292883]
[17152.292887] irq event stamp: 316891
[17152.292888] hardirqs last enabled at (316897): [] __up_console_sem+0x5e/0x70
[17152.292893] hardirqs last disabled at (316902): [] __up_console_sem+0x43/0x70
[17152.292895] softirqs last enabled at (316330): [] __irq_exit_rcu+0xeb/0x160
[17152.292898] softirqs last disabled at (316319): [] __irq_exit_rcu+0xeb/0x160
[17152.292900] ---[ end trace 0000000000000000 ]---
[17152.292903] BTRFS warning (device dm-11): block group 298844160 has wrong amount of free space
[17152.292919] BTRFS warning (device dm-11): failed to load free space cache for block group 298844160, rebuilding it now
[17154.330394] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[17154.330411] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[17154.330425] BTRFS error (device dm-11): error writing primary super block to device 1
[17154.330429] BTRFS: error (device dm-11) in write_all_supers:4342: errno=-5 IO failure (1 errors while writing supers)
[17154.331171] BTRFS info (device dm-11: state E): forced readonly
[17154.331177] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[17154.331181] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[17154.334212] BTRFS warning (device dm-11: state EA): Skipping commit of aborted transaction.
[17154.334219] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[17154.337773] BTRFS warning (device dm-11: state EA): direct IO failed ino 260 rw 0,0 sector 0x1527b8 len 32768 err no 10
[17154.340094] BTRFS warning (device dm-11: state EA): direct IO failed ino 258 rw 0,0 sector 0x14cc88 len 4096 err no 10
[17154.343238] BTRFS warning (device dm-11: state EA): direct IO failed ino 558 rw 0,0 sector 0x14db68 len 4096 err no 10
[17154.343283] BTRFS warning (device dm-11: state EA): direct IO failed ino 558 rw 0,0 sector 0x1163e0 len 4096 err no 10
[17154.343442] BTRFS warning (device dm-11: state EA): direct IO failed ino 515 rw 0,0 sector 0x13e250 len 49152 err no 10
[17154.345624] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[17154.358577] BTRFS warning (device dm-11: state EA): direct IO failed ino 605 rw 0,0 sector 0x155b48 len 49152 err no 10
[17154.359084] BTRFS warning (device dm-11: state EA): direct IO failed ino 259 rw 0,0 sector 0x155990 len 98304 err no 10
[17154.359935] BTRFS warning (device dm-11: state EA): direct IO failed ino 515 rw 0,0 sector 0x13ccf0 len 65536 err no 10
[17154.360039] BTRFS warning (device dm-11: state EA): direct IO failed ino 263 rw 0,0 sector 0x14dd60 len 16384 err no 10
[17154.360068] BTRFS warning (device dm-11: state EA): direct IO failed ino 263 rw 0,0 sector 0x113af8 len 4096 err no 10
[17154.362068] BTRFS warning (device dm-11: state EA): direct IO failed ino 589 rw 0,0 sector 0x153f90 len 8192 err no 10
[17154.952136] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[17154.952144] BTRFS info (device dm-11): turning on async discard
[17154.952146] BTRFS info (device dm-11): disk space caching is enabled
[17156.988904] btrfs_dev_stat_inc_and_print: 20 callbacks suppressed
[17156.988908] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 1, rd 0, flush 0, corrupt 0, gen 0
[17156.988963] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 2, rd 0, flush 0, corrupt 0, gen 0
[17156.990590] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 3, rd 0, flush 0, corrupt 0, gen 0
[17156.992687] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 4, rd 0, flush 0, corrupt 0, gen 0
[17156.992701] BTRFS warning (device dm-11): direct IO failed ino 515 rw 1,34817 sector 0x171730 len 8192 err no 10
[17156.999849] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[17157.001246] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 5, rd 0, flush 0, corrupt 0, gen 0
[17157.001395] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 6, rd 0, flush 0, corrupt 0, gen 0
[17157.001620] BTRFS: error (device dm-11) in btrfs_commit_transaction:2496: errno=-5 IO failure (Error while writing out transaction)
[17157.002594] BTRFS info (device dm-11: state E): forced readonly
[17157.002601] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[17157.002605] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[17157.003150] BTRFS: error (device dm-11: state EA) in cache_save_setup:2804: errno=-5 IO failure
[17157.004249] BTRFS: error (device dm-11: state EA) in btrfs_start_dirty_block_groups:3051: errno=-5 IO failure
[17157.011777] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 7, rd 0, flush 0, corrupt 0, gen 0
[17157.018805] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 8, rd 0, flush 0, corrupt 0, gen 0
[17157.019210] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 9, rd 0, flush 0, corrupt 0, gen 0
[17157.019623] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 10, rd 0, flush 0, corrupt 0, gen 0
[17157.026801] BTRFS warning (device dm-11: state EA): direct IO failed ino 703 rw 0,0 sector 0x16c9d8 len 32768 err no 10
[17157.029623] BTRFS warning (device dm-11: state EA): direct IO failed ino 631 rw 0,0 sector 0x160528 len 20480 err no 10
[17157.049606] BTRFS warning (device dm-11: state EA): direct IO failed ino 258 rw 0,0 sector 0x16c5f0 len 4096 err no 10
[17157.051135] BTRFS warning (device dm-11: state EA): direct IO failed ino 260 rw 0,0 sector 0x16d518 len 4096 err no 10
[17157.051153] BTRFS warning (device dm-11: state EA): direct IO failed ino 260 rw 0,0 sector 0x15b100 len 4096 err no 10
[17157.055456] BTRFS warning (device dm-11: state EA): direct IO failed ino 688 rw 0,0 sector 0x16c0c0 len 73728 err no 10
[17157.640547] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[17157.640559] BTRFS info (device dm-11): turning on async discard
[17157.640561] BTRFS info (device dm-11): disk space caching is enabled
[17159.710624] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[17159.710633] BTRFS error (device dm-11): error writing primary super block to device 1
[17159.710636] BTRFS: error (device dm-11) in write_all_supers:4342: errno=-5 IO failure (1 errors while writing supers)
[17159.711429] BTRFS info (device dm-11: state E): forced readonly
[17159.711977] BTRFS: error (device dm-11: state EA) in btrfs_sync_log:3203: errno=-5 IO failure
[17159.720273] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[17159.721126] BTRFS warning (device dm-11: state EA): Skipping commit of aborted transaction.
[17159.721132] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[17159.721580] BTRFS warning (device dm-11: state EA): direct IO failed ino 267 rw 0,0 sector 0x183390 len 28672 err no 10
[17159.724934] BTRFS warning (device dm-11: state EA): direct IO failed ino 261 rw 0,0 sector 0x184e58 len 45056 err no 10
[17159.725026] BTRFS warning (device dm-11: state EA): direct IO failed ino 267 rw 0,0 sector 0x17e938 len 45056 err no 10
[17159.729802] BTRFS warning (device dm-11: state EA): direct IO failed ino 261 rw 0,0 sector 0x188058 len 49152 err no 10
[17159.742040] BTRFS warning (device dm-11: state EA): direct IO failed ino 257 rw 0,0 sector 0x1870e0 len 4096 err no 10
[17159.743510] BTRFS warning (device dm-11: state EA): direct IO failed ino 714 rw 0,0 sector 0x1727b8 len 4096 err no 10
[17159.763586] BTRFS warning (device dm-11: state EA): direct IO failed ino 259 rw 0,0 sector 0x177c30 len 94208 err no 10
[17159.763649] BTRFS warning (device dm-11: state EA): direct IO failed ino 714 rw 0,0 sector 0x1749a8 len 36864 err no 10
[17160.319552] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[17160.319560] BTRFS info (device dm-11): turning on async discard
[17160.319562] BTRFS info (device dm-11): disk space caching is enabled
[17160.356163] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[17160.357632] BTRFS error (device dm-11): error reading free space cache
[17160.357646] BTRFS warning (device dm-11): failed to load free space cache for block group 298844160, rebuilding it now
[17160.365615] BTRFS: error (device dm-11: state A) in do_free_extent_accounting:2848: errno=-5 IO failure
[17160.366413] BTRFS info (device dm-11: state EA): forced readonly
[17160.366433] BTRFS: error (device dm-11: state EA) in btrfs_run_delayed_refs:2141: errno=-5 IO failure
[17160.911423] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[17160.911432] BTRFS info (device dm-11): turning on async discard
[17160.911434] BTRFS info (device dm-11): disk space caching is enabled
[17160.941056] BTRFS error (device dm-11): error reading free space cache
[17160.941118] BTRFS warning (device dm-11): failed to load free space cache for block group 30408704, rebuilding it now
[17160.953324] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[17160.996667] BTRFS: error (device dm-11: state A) in __btrfs_run_delayed_items:1182: errno=-5 IO failure
[17160.997294] BTRFS info (device dm-11: state EA): forced readonly
[17160.997297] BTRFS warning (device dm-11: state EA): Skipping commit of aborted transaction.
[17160.997301] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[17160.998016] BTRFS error (device dm-11: state EA): error reading free space cache
[17160.998021] BTRFS warning (device dm-11: state EA): failed to load free space cache for block group 298844160, rebuilding it now
[17161.002252] BTRFS: error (device dm-11: state EA) in do_free_extent_accounting:2848: errno=-5 IO failure
[17161.003171] BTRFS: error (device dm-11: state EA) in btrfs_run_delayed_refs:2141: errno=-5 IO failure
[17161.423580] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[17161.423589] BTRFS info (device dm-11): turning on async discard
[17161.423591] BTRFS info (device dm-11): disk space caching is enabled
[17163.554463] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[17163.554472] btrfs_dev_stat_inc_and_print: 84 callbacks suppressed
[17163.554474] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 1, rd 0, flush 0, corrupt 0, gen 0
[17163.554493] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[17163.554497] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 2, rd 0, flush 0, corrupt 0, gen 0
[17163.554591] BTRFS error (device dm-11): error writing primary super block to device 1
[17163.554595] BTRFS: error (device dm-11) in write_all_supers:4342: errno=-5 IO failure (1 errors while writing supers)
[17163.555483] BTRFS info (device dm-11: state E): forced readonly
[17163.555490] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[17163.555494] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[17163.562211] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 2, rd 1, flush 0, corrupt 0, gen 0
[17163.562230] BTRFS warning (device dm-11: state EA): direct IO failed ino 257 rw 0,0 sector 0x19ec20 len 8192 err no 10
[17163.562648] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 2, rd 2, flush 0, corrupt 0, gen 0
[17163.562661] BTRFS warning (device dm-11: state EA): direct IO failed ino 771 rw 0,0 sector 0x197818 len 94208 err no 10
[17163.565009] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[17163.583788] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 2, rd 3, flush 0, corrupt 0, gen 0
[17163.583808] BTRFS warning (device dm-11: state EA): direct IO failed ino 768 rw 0,0 sector 0x19a040 len 40960 err no 10
[17163.584531] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 2, rd 4, flush 0, corrupt 0, gen 0
[17163.584546] BTRFS warning (device dm-11: state EA): direct IO failed ino 262 rw 0,0 sector 0x19bea8 len 8192 err no 10
[17163.588601] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 2, rd 5, flush 0, corrupt 0, gen 0
[17163.588617] BTRFS warning (device dm-11: state EA): direct IO failed ino 745 rw 0,0 sector 0x18a870 len 40960 err no 10
[17163.590308] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 2, rd 6, flush 0, corrupt 0, gen 0
[17163.590322] BTRFS warning (device dm-11: state EA): direct IO failed ino 809 rw 0,0 sector 0x190038 len 61440 err no 10
[17163.590366] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 2, rd 7, flush 0, corrupt 0, gen 0
[17163.590375] BTRFS warning (device dm-11: state EA): direct IO failed ino 807 rw 0,0 sector 0x192cd8 len 28672 err no 10
[17163.591904] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 2, rd 8, flush 0, corrupt 0, gen 0
[17163.591918] BTRFS warning (device dm-11: state EA): direct IO failed ino 257 rw 0,0 sector 0x195f58 len 8192 err no 10
[17164.158897] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[17164.158906] BTRFS info (device dm-11): turning on async discard
[17164.158908] BTRFS info (device dm-11): disk space caching is enabled
[17166.210706] BTRFS: error (device dm-11) in btrfs_commit_transaction:2496: errno=-5 IO failure (Error while writing out transaction)
[17166.211503] BTRFS info (device dm-11: state E): forced readonly
[17166.211509] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[17166.211512] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[17166.220270] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[17166.769988] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[17166.769997] BTRFS info (device dm-11): turning on async discard
[17166.769999] BTRFS info (device dm-11): disk space caching is enabled
[17167.830397] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[17167.830421] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[17167.830477] BTRFS error (device dm-11): error writing primary super block to device 1
[17167.830483] BTRFS: error (device dm-11) in write_all_supers:4342: errno=-5 IO failure (1 errors while writing supers)
[17167.831474] BTRFS info (device dm-11: state E): forced readonly
[17167.831482] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[17167.831493] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[17167.835003] BTRFS warning (device dm-11: state EA): Skipping commit of aborted transaction.
[17167.835010] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[17167.842679] BTRFS warning (device dm-11: state EA): direct IO failed ino 261 rw 0,0 sector 0x1b8648 len 86016 err no 10
[17167.843412] BTRFS warning (device dm-11: state EA): direct IO failed ino 1001 rw 0,0 sector 0x1a3210 len 4096 err no 10
[17167.845450] BTRFS warning (device dm-11: state EA): direct IO failed ino 261 rw 0,0 sector 0x1b8668 len 12288 err no 10
[17167.846622] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[17167.846977] BTRFS warning (device dm-11: state EA): direct IO failed ino 1003 rw 0,0 sector 0x139c80 len 36864 err no 10
[17167.847008] BTRFS warning (device dm-11: state EA): direct IO failed ino 1003 rw 0,0 sector 0x1251d0 len 4096 err no 10
[17167.847249] BTRFS warning (device dm-11: state EA): direct IO failed ino 756 rw 0,0 sector 0x1b83f8 len 28672 err no 10
[17167.847836] BTRFS warning (device dm-11: state EA): direct IO failed ino 257 rw 0,0 sector 0x1b8718 len 8192 err no 10
[17167.850674] BTRFS warning (device dm-11: state EA): direct IO failed ino 1003 rw 0,0 sector 0x1b1790 len 8192 err no 10
[17167.851203] BTRFS warning (device dm-11: state EA): direct IO failed ino 1003 rw 0,0 sector 0x192bb0 len 4096 err no 10
[17167.853692] BTRFS warning (device dm-11: state EA): direct IO failed ino 1007 rw 0,0 sector 0x1a4220 len 4096 err no 10
[17167.876390] BTRFS warning (device dm-11: state EA): direct IO failed ino 1007 rw 0,0 sector 0x1a41e0 len 28672 err no 10
[17167.892293] BTRFS warning (device dm-11: state EA): direct IO failed ino 1009 rw 0,0 sector 0x1b46d8 len 28672 err no 10
[17167.892321] BTRFS warning (device dm-11: state EA): direct IO failed ino 1001 rw 0,0 sector 0x139bc8 len 81920 err no 10
[17167.893864] BTRFS warning (device dm-11: state EA): direct IO failed ino 257 rw 0,0 sector 0x1b3d98 len 49152 err no 10
[17167.897410] BTRFS warning (device dm-11: state EA): direct IO failed ino 468 rw 0,0 sector 0x1b4ea8 len 28672 err no 10
[17167.897837] BTRFS warning (device dm-11: state EA): direct IO failed ino 841 rw 0,0 sector 0x1b6bb8 len 32768 err no 10
[17167.902394] BTRFS warning (device dm-11: state EA): direct IO failed ino 756 rw 0,0 sector 0x1b6cd0 len 12288 err no 10
[17167.903630] BTRFS warning (device dm-11: state EA): direct IO failed ino 841 rw 0,0 sector 0x1b6bb0 len 36864 err no 10
[17168.464433] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[17168.464445] BTRFS info (device dm-11): turning on async discard
[17168.464449] BTRFS info (device dm-11): disk space caching is enabled
[17169.519893] btrfs_dev_stat_inc_and_print: 49 callbacks suppressed
[17169.519897] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 1, rd 0, flush 0, corrupt 0, gen 0
[17169.519952] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 2, rd 0, flush 0, corrupt 0, gen 0
[17169.519984] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 3, rd 0, flush 0, corrupt 0, gen 0
[17169.519993] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 4, rd 0, flush 0, corrupt 0, gen 0
[17169.520004] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 5, rd 0, flush 0, corrupt 0, gen 0
[17169.520059] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 6, rd 0, flush 0, corrupt 0, gen 0
[17169.520147] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 7, rd 0, flush 0, corrupt 0, gen 0
[17169.520157] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 8, rd 0, flush 0, corrupt 0, gen 0
[17169.520211] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 9, rd 0, flush 0, corrupt 0, gen 0
[17169.520221] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 10, rd 0, flush 0, corrupt 0, gen 0
[17169.520854] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[17169.520864] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[17169.522365] BTRFS error (device dm-11: state A): error writing primary super block to device 1
[17169.522367] BTRFS: error (device dm-11: state A) in btrfs_start_dirty_block_groups:3051: errno=-5 IO failure
[17169.522370] BTRFS: error (device dm-11: state A) in write_all_supers:4342: errno=-5 IO failure (1 errors while writing supers)
[17169.523129] BTRFS info (device dm-11: state EA): forced readonly
[17169.523811] BTRFS warning (device dm-11: state EA): Skipping commit of aborted transaction.
[17169.523815] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[17169.526462] BTRFS warning (device dm-11: state EA): Skipping commit of aborted transaction.
[17169.526470] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[17169.528047] BTRFS warning (device dm-11: state EA): direct IO failed ino 1057 rw 0,0 sector 0x1bf698 len 4096 err no 10
[17169.528094] BTRFS warning (device dm-11: state EA): direct IO failed ino 1057 rw 0,0 sector 0x1bec80 len 65536 err no 10
[17169.528203] BTRFS warning (device dm-11: state EA): direct IO failed ino 1057 rw 0,0 sector 0x1bcf10 len 32768 err no 10
[17169.535843] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[17169.536940] BTRFS warning (device dm-11: state EA): direct IO failed ino 1087 rw 0,0 sector 0x1c5a40 len 28672 err no 10
[17169.539615] BTRFS warning (device dm-11: state EA): direct IO failed ino 1075 rw 0,0 sector 0x1c55c8 len 32768 err no 10
[17169.555345] BTRFS warning (device dm-11: state EA): direct IO failed ino 1069 rw 0,0 sector 0x1c6448 len 28672 err no 10
[17169.557524] BTRFS warning (device dm-11: state EA): direct IO failed ino 1065 rw 0,0 sector 0x1c24e8 len 8192 err no 10
[17170.081767] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[17170.081778] BTRFS info (device dm-11): turning on async discard
[17170.081781] BTRFS info (device dm-11): disk space caching is enabled
[17170.104693] ------------[ cut here ]------------
[17170.104762] WARNING: CPU: 0 PID: 2185431 at fs/btrfs/discard.c:604 btrfs_discard_update_discardable+0x98/0xb0
[17170.104768] 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 snd_hda_codec_generic iTCO_vendor_support snd_hda_intel snd_intel_dspcfg snd_hda_codec snd_hwdep snd_hda_core intel_rapl_common snd_pcm joydev snd_timer snd virtio_balloon soundcore i2c_i801 lpc_ich i2c_smbus zram ip_tables crct10dif_pclmul crc32_pclmul xfs crc32c_intel ghash_clmulni_intel serio_raw qemu_fw_cfg
[17170.104833] CPU: 0 PID: 2185431 Comm: kworker/u4:3 Tainted: G W 5.19.0-rc8+ #796
[17170.104836] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.13.0-2.fc32 04/01/2014
[17170.104838] Workqueue: btrfs-cache btrfs_work_helper
[17170.104842] RIP: 0010:btrfs_discard_update_discardable+0x98/0xb0
[17170.104845] Code: 17 00 00 48 8b 83 80 00 00 00 48 89 83 88 00 00 00 5b 5d c3 cc cc cc cc 48 8d 7b 18 be ff ff ff ff e8 2c 9a 7e 00 85 c0 75 ac <0f> 0b eb a8 c3 cc cc cc cc 66 66 2e 0f 1f 84 00 00 00 00 00 0f 1f
[17170.104847] RSP: 0018:ffff9aa0c1e97ad0 EFLAGS: 00010246
[17170.104850] RAX: 0000000000000000 RBX: ffff8f1a44392800 RCX: 0000000000000001
[17170.104852] RDX: 0000000000000000 RSI: ffffffff92807c5b RDI: ffffffff928a831e
[17170.104853] RBP: ffff8f1a45430000 R08: 0000000000000000 R09: 0000000000001000
[17170.104855] R10: 000000000003c037 R11: 000000000084f500 R12: ffff8f1a443c3810
[17170.104856] R13: ffff8f1a41f93ca0 R14: ffff8f1a45430000 R15: ffff8f1aa94d0d90
[17170.104858] FS: 0000000000000000(0000) GS:ffff8f1abbc00000(0000) knlGS:0000000000000000
[17170.104860] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[17170.104862] CR2: 00007ffc3dea20c8 CR3: 000000010b874001 CR4: 0000000000370ef0
[17170.104865] Call Trace:
[17170.104868]
[17170.104872] __btrfs_remove_free_space_cache+0x27/0x30
[17170.104876] load_free_space_cache+0xad2/0xaf0
[17170.104915] caching_thread+0x40b/0x650
[17170.104923] ? lock_release+0x137/0x2d0
[17170.104931] btrfs_work_helper+0xf2/0x3e0
[17170.104933] ? lock_is_held_type+0xe2/0x140
[17170.104940] process_one_work+0x271/0x590
[17170.104950] worker_thread+0x52/0x3b0
[17170.104955] ? process_one_work+0x590/0x590
[17170.104958] kthread+0xf0/0x120
[17170.104960] ? kthread_complete_and_exit+0x20/0x20
[17170.104966] ret_from_fork+0x1f/0x30
[17170.104987]
[17170.104989] irq event stamp: 2483263
[17170.104991] hardirqs last enabled at (2483269): [] __up_console_sem+0x5e/0x70
[17170.104995] hardirqs last disabled at (2483274): [] __up_console_sem+0x43/0x70
[17170.104999] softirqs last enabled at (2482620): [] __irq_exit_rcu+0xeb/0x160
[17170.105002] softirqs last disabled at (2482595): [] __irq_exit_rcu+0xeb/0x160
[17170.105006] ---[ end trace 0000000000000000 ]---
[17170.105010] BTRFS warning (device dm-11): block group 298844160 has wrong amount of free space
[17170.105040] BTRFS warning (device dm-11): failed to load free space cache for block group 298844160, rebuilding it now
[17171.120165] BTRFS warning (device dm-11): direct IO failed ino 756 rw 0,0 sector 0x19ac30 len 8192 err no 10
[17171.128837] BTRFS: error (device dm-11) in btrfs_commit_transaction:2496: errno=-5 IO failure (Error while writing out transaction)
[17171.129567] BTRFS info (device dm-11: state E): forced readonly
[17171.129572] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[17171.129575] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[17171.129976] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[17171.733595] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[17171.733604] BTRFS info (device dm-11): turning on async discard
[17171.733606] BTRFS info (device dm-11): disk space caching is enabled
[17172.802849] BTRFS: error (device dm-11) in btrfs_commit_transaction:2496: errno=-5 IO failure (Error while writing out transaction)
[17172.803635] BTRFS info (device dm-11: state E): forced readonly
[17172.803640] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[17172.803645] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[17172.808952] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[17173.383331] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[17173.383343] BTRFS info (device dm-11): turning on async discard
[17173.383347] BTRFS info (device dm-11): disk space caching is enabled
[17173.411578] ------------[ cut here ]------------
[17173.411672] WARNING: CPU: 1 PID: 2185431 at fs/btrfs/discard.c:604 btrfs_discard_update_discardable+0x98/0xb0
[17173.411680] 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 snd_hda_codec_generic iTCO_vendor_support snd_hda_intel snd_intel_dspcfg snd_hda_codec snd_hwdep snd_hda_core intel_rapl_common snd_pcm joydev snd_timer snd virtio_balloon soundcore i2c_i801 lpc_ich i2c_smbus zram ip_tables crct10dif_pclmul crc32_pclmul xfs crc32c_intel ghash_clmulni_intel serio_raw qemu_fw_cfg
[17173.411754] CPU: 1 PID: 2185431 Comm: kworker/u4:3 Tainted: G W 5.19.0-rc8+ #796
[17173.411756] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.13.0-2.fc32 04/01/2014
[17173.411759] Workqueue: btrfs-cache btrfs_work_helper
[17173.411764] RIP: 0010:btrfs_discard_update_discardable+0x98/0xb0
[17173.411767] Code: 17 00 00 48 8b 83 80 00 00 00 48 89 83 88 00 00 00 5b 5d c3 cc cc cc cc 48 8d 7b 18 be ff ff ff ff e8 2c 9a 7e 00 85 c0 75 ac <0f> 0b eb a8 c3 cc cc cc cc 66 66 2e 0f 1f 84 00 00 00 00 00 0f 1f
[17173.411770] RSP: 0000:ffff9aa0c1e97ad0 EFLAGS: 00010246
[17173.411773] RAX: 0000000000000000 RBX: ffff8f1a6d4f5000 RCX: 0000000000000001
[17173.411775] RDX: 0000000000000000 RSI: ffffffff92807c5b RDI: ffffffff928a831e
[17173.411777] RBP: ffff8f1a55f24000 R08: 0000000000000000 R09: 0000000000001000
[17173.411779] R10: 0000000000007745 R11: 0000000000852b00 R12: ffff8f1a443c4010
[17173.411780] R13: ffff8f1a41fba0b0 R14: ffff8f1a55f24000 R15: ffff8f1a5a3cd4d0
[17173.411782] FS: 0000000000000000(0000) GS:ffff8f1abbd00000(0000) knlGS:0000000000000000
[17173.411784] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[17173.411786] CR2: 00007fb782d0d018 CR3: 0000000115da4006 CR4: 0000000000370ee0
[17173.411791] Call Trace:
[17173.411794]
[17173.411798] __btrfs_remove_free_space_cache+0x27/0x30
[17173.411803] load_free_space_cache+0xad2/0xaf0
[17173.411848] caching_thread+0x40b/0x650
[17173.411858] ? lock_release+0x137/0x2d0
[17173.411866] btrfs_work_helper+0xf2/0x3e0
[17173.411869] ? lock_is_held_type+0xe2/0x140
[17173.411877] process_one_work+0x271/0x590
[17173.411888] worker_thread+0x52/0x3b0
[17173.411894] ? process_one_work+0x590/0x590
[17173.411897] kthread+0xf0/0x120
[17173.411900] ? kthread_complete_and_exit+0x20/0x20
[17173.411905] ret_from_fork+0x1f/0x30
[17173.411920]
[17173.411922] irq event stamp: 2508477
[17173.411923] hardirqs last enabled at (2508483): [] __up_console_sem+0x5e/0x70
[17173.411927] hardirqs last disabled at (2508488): [] __up_console_sem+0x43/0x70
[17173.411930] softirqs last enabled at (2506466): [] __irq_exit_rcu+0xeb/0x160
[17173.411933] softirqs last disabled at (2506449): [] __irq_exit_rcu+0xeb/0x160
[17173.411935] ---[ end trace 0000000000000000 ]---
[17173.411939] BTRFS warning (device dm-11): block group 298844160 has wrong amount of free space
[17173.411957] BTRFS warning (device dm-11): failed to load free space cache for block group 298844160, rebuilding it now
[17174.430084] BTRFS: error (device dm-11) in btrfs_commit_transaction:2496: errno=-5 IO failure (Error while writing out transaction)
[17174.430736] BTRFS info (device dm-11: state E): forced readonly
[17174.430741] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[17174.430744] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[17174.443721] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[17175.016081] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[17175.016090] BTRFS info (device dm-11): turning on async discard
[17175.016092] BTRFS info (device dm-11): disk space caching is enabled
[17175.037448] ------------[ cut here ]------------
[17175.037518] WARNING: CPU: 0 PID: 2181375 at fs/btrfs/discard.c:604 btrfs_discard_update_discardable+0x98/0xb0
[17175.037524] 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 snd_hda_codec_generic iTCO_vendor_support snd_hda_intel snd_intel_dspcfg snd_hda_codec snd_hwdep snd_hda_core intel_rapl_common snd_pcm joydev snd_timer snd virtio_balloon soundcore i2c_i801 lpc_ich i2c_smbus zram ip_tables crct10dif_pclmul crc32_pclmul xfs crc32c_intel ghash_clmulni_intel serio_raw qemu_fw_cfg
[17175.037587] CPU: 0 PID: 2181375 Comm: kworker/u4:0 Tainted: G W 5.19.0-rc8+ #796
[17175.037590] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.13.0-2.fc32 04/01/2014
[17175.037592] Workqueue: btrfs-cache btrfs_work_helper
[17175.037596] RIP: 0010:btrfs_discard_update_discardable+0x98/0xb0
[17175.037599] Code: 17 00 00 48 8b 83 80 00 00 00 48 89 83 88 00 00 00 5b 5d c3 cc cc cc cc 48 8d 7b 18 be ff ff ff ff e8 2c 9a 7e 00 85 c0 75 ac <0f> 0b eb a8 c3 cc cc cc cc 66 66 2e 0f 1f 84 00 00 00 00 00 0f 1f
[17175.037601] RSP: 0018:ffff9aa0c130fad0 EFLAGS: 00010246
[17175.037604] RAX: 0000000000000000 RBX: ffff8f1a44393600 RCX: 0000000000000001
[17175.037606] RDX: 0000000000000000 RSI: ffffffff92807c5b RDI: ffffffff928a831e
[17175.037607] RBP: ffff8f1a475b4000 R08: 0000000000000000 R09: 0000000000001000
[17175.037609] R10: ffff8f19a0a37a40 R11: 0000000000852900 R12: ffff8f1a443c6810
[17175.037610] R13: ffff8f1a562bd890 R14: ffff8f1a475b4000 R15: ffff8f1a540330e0
[17175.037612] FS: 0000000000000000(0000) GS:ffff8f1abbc00000(0000) knlGS:0000000000000000
[17175.037614] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[17175.037616] CR2: 00007ff666c26201 CR3: 0000000112842004 CR4: 0000000000370ef0
[17175.037620] Call Trace:
[17175.037622]
[17175.037626] __btrfs_remove_free_space_cache+0x27/0x30
[17175.037631] load_free_space_cache+0xad2/0xaf0
[17175.037671] caching_thread+0x40b/0x650
[17175.037679] ? lock_release+0x137/0x2d0
[17175.037687] btrfs_work_helper+0xf2/0x3e0
[17175.037689] ? lock_is_held_type+0xe2/0x140
[17175.037696] process_one_work+0x271/0x590
[17175.037705] ? process_one_work+0x590/0x590
[17175.037708] worker_thread+0x52/0x3b0
[17175.037712] ? process_one_work+0x590/0x590
[17175.037715] kthread+0xf0/0x120
[17175.037718] ? kthread_complete_and_exit+0x20/0x20
[17175.037722] ret_from_fork+0x1f/0x30
[17175.037736]
[17175.037737] irq event stamp: 3123923
[17175.037738] hardirqs last enabled at (3123929): [] __up_console_sem+0x5e/0x70
[17175.037741] hardirqs last disabled at (3123934): [] __up_console_sem+0x43/0x70
[17175.037744] softirqs last enabled at (3123270): [] __irq_exit_rcu+0xeb/0x160
[17175.037747] softirqs last disabled at (3123261): [] __irq_exit_rcu+0xeb/0x160
[17175.037749] ---[ end trace 0000000000000000 ]---
[17175.037752] BTRFS warning (device dm-11): block group 298844160 has wrong amount of free space
[17175.037766] BTRFS warning (device dm-11): failed to load free space cache for block group 298844160, rebuilding it now
[17176.082442] btrfs_dev_stat_inc_and_print: 70 callbacks suppressed
[17176.082446] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 1, rd 0, flush 0, corrupt 0, gen 0
[17176.082514] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 2, rd 0, flush 0, corrupt 0, gen 0
[17176.085460] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 3, rd 0, flush 0, corrupt 0, gen 0
[17176.085467] BTRFS warning (device dm-11): direct IO failed ino 1102 rw 1,34817 sector 0x1d2828 len 4096 err no 10
[17176.087120] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 4, rd 0, flush 0, corrupt 0, gen 0
[17176.087127] BTRFS warning (device dm-11): direct IO failed ino 258 rw 1,34817 sector 0x1f4a50 len 16384 err no 10
[17176.087539] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 5, rd 0, flush 0, corrupt 0, gen 0
[17176.087544] BTRFS warning (device dm-11): direct IO failed ino 1360 rw 1,34817 sector 0x1f4a50 len 65536 err no 10
[17176.089246] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 5, rd 1, flush 0, corrupt 0, gen 0
[17176.090898] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 6, rd 1, flush 0, corrupt 0, gen 0
[17176.091398] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 7, rd 1, flush 0, corrupt 0, gen 0
[17176.092661] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 8, rd 1, flush 0, corrupt 0, gen 0
[17176.094374] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 9, rd 1, flush 0, corrupt 0, gen 0
[17176.096131] BTRFS: error (device dm-11) in btrfs_commit_transaction:2496: errno=-5 IO failure (Error while writing out transaction)
[17176.096978] BTRFS info (device dm-11: state E): forced readonly
[17176.096986] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[17176.096990] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[17176.102668] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[17176.664242] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[17176.664252] BTRFS info (device dm-11): turning on async discard
[17176.664254] BTRFS info (device dm-11): disk space caching is enabled
[17176.690641] ------------[ cut here ]------------
[17176.690725] WARNING: CPU: 1 PID: 2211616 at fs/btrfs/discard.c:604 btrfs_discard_update_discardable+0x98/0xb0
[17176.690734] 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 snd_hda_codec_generic iTCO_vendor_support snd_hda_intel snd_intel_dspcfg snd_hda_codec snd_hwdep snd_hda_core intel_rapl_common snd_pcm joydev snd_timer snd virtio_balloon soundcore i2c_i801 lpc_ich i2c_smbus zram ip_tables crct10dif_pclmul crc32_pclmul xfs crc32c_intel ghash_clmulni_intel serio_raw qemu_fw_cfg
[17176.690846] CPU: 1 PID: 2211616 Comm: kworker/u4:7 Tainted: G W 5.19.0-rc8+ #796
[17176.690850] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.13.0-2.fc32 04/01/2014
[17176.690853] Workqueue: btrfs-cache btrfs_work_helper
[17176.690860] RIP: 0010:btrfs_discard_update_discardable+0x98/0xb0
[17176.690864] Code: 17 00 00 48 8b 83 80 00 00 00 48 89 83 88 00 00 00 5b 5d c3 cc cc cc cc 48 8d 7b 18 be ff ff ff ff e8 2c 9a 7e 00 85 c0 75 ac <0f> 0b eb a8 c3 cc cc cc cc 66 66 2e 0f 1f 84 00 00 00 00 00 0f 1f
[17176.690868] RSP: 0018:ffff9aa0c1c6fad0 EFLAGS: 00010246
[17176.690873] RAX: 0000000000000000 RBX: ffff8f1a66b04200 RCX: 0000000000000001
[17176.690876] RDX: 0000000000000000 RSI: ffffffff92807c5b RDI: ffffffff928a831e
[17176.690878] RBP: ffff8f1a475b4000 R08: 0000000000000000 R09: 0000000000001000
[17176.690881] R10: 000000000003a31b R11: 0000000000852900 R12: ffff8f1a4469c810
[17176.690884] R13: ffff8f1a562361e0 R14: ffff8f1a475b4000 R15: ffff8f1a5a3cd540
[17176.690887] FS: 0000000000000000(0000) GS:ffff8f1abbd00000(0000) knlGS:0000000000000000
[17176.690890] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[17176.690893] CR2: 000000000233b090 CR3: 0000000103fa2004 CR4: 0000000000370ee0
[17176.690898] Call Trace:
[17176.690901]
[17176.690908] __btrfs_remove_free_space_cache+0x27/0x30
[17176.690914] load_free_space_cache+0xad2/0xaf0
[17176.690991] caching_thread+0x40b/0x650
[17176.691011] ? lock_release+0x137/0x2d0
[17176.691023] btrfs_work_helper+0xf2/0x3e0
[17176.691028] ? lock_is_held_type+0xe2/0x140
[17176.691079] process_one_work+0x271/0x590
[17176.691095] ? process_one_work+0x590/0x590
[17176.691100] worker_thread+0x52/0x3b0
[17176.691107] ? process_one_work+0x590/0x590
[17176.691110] kthread+0xf0/0x120
[17176.691114] ? kthread_complete_and_exit+0x20/0x20
[17176.691120] ret_from_fork+0x1f/0x30
[17176.691139]
[17176.691141] irq event stamp: 374971
[17176.691143] hardirqs last enabled at (374977): [] __up_console_sem+0x5e/0x70
[17176.691147] hardirqs last disabled at (374982): [] __up_console_sem+0x43/0x70
[17176.691150] softirqs last enabled at (374922): [] __irq_exit_rcu+0xeb/0x160
[17176.691154] softirqs last disabled at (374893): [] __irq_exit_rcu+0xeb/0x160
[17176.691157] ---[ end trace 0000000000000000 ]---
[17176.691161] BTRFS warning (device dm-11): block group 298844160 has wrong amount of free space
[17176.691183] BTRFS warning (device dm-11): failed to load free space cache for block group 298844160, rebuilding it now
[17178.715102] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[17178.715118] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[17178.715128] BTRFS error (device dm-11): error writing primary super block to device 1
[17178.715133] BTRFS: error (device dm-11) in write_all_supers:4342: errno=-5 IO failure (1 errors while writing supers)
[17178.715687] BTRFS info (device dm-11: state E): forced readonly
[17178.715692] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[17178.715695] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[17178.718673] BTRFS warning (device dm-11: state EA): Skipping commit of aborted transaction.
[17178.718677] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[17178.725650] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[17178.744613] BTRFS warning (device dm-11: state EA): direct IO failed ino 1484 rw 0,0 sector 0x209f60 len 4096 err no 10
[17178.762739] BTRFS warning (device dm-11: state EA): direct IO failed ino 260 rw 0,0 sector 0x209cc8 len 16384 err no 10
[17178.764255] BTRFS warning (device dm-11: state EA): direct IO failed ino 258 rw 0,0 sector 0x2098c8 len 4096 err no 10
[17179.339061] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[17179.339070] BTRFS info (device dm-11): turning on async discard
[17179.339072] BTRFS info (device dm-11): disk space caching is enabled
[17180.414180] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[17180.414192] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[17180.414202] BTRFS error (device dm-11): error writing primary super block to device 1
[17180.414205] BTRFS: error (device dm-11) in write_all_supers:4342: errno=-5 IO failure (1 errors while writing supers)
[17180.414771] BTRFS info (device dm-11: state E): forced readonly
[17180.414776] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[17180.414778] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[17180.427800] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[17180.450850] BTRFS warning (device dm-11: state EA): direct IO failed ino 1493 rw 0,0 sector 0x207fd0 len 16384 err no 10
[17180.451752] BTRFS warning (device dm-11: state EA): direct IO failed ino 1490 rw 0,0 sector 0x2089a0 len 28672 err no 10
[17180.966671] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[17180.966680] BTRFS info (device dm-11): turning on async discard
[17180.966682] BTRFS info (device dm-11): disk space caching is enabled
[17181.008548] BTRFS error (device dm-11): error reading free space cache
[17181.008569] BTRFS warning (device dm-11): failed to load free space cache for block group 298844160, rebuilding it now
[17181.011706] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[17181.018880] BTRFS warning (device dm-11): direct IO failed ino 1533 rw 1,34817 sector 0x312800 len 53248 err no 10
[17181.023133] BTRFS warning (device dm-11): direct IO failed ino 1533 rw 1,34817 sector 0x312800 len 122880 err no 10
[17181.032926] BTRFS warning (device dm-11): direct IO failed ino 1534 rw 1,34817 sector 0x312800 len 16384 err no 10
[17181.064536] BTRFS: error (device dm-11: state A) in __btrfs_free_extent:3078: errno=-5 IO failure
[17181.065328] BTRFS info (device dm-11: state EA): forced readonly
[17181.065338] BTRFS: error (device dm-11: state EA) in btrfs_run_delayed_refs:2141: errno=-5 IO failure
[17181.518770] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[17181.518781] BTRFS info (device dm-11): turning on async discard
[17181.518784] BTRFS info (device dm-11): disk space caching is enabled
[17183.559658] btrfs_dev_stat_inc_and_print: 84 callbacks suppressed
[17183.559664] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 1, rd 0, flush 0, corrupt 0, gen 0
[17183.559749] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 2, rd 0, flush 0, corrupt 0, gen 0
[17183.561633] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 3, rd 0, flush 0, corrupt 0, gen 0
[17183.561646] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 4, rd 0, flush 0, corrupt 0, gen 0
[17183.561807] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 5, rd 0, flush 0, corrupt 0, gen 0
[17183.561819] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 6, rd 0, flush 0, corrupt 0, gen 0
[17183.562503] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 7, rd 0, flush 0, corrupt 0, gen 0
[17183.562518] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 8, rd 0, flush 0, corrupt 0, gen 0
[17183.562646] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 9, rd 0, flush 0, corrupt 0, gen 0
[17183.562658] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 10, rd 0, flush 0, corrupt 0, gen 0
[17183.564011] BTRFS: error (device dm-11) in btrfs_commit_transaction:2496: errno=-5 IO failure (Error while writing out transaction)
[17183.565073] BTRFS info (device dm-11: state E): forced readonly
[17183.565078] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[17183.565082] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[17183.573347] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[17184.131336] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[17184.131345] BTRFS info (device dm-11): turning on async discard
[17184.131347] BTRFS info (device dm-11): disk space caching is enabled
[17184.136921] BTRFS info (device dm-11): start tree-log replay
[17185.306212] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[17185.306226] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[17185.306236] BTRFS error (device dm-11): error writing primary super block to device 1
[17185.306239] BTRFS: error (device dm-11) in write_all_supers:4342: errno=-5 IO failure (1 errors while writing supers)
[17185.306853] BTRFS info (device dm-11: state E): forced readonly
[17185.306858] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[17185.307662] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[17185.308320] BTRFS warning (device dm-11: state EA): Skipping commit of aborted transaction.
[17185.308323] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[17185.312030] BTRFS warning (device dm-11: state EA): direct IO failed ino 1651 rw 0,0 sector 0x6850 len 4096 err no 10
[17185.312230] BTRFS warning (device dm-11: state EA): direct IO failed ino 1642 rw 0,0 sector 0x229f08 len 12288 err no 10
[17185.315152] BTRFS warning (device dm-11: state EA): direct IO failed ino 1681 rw 0,0 sector 0x22b228 len 12288 err no 10
[17185.325457] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[17185.335924] BTRFS warning (device dm-11: state EA): direct IO failed ino 1053 rw 0,0 sector 0x8098 len 4096 err no 10
[17185.357845] BTRFS warning (device dm-11: state EA): direct IO failed ino 1670 rw 0,0 sector 0x22afd8 len 40960 err no 10
[17185.360647] BTRFS warning (device dm-11: state EA): direct IO failed ino 266 rw 0,0 sector 0x227698 len 20480 err no 10
[17185.936136] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[17185.936145] BTRFS info (device dm-11): turning on async discard
[17185.936148] BTRFS info (device dm-11): disk space caching is enabled
[17188.001405] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[17188.001421] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[17188.001433] BTRFS error (device dm-11): error writing primary super block to device 1
[17188.001436] BTRFS: error (device dm-11) in write_all_supers:4342: errno=-5 IO failure (1 errors while writing supers)
[17188.002198] BTRFS info (device dm-11: state E): forced readonly
[17188.002205] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[17188.002213] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[17188.003897] BTRFS warning (device dm-11: state EA): Skipping commit of aborted transaction.
[17188.003902] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[17188.004010] BTRFS warning (device dm-11: state EA): direct IO failed ino 261 rw 0,0 sector 0x23dff0 len 45056 err no 10
[17188.005484] BTRFS warning (device dm-11: state EA): direct IO failed ino 274 rw 0,0 sector 0x23e250 len 16384 err no 10
[17188.010936] BTRFS warning (device dm-11: state EA): direct IO failed ino 1719 rw 0,0 sector 0x23d5e0 len 49152 err no 10
[17188.021329] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[17188.036749] BTRFS warning (device dm-11: state EA): direct IO failed ino 259 rw 0,0 sector 0x23dca8 len 28672 err no 10
[17188.038785] BTRFS warning (device dm-11: state EA): direct IO failed ino 1755 rw 0,0 sector 0x23dc78 len 8192 err no 10
[17188.054196] BTRFS warning (device dm-11: state EA): direct IO failed ino 1690 rw 0,0 sector 0x23d698 len 36864 err no 10
[17188.056139] BTRFS warning (device dm-11: state EA): direct IO failed ino 1647 rw 0,0 sector 0x22fd60 len 69632 err no 10
[17188.056419] BTRFS warning (device dm-11: state EA): direct IO failed ino 1749 rw 0,0 sector 0x23d9b0 len 28672 err no 10
[17188.061141] BTRFS warning (device dm-11: state EA): direct IO failed ino 258 rw 0,0 sector 0x23e2e8 len 4096 err no 10
[17188.077778] BTRFS warning (device dm-11: state EA): direct IO failed ino 269 rw 0,0 sector 0x23d210 len 4096 err no 10
[17188.078437] BTRFS warning (device dm-11: state EA): direct IO failed ino 259 rw 0,0 sector 0x23e0f8 len 24576 err no 10
[17188.669819] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[17188.669829] BTRFS info (device dm-11): turning on async discard
[17188.669831] BTRFS info (device dm-11): disk space caching is enabled
[17188.708323] btrfs_dev_stat_inc_and_print: 60 callbacks suppressed
[17188.708327] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 0, rd 1, flush 0, corrupt 0, gen 0
[17188.708395] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 0, rd 2, flush 0, corrupt 0, gen 0
[17188.712294] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 0, rd 3, flush 0, corrupt 0, gen 0
[17188.712364] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 0, rd 4, flush 0, corrupt 0, gen 0
[17188.716568] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 0, rd 5, flush 0, corrupt 0, gen 0
[17188.717154] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 0, rd 6, flush 0, corrupt 0, gen 0
[17188.717494] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 0, rd 7, flush 0, corrupt 0, gen 0
[17188.718087] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[17188.720832] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 0, rd 8, flush 0, corrupt 0, gen 0
[17188.721636] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 0, rd 9, flush 0, corrupt 0, gen 0
[17188.722201] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 0, rd 10, flush 0, corrupt 0, gen 0
[17188.722373] BTRFS error (device dm-11): error reading free space cache
[17188.722387] BTRFS warning (device dm-11): failed to load free space cache for block group 298844160, rebuilding it now
[17188.727863] BTRFS warning (device dm-11): direct IO failed ino 1760 rw 1,34817 sector 0x312800 len 65536 err no 10
[17188.729299] BTRFS warning (device dm-11): direct IO failed ino 1760 rw 1,34817 sector 0x312800 len 24576 err no 10
[17188.768137] BTRFS: error (device dm-11: state A) in __btrfs_free_extent:3078: errno=-5 IO failure
[17188.768807] BTRFS info (device dm-11: state EA): forced readonly
[17188.768814] BTRFS: error (device dm-11: state EA) in btrfs_run_delayed_refs:2141: errno=-5 IO failure
[17189.217466] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[17189.217474] BTRFS info (device dm-11): turning on async discard
[17189.217476] BTRFS info (device dm-11): disk space caching is enabled
[17189.255134] BTRFS: error (device dm-11: state A) in __btrfs_free_extent:3078: errno=-5 IO failure
[17189.255883] BTRFS info (device dm-11: state EA): forced readonly
[17189.255902] BTRFS: error (device dm-11: state EA) in btrfs_run_delayed_refs:2141: errno=-5 IO failure
[17189.259615] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[17189.778281] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[17189.778289] BTRFS info (device dm-11): turning on async discard
[17189.778291] BTRFS info (device dm-11): disk space caching is enabled
[17189.804216] ------------[ cut here ]------------
[17189.804286] WARNING: CPU: 0 PID: 2222232 at fs/btrfs/discard.c:604 btrfs_discard_update_discardable+0x98/0xb0
[17189.804293] 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 snd_hda_codec_generic iTCO_vendor_support snd_hda_intel snd_intel_dspcfg snd_hda_codec snd_hwdep snd_hda_core intel_rapl_common snd_pcm joydev snd_timer snd virtio_balloon soundcore i2c_i801 lpc_ich i2c_smbus zram ip_tables crct10dif_pclmul crc32_pclmul xfs crc32c_intel ghash_clmulni_intel serio_raw qemu_fw_cfg
[17189.804360] CPU: 0 PID: 2222232 Comm: kworker/u4:8 Tainted: G W 5.19.0-rc8+ #796
[17189.804362] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.13.0-2.fc32 04/01/2014
[17189.804364] Workqueue: btrfs-cache btrfs_work_helper
[17189.804369] RIP: 0010:btrfs_discard_update_discardable+0x98/0xb0
[17189.804372] Code: 17 00 00 48 8b 83 80 00 00 00 48 89 83 88 00 00 00 5b 5d c3 cc cc cc cc 48 8d 7b 18 be ff ff ff ff e8 2c 9a 7e 00 85 c0 75 ac <0f> 0b eb a8 c3 cc cc cc cc 66 66 2e 0f 1f 84 00 00 00 00 00 0f 1f
[17189.804374] RSP: 0000:ffff9aa0c611fad0 EFLAGS: 00010246
[17189.804377] RAX: 0000000000000000 RBX: ffff8f1a66b05a00 RCX: 0000000000000001
[17189.804378] RDX: 0000000000000000 RSI: ffffffff92807c5b RDI: ffffffff928a831e
[17189.804380] RBP: ffff8f1a44b40000 R08: 0000000000000000 R09: 0000000000001000
[17189.804381] R10: 000000000006a872 R11: 0000000000855b00 R12: ffff8f1a44698810
[17189.804383] R13: ffff8f1a41fbc5f0 R14: ffff8f1a44b40000 R15: ffff8f1aa94d02a0
[17189.804385] FS: 0000000000000000(0000) GS:ffff8f1abbc00000(0000) knlGS:0000000000000000
[17189.804387] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[17189.804389] CR2: 00007f1fcd0900b0 CR3: 000000010c6da001 CR4: 0000000000370ef0
[17189.804392] Call Trace:
[17189.804394]
[17189.804399] __btrfs_remove_free_space_cache+0x27/0x30
[17189.804404] load_free_space_cache+0xad2/0xaf0
[17189.804444] caching_thread+0x40b/0x650
[17189.804452] ? lock_release+0x137/0x2d0
[17189.804469] btrfs_work_helper+0xf2/0x3e0
[17189.804472] ? lock_is_held_type+0xe2/0x140
[17189.804479] process_one_work+0x271/0x590
[17189.804488] ? process_one_work+0x590/0x590
[17189.804490] worker_thread+0x52/0x3b0
[17189.804495] ? process_one_work+0x590/0x590
[17189.804498] kthread+0xf0/0x120
[17189.804500] ? kthread_complete_and_exit+0x20/0x20
[17189.804505] ret_from_fork+0x1f/0x30
[17189.804518]
[17189.804519] irq event stamp: 398739
[17189.804521] hardirqs last enabled at (398745): [] __up_console_sem+0x5e/0x70
[17189.804524] hardirqs last disabled at (398750): [] __up_console_sem+0x43/0x70
[17189.804526] softirqs last enabled at (398102): [] __irq_exit_rcu+0xeb/0x160
[17189.804530] softirqs last disabled at (398093): [] __irq_exit_rcu+0xeb/0x160
[17189.804532] ---[ end trace 0000000000000000 ]---
[17189.804535] BTRFS warning (device dm-11): block group 298844160 has wrong amount of free space
[17189.804550] BTRFS warning (device dm-11): failed to load free space cache for block group 298844160, rebuilding it now
[17190.870817] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[17190.870832] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[17190.870844] BTRFS error (device dm-11): error writing primary super block to device 1
[17190.870848] BTRFS: error (device dm-11) in write_all_supers:4342: errno=-5 IO failure (1 errors while writing supers)
[17190.871750] BTRFS info (device dm-11: state E): forced readonly
[17190.871764] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[17190.871772] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[17190.872521] BTRFS: error (device dm-11: state EA) in btrfs_sync_log:3192: errno=-5 IO failure
[17190.878985] BTRFS warning (device dm-11: state EA): Skipping commit of aborted transaction.
[17190.878990] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[17190.882456] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[17192.368309] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[17192.368317] BTRFS info (device dm-11): turning on async discard
[17192.368319] BTRFS info (device dm-11): disk space caching is enabled
[17192.372851] BTRFS info (device dm-11): start tree-log replay
[17193.575969] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[17193.577847] BTRFS: error (device dm-11: state A) in __btrfs_free_extent:3078: errno=-5 IO failure
[17193.578387] BTRFS info (device dm-11: state EA): forced readonly
[17193.578392] BTRFS: error (device dm-11: state EA) in btrfs_run_delayed_refs:2141: errno=-5 IO failure
[17193.583432] BTRFS warning (device dm-11: state EA): Skipping commit of aborted transaction.
[17193.583437] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[17193.584769] BTRFS warning (device dm-11: state EA): direct IO failed ino 1104 rw 0,0 sector 0x6f58 len 4096 err no 10
[17194.872761] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[17194.872770] BTRFS info (device dm-11): turning on async discard
[17194.872772] BTRFS info (device dm-11): disk space caching is enabled
[17194.878478] BTRFS info (device dm-11): start tree-log replay
[17197.047601] btrfs_dev_stat_inc_and_print: 75 callbacks suppressed
[17197.047605] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 1, rd 0, flush 0, corrupt 0, gen 0
[17197.047662] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 2, rd 0, flush 0, corrupt 0, gen 0
[17197.048749] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 3, rd 0, flush 0, corrupt 0, gen 0
[17197.048781] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 4, rd 0, flush 0, corrupt 0, gen 0
[17197.048955] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 5, rd 0, flush 0, corrupt 0, gen 0
[17197.048964] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 6, rd 0, flush 0, corrupt 0, gen 0
[17197.049064] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 7, rd 0, flush 0, corrupt 0, gen 0
[17197.049071] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 8, rd 0, flush 0, corrupt 0, gen 0
[17197.049190] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 9, rd 0, flush 0, corrupt 0, gen 0
[17197.049198] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 10, rd 0, flush 0, corrupt 0, gen 0
[17197.049915] BTRFS: error (device dm-11) in btrfs_commit_transaction:2496: errno=-5 IO failure (Error while writing out transaction)
[17197.050974] BTRFS info (device dm-11: state E): forced readonly
[17197.050981] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[17197.050986] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[17197.066885] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[17197.614235] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[17197.614243] BTRFS info (device dm-11): turning on async discard
[17197.614251] BTRFS info (device dm-11): disk space caching is enabled
[17199.713390] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[17199.713412] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[17199.713428] BTRFS error (device dm-11): error writing primary super block to device 1
[17199.713432] BTRFS: error (device dm-11) in write_all_supers:4342: errno=-5 IO failure (1 errors while writing supers)
[17199.714629] BTRFS info (device dm-11: state E): forced readonly
[17199.714640] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[17199.714646] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[17199.720505] BTRFS warning (device dm-11: state EA): direct IO failed ino 1692 rw 0,0 sector 0x2532a0 len 36864 err no 10
[17199.725409] BTRFS warning (device dm-11: state EA): direct IO failed ino 1883 rw 0,0 sector 0x252b50 len 57344 err no 10
[17199.730750] BTRFS warning (device dm-11: state EA): direct IO failed ino 1924 rw 0,0 sector 0x2640c0 len 12288 err no 10
[17199.735325] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[17199.760150] BTRFS warning (device dm-11: state EA): direct IO failed ino 257 rw 0,0 sector 0x25ca48 len 53248 err no 10
[17199.760497] BTRFS warning (device dm-11: state EA): direct IO failed ino 1692 rw 0,0 sector 0x25ed90 len 12288 err no 10
[17199.760690] BTRFS warning (device dm-11: state EA): direct IO failed ino 266 rw 0,0 sector 0x25ffd0 len 8192 err no 10
[17199.779381] BTRFS warning (device dm-11: state EA): direct IO failed ino 1922 rw 0,0 sector 0x2614e0 len 49152 err no 10
[17199.780238] BTRFS warning (device dm-11: state EA): direct IO failed ino 1692 rw 0,0 sector 0x257848 len 20480 err no 10
[17199.781808] BTRFS warning (device dm-11: state EA): direct IO failed ino 259 rw 0,0 sector 0x25ce90 len 40960 err no 10
[17199.781885] BTRFS warning (device dm-11: state EA): direct IO failed ino 259 rw 0,0 sector 0x252c10 len 4096 err no 10
[17200.341843] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[17200.341851] BTRFS info (device dm-11): turning on async discard
[17200.341853] BTRFS info (device dm-11): disk space caching is enabled
[17200.345891] BTRFS info (device dm-11): start tree-log replay
[17200.357954] ------------[ cut here ]------------
[17200.358021] WARNING: CPU: 0 PID: 2181375 at fs/btrfs/discard.c:604 btrfs_discard_update_discardable+0x98/0xb0
[17200.358028] 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 snd_hda_codec_generic iTCO_vendor_support snd_hda_intel snd_intel_dspcfg snd_hda_codec snd_hwdep snd_hda_core intel_rapl_common snd_pcm joydev snd_timer snd virtio_balloon soundcore i2c_i801 lpc_ich i2c_smbus zram ip_tables crct10dif_pclmul crc32_pclmul xfs crc32c_intel ghash_clmulni_intel serio_raw qemu_fw_cfg
[17200.358094] CPU: 0 PID: 2181375 Comm: kworker/u4:0 Tainted: G W 5.19.0-rc8+ #796
[17200.358097] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.13.0-2.fc32 04/01/2014
[17200.358099] Workqueue: btrfs-cache btrfs_work_helper
[17200.358104] RIP: 0010:btrfs_discard_update_discardable+0x98/0xb0
[17200.358107] Code: 17 00 00 48 8b 83 80 00 00 00 48 89 83 88 00 00 00 5b 5d c3 cc cc cc cc 48 8d 7b 18 be ff ff ff ff e8 2c 9a 7e 00 85 c0 75 ac <0f> 0b eb a8 c3 cc cc cc cc 66 66 2e 0f 1f 84 00 00 00 00 00 0f 1f
[17200.358110] RSP: 0018:ffff9aa0c130fad0 EFLAGS: 00010246
[17200.358112] RAX: 0000000000000000 RBX: ffff8f1a44327c00 RCX: 0000000000000001
[17200.358114] RDX: 0000000000000000 RSI: ffffffff92807c5b RDI: ffffffff928a831e
[17200.358116] RBP: ffff8f1aba9e0000 R08: 0000000000000000 R09: 0000000000001000
[17200.358117] R10: 000000000007d364 R11: 0000000000857b00 R12: ffff8f1a4469d810
[17200.358119] R13: ffff8f1a42f32a00 R14: ffff8f1aba9e0000 R15: ffff8f1a54033460
[17200.358121] FS: 0000000000000000(0000) GS:ffff8f1abbc00000(0000) knlGS:0000000000000000
[17200.358123] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[17200.358125] CR2: 00007fdebcc04430 CR3: 0000000115c24006 CR4: 0000000000370ef0
[17200.358129] Call Trace:
[17200.358131]
[17200.358136] __btrfs_remove_free_space_cache+0x27/0x30
[17200.358140] load_free_space_cache+0xad2/0xaf0
[17200.358181] caching_thread+0x40b/0x650
[17200.358189] ? lock_release+0x137/0x2d0
[17200.358197] btrfs_work_helper+0xf2/0x3e0
[17200.358200] ? lock_is_held_type+0xe2/0x140
[17200.358207] process_one_work+0x271/0x590
[17200.358216] ? process_one_work+0x590/0x590
[17200.358219] worker_thread+0x52/0x3b0
[17200.358224] ? process_one_work+0x590/0x590
[17200.358227] kthread+0xf0/0x120
[17200.358229] ? kthread_complete_and_exit+0x20/0x20
[17200.358234] ret_from_fork+0x1f/0x30
[17200.358247]
[17200.358249] irq event stamp: 3205357
[17200.358250] hardirqs last enabled at (3205363): [] __up_console_sem+0x5e/0x70
[17200.358253] hardirqs last disabled at (3205368): [] __up_console_sem+0x43/0x70
[17200.358256] softirqs last enabled at (3204786): [] __irq_exit_rcu+0xeb/0x160
[17200.358259] softirqs last disabled at (3204779): [] __irq_exit_rcu+0xeb/0x160
[17200.358261] ---[ end trace 0000000000000000 ]---
[17200.358264] BTRFS warning (device dm-11): block group 298844160 has wrong amount of free space
[17200.358278] BTRFS warning (device dm-11): failed to load free space cache for block group 298844160, rebuilding it now
[17202.554509] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[17202.554516] btrfs_dev_stat_inc_and_print: 34 callbacks suppressed
[17202.554518] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 1, rd 0, flush 0, corrupt 0, gen 0
[17202.554523] BTRFS error (device dm-11): error writing primary super block to device 1
[17202.554525] BTRFS: error (device dm-11) in write_all_supers:4342: errno=-5 IO failure (1 errors while writing supers)
[17202.555166] BTRFS info (device dm-11: state E): forced readonly
[17202.555175] BTRFS: error (device dm-11: state EA) in btrfs_sync_log:3203: errno=-5 IO failure
[17202.560950] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 2, rd 0, flush 0, corrupt 0, gen 0
[17202.562848] BTRFS warning (device dm-11: state EA): Skipping commit of aborted transaction.
[17202.562854] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[17202.566500] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[17202.584243] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 2, rd 1, flush 0, corrupt 0, gen 0
[17202.584263] BTRFS warning (device dm-11: state EA): direct IO failed ino 1947 rw 0,0 sector 0x2775b8 len 12288 err no 10
[17202.584467] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 2, rd 2, flush 0, corrupt 0, gen 0
[17202.584479] BTRFS warning (device dm-11: state EA): direct IO failed ino 1861 rw 0,0 sector 0x263d58 len 4096 err no 10
[17202.586771] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 2, rd 3, flush 0, corrupt 0, gen 0
[17202.586820] BTRFS warning (device dm-11: state EA): direct IO failed ino 1952 rw 0,0 sector 0x269ed0 len 8192 err no 10
[17202.606898] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 2, rd 4, flush 0, corrupt 0, gen 0
[17202.606919] BTRFS warning (device dm-11: state EA): direct IO failed ino 1949 rw 0,0 sector 0x274a20 len 61440 err no 10
[17202.607235] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 2, rd 5, flush 0, corrupt 0, gen 0
[17202.607251] BTRFS warning (device dm-11: state EA): direct IO failed ino 2003 rw 0,0 sector 0x272be8 len 4096 err no 10
[17202.609477] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 2, rd 6, flush 0, corrupt 0, gen 0
[17202.609493] BTRFS warning (device dm-11: state EA): direct IO failed ino 258 rw 0,0 sector 0x26c730 len 61440 err no 10
[17203.127413] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[17203.127421] BTRFS info (device dm-11): turning on async discard
[17203.127423] BTRFS info (device dm-11): disk space caching is enabled
[17205.168105] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 1, rd 0, flush 0, corrupt 0, gen 0
[17205.168115] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 2, rd 0, flush 0, corrupt 0, gen 0
[17205.173251] BTRFS: error (device dm-11: state A) in __btrfs_free_extent:3078: errno=-5 IO failure
[17205.174034] BTRFS info (device dm-11: state EA): forced readonly
[17205.174043] BTRFS: error (device dm-11: state EA) in btrfs_run_delayed_refs:2141: errno=-5 IO failure
[17205.178253] BTRFS warning (device dm-11: state EA): Skipping commit of aborted transaction.
[17205.190399] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[17205.810504] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[17205.810513] BTRFS info (device dm-11): turning on async discard
[17205.810515] BTRFS info (device dm-11): disk space caching is enabled
[17205.814946] BTRFS info (device dm-11): start tree-log replay
[17207.945456] btrfs_dev_stat_inc_and_print: 45 callbacks suppressed
[17207.945461] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 1, rd 0, flush 0, corrupt 0, gen 0
[17207.946569] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 2, rd 0, flush 0, corrupt 0, gen 0
[17207.946579] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 3, rd 0, flush 0, corrupt 0, gen 0
[17207.946722] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 4, rd 0, flush 0, corrupt 0, gen 0
[17207.946999] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 5, rd 0, flush 0, corrupt 0, gen 0
[17207.947150] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 6, rd 0, flush 0, corrupt 0, gen 0
[17207.947158] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 7, rd 0, flush 0, corrupt 0, gen 0
[17207.947234] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 8, rd 0, flush 0, corrupt 0, gen 0
[17207.947241] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 9, rd 0, flush 0, corrupt 0, gen 0
[17207.947346] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 10, rd 0, flush 0, corrupt 0, gen 0
[17207.948442] BTRFS: error (device dm-11) in btrfs_commit_transaction:2496: errno=-5 IO failure (Error while writing out transaction)
[17207.949542] BTRFS info (device dm-11: state E): forced readonly
[17207.949549] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[17207.949554] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[17207.959565] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[17208.543684] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[17208.543693] BTRFS info (device dm-11): turning on async discard
[17208.543694] BTRFS info (device dm-11): disk space caching is enabled
[17208.547458] BTRFS info (device dm-11): start tree-log replay
[17209.677203] BTRFS: error (device dm-11) in btrfs_commit_transaction:2496: errno=-5 IO failure (Error while writing out transaction)
[17209.678169] BTRFS info (device dm-11: state E): forced readonly
[17209.678175] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[17209.678180] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[17209.685858] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[17210.144293] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[17210.144306] BTRFS info (device dm-11): turning on async discard
[17210.144309] BTRFS info (device dm-11): disk space caching is enabled
[17210.150841] BTRFS info (device dm-11): start tree-log replay
[17210.270914] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[17210.277184] BTRFS warning (device dm-11): direct IO failed ino 2267 rw 1,34817 sector 0x2ab5e0 len 57344 err no 10
[17210.283734] BTRFS: error (device dm-11: state A) in __btrfs_run_delayed_items:1182: errno=-5 IO failure
[17210.284480] BTRFS info (device dm-11: state EA): forced readonly
[17210.284485] BTRFS warning (device dm-11: state EA): Skipping commit of aborted transaction.
[17210.284490] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[17210.823607] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[17210.823615] BTRFS info (device dm-11): turning on async discard
[17210.823616] BTRFS info (device dm-11): disk space caching is enabled
[17211.853368] BTRFS: error (device dm-11) in btrfs_commit_transaction:2496: errno=-5 IO failure (Error while writing out transaction)
[17211.854025] BTRFS info (device dm-11: state E): forced readonly
[17211.854030] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[17211.854033] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[17211.865305] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[17212.468993] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[17212.469002] BTRFS info (device dm-11): turning on async discard
[17212.469003] BTRFS info (device dm-11): disk space caching is enabled
[17212.473671] BTRFS info (device dm-11): start tree-log replay
[17214.605955] btrfs_dev_stat_inc_and_print: 105 callbacks suppressed
[17214.605959] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 1, rd 0, flush 0, corrupt 0, gen 0
[17214.606605] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 2, rd 0, flush 0, corrupt 0, gen 0
[17214.606614] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 3, rd 0, flush 0, corrupt 0, gen 0
[17214.607204] BTRFS: error (device dm-11: state A) in maybe_insert_hole:5022: errno=-5 IO failure
[17214.607839] BTRFS info (device dm-11: state EA): forced readonly
[17214.609558] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 4, rd 0, flush 0, corrupt 0, gen 0
[17214.610239] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 5, rd 0, flush 0, corrupt 0, gen 0
[17214.610418] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 6, rd 0, flush 0, corrupt 0, gen 0
[17214.612145] BTRFS warning (device dm-11: state EA): Skipping commit of aborted transaction.
[17214.616220] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[17215.208704] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[17215.208713] BTRFS info (device dm-11): turning on async discard
[17215.208715] BTRFS info (device dm-11): disk space caching is enabled
[17215.213850] BTRFS info (device dm-11): start tree-log replay
[17215.223602] ------------[ cut here ]------------
[17215.223706] WARNING: CPU: 0 PID: 2162680 at fs/btrfs/discard.c:604 btrfs_discard_update_discardable+0x98/0xb0
[17215.223714] 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 snd_hda_codec_generic iTCO_vendor_support snd_hda_intel snd_intel_dspcfg snd_hda_codec snd_hwdep snd_hda_core intel_rapl_common snd_pcm joydev snd_timer snd virtio_balloon soundcore i2c_i801 lpc_ich i2c_smbus zram ip_tables crct10dif_pclmul crc32_pclmul xfs crc32c_intel ghash_clmulni_intel serio_raw qemu_fw_cfg
[17215.223794] CPU: 0 PID: 2162680 Comm: kworker/u4:1 Tainted: G W 5.19.0-rc8+ #796
[17215.223797] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.13.0-2.fc32 04/01/2014
[17215.223800] Workqueue: btrfs-cache btrfs_work_helper
[17215.223806] RIP: 0010:btrfs_discard_update_discardable+0x98/0xb0
[17215.223809] Code: 17 00 00 48 8b 83 80 00 00 00 48 89 83 88 00 00 00 5b 5d c3 cc cc cc cc 48 8d 7b 18 be ff ff ff ff e8 2c 9a 7e 00 85 c0 75 ac <0f> 0b eb a8 c3 cc cc cc cc 66 66 2e 0f 1f 84 00 00 00 00 00 0f 1f
[17215.223812] RSP: 0018:ffff9aa0c1847ad0 EFLAGS: 00010246
[17215.223815] RAX: 0000000000000000 RBX: ffff8f1a4707f000 RCX: 0000000000000001
[17215.223817] RDX: 0000000000000000 RSI: ffffffff92807c5b RDI: ffffffff928a831e
[17215.223819] RBP: ffff8f1a56a14000 R08: 0000000000000000 R09: 0000000000001000
[17215.223820] R10: 000000000006a872 R11: 000000000085d100 R12: ffff8f1a443c2010
[17215.223822] R13: ffff8f1a5632c5f0 R14: ffff8f1a56a14000 R15: ffff8f1aa94d04d0
[17215.223824] FS: 0000000000000000(0000) GS:ffff8f1abbc00000(0000) knlGS:0000000000000000
[17215.223827] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[17215.223828] CR2: 000055ae4b0e7080 CR3: 0000000107fe6001 CR4: 0000000000370ef0
[17215.223833] Call Trace:
[17215.223836]
[17215.223842] __btrfs_remove_free_space_cache+0x27/0x30
[17215.223846] load_free_space_cache+0xad2/0xaf0
[17215.223892] caching_thread+0x40b/0x650
[17215.223901] ? lock_release+0x137/0x2d0
[17215.223909] btrfs_work_helper+0xf2/0x3e0
[17215.223912] ? lock_is_held_type+0xe2/0x140
[17215.223920] process_one_work+0x271/0x590
[17215.223931] worker_thread+0x52/0x3b0
[17215.223936] ? process_one_work+0x590/0x590
[17215.223939] kthread+0xf0/0x120
[17215.223942] ? kthread_complete_and_exit+0x20/0x20
[17215.223947] ret_from_fork+0x1f/0x30
[17215.223962]
[17215.223964] irq event stamp: 14178295
[17215.223965] hardirqs last enabled at (14178301): [] __up_console_sem+0x5e/0x70
[17215.223969] hardirqs last disabled at (14178306): [] __up_console_sem+0x43/0x70
[17215.223971] softirqs last enabled at (14177764): [] __irq_exit_rcu+0xeb/0x160
[17215.223975] softirqs last disabled at (14177757): [] __irq_exit_rcu+0xeb/0x160
[17215.223977] ---[ end trace 0000000000000000 ]---
[17215.223980] BTRFS warning (device dm-11): block group 298844160 has wrong amount of free space
[17215.223999] BTRFS warning (device dm-11): failed to load free space cache for block group 298844160, rebuilding it now
[17216.406433] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[17216.406447] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 1, rd 0, flush 0, corrupt 0, gen 0
[17216.406481] BTRFS error (device dm-11): error writing primary super block to device 1
[17216.406487] BTRFS: error (device dm-11) in write_all_supers:4342: errno=-5 IO failure (1 errors while writing supers)
[17216.407438] BTRFS info (device dm-11: state E): forced readonly
[17216.407452] BTRFS: error (device dm-11: state EA) in btrfs_sync_log:3203: errno=-5 IO failure
[17216.409315] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 1, rd 1, flush 0, corrupt 0, gen 0
[17216.411909] BTRFS warning (device dm-11: state EA): direct IO failed ino 2112 rw 0,0 sector 0x2c7e60 len 12288 err no 10
[17216.413087] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 1, rd 2, flush 0, corrupt 0, gen 0
[17216.413114] BTRFS warning (device dm-11: state EA): direct IO failed ino 257 rw 0,0 sector 0x2c8d60 len 24576 err no 10
[17216.413123] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 1, rd 3, flush 0, corrupt 0, gen 0
[17216.413475] BTRFS warning (device dm-11: state EA): direct IO failed ino 257 rw 0,0 sector 0x293400 len 4096 err no 10
[17216.414517] BTRFS warning (device dm-11: state EA): direct IO failed ino 257 rw 0,0 sector 0x2c8d40 len 40960 err no 10
[17216.417431] BTRFS warning (device dm-11: state EA): Skipping commit of aborted transaction.
[17216.417439] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[17216.420986] BTRFS warning (device dm-11: state EA): direct IO failed ino 2421 rw 0,0 sector 0x2cbda0 len 32768 err no 10
[17216.421357] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[17216.448203] BTRFS warning (device dm-11: state EA): direct IO failed ino 257 rw 0,0 sector 0x2c8568 len 90112 err no 10
[17216.449804] BTRFS warning (device dm-11: state EA): direct IO failed ino 2388 rw 0,0 sector 0x2c5c40 len 4096 err no 10
[17216.454528] BTRFS warning (device dm-11: state EA): direct IO failed ino 2421 rw 0,0 sector 0x2cbda0 len 32768 err no 10
[17216.456102] BTRFS warning (device dm-11: state EA): direct IO failed ino 2398 rw 0,0 sector 0x2c7148 len 8192 err no 10
[17216.459943] BTRFS warning (device dm-11: state EA): direct IO failed ino 2407 rw 0,0 sector 0x2cbce8 len 4096 err no 10
[17216.460621] BTRFS warning (device dm-11: state EA): direct IO failed ino 2388 rw 0,0 sector 0x2c8790 len 8192 err no 10
[17216.460995] BTRFS warning (device dm-11: state EA): direct IO failed ino 257 rw 0,0 sector 0x2c97c0 len 4096 err no 10
[17216.462031] BTRFS warning (device dm-11: state EA): direct IO failed ino 2112 rw 0,0 sector 0x2ca4d8 len 20480 err no 10
[17216.462798] BTRFS warning (device dm-11: state EA): direct IO failed ino 257 rw 0,0 sector 0x2c8540 len 40960 err no 10
[17216.463194] BTRFS warning (device dm-11: state EA): direct IO failed ino 2421 rw 0,0 sector 0x2cbda0 len 24576 err no 10
[17216.465669] BTRFS warning (device dm-11: state EA): direct IO failed ino 2112 rw 0,0 sector 0x2c7e28 len 65536 err no 10
[17216.982686] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[17216.982695] BTRFS info (device dm-11): turning on async discard
[17216.982697] BTRFS info (device dm-11): disk space caching is enabled
[17217.008340] ------------[ cut here ]------------
[17217.008409] WARNING: CPU: 0 PID: 1609605 at fs/btrfs/discard.c:604 btrfs_discard_update_discardable+0x98/0xb0
[17217.008415] 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 snd_hda_codec_generic iTCO_vendor_support snd_hda_intel snd_intel_dspcfg snd_hda_codec snd_hwdep snd_hda_core intel_rapl_common snd_pcm joydev snd_timer snd virtio_balloon soundcore i2c_i801 lpc_ich i2c_smbus zram ip_tables crct10dif_pclmul crc32_pclmul xfs crc32c_intel ghash_clmulni_intel serio_raw qemu_fw_cfg
[17217.008479] CPU: 0 PID: 1609605 Comm: kworker/u4:6 Tainted: G W 5.19.0-rc8+ #796
[17217.008482] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.13.0-2.fc32 04/01/2014
[17217.008484] Workqueue: btrfs-cache btrfs_work_helper
[17217.008489] RIP: 0010:btrfs_discard_update_discardable+0x98/0xb0
[17217.008491] Code: 17 00 00 48 8b 83 80 00 00 00 48 89 83 88 00 00 00 5b 5d c3 cc cc cc cc 48 8d 7b 18 be ff ff ff ff e8 2c 9a 7e 00 85 c0 75 ac <0f> 0b eb a8 c3 cc cc cc cc 66 66 2e 0f 1f 84 00 00 00 00 00 0f 1f
[17217.008494] RSP: 0018:ffff9aa0c3307ad0 EFLAGS: 00010246
[17217.008496] RAX: 0000000000000000 RBX: ffff8f1a6c1b5200 RCX: 0000000000000001
[17217.008498] RDX: 0000000000000000 RSI: ffffffff92807c5b RDI: ffffffff928a831e
[17217.008500] RBP: ffff8f1a56a14000 R08: 0000000000000000 R09: 0000000000001000
[17217.008501] R10: 0000000000037fd8 R11: 000000000085e700 R12: ffff8f1a4469c010
[17217.008503] R13: ffff8f1a41f94f40 R14: ffff8f1a56a14000 R15: ffff8f1a54033150
[17217.008505] FS: 0000000000000000(0000) GS:ffff8f1abbc00000(0000) knlGS:0000000000000000
[17217.008506] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[17217.008508] CR2: 00007ffc93bf4ff8 CR3: 00000001141c4002 CR4: 0000000000370ef0
[17217.008512] Call Trace:
[17217.008514]
[17217.008519] __btrfs_remove_free_space_cache+0x27/0x30
[17217.008523] load_free_space_cache+0xad2/0xaf0
[17217.008562] caching_thread+0x40b/0x650
[17217.008570] ? lock_release+0x137/0x2d0
[17217.008578] btrfs_work_helper+0xf2/0x3e0
[17217.008580] ? lock_is_held_type+0xe2/0x140
[17217.008587] process_one_work+0x271/0x590
[17217.008603] worker_thread+0x52/0x3b0
[17217.008608] ? process_one_work+0x590/0x590
[17217.008610] kthread+0xf0/0x120
[17217.008613] ? kthread_complete_and_exit+0x20/0x20
[17217.008617] ret_from_fork+0x1f/0x30
[17217.008631]
[17217.008654] irq event stamp: 53921051
[17217.008656] hardirqs last enabled at (53921057): [] __up_console_sem+0x5e/0x70
[17217.008659] hardirqs last disabled at (53921062): [] __up_console_sem+0x43/0x70
[17217.008661] softirqs last enabled at (53921046): [] __irq_exit_rcu+0xeb/0x160
[17217.008664] softirqs last disabled at (53921037): [] __irq_exit_rcu+0xeb/0x160
[17217.008667] ---[ end trace 0000000000000000 ]---
[17217.008670] BTRFS warning (device dm-11): block group 298844160 has wrong amount of free space
[17217.008685] BTRFS warning (device dm-11): failed to load free space cache for block group 298844160, rebuilding it now
[17218.016191] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[17218.016221] BTRFS error (device dm-11): error writing primary super block to device 1
[17218.016227] BTRFS: error (device dm-11) in write_all_supers:4342: errno=-5 IO failure (1 errors while writing supers)
[17218.016993] BTRFS info (device dm-11: state E): forced readonly
[17218.017008] BTRFS: error (device dm-11: state EA) in btrfs_sync_log:3203: errno=-5 IO failure
[17218.019839] BTRFS warning (device dm-11: state EA): Skipping commit of aborted transaction.
[17218.019844] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[17218.021985] BTRFS warning (device dm-11: state EA): direct IO failed ino 2425 rw 0,0 sector 0x2cf2e0 len 40960 err no 10
[17218.023996] BTRFS warning (device dm-11: state EA): direct IO failed ino 2428 rw 0,0 sector 0x2cce50 len 4096 err no 10
[17218.024019] BTRFS warning (device dm-11: state EA): direct IO failed ino 261 rw 0,0 sector 0x2d1f08 len 32768 err no 10
[17218.035239] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[17218.602347] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[17218.602357] BTRFS info (device dm-11): turning on async discard
[17218.602360] BTRFS info (device dm-11): disk space caching is enabled
[17218.606515] BTRFS info (device dm-11): start tree-log replay
[17218.618233] ------------[ cut here ]------------
[17218.618302] WARNING: CPU: 0 PID: 2198800 at fs/btrfs/discard.c:604 btrfs_discard_update_discardable+0x98/0xb0
[17218.618309] 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 snd_hda_codec_generic iTCO_vendor_support snd_hda_intel snd_intel_dspcfg snd_hda_codec snd_hwdep snd_hda_core intel_rapl_common snd_pcm joydev snd_timer snd virtio_balloon soundcore i2c_i801 lpc_ich i2c_smbus zram ip_tables crct10dif_pclmul crc32_pclmul xfs crc32c_intel ghash_clmulni_intel serio_raw qemu_fw_cfg
[17218.618374] CPU: 0 PID: 2198800 Comm: kworker/u4:4 Tainted: G W 5.19.0-rc8+ #796
[17218.618376] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.13.0-2.fc32 04/01/2014
[17218.618378] Workqueue: btrfs-cache btrfs_work_helper
[17218.618383] RIP: 0010:btrfs_discard_update_discardable+0x98/0xb0
[17218.618385] Code: 17 00 00 48 8b 83 80 00 00 00 48 89 83 88 00 00 00 5b 5d c3 cc cc cc cc 48 8d 7b 18 be ff ff ff ff e8 2c 9a 7e 00 85 c0 75 ac <0f> 0b eb a8 c3 cc cc cc cc 66 66 2e 0f 1f 84 00 00 00 00 00 0f 1f
[17218.618388] RSP: 0018:ffff9aa0c64dfad0 EFLAGS: 00010246
[17218.618390] RAX: 0000000000000000 RBX: ffff8f1a44ca4c00 RCX: 0000000000000001
[17218.618392] RDX: 0000000000000000 RSI: ffffffff92807c5b RDI: ffffffff928a831e
[17218.618394] RBP: ffff8f1a56a14000 R08: 0000000000000000 R09: 0000000000001000
[17218.618395] R10: ffff8f19a0a37a40 R11: 000000000085d200 R12: ffff8f1a4469d010
[17218.618397] R13: ffff8f1a562a1760 R14: ffff8f1a56a14000 R15: ffff8f1a54033690
[17218.618399] FS: 0000000000000000(0000) GS:ffff8f1abbc00000(0000) knlGS:0000000000000000
[17218.618400] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[17218.618402] CR2: 00007fdebcc04430 CR3: 0000000115c24004 CR4: 0000000000370ef0
[17218.618406] Call Trace:
[17218.618408]
[17218.618413] __btrfs_remove_free_space_cache+0x27/0x30
[17218.618417] load_free_space_cache+0xad2/0xaf0
[17218.618457] caching_thread+0x40b/0x650
[17218.618465] ? lock_release+0x137/0x2d0
[17218.618472] btrfs_work_helper+0xf2/0x3e0
[17218.618475] ? lock_is_held_type+0xe2/0x140
[17218.618482] process_one_work+0x271/0x590
[17218.618492] worker_thread+0x52/0x3b0
[17218.618496] ? process_one_work+0x590/0x590
[17218.618499] kthread+0xf0/0x120
[17218.618502] ? kthread_complete_and_exit+0x20/0x20
[17218.618508] ret_from_fork+0x1f/0x30
[17218.618529]
[17218.618531] irq event stamp: 329083
[17218.618533] hardirqs last enabled at (329089): [] __up_console_sem+0x5e/0x70
[17218.618537] hardirqs last disabled at (329094): [] __up_console_sem+0x43/0x70
[17218.618541] softirqs last enabled at (327124): [] __irq_exit_rcu+0xeb/0x160
[17218.618545] softirqs last disabled at (327119): [] __irq_exit_rcu+0xeb/0x160
[17218.618548] ---[ end trace 0000000000000000 ]---
[17218.618552] BTRFS warning (device dm-11): block group 298844160 has wrong amount of free space
[17218.618570] BTRFS warning (device dm-11): failed to load free space cache for block group 298844160, rebuilding it now
[17218.749244] BTRFS: error (device dm-11: state A) in create_subvol:735: errno=-5 IO failure
[17218.750415] BTRFS info (device dm-11: state EA): forced readonly
[17218.761607] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[17219.242773] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[17219.242782] BTRFS info (device dm-11): turning on async discard
[17219.242784] BTRFS info (device dm-11): disk space caching is enabled
[17219.287089] BTRFS: error (device dm-11: state A) in create_subvol:735: errno=-5 IO failure
[17219.287823] BTRFS info (device dm-11: state EA): forced readonly
[17219.302720] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[17219.855757] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[17219.855769] BTRFS info (device dm-11): turning on async discard
[17219.855772] BTRFS info (device dm-11): disk space caching is enabled
[17221.897748] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[17221.897754] btrfs_dev_stat_inc_and_print: 331 callbacks suppressed
[17221.897756] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 1, rd 0, flush 0, corrupt 0, gen 0
[17221.897766] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[17221.897769] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 2, rd 0, flush 0, corrupt 0, gen 0
[17221.897777] BTRFS error (device dm-11): error writing primary super block to device 1
[17221.897779] BTRFS: error (device dm-11) in write_all_supers:4342: errno=-5 IO failure (1 errors while writing supers)
[17221.898340] BTRFS info (device dm-11: state E): forced readonly
[17221.898345] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[17221.898347] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[17221.903776] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 3, rd 0, flush 0, corrupt 0, gen 0
[17221.904474] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 4, rd 0, flush 0, corrupt 0, gen 0
[17221.904490] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 5, rd 0, flush 0, corrupt 0, gen 0
[17221.904678] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 6, rd 0, flush 0, corrupt 0, gen 0
[17221.905106] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 7, rd 0, flush 0, corrupt 0, gen 0
[17221.905171] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 8, rd 0, flush 0, corrupt 0, gen 0
[17221.905195] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 9, rd 0, flush 0, corrupt 0, gen 0
[17221.905233] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 10, rd 0, flush 0, corrupt 0, gen 0
[17221.906508] BTRFS warning (device dm-11: state EA): direct IO failed ino 2388 rw 0,0 sector 0x2e8480 len 16384 err no 10
[17221.906606] BTRFS warning (device dm-11: state EA): Skipping commit of aborted transaction.
[17221.906611] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[17221.910061] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[17221.910192] BTRFS warning (device dm-11: state EA): direct IO failed ino 267 rw 0,0 sector 0x2e53e0 len 4096 err no 10
[17221.928473] BTRFS warning (device dm-11: state EA): direct IO failed ino 279 rw 0,0 sector 0x2ea030 len 106496 err no 10
[17221.950308] BTRFS warning (device dm-11: state EA): direct IO failed ino 263 rw 0,0 sector 0x2e0118 len 16384 err no 10
[17222.481427] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[17222.481435] BTRFS info (device dm-11): turning on async discard
[17222.481437] BTRFS info (device dm-11): disk space caching is enabled
[17222.505827] ------------[ cut here ]------------
[17222.505908] WARNING: CPU: 0 PID: 2181375 at fs/btrfs/discard.c:604 btrfs_discard_update_discardable+0x98/0xb0
[17222.505915] 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 snd_hda_codec_generic iTCO_vendor_support snd_hda_intel snd_intel_dspcfg snd_hda_codec snd_hwdep snd_hda_core intel_rapl_common snd_pcm joydev snd_timer snd virtio_balloon soundcore i2c_i801 lpc_ich i2c_smbus zram ip_tables crct10dif_pclmul crc32_pclmul xfs crc32c_intel ghash_clmulni_intel serio_raw qemu_fw_cfg
[17222.505979] CPU: 0 PID: 2181375 Comm: kworker/u4:0 Tainted: G W 5.19.0-rc8+ #796
[17222.505982] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.13.0-2.fc32 04/01/2014
[17222.505983] Workqueue: btrfs-cache btrfs_work_helper
[17222.505989] RIP: 0010:btrfs_discard_update_discardable+0x98/0xb0
[17222.505991] Code: 17 00 00 48 8b 83 80 00 00 00 48 89 83 88 00 00 00 5b 5d c3 cc cc cc cc 48 8d 7b 18 be ff ff ff ff e8 2c 9a 7e 00 85 c0 75 ac <0f> 0b eb a8 c3 cc cc cc cc 66 66 2e 0f 1f 84 00 00 00 00 00 0f 1f
[17222.505994] RSP: 0018:ffff9aa0c130fad0 EFLAGS: 00010246
[17222.505996] RAX: 0000000000000000 RBX: ffff8f1a4707ee00 RCX: 0000000000000001
[17222.505998] RDX: 0000000000000000 RSI: ffffffff92807c5b RDI: ffffffff928a831e
[17222.506000] RBP: ffff8f1a6facc000 R08: 0000000000000000 R09: 0000000000001000
[17222.506001] R10: ffff8f1942ef6b10 R11: 000000000085f500 R12: ffff8f1a443c3810
[17222.506003] R13: ffff8f1a56364f40 R14: ffff8f1a6facc000 R15: ffff8f1aa94d0d20
[17222.506005] FS: 0000000000000000(0000) GS:ffff8f1abbc00000(0000) knlGS:0000000000000000
[17222.506006] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[17222.506008] CR2: 0000000001c79000 CR3: 0000000106ec6006 CR4: 0000000000370ef0
[17222.506012] Call Trace:
[17222.506014]
[17222.506018] __btrfs_remove_free_space_cache+0x27/0x30
[17222.506022] load_free_space_cache+0xad2/0xaf0
[17222.506062] caching_thread+0x40b/0x650
[17222.506070] ? lock_release+0x137/0x2d0
[17222.506077] btrfs_work_helper+0xf2/0x3e0
[17222.506080] ? lock_is_held_type+0xe2/0x140
[17222.506087] process_one_work+0x271/0x590
[17222.506096] ? process_one_work+0x590/0x590
[17222.506099] worker_thread+0x52/0x3b0
[17222.506104] ? process_one_work+0x590/0x590
[17222.506107] kthread+0xf0/0x120
[17222.506109] ? kthread_complete_and_exit+0x20/0x20
[17222.506114] ret_from_fork+0x1f/0x30
[17222.506127]
[17222.506128] irq event stamp: 3326909
[17222.506130] hardirqs last enabled at (3326915): [] __up_console_sem+0x5e/0x70
[17222.506133] hardirqs last disabled at (3326920): [] __up_console_sem+0x43/0x70
[17222.506135] softirqs last enabled at (3325584): [] wb_workfn+0xf2/0x660
[17222.506138] softirqs last disabled at (3325582): [] wb_workfn+0xdf/0x660
[17222.506141] ---[ end trace 0000000000000000 ]---
[17222.506143] BTRFS warning (device dm-11): block group 298844160 has wrong amount of free space
[17222.506158] BTRFS warning (device dm-11): failed to load free space cache for block group 298844160, rebuilding it now
[17224.597891] BTRFS: error (device dm-11) in btrfs_commit_transaction:2496: errno=-5 IO failure (Error while writing out transaction)
[17224.598383] BTRFS: error (device dm-11: state A) in btrfs_add_root_ref:426: errno=-5 IO failure
[17224.601002] BTRFS info (device dm-11: state EA): forced readonly
[17224.603032] BTRFS: error (device dm-11: state EA) in btrfs_rename:9581: errno=-5 IO failure
[17224.604076] BTRFS warning (device dm-11: state EA): Skipping commit of aborted transaction.
[17224.604080] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[17224.622747] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[17225.190143] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[17225.190151] BTRFS info (device dm-11): turning on async discard
[17225.190153] BTRFS info (device dm-11): disk space caching is enabled
[17226.225071] BTRFS: error (device dm-11) in btrfs_commit_transaction:2496: errno=-5 IO failure (Error while writing out transaction)
[17226.225867] BTRFS info (device dm-11: state E): forced readonly
[17226.225873] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[17226.225876] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[17226.237040] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[17226.865056] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[17226.865063] BTRFS info (device dm-11): turning on async discard
[17226.865065] BTRFS info (device dm-11): disk space caching is enabled
[17227.926884] btrfs_dev_stat_inc_and_print: 48 callbacks suppressed
[17227.926888] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 1, rd 0, flush 0, corrupt 0, gen 0
[17227.926965] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 2, rd 0, flush 0, corrupt 0, gen 0
[17227.926972] BTRFS warning (device dm-11): direct IO failed ino 2631 rw 1,34817 sector 0x254600 len 40960 err no 10
[17227.928236] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[17227.928244] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 3, rd 0, flush 0, corrupt 0, gen 0
[17227.928262] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[17227.928267] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 4, rd 0, flush 0, corrupt 0, gen 0
[17227.928429] BTRFS error (device dm-11): error writing primary super block to device 1
[17227.928435] BTRFS: error (device dm-11) in write_all_supers:4342: errno=-5 IO failure (1 errors while writing supers)
[17227.929563] BTRFS info (device dm-11: state E): forced readonly
[17227.929582] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[17227.929589] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[17227.930353] BTRFS: error (device dm-11: state EA) in btrfs_sync_log:3192: errno=-5 IO failure
[17227.931200] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 5, rd 0, flush 0, corrupt 0, gen 0
[17227.936309] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 6, rd 0, flush 0, corrupt 0, gen 0
[17227.936576] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 7, rd 0, flush 0, corrupt 0, gen 0
[17227.937018] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 8, rd 0, flush 0, corrupt 0, gen 0
[17227.937129] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 9, rd 0, flush 0, corrupt 0, gen 0
[17227.938625] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 10, rd 0, flush 0, corrupt 0, gen 0
[17227.950055] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[17227.979614] BTRFS warning (device dm-11: state EA): direct IO failed ino 2572 rw 0,0 sector 0x252808 len 4096 err no 10
[17227.994407] BTRFS warning (device dm-11: state EA): direct IO failed ino 2673 rw 0,0 sector 0x1d3710 len 32768 err no 10
[17228.523404] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[17228.523415] BTRFS info (device dm-11): turning on async discard
[17228.523418] BTRFS info (device dm-11): disk space caching is enabled
[17228.529357] BTRFS info (device dm-11): start tree-log replay
[17228.722510] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[17228.722581] BTRFS error (device dm-11): error writing primary super block to device 1
[17228.722584] BTRFS: error (device dm-11) in write_all_supers:4342: errno=-5 IO failure (1 errors while writing supers)
[17228.723373] BTRFS warning (device dm-11): direct IO failed ino 2668 rw 0,0 sector 0x255080 len 16384 err no 10
[17228.723398] BTRFS info (device dm-11: state E): forced readonly
[17228.723435] BTRFS: error (device dm-11: state EA) in btrfs_sync_log:3203: errno=-5 IO failure
[17228.735400] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[17228.767089] BTRFS warning (device dm-11: state EA): direct IO failed ino 2668 rw 0,0 sector 0x255048 len 45056 err no 10
[17229.297680] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[17229.297689] BTRFS info (device dm-11): turning on async discard
[17229.297690] BTRFS info (device dm-11): disk space caching is enabled
[17230.401778] BTRFS warning (device dm-11): direct IO failed ino 2672 rw 1,34817 sector 0x293f28 len 16384 err no 10
[17230.401815] BTRFS warning (device dm-11): direct IO failed ino 2672 rw 1,34817 sector 0x29b458 len 69632 err no 10
[17230.404661] BTRFS warning (device dm-11): direct IO failed ino 2671 rw 1,34817 sector 0x299f20 len 45056 err no 10
[17230.409888] BTRFS: error (device dm-11: state A) in btrfs_replace_file_extents:2802: errno=-5 IO failure
[17230.411045] BTRFS info (device dm-11: state EA): forced readonly
[17230.412399] BTRFS warning (device dm-11: state EA): Skipping commit of aborted transaction.
[17230.418871] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[17230.956912] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[17230.956920] BTRFS info (device dm-11): turning on async discard
[17230.956922] BTRFS info (device dm-11): disk space caching is enabled
[17233.012946] btrfs_dev_stat_inc_and_print: 153 callbacks suppressed
[17233.012950] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 1, rd 0, flush 0, corrupt 0, gen 0
[17233.013006] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 2, rd 0, flush 0, corrupt 0, gen 0
[17233.019452] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 3, rd 0, flush 0, corrupt 0, gen 0
[17233.019466] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 4, rd 0, flush 0, corrupt 0, gen 0
[17233.020218] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 5, rd 0, flush 0, corrupt 0, gen 0
[17233.020230] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 6, rd 0, flush 0, corrupt 0, gen 0
[17233.020296] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 7, rd 0, flush 0, corrupt 0, gen 0
[17233.020305] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 8, rd 0, flush 0, corrupt 0, gen 0
[17233.020344] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 9, rd 0, flush 0, corrupt 0, gen 0
[17233.020353] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 10, rd 0, flush 0, corrupt 0, gen 0
[17233.021303] BTRFS: error (device dm-11) in btrfs_commit_transaction:2496: errno=-5 IO failure (Error while writing out transaction)
[17233.022232] BTRFS info (device dm-11: state E): forced readonly
[17233.022238] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[17233.022242] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[17233.028997] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[17233.615118] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[17233.615127] BTRFS info (device dm-11): turning on async discard
[17233.615129] BTRFS info (device dm-11): disk space caching is enabled
[17235.710209] BTRFS warning (device dm-11): direct IO failed ino 270 rw 1,34817 sector 0x25d3e0 len 49152 err no 10
[17235.712400] BTRFS: error (device dm-11) in btrfs_commit_transaction:2496: errno=-5 IO failure (Error while writing out transaction)
[17235.713485] BTRFS info (device dm-11: state E): forced readonly
[17235.713492] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[17235.713496] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[17235.715013] BTRFS: error (device dm-11: state EA) in __btrfs_free_extent:3078: errno=-5 IO failure
[17235.716093] BTRFS: error (device dm-11: state EA) in btrfs_run_delayed_refs:2141: errno=-5 IO failure
[17235.716796] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[17236.251251] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[17236.251259] BTRFS info (device dm-11): turning on async discard
[17236.251261] BTRFS info (device dm-11): disk space caching is enabled
[17236.298418] BTRFS error (device dm-11): error reading free space cache
[17236.298435] BTRFS warning (device dm-11): failed to load free space cache for block group 298844160, rebuilding it now
[17236.301294] BTRFS warning (device dm-11): direct IO failed ino 2872 rw 1,34817 sector 0x312800 len 61440 err no 10
[17236.302496] BTRFS warning (device dm-11): direct IO failed ino 2872 rw 1,34817 sector 0x312800 len 102400 err no 10
[17236.304848] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[17236.305048] BTRFS: error (device dm-11: state A) in btrfs_run_delayed_refs:2141: errno=-5 IO failure
[17236.305678] BTRFS info (device dm-11: state EA): forced readonly
[17236.881289] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[17236.881299] BTRFS info (device dm-11): turning on async discard
[17236.881302] BTRFS info (device dm-11): disk space caching is enabled