[17347.140981] run fstests generic/475 at 2022-08-10 01:41:50
[17348.197205] BTRFS: device fsid 3498a062-bbdb-4261-80d2-96715ae911c8 devid 1 transid 6 /dev/mapper/vg0-lv9 scanned by mkfs.btrfs (2235005)
[17348.438759] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[17348.438767] BTRFS info (device dm-11): turning on async discard
[17348.438769] BTRFS info (device dm-11): disk space caching is enabled
[17348.442309] BTRFS info (device dm-11): checking UUID tree
[17349.480281] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[17349.480301] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 1, rd 0, flush 0, corrupt 0, gen 0
[17349.480504] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[17349.480507] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 2, rd 0, flush 0, corrupt 0, gen 0
[17349.480547] BTRFS error (device dm-11): error writing primary super block to device 1
[17349.480585] BTRFS: error (device dm-11) in write_all_supers:4342: errno=-5 IO failure (1 errors while writing supers)
[17349.481339] BTRFS info (device dm-11: state E): forced readonly
[17349.481355] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[17349.481390] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[17349.488972] BTRFS warning (device dm-11: state EA): Skipping commit of aborted transaction.
[17349.489594] buffer_io_error: 760 callbacks suppressed
[17349.489599] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[17349.489999] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[17349.513682] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 2, rd 1, flush 0, corrupt 0, gen 0
[17349.514187] BTRFS warning (device dm-11: state EA): direct IO failed ino 335 rw 0,0 sector 0x84d8 len 4096 err no 10
[17349.514942] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 2, rd 2, flush 0, corrupt 0, gen 0
[17349.515448] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 2, rd 3, flush 0, corrupt 0, gen 0
[17349.515521] BTRFS warning (device dm-11: state EA): direct IO failed ino 338 rw 0,0 sector 0x85f8 len 20480 err no 10
[17349.515540] BTRFS warning (device dm-11: state EA): direct IO failed ino 301 rw 0,0 sector 0xa5f0 len 12288 err no 10
[17349.533376] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 2, rd 4, flush 0, corrupt 0, gen 0
[17349.533766] BTRFS warning (device dm-11: state EA): direct IO failed ino 306 rw 0,0 sector 0x119170 len 28672 err no 10
[17350.013189] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[17350.013197] BTRFS info (device dm-11): turning on async discard
[17350.013199] BTRFS info (device dm-11): disk space caching is enabled
[17350.016820] BTRFS info (device dm-11): start tree-log replay
[17352.102843] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 1, rd 0, flush 0, corrupt 0, gen 0
[17352.106095] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 2, rd 0, flush 0, corrupt 0, gen 0
[17352.108428] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 3, rd 0, flush 0, corrupt 0, gen 0
[17352.108433] BTRFS warning (device dm-11): direct IO failed ino 389 rw 1,34817 sector 0x127338 len 40960 err no 10
[17352.111420] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 4, rd 0, flush 0, corrupt 0, gen 0
[17352.111426] BTRFS warning (device dm-11): direct IO failed ino 389 rw 1,34817 sector 0x127338 len 106496 err no 10
[17352.113101] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[17352.113395] BTRFS warning (device dm-11): direct IO failed ino 257 rw 1,34817 sector 0x127338 len 73728 err no 10
[17352.115366] BTRFS: error (device dm-11) in btrfs_commit_transaction:2496: errno=-5 IO failure (Error while writing out transaction)
[17352.116245] BTRFS info (device dm-11: state E): forced readonly
[17352.116251] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[17352.116254] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[17352.627733] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[17352.627741] BTRFS info (device dm-11): turning on async discard
[17352.627744] BTRFS info (device dm-11): disk space caching is enabled
[17352.668660] BTRFS error (device dm-11): error reading free space cache
[17352.668685] BTRFS warning (device dm-11): failed to load free space cache for block group 298844160, rebuilding it now
[17352.668783] BTRFS warning (device dm-11): direct IO failed ino 440 rw 1,34817 sector 0x1270b8 len 36864 err no 10
[17352.670917] BTRFS warning (device dm-11): direct IO failed ino 441 rw 1,34817 sector 0x1270b8 len 69632 err no 10
[17352.677787] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[17352.679791] BTRFS warning (device dm-11): direct IO failed ino 445 rw 1,34817 sector 0x1278f8 len 77824 err no 10
[17352.722908] BTRFS: error (device dm-11: state A) in do_free_extent_accounting:2848: errno=-5 IO failure
[17352.723868] BTRFS info (device dm-11: state EA): forced readonly
[17352.723889] BTRFS: error (device dm-11: state EA) in btrfs_run_delayed_refs:2141: errno=-5 IO failure
[17353.100632] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[17353.100641] BTRFS info (device dm-11): turning on async discard
[17353.100643] BTRFS info (device dm-11): disk space caching is enabled
[17353.131354] BTRFS error (device dm-11): error reading free space cache
[17353.131371] BTRFS warning (device dm-11): failed to load free space cache for block group 298844160, rebuilding it now
[17353.132972] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[17353.227226] BTRFS: error (device dm-11: state A) in do_free_extent_accounting:2848: errno=-5 IO failure
[17353.227984] BTRFS info (device dm-11: state EA): forced readonly
[17353.227989] BTRFS: error (device dm-11: state EA) in btrfs_run_delayed_refs:2141: errno=-5 IO failure
[17353.616498] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[17353.616507] BTRFS info (device dm-11): turning on async discard
[17353.616509] BTRFS info (device dm-11): disk space caching is enabled
[17353.638261] ------------[ cut here ]------------
[17353.638334] WARNING: CPU: 1 PID: 2140464 at fs/btrfs/discard.c:604 btrfs_discard_update_discardable+0x98/0xb0
[17353.638343] 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 snd_hda_codec_generic iTCO_wdt iTCO_vendor_support snd_hda_intel snd_intel_dspcfg snd_hda_codec snd_hwdep snd_hda_core intel_rapl_common joydev i2c_i801 i2c_smbus snd_pcm lpc_ich snd_timer snd soundcore virtio_balloon zram ip_tables crct10dif_pclmul crc32_pclmul xfs crc32c_intel ghash_clmulni_intel serio_raw qemu_fw_cfg
[17353.638406] CPU: 1 PID: 2140464 Comm: kworker/u4:0 Not tainted 5.19.0-rc8+ #792
[17353.638409] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.13.0-2.fc32 04/01/2014
[17353.638412] Workqueue: btrfs-cache btrfs_work_helper
[17353.638420] RIP: 0010:btrfs_discard_update_discardable+0x98/0xb0
[17353.638424] 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
[17353.638426] RSP: 0018:ffffa09c467bbad0 EFLAGS: 00010246
[17353.638429] RAX: 0000000000000000 RBX: ffff9032028cde00 RCX: 0000000000000001
[17353.638433] RDX: 0000000000000000 RSI: ffffffffae807c5b RDI: ffffffffae8a831e
[17353.638434] RBP: ffff903230710000 R08: 0000000000000000 R09: 0000000080270022
[17353.638436] R10: ffff903203296c48 R11: 00000000007c6200 R12: ffff90320fa7b010
[17353.638438] R13: ffff90321f6c6b30 R14: ffff903230710000 R15: ffff903226054af0
[17353.638439] FS:  0000000000000000(0000) GS:ffff90327bd00000(0000) knlGS:0000000000000000
[17353.638441] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[17353.638443] CR2: 00007f72c340d160 CR3: 00000001050e0006 CR4: 0000000000370ee0
[17353.638448] Call Trace:
[17353.638449]  
[17353.638454]  __btrfs_remove_free_space_cache+0x27/0x30
[17353.638458]  load_free_space_cache+0xad2/0xaf0
[17353.638497]  caching_thread+0x40b/0x650
[17353.638506]  ? lock_release+0x137/0x2d0
[17353.638513]  btrfs_work_helper+0xf2/0x3e0
[17353.638516]  ? lock_is_held_type+0xe2/0x140
[17353.638522]  process_one_work+0x271/0x590
[17353.638532]  worker_thread+0x52/0x3b0
[17353.638536]  ? process_one_work+0x590/0x590
[17353.638539]  kthread+0xf0/0x120
[17353.638542]  ? kthread_complete_and_exit+0x20/0x20
[17353.638546]  ret_from_fork+0x1f/0x30
[17353.638559]  
[17353.638563] irq event stamp: 15773687
[17353.638564] hardirqs last  enabled at (15773693): [] __up_console_sem+0x5e/0x70
[17353.638569] hardirqs last disabled at (15773698): [] __up_console_sem+0x43/0x70
[17353.638571] softirqs last  enabled at (15772530): [] wb_workfn+0xf2/0x660
[17353.638574] softirqs last disabled at (15772528): [] wb_workfn+0xdf/0x660
[17353.638576] ---[ end trace 0000000000000000 ]---
[17353.638579] BTRFS warning (device dm-11): block group 298844160 has wrong amount of free space
[17353.638594] BTRFS warning (device dm-11): failed to load free space cache for block group 298844160, rebuilding it now
[17355.659385] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[17355.659392] btrfs_dev_stat_inc_and_print: 80 callbacks suppressed
[17355.659394] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 1, rd 0, flush 0, corrupt 0, gen 0
[17355.659407] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[17355.659410] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 2, rd 0, flush 0, corrupt 0, gen 0
[17355.659424] BTRFS error (device dm-11): error writing primary super block to device 1
[17355.659430] BTRFS: error (device dm-11) in write_all_supers:4342: errno=-5 IO failure (1 errors while writing supers)
[17355.660645] BTRFS info (device dm-11: state E): forced readonly
[17355.660692] BTRFS warning (device dm-11: state EA): Skipping commit of aborted transaction.
[17355.661447] BTRFS: error (device dm-11: state EA) in btrfs_sync_log:3192: errno=-5 IO failure
[17355.661461] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[17355.666082] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 2, rd 1, flush 0, corrupt 0, gen 0
[17355.666101] BTRFS warning (device dm-11: state EA): direct IO failed ino 460 rw 0,0 sector 0x12b878 len 40960 err no 10
[17355.667024] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 3, rd 1, flush 0, corrupt 0, gen 0
[17355.667493] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 4, rd 1, flush 0, corrupt 0, gen 0
[17355.667525] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 5, rd 1, flush 0, corrupt 0, gen 0
[17355.667804] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 6, rd 1, flush 0, corrupt 0, gen 0
[17355.671803] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 6, rd 2, flush 0, corrupt 0, gen 0
[17355.671819] BTRFS warning (device dm-11: state EA): direct IO failed ino 455 rw 0,0 sector 0x133ef8 len 57344 err no 10
[17355.672557] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[17355.674152] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 6, rd 3, flush 0, corrupt 0, gen 0
[17355.674185] BTRFS warning (device dm-11: state EA): direct IO failed ino 257 rw 0,0 sector 0x135730 len 20480 err no 10
[17355.674751] BTRFS warning (device dm-11: state EA): Skipping commit of aborted transaction.
[17355.674756] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[17355.674863] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 6, rd 4, flush 0, corrupt 0, gen 0
[17355.675290] BTRFS warning (device dm-11: state EA): direct IO failed ino 258 rw 0,0 sector 0x132828 len 16384 err no 10
[17355.677826] BTRFS warning (device dm-11: state EA): direct IO failed ino 451 rw 0,0 sector 0x127df8 len 86016 err no 10
[17355.678585] BTRFS warning (device dm-11: state EA): direct IO failed ino 258 rw 0,0 sector 0x135528 len 73728 err no 10
[17355.679507] BTRFS warning (device dm-11: state EA): direct IO failed ino 257 rw 0,0 sector 0x135758 len 45056 err no 10
[17355.694015] BTRFS warning (device dm-11: state EA): direct IO failed ino 459 rw 0,0 sector 0x6fd8 len 12288 err no 10
[17355.694388] BTRFS warning (device dm-11: state EA): direct IO failed ino 515 rw 0,0 sector 0x131280 len 8192 err no 10
[17355.695402] BTRFS warning (device dm-11: state EA): direct IO failed ino 443 rw 0,0 sector 0x12bcf0 len 24576 err no 10
[17356.169143] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[17356.169151] BTRFS info (device dm-11): turning on async discard
[17356.169153] BTRFS info (device dm-11): disk space caching is enabled
[17356.173166] BTRFS info (device dm-11): start tree-log replay
[17357.238962] BTRFS: error (device dm-11) in btrfs_commit_transaction:2496: errno=-5 IO failure (Error while writing out transaction)
[17357.239663] BTRFS info (device dm-11: state E): forced readonly
[17357.239669] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[17357.239674] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[17357.240815] BTRFS warning (device dm-11: state EA): Skipping commit of aborted transaction.
[17357.240819] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[17357.244434] BTRFS warning (device dm-11: state EA): direct IO failed ino 257 rw 0,0 sector 0x1394f0 len 69632 err no 10
[17357.250288] BTRFS warning (device dm-11: state EA): direct IO failed ino 572 rw 0,0 sector 0x139620 len 16384 err no 10
[17357.257077] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[17357.266765] BTRFS warning (device dm-11: state EA): direct IO failed ino 257 rw 0,0 sector 0x139598 len 16384 err no 10
[17357.267092] BTRFS warning (device dm-11: state EA): direct IO failed ino 257 rw 0,0 sector 0x139510 len 16384 err no 10
[17357.295313] BTRFS warning (device dm-11: state EA): direct IO failed ino 555 rw 0,0 sector 0x138958 len 8192 err no 10
[17357.296954] BTRFS warning (device dm-11: state EA): direct IO failed ino 551 rw 0,0 sector 0x135560 len 12288 err no 10
[17357.300472] BTRFS warning (device dm-11: state EA): direct IO failed ino 540 rw 0,0 sector 0x1379e8 len 69632 err no 10
[17357.306074] BTRFS warning (device dm-11: state EA): direct IO failed ino 541 rw 0,0 sector 0x130768 len 4096 err no 10
[17357.771416] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[17357.771424] BTRFS info (device dm-11): turning on async discard
[17357.771426] BTRFS info (device dm-11): disk space caching is enabled
[17357.775625] BTRFS info (device dm-11): start tree-log replay
[17357.783125] ------------[ cut here ]------------
[17357.783203] WARNING: CPU: 0 PID: 2189993 at fs/btrfs/discard.c:604 btrfs_discard_update_discardable+0x98/0xb0
[17357.783211] 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 snd_hda_codec_generic iTCO_wdt iTCO_vendor_support snd_hda_intel snd_intel_dspcfg snd_hda_codec snd_hwdep snd_hda_core intel_rapl_common joydev i2c_i801 i2c_smbus snd_pcm lpc_ich snd_timer snd soundcore virtio_balloon zram ip_tables crct10dif_pclmul crc32_pclmul xfs crc32c_intel ghash_clmulni_intel serio_raw qemu_fw_cfg
[17357.783326] CPU: 0 PID: 2189993 Comm: kworker/u4:6 Tainted: G        W         5.19.0-rc8+ #792
[17357.783330] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.13.0-2.fc32 04/01/2014
[17357.783333] Workqueue: btrfs-cache btrfs_work_helper
[17357.783340] RIP: 0010:btrfs_discard_update_discardable+0x98/0xb0
[17357.783345] 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
[17357.783348] RSP: 0018:ffffa09c4774bad0 EFLAGS: 00010246
[17357.783353] RAX: 0000000000000000 RBX: ffff9032028cc600 RCX: 0000000000000001
[17357.783356] RDX: 0000000000000000 RSI: ffffffffae807c5b RDI: ffffffffae8a831e
[17357.783359] RBP: ffff90320fb9c000 R08: 0000000000000000 R09: 0000000080270020
[17357.783362] R10: ffff9032050d3908 R11: 00000000007c9f00 R12: ffff90320fa7d810
[17357.783365] R13: ffff90321f6bcf40 R14: ffff90320fb9c000 R15: ffff903203086d90
[17357.783368] FS:  0000000000000000(0000) GS:ffff90327bc00000(0000) knlGS:0000000000000000
[17357.783371] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[17357.783374] CR2: 00007f70341fe240 CR3: 000000011fb8e004 CR4: 0000000000370ef0
[17357.783380] Call Trace:
[17357.783383]  
[17357.783390]  __btrfs_remove_free_space_cache+0x27/0x30
[17357.783395]  load_free_space_cache+0xad2/0xaf0
[17357.783474]  caching_thread+0x40b/0x650
[17357.783489]  ? lock_release+0x137/0x2d0
[17357.783501]  btrfs_work_helper+0xf2/0x3e0
[17357.783505]  ? lock_is_held_type+0xe2/0x140
[17357.783518]  process_one_work+0x271/0x590
[17357.783533]  ? process_one_work+0x590/0x590
[17357.783538]  worker_thread+0x52/0x3b0
[17357.783546]  ? process_one_work+0x590/0x590
[17357.783550]  kthread+0xf0/0x120
[17357.783554]  ? kthread_complete_and_exit+0x20/0x20
[17357.783562]  ret_from_fork+0x1f/0x30
[17357.783586]  
[17357.783589] irq event stamp: 148937
[17357.783591] hardirqs last  enabled at (148943): [] __up_console_sem+0x5e/0x70
[17357.783596] hardirqs last disabled at (148948): [] __up_console_sem+0x43/0x70
[17357.783599] softirqs last  enabled at (148380): [] __irq_exit_rcu+0xeb/0x160
[17357.783604] softirqs last disabled at (148349): [] __irq_exit_rcu+0xeb/0x160
[17357.783636] ---[ end trace 0000000000000000 ]---
[17357.783640] BTRFS warning (device dm-11): block group 298844160 has wrong amount of free space
[17357.783688] BTRFS warning (device dm-11): failed to load free space cache for block group 298844160, rebuilding it now
[17360.024912] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[17360.024929] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[17360.024935] BTRFS error (device dm-11): error writing primary super block to device 1
[17360.024939] BTRFS: error (device dm-11) in write_all_supers:4342: errno=-5 IO failure (1 errors while writing supers)
[17360.025729] BTRFS info (device dm-11: state E): forced readonly
[17360.025734] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[17360.025737] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[17360.030864] BTRFS warning (device dm-11: state EA): direct IO failed ino 630 rw 0,0 sector 0x144bf0 len 4096 err no 10
[17360.030922] BTRFS warning (device dm-11: state EA): direct IO failed ino 630 rw 0,0 sector 0x1419b0 len 28672 err no 10
[17360.035128] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[17360.053998] BTRFS warning (device dm-11: state EA): direct IO failed ino 643 rw 0,0 sector 0x147db8 len 4096 err no 10
[17360.055031] BTRFS warning (device dm-11: state EA): direct IO failed ino 644 rw 0,0 sector 0x147f50 len 8192 err no 10
[17360.081422] BTRFS warning (device dm-11: state EA): direct IO failed ino 631 rw 0,0 sector 0x1411d8 len 4096 err no 10
[17360.082829] BTRFS warning (device dm-11: state EA): direct IO failed ino 611 rw 0,0 sector 0x13d080 len 8192 err no 10
[17360.579594] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[17360.579643] BTRFS info (device dm-11): turning on async discard
[17360.579647] BTRFS info (device dm-11): disk space caching is enabled
[17360.585152] BTRFS info (device dm-11): start tree-log replay
[17360.741371] btrfs_dev_stat_inc_and_print: 41 callbacks suppressed
[17360.741376] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 0, rd 1, flush 0, corrupt 0, gen 0
[17360.743701] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 0, rd 2, flush 0, corrupt 0, gen 0
[17360.744086] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 0, rd 3, flush 0, corrupt 0, gen 0
[17360.744203] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 0, rd 4, flush 0, corrupt 0, gen 0
[17360.744449] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 0, rd 5, flush 0, corrupt 0, gen 0
[17360.744488] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 0, rd 6, flush 0, corrupt 0, gen 0
[17360.744492] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 1, rd 6, flush 0, corrupt 0, gen 0
[17360.744504] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 2, rd 6, flush 0, corrupt 0, gen 0
[17360.744588] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 3, rd 6, flush 0, corrupt 0, gen 0
[17360.744593] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 4, rd 6, flush 0, corrupt 0, gen 0
[17360.751925] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[17360.776207] BTRFS: error (device dm-11: state A) in __btrfs_run_delayed_items:1182: errno=-5 IO failure
[17360.776790] BTRFS info (device dm-11: state EA): forced readonly
[17360.776794] BTRFS warning (device dm-11: state EA): Skipping commit of aborted transaction.
[17360.776796] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[17361.201523] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[17361.201531] BTRFS info (device dm-11): turning on async discard
[17361.201532] BTRFS info (device dm-11): disk space caching is enabled
[17363.273274] BTRFS warning (device dm-11): direct IO failed ino 263 rw 1,34817 sector 0x1505a8 len 61440 err no 10
[17363.275541] BTRFS: error (device dm-11) in btrfs_commit_transaction:2496: errno=-5 IO failure (Error while writing out transaction)
[17363.276442] BTRFS info (device dm-11: state E): forced readonly
[17363.276448] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[17363.276452] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[17363.284070] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[17363.779891] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[17363.779902] BTRFS info (device dm-11): turning on async discard
[17363.779904] BTRFS info (device dm-11): disk space caching is enabled
[17363.785063] BTRFS info (device dm-11): start tree-log replay
[17365.923011] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[17365.923017] btrfs_dev_stat_inc_and_print: 19 callbacks suppressed
[17365.923019] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 1, rd 0, flush 0, corrupt 0, gen 0
[17365.923036] BTRFS error (device dm-11): error writing primary super block to device 1
[17365.923041] BTRFS: error (device dm-11) in write_all_supers:4342: errno=-5 IO failure (1 errors while writing supers)
[17365.923695] BTRFS info (device dm-11: state E): forced readonly
[17365.923730] BTRFS: error (device dm-11: state EA) in btrfs_sync_log:3203: errno=-5 IO failure
[17365.925359] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 2, rd 0, flush 0, corrupt 0, gen 0
[17365.927576] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 2, rd 1, flush 0, corrupt 0, gen 0
[17365.927611] BTRFS warning (device dm-11: state EA): Skipping commit of aborted transaction.
[17365.927614] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[17365.929003] BTRFS warning (device dm-11: state EA): direct IO failed ino 376 rw 0,0 sector 0x150e10 len 16384 err no 10
[17365.929086] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 3, rd 1, flush 0, corrupt 0, gen 0
[17365.930012] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 4, rd 1, flush 0, corrupt 0, gen 0
[17365.930035] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 5, rd 1, flush 0, corrupt 0, gen 0
[17365.930062] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 6, rd 1, flush 0, corrupt 0, gen 0
[17365.930133] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 7, rd 1, flush 0, corrupt 0, gen 0
[17365.930177] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 8, rd 1, flush 0, corrupt 0, gen 0
[17365.930190] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 9, rd 1, flush 0, corrupt 0, gen 0
[17365.933791] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[17365.959042] BTRFS warning (device dm-11: state EA): direct IO failed ino 266 rw 0,0 sector 0x152870 len 24576 err no 10
[17365.959722] BTRFS warning (device dm-11: state EA): direct IO failed ino 731 rw 0,0 sector 0x153598 len 20480 err no 10
[17365.959990] BTRFS warning (device dm-11: state EA): direct IO failed ino 275 rw 0,0 sector 0x7098 len 4096 err no 10
[17365.960051] BTRFS warning (device dm-11: state EA): direct IO failed ino 767 rw 0,0 sector 0x15cf10 len 45056 err no 10
[17365.961107] BTRFS warning (device dm-11: state EA): direct IO failed ino 735 rw 0,0 sector 0x7220 len 8192 err no 10
[17365.961468] BTRFS warning (device dm-11: state EA): direct IO failed ino 376 rw 0,0 sector 0x150e68 len 4096 err no 10
[17365.962105] BTRFS warning (device dm-11: state EA): direct IO failed ino 781 rw 0,0 sector 0x7510 len 8192 err no 10
[17365.963430] BTRFS warning (device dm-11: state EA): direct IO failed ino 731 rw 0,0 sector 0x153208 len 8192 err no 10
[17365.964378] BTRFS warning (device dm-11: state EA): direct IO failed ino 258 rw 0,0 sector 0x15d6e8 len 12288 err no 10
[17365.965413] BTRFS warning (device dm-11: state EA): direct IO failed ino 282 rw 0,0 sector 0x7550 len 4096 err no 10
[17365.965465] BTRFS warning (device dm-11: state EA): direct IO failed ino 754 rw 0,0 sector 0x154b68 len 57344 err no 10
[17366.474591] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[17366.474598] BTRFS info (device dm-11): turning on async discard
[17366.474600] BTRFS info (device dm-11): disk space caching is enabled
[17366.478170] BTRFS info (device dm-11): start tree-log replay
[17368.690025] BTRFS: error (device dm-11) in btrfs_commit_transaction:2496: errno=-5 IO failure (Error while writing out transaction)
[17368.690292] BTRFS: error (device dm-11: state A) in btrfs_create_new_inode:6432: errno=-5 IO failure
[17368.691128] BTRFS info (device dm-11: state EA): forced readonly
[17368.691783] BTRFS warning (device dm-11: state EA): Skipping commit of aborted transaction.
[17368.691786] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[17368.703732] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[17369.239584] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[17369.239594] BTRFS info (device dm-11): turning on async discard
[17369.239597] BTRFS info (device dm-11): disk space caching is enabled
[17369.265722] BTRFS info (device dm-11): the free space cache file (298844160) is invalid, skip it
[17370.297635] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[17370.297650] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[17370.297660] BTRFS error (device dm-11): error writing primary super block to device 1
[17370.297663] BTRFS: error (device dm-11) in write_all_supers:4342: errno=-5 IO failure (1 errors while writing supers)
[17370.298302] BTRFS info (device dm-11: state E): forced readonly
[17370.298313] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[17370.298317] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[17370.298328] BTRFS: error (device dm-11: state EA) in btrfs_sync_log:3192: errno=-5 IO failure
[17370.301126] BTRFS warning (device dm-11: state EA): direct IO failed ino 894 rw 0,0 sector 0x16e9e8 len 20480 err no 10
[17370.301143] BTRFS warning (device dm-11: state EA): Skipping commit of aborted transaction.
[17370.301171] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[17370.302344] BTRFS warning (device dm-11: state EA): direct IO failed ino 955 rw 0,0 sector 0x1777c8 len 8192 err no 10
[17370.314673] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[17370.324608] BTRFS warning (device dm-11: state EA): direct IO failed ino 257 rw 0,0 sector 0x174528 len 16384 err no 10
[17370.325209] BTRFS warning (device dm-11: state EA): direct IO failed ino 258 rw 0,0 sector 0x176fe0 len 49152 err no 10
[17370.328793] BTRFS warning (device dm-11: state EA): direct IO failed ino 911 rw 0,0 sector 0x175080 len 53248 err no 10
[17370.365213] BTRFS warning (device dm-11: state EA): direct IO failed ino 264 rw 0,0 sector 0x1779f0 len 20480 err no 10
[17370.368385] BTRFS warning (device dm-11: state EA): direct IO failed ino 902 rw 0,0 sector 0x170718 len 28672 err no 10
[17370.369043] BTRFS warning (device dm-11: state EA): direct IO failed ino 911 rw 0,0 sector 0x177a58 len 24576 err no 10
[17370.369560] BTRFS warning (device dm-11: state EA): direct IO failed ino 967 rw 0,0 sector 0x1788b8 len 28672 err no 10
[17370.371680] BTRFS warning (device dm-11: state EA): direct IO failed ino 955 rw 0,0 sector 0x177778 len 40960 err no 10
[17370.373986] BTRFS warning (device dm-11: state EA): direct IO failed ino 928 rw 0,0 sector 0x1736a0 len 49152 err no 10
[17370.375093] BTRFS warning (device dm-11: state EA): direct IO failed ino 895 rw 0,0 sector 0x16dba8 len 12288 err no 10
[17370.847144] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[17370.847154] BTRFS info (device dm-11): turning on async discard
[17370.847157] BTRFS info (device dm-11): disk space caching is enabled
[17370.853875] BTRFS info (device dm-11): start tree-log replay
[17370.857332] BTRFS warning (device dm-11): block group 30408704 has wrong amount of free space
[17370.857354] BTRFS warning (device dm-11): failed to load free space cache for block group 30408704, rebuilding it now
[17372.980935] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[17372.980941] btrfs_dev_stat_inc_and_print: 40 callbacks suppressed
[17372.980943] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 1, rd 0, flush 0, corrupt 0, gen 0
[17372.980953] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[17372.980956] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 2, rd 0, flush 0, corrupt 0, gen 0
[17372.980966] BTRFS error (device dm-11): error writing primary super block to device 1
[17372.980968] BTRFS: error (device dm-11) in write_all_supers:4342: errno=-5 IO failure (1 errors while writing supers)
[17372.981701] BTRFS info (device dm-11: state E): forced readonly
[17372.981708] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[17372.981718] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[17372.985739] BTRFS warning (device dm-11: state EA): Skipping commit of aborted transaction.
[17372.985747] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[17372.987714] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 2, rd 1, flush 0, corrupt 0, gen 0
[17372.987739] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 2, rd 2, flush 0, corrupt 0, gen 0
[17372.987739] BTRFS warning (device dm-11: state EA): direct IO failed ino 979 rw 0,0 sector 0x17bad8 len 4096 err no 10
[17372.987819] BTRFS warning (device dm-11: state EA): direct IO failed ino 979 rw 0,0 sector 0x155410 len 4096 err no 10
[17372.992092] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 3, rd 2, flush 0, corrupt 0, gen 0
[17372.992626] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 4, rd 2, flush 0, corrupt 0, gen 0
[17372.992804] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 5, rd 2, flush 0, corrupt 0, gen 0
[17372.992858] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 6, rd 2, flush 0, corrupt 0, gen 0
[17372.993088] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 7, rd 2, flush 0, corrupt 0, gen 0
[17372.993121] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 8, rd 2, flush 0, corrupt 0, gen 0
[17372.993990] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[17373.009879] BTRFS warning (device dm-11: state EA): direct IO failed ino 258 rw 0,0 sector 0x180aa8 len 4096 err no 10
[17373.011114] BTRFS warning (device dm-11: state EA): direct IO failed ino 974 rw 0,0 sector 0x178ba0 len 8192 err no 10
[17373.012234] BTRFS warning (device dm-11: state EA): direct IO failed ino 258 rw 0,0 sector 0x180a98 len 12288 err no 10
[17373.014349] BTRFS warning (device dm-11: state EA): direct IO failed ino 468 rw 0,0 sector 0x181dd0 len 28672 err no 10
[17373.015174] BTRFS warning (device dm-11: state EA): direct IO failed ino 468 rw 0,0 sector 0x1806c0 len 49152 err no 10
[17373.015201] BTRFS warning (device dm-11: state EA): direct IO failed ino 468 rw 0,0 sector 0x15c668 len 4096 err no 10
[17373.015209] BTRFS warning (device dm-11: state EA): direct IO failed ino 468 rw 0,0 sector 0x1807c8 len 8192 err no 10
[17373.505061] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[17373.505070] BTRFS info (device dm-11): turning on async discard
[17373.505072] BTRFS info (device dm-11): disk space caching is enabled
[17373.565453] BTRFS: error (device dm-11: state A) in do_free_extent_accounting:2848: errno=-5 IO failure
[17373.566563] BTRFS info (device dm-11: state EA): forced readonly
[17373.566594] BTRFS: error (device dm-11: state EA) in btrfs_run_delayed_refs:2141: errno=-5 IO failure
[17373.567554] BTRFS warning (device dm-11: state EA): Skipping commit of aborted transaction.
[17373.567560] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[17373.572151] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[17374.042403] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[17374.042412] BTRFS info (device dm-11): turning on async discard
[17374.042414] BTRFS info (device dm-11): disk space caching is enabled
[17375.115971] BTRFS warning (device dm-11): direct IO failed ino 257 rw 1,34817 sector 0x187260 len 122880 err no 10
[17375.118654] BTRFS: error (device dm-11) in btrfs_commit_transaction:2496: errno=-5 IO failure (Error while writing out transaction)
[17375.119277] BTRFS info (device dm-11: state E): forced readonly
[17375.119281] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[17375.119283] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[17375.127553] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[17375.645327] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[17375.645334] BTRFS info (device dm-11): turning on async discard
[17375.645336] BTRFS info (device dm-11): disk space caching is enabled
[17375.675280] BTRFS info (device dm-11): the free space cache file (298844160) is invalid, skip it
[17377.706313] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[17377.706337] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[17377.706345] BTRFS error (device dm-11): error writing primary super block to device 1
[17377.706349] BTRFS: error (device dm-11) in write_all_supers:4342: errno=-5 IO failure (1 errors while writing supers)
[17377.707221] BTRFS info (device dm-11: state E): forced readonly
[17377.707226] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[17377.707229] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[17377.711105] BTRFS warning (device dm-11: state EA): direct IO failed ino 258 rw 0,0 sector 0x18efe8 len 8192 err no 10
[17377.712997] BTRFS warning (device dm-11: state EA): direct IO failed ino 1086 rw 0,0 sector 0x190560 len 4096 err no 10
[17377.715515] BTRFS warning (device dm-11: state EA): direct IO failed ino 1091 rw 0,0 sector 0x190728 len 53248 err no 10
[17377.715517] BTRFS warning (device dm-11: state EA): Skipping commit of aborted transaction.
[17377.715536] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[17377.719147] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[17377.735150] BTRFS warning (device dm-11: state EA): direct IO failed ino 258 rw 0,0 sector 0x18c3e0 len 16384 err no 10
[17377.755968] BTRFS warning (device dm-11: state EA): direct IO failed ino 1081 rw 0,0 sector 0x18cee8 len 12288 err no 10
[17377.755985] BTRFS warning (device dm-11: state EA): direct IO failed ino 258 rw 0,0 sector 0x1907f8 len 57344 err no 10
[17377.756305] BTRFS warning (device dm-11: state EA): direct IO failed ino 1086 rw 0,0 sector 0x18e598 len 28672 err no 10
[17377.757997] BTRFS warning (device dm-11: state EA): direct IO failed ino 1086 rw 0,0 sector 0x153300 len 4096 err no 10
[17377.758018] BTRFS warning (device dm-11: state EA): direct IO failed ino 1086 rw 0,0 sector 0x156760 len 4096 err no 10
[17377.758027] BTRFS warning (device dm-11: state EA): direct IO failed ino 1086 rw 0,0 sector 0x1907b0 len 20480 err no 10
[17378.257575] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[17378.257585] BTRFS info (device dm-11): turning on async discard
[17378.257588] BTRFS info (device dm-11): disk space caching is enabled
[17378.263488] BTRFS info (device dm-11): start tree-log replay
[17379.504062] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[17379.504068] btrfs_dev_stat_inc_and_print: 127 callbacks suppressed
[17379.504070] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 1, rd 0, flush 0, corrupt 0, gen 0
[17379.504083] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[17379.504086] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 2, rd 0, flush 0, corrupt 0, gen 0
[17379.504091] BTRFS error (device dm-11): error writing primary super block to device 1
[17379.504095] BTRFS: error (device dm-11) in write_all_supers:4342: errno=-5 IO failure (1 errors while writing supers)
[17379.504797] BTRFS info (device dm-11: state E): forced readonly
[17379.504802] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[17379.504812] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[17379.507128] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 2, rd 1, flush 0, corrupt 0, gen 0
[17379.508966] BTRFS warning (device dm-11: state EA): direct IO failed ino 1141 rw 0,0 sector 0x93b8 len 4096 err no 10
[17379.509108] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 3, rd 1, flush 0, corrupt 0, gen 0
[17379.511801] BTRFS warning (device dm-11: state EA): Skipping commit of aborted transaction.
[17379.511809] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[17379.516867] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[17379.538866] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 3, rd 2, flush 0, corrupt 0, gen 0
[17379.538886] BTRFS warning (device dm-11: state EA): direct IO failed ino 1122 rw 0,0 sector 0x1974e8 len 12288 err no 10
[17379.539075] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 3, rd 3, flush 0, corrupt 0, gen 0
[17379.539088] BTRFS warning (device dm-11: state EA): direct IO failed ino 267 rw 0,0 sector 0x197228 len 20480 err no 10
[17379.539253] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 3, rd 4, flush 0, corrupt 0, gen 0
[17379.539268] BTRFS warning (device dm-11: state EA): direct IO failed ino 1131 rw 0,0 sector 0x197460 len 12288 err no 10
[17379.539275] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 3, rd 5, flush 0, corrupt 0, gen 0
[17379.539286] BTRFS warning (device dm-11: state EA): direct IO failed ino 1131 rw 0,0 sector 0x192880 len 4096 err no 10
[17379.561772] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 3, rd 6, flush 0, corrupt 0, gen 0
[17379.561870] BTRFS warning (device dm-11: state EA): direct IO failed ino 1096 rw 0,0 sector 0x191590 len 8192 err no 10
[17379.563836] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 3, rd 7, flush 0, corrupt 0, gen 0
[17379.563857] BTRFS warning (device dm-11: state EA): direct IO failed ino 1123 rw 0,0 sector 0x197250 len 102400 err no 10
[17380.035090] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[17380.035098] BTRFS info (device dm-11): turning on async discard
[17380.035100] BTRFS info (device dm-11): disk space caching is enabled
[17380.040275] BTRFS info (device dm-11): start tree-log replay
[17381.167165] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[17381.167172] BTRFS error (device dm-11): error writing primary super block to device 1
[17381.167175] BTRFS: error (device dm-11) in write_all_supers:4342: errno=-5 IO failure (1 errors while writing supers)
[17381.167996] BTRFS info (device dm-11: state E): forced readonly
[17381.168001] BTRFS: error (device dm-11: state EA) in btrfs_sync_log:3203: errno=-5 IO failure
[17381.169241] BTRFS: error (device dm-11: state EA) in cache_save_setup:2804: errno=-5 IO failure
[17381.174595] BTRFS: error (device dm-11: state EA) in btrfs_start_dirty_block_groups:3051: errno=-5 IO failure
[17381.182310] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[17381.746380] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[17381.746388] BTRFS info (device dm-11): turning on async discard
[17381.746390] BTRFS info (device dm-11): disk space caching is enabled
[17381.768601] ------------[ cut here ]------------
[17381.768666] WARNING: CPU: 0 PID: 2172784 at fs/btrfs/discard.c:604 btrfs_discard_update_discardable+0x98/0xb0
[17381.768673] 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 snd_hda_codec_generic iTCO_wdt iTCO_vendor_support snd_hda_intel snd_intel_dspcfg snd_hda_codec snd_hwdep snd_hda_core intel_rapl_common joydev i2c_i801 i2c_smbus snd_pcm lpc_ich snd_timer snd soundcore virtio_balloon zram ip_tables crct10dif_pclmul crc32_pclmul xfs crc32c_intel ghash_clmulni_intel serio_raw qemu_fw_cfg
[17381.768735] CPU: 0 PID: 2172784 Comm: kworker/u4:1 Tainted: G        W         5.19.0-rc8+ #792
[17381.768738] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.13.0-2.fc32 04/01/2014
[17381.768740] Workqueue: btrfs-cache btrfs_work_helper
[17381.768744] RIP: 0010:btrfs_discard_update_discardable+0x98/0xb0
[17381.768747] 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
[17381.768749] RSP: 0018:ffffa09c41f0bad0 EFLAGS: 00010246
[17381.768752] RAX: 0000000000000000 RBX: ffff903225ba9e00 RCX: 0000000000000001
[17381.768754] RDX: 0000000000000000 RSI: ffffffffae807c5b RDI: ffffffffae8a831e
[17381.768756] RBP: ffff90322dc58000 R08: 0000000000000000 R09: 0000000000001000
[17381.768757] R10: ffff903104ea0288 R11: 00000000007ce800 R12: ffff903251e4d810
[17381.768759] R13: ffff90321f6c20b0 R14: ffff90322dc58000 R15: ffff903203086850
[17381.768761] FS:  0000000000000000(0000) GS:ffff90327bc00000(0000) knlGS:0000000000000000
[17381.768762] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[17381.768764] CR2: 0000000001bdc438 CR3: 0000000113d4e002 CR4: 0000000000370ef0
[17381.768768] Call Trace:
[17381.768770]  
[17381.768774]  __btrfs_remove_free_space_cache+0x27/0x30
[17381.768779]  load_free_space_cache+0xad2/0xaf0
[17381.768819]  caching_thread+0x40b/0x650
[17381.768827]  ? lock_release+0x137/0x2d0
[17381.768834]  btrfs_work_helper+0xf2/0x3e0
[17381.768837]  ? lock_is_held_type+0xe2/0x140
[17381.768844]  process_one_work+0x271/0x590
[17381.768853]  ? process_one_work+0x590/0x590
[17381.768856]  worker_thread+0x52/0x3b0
[17381.768860]  ? process_one_work+0x590/0x590
[17381.768863]  kthread+0xf0/0x120
[17381.768866]  ? kthread_complete_and_exit+0x20/0x20
[17381.768871]  ret_from_fork+0x1f/0x30
[17381.768884]  
[17381.768886] irq event stamp: 2914275
[17381.768887] hardirqs last  enabled at (2914281): [] __up_console_sem+0x5e/0x70
[17381.768890] hardirqs last disabled at (2914286): [] __up_console_sem+0x43/0x70
[17381.768892] softirqs last  enabled at (2913704): [] __irq_exit_rcu+0xeb/0x160
[17381.768895] softirqs last disabled at (2913615): [] __irq_exit_rcu+0xeb/0x160
[17381.768898] ---[ end trace 0000000000000000 ]---
[17381.768900] BTRFS warning (device dm-11): block group 298844160 has wrong amount of free space
[17381.768915] BTRFS warning (device dm-11): failed to load free space cache for block group 298844160, rebuilding it now
[17383.859484] BTRFS: error (device dm-11) in btrfs_commit_transaction:2496: errno=-5 IO failure (Error while writing out transaction)
[17383.860301] BTRFS info (device dm-11: state E): forced readonly
[17383.860306] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[17383.860310] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[17383.871989] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[17384.378167] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[17384.378175] BTRFS info (device dm-11): turning on async discard
[17384.378177] BTRFS info (device dm-11): disk space caching is enabled
[17386.444560] btrfs_dev_stat_inc_and_print: 55 callbacks suppressed
[17386.444565] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 1, rd 0, flush 0, corrupt 0, gen 0
[17386.444630] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 2, rd 0, flush 0, corrupt 0, gen 0
[17386.444647] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 3, rd 0, flush 0, corrupt 0, gen 0
[17386.444654] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 4, rd 0, flush 0, corrupt 0, gen 0
[17386.444722] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 5, rd 0, flush 0, corrupt 0, gen 0
[17386.444739] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 6, rd 0, flush 0, corrupt 0, gen 0
[17386.444745] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 7, rd 0, flush 0, corrupt 0, gen 0
[17386.444841] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 8, rd 0, flush 0, corrupt 0, gen 0
[17386.444847] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 9, rd 0, flush 0, corrupt 0, gen 0
[17386.444860] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 10, rd 0, flush 0, corrupt 0, gen 0
[17386.446710] BTRFS: error (device dm-11) in btrfs_commit_transaction:2496: errno=-5 IO failure (Error while writing out transaction)
[17386.447731] BTRFS info (device dm-11: state E): forced readonly
[17386.447738] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[17386.447742] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[17386.448494] BTRFS warning (device dm-11: state EA): direct IO failed ino 1150 rw 0,0 sector 0x1b62d8 len 16384 err no 10
[17386.455282] BTRFS warning (device dm-11: state EA): Skipping commit of aborted transaction.
[17386.455289] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[17386.461638] BTRFS warning (device dm-11: state EA): direct IO failed ino 257 rw 0,0 sector 0x1b3238 len 81920 err no 10
[17386.461980] BTRFS warning (device dm-11: state EA): direct IO failed ino 258 rw 0,0 sector 0x1b6860 len 16384 err no 10
[17386.463219] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[17386.464692] BTRFS warning (device dm-11: state EA): direct IO failed ino 259 rw 0,0 sector 0xa108 len 4096 err no 10
[17386.464775] BTRFS warning (device dm-11: state EA): direct IO failed ino 1262 rw 0,0 sector 0x1adbc0 len 61440 err no 10
[17386.469223] BTRFS warning (device dm-11: state EA): direct IO failed ino 267 rw 0,0 sector 0x1b6778 len 49152 err no 10
[17386.482684] BTRFS warning (device dm-11: state EA): direct IO failed ino 1268 rw 0,0 sector 0x71f8 len 4096 err no 10
[17386.483907] BTRFS warning (device dm-11: state EA): direct IO failed ino 259 rw 0,0 sector 0xa0e8 len 20480 err no 10
[17386.486900] BTRFS warning (device dm-11: state EA): direct IO failed ino 257 rw 0,0 sector 0x1b33c0 len 8192 err no 10
[17386.985997] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[17386.986004] BTRFS info (device dm-11): turning on async discard
[17386.986006] BTRFS info (device dm-11): disk space caching is enabled
[17389.028540] BTRFS warning (device dm-11): direct IO failed ino 1035 rw 1,34817 sector 0x78b0 len 4096 err no 10
[17389.028762] BTRFS warning (device dm-11): direct IO failed ino 1306 rw 1,34817 sector 0x1c5208 len 45056 err no 10
[17389.035027] BTRFS: error (device dm-11) in btrfs_commit_transaction:2496: errno=-5 IO failure (Error while writing out transaction)
[17389.035808] BTRFS info (device dm-11: state E): forced readonly
[17389.035814] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[17389.035817] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[17389.037390] BTRFS warning (device dm-11: state EA): direct IO failed ino 258 rw 0,0 sector 0x1c0d70 len 24576 err no 10
[17389.037973] BTRFS warning (device dm-11: state EA): Skipping commit of aborted transaction.
[17389.037978] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[17389.041068] BTRFS warning (device dm-11: state EA): direct IO failed ino 1306 rw 0,0 sector 0x1c03f8 len 8192 err no 10
[17389.042987] BTRFS warning (device dm-11: state EA): direct IO failed ino 258 rw 0,0 sector 0x1c0150 len 8192 err no 10
[17389.043032] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[17389.045789] BTRFS warning (device dm-11: state EA): direct IO failed ino 258 rw 0,0 sector 0x1c0c38 len 8192 err no 10
[17389.064898] BTRFS warning (device dm-11: state EA): direct IO failed ino 1035 rw 0,0 sector 0x1bcf68 len 61440 err no 10
[17389.066735] BTRFS warning (device dm-11: state EA): direct IO failed ino 261 rw 0,0 sector 0x1c32b0 len 36864 err no 10
[17389.068108] BTRFS warning (device dm-11: state EA): direct IO failed ino 1296 rw 0,0 sector 0x1bd1f0 len 4096 err no 10
[17389.069596] BTRFS warning (device dm-11: state EA): direct IO failed ino 258 rw 0,0 sector 0x1c0d10 len 8192 err no 10
[17389.069878] BTRFS warning (device dm-11: state EA): direct IO failed ino 262 rw 0,0 sector 0x1c3280 len 24576 err no 10
[17389.070098] BTRFS warning (device dm-11: state EA): direct IO failed ino 262 rw 0,0 sector 0x1c0bb8 len 4096 err no 10
[17389.071254] BTRFS warning (device dm-11: state EA): direct IO failed ino 263 rw 0,0 sector 0x1be0f8 len 36864 err no 10
[17389.559433] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[17389.559443] BTRFS info (device dm-11): turning on async discard
[17389.559445] BTRFS info (device dm-11): disk space caching is enabled
[17389.564688] BTRFS info (device dm-11): start tree-log replay
[17389.699558] BTRFS warning (device dm-11): direct IO failed ino 540 rw 1,34817 sector 0x1c4800 len 12288 err no 10
[17389.702030] BTRFS: error (device dm-11: state A) in do_free_extent_accounting:2848: errno=-5 IO failure
[17389.702824] BTRFS info (device dm-11: state EA): forced readonly
[17389.702833] BTRFS: error (device dm-11: state EA) in btrfs_run_delayed_refs:2141: errno=-5 IO failure
[17389.713654] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[17390.168751] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[17390.168759] BTRFS info (device dm-11): turning on async discard
[17390.168762] BTRFS info (device dm-11): disk space caching is enabled
[17391.221667] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[17391.221682] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[17391.221692] BTRFS error (device dm-11): error writing primary super block to device 1
[17391.221695] BTRFS: error (device dm-11) in write_all_supers:4342: errno=-5 IO failure (1 errors while writing supers)
[17391.222277] BTRFS info (device dm-11: state E): forced readonly
[17391.222282] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[17391.222285] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[17391.227370] BTRFS warning (device dm-11: state EA): direct IO failed ino 1323 rw 0,0 sector 0x1c8408 len 69632 err no 10
[17391.230873] BTRFS warning (device dm-11: state EA): direct IO failed ino 1323 rw 0,0 sector 0x7870 len 20480 err no 10
[17391.237038] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[17391.266838] BTRFS warning (device dm-11: state EA): direct IO failed ino 1323 rw 0,0 sector 0x1c84f8 len 4096 err no 10
[17391.740888] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[17391.740895] BTRFS info (device dm-11): turning on async discard
[17391.740897] BTRFS info (device dm-11): disk space caching is enabled
[17391.787519] btrfs_dev_stat_inc_and_print: 517 callbacks suppressed
[17391.787523] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 1, rd 0, flush 0, corrupt 0, gen 0
[17391.787529] BTRFS warning (device dm-11): direct IO failed ino 1338 rw 1,34817 sector 0x136bb8 len 114688 err no 10
[17391.787549] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 1, rd 1, flush 0, corrupt 0, gen 0
[17391.788276] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 2, rd 1, flush 0, corrupt 0, gen 0
[17391.788286] BTRFS warning (device dm-11): direct IO failed ino 1325 rw 1,34817 sector 0x1c9cf0 len 118784 err no 10
[17391.789513] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 3, rd 1, flush 0, corrupt 0, gen 0
[17391.789814] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 3, rd 2, flush 0, corrupt 0, gen 0
[17391.790566] BTRFS: error (device dm-11: state A) in do_free_extent_accounting:2848: errno=-5 IO failure
[17391.791043] BTRFS error (device dm-11: state A): bdev /dev/mapper/error-test errs: wr 4, rd 2, flush 0, corrupt 0, gen 0
[17391.791237] BTRFS info (device dm-11: state EA): forced readonly
[17391.791243] BTRFS warning (device dm-11: state EA): direct IO failed ino 1337 rw 1,34817 sector 0x1c9d50 len 36864 err no 10
[17391.791305] BTRFS: error (device dm-11: state EA) in btrfs_run_delayed_refs:2141: errno=-5 IO failure
[17391.792429] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 4, rd 3, flush 0, corrupt 0, gen 0
[17391.792818] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 4, rd 4, flush 0, corrupt 0, gen 0
[17391.793429] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 4, rd 5, flush 0, corrupt 0, gen 0
[17391.793519] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 4, rd 6, flush 0, corrupt 0, gen 0
[17391.808251] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[17391.854531] BTRFS warning (device dm-11: state EA): direct IO failed ino 540 rw 0,0 sector 0x133b80 len 12288 err no 10
[17391.856233] BTRFS warning (device dm-11: state EA): direct IO failed ino 1339 rw 0,0 sector 0x133be0 len 28672 err no 10
[17392.339012] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[17392.339021] BTRFS info (device dm-11): turning on async discard
[17392.339023] BTRFS info (device dm-11): disk space caching is enabled
[17392.373406] BTRFS error (device dm-11): error reading free space cache
[17392.373422] BTRFS warning (device dm-11): failed to load free space cache for block group 298844160, rebuilding it now
[17392.378926] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[17392.404550] BTRFS: error (device dm-11: state A) in __btrfs_free_extent:3078: errno=-5 IO failure
[17392.405028] BTRFS info (device dm-11: state EA): forced readonly
[17392.405033] BTRFS: error (device dm-11: state EA) in btrfs_run_delayed_refs:2141: errno=-5 IO failure
[17392.860615] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[17392.860624] BTRFS info (device dm-11): turning on async discard
[17392.860626] BTRFS info (device dm-11): disk space caching is enabled
[17393.890577] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[17393.890592] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[17393.890599] BTRFS error (device dm-11): error writing primary super block to device 1
[17393.890603] BTRFS: error (device dm-11) in write_all_supers:4342: errno=-5 IO failure (1 errors while writing supers)
[17393.891180] BTRFS info (device dm-11: state E): forced readonly
[17393.891185] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[17393.891188] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[17393.895916] BTRFS warning (device dm-11: state EA): Skipping commit of aborted transaction.
[17393.895921] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[17393.903427] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[17393.916070] BTRFS warning (device dm-11: state EA): direct IO failed ino 262 rw 0,0 sector 0x1cd3b8 len 57344 err no 10
[17393.939073] BTRFS warning (device dm-11: state EA): direct IO failed ino 258 rw 0,0 sector 0x1cf2d0 len 69632 err no 10
[17393.939556] BTRFS warning (device dm-11: state EA): direct IO failed ino 1342 rw 0,0 sector 0xa7a8 len 16384 err no 10
[17393.941623] BTRFS warning (device dm-11: state EA): direct IO failed ino 1325 rw 0,0 sector 0x1ca798 len 16384 err no 10
[17393.945908] BTRFS warning (device dm-11: state EA): direct IO failed ino 730 rw 0,0 sector 0x75f8 len 16384 err no 10
[17394.399846] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[17394.399854] BTRFS info (device dm-11): turning on async discard
[17394.399856] BTRFS info (device dm-11): disk space caching is enabled
[17394.404179] BTRFS info (device dm-11): start tree-log replay
[17396.489665] BTRFS warning (device dm-11): direct IO failed ino 1361 rw 0,0 sector 0x1d6928 len 20480 err no 10
[17396.492027] BTRFS: error (device dm-11: state A) in __btrfs_free_extent:3078: errno=-5 IO failure
[17396.492785] BTRFS info (device dm-11: state EA): forced readonly
[17396.492805] BTRFS: error (device dm-11: state EA) in btrfs_run_delayed_refs:2141: errno=-5 IO failure
[17396.495429] BTRFS warning (device dm-11: state EA): direct IO failed ino 1362 rw 0,0 sector 0x1d0728 len 12288 err no 10
[17396.499475] BTRFS: error (device dm-11: state EA) in btrfs_commit_transaction:2496: errno=-5 IO failure (Error while writing out transaction)
[17396.500293] BTRFS warning (device dm-11: state EA): Skipping commit of aborted transaction.
[17396.500298] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[17396.500874] BTRFS: error (device dm-11: state EA) in btrfs_sync_log:3192: errno=-5 IO failure
[17396.501509] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[17396.502921] BTRFS warning (device dm-11: state EA): direct IO failed ino 259 rw 0,0 sector 0x1e15c0 len 73728 err no 10
[17396.519351] BTRFS warning (device dm-11: state EA): direct IO failed ino 1400 rw 0,0 sector 0x1e1a80 len 69632 err no 10
[17396.520000] BTRFS warning (device dm-11: state EA): direct IO failed ino 1361 rw 0,0 sector 0x1d1218 len 4096 err no 10
[17396.520524] BTRFS warning (device dm-11: state EA): direct IO failed ino 1361 rw 0,0 sector 0x1d1e98 len 40960 err no 10
[17396.521618] BTRFS warning (device dm-11: state EA): direct IO failed ino 1361 rw 0,0 sector 0x1d57e8 len 20480 err no 10
[17396.545006] BTRFS warning (device dm-11: state EA): direct IO failed ino 257 rw 0,0 sector 0x1df7a8 len 4096 err no 10
[17396.546033] BTRFS warning (device dm-11: state EA): direct IO failed ino 1417 rw 0,0 sector 0x1e1528 len 8192 err no 10
[17396.547839] BTRFS warning (device dm-11: state EA): direct IO failed ino 1367 rw 0,0 sector 0x1d4998 len 53248 err no 10
[17396.549055] BTRFS warning (device dm-11: state EA): direct IO failed ino 1417 rw 0,0 sector 0x1e1460 len 81920 err no 10
[17397.042907] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[17397.042916] BTRFS info (device dm-11): turning on async discard
[17397.042918] BTRFS info (device dm-11): disk space caching is enabled
[17397.064262] BTRFS info (device dm-11): the free space cache file (298844160) is invalid, skip it
[17398.092338] btrfs_dev_stat_inc_and_print: 150 callbacks suppressed
[17398.092341] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 1, rd 0, flush 0, corrupt 0, gen 0
[17398.092347] BTRFS warning (device dm-11): direct IO failed ino 1455 rw 1,34817 sector 0x1e8908 len 57344 err no 10
[17398.092360] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[17398.092372] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 2, rd 0, flush 0, corrupt 0, gen 0
[17398.092377] BTRFS error (device dm-11): error writing primary super block to device 1
[17398.092379] BTRFS: error (device dm-11) in write_all_supers:4342: errno=-5 IO failure (1 errors while writing supers)
[17398.092931] BTRFS info (device dm-11: state E): forced readonly
[17398.093607] BTRFS: error (device dm-11: state EA) in btrfs_sync_log:3203: errno=-5 IO failure
[17398.097521] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 2, rd 1, flush 0, corrupt 0, gen 0
[17398.097526] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 3, rd 1, flush 0, corrupt 0, gen 0
[17398.098539] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 4, rd 1, flush 0, corrupt 0, gen 0
[17398.098552] BTRFS warning (device dm-11: state EA): direct IO failed ino 1440 rw 0,0 sector 0x1e3c70 len 8192 err no 10
[17398.102514] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 4, rd 2, flush 0, corrupt 0, gen 0
[17398.102538] BTRFS warning (device dm-11: state EA): direct IO failed ino 1441 rw 0,0 sector 0x1e84b8 len 86016 err no 10
[17398.102600] BTRFS warning (device dm-11: state EA): Skipping commit of aborted transaction.
[17398.102604] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[17398.105292] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 4, rd 3, flush 0, corrupt 0, gen 0
[17398.105314] BTRFS warning (device dm-11: state EA): direct IO failed ino 1446 rw 0,0 sector 0x1e64c8 len 28672 err no 10
[17398.106146] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 4, rd 4, flush 0, corrupt 0, gen 0
[17398.106173] BTRFS warning (device dm-11: state EA): direct IO failed ino 1440 rw 0,0 sector 0x1e3e30 len 12288 err no 10
[17398.108825] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 4, rd 5, flush 0, corrupt 0, gen 0
[17398.108846] BTRFS warning (device dm-11: state EA): direct IO failed ino 1446 rw 0,0 sector 0x1e4e60 len 32768 err no 10
[17398.110187] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[17398.111900] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 4, rd 6, flush 0, corrupt 0, gen 0
[17398.111927] BTRFS warning (device dm-11: state EA): direct IO failed ino 1446 rw 0,0 sector 0x1e4e60 len 36864 err no 10
[17398.121917] BTRFS warning (device dm-11: state EA): direct IO failed ino 730 rw 0,0 sector 0x1e6db0 len 98304 err no 10
[17398.122269] BTRFS warning (device dm-11: state EA): direct IO failed ino 730 rw 0,0 sector 0x1d4528 len 16384 err no 10
[17398.125081] BTRFS warning (device dm-11: state EA): direct IO failed ino 1441 rw 0,0 sector 0x74c8 len 4096 err no 10
[17398.128000] BTRFS warning (device dm-11: state EA): direct IO failed ino 1441 rw 0,0 sector 0x1e7558 len 4096 err no 10
[17398.129932] BTRFS warning (device dm-11: state EA): direct IO failed ino 1440 rw 0,0 sector 0x1e3ed8 len 45056 err no 10
[17398.129967] BTRFS warning (device dm-11: state EA): direct IO failed ino 1440 rw 0,0 sector 0x1d3c48 len 4096 err no 10
[17398.131086] BTRFS warning (device dm-11: state EA): direct IO failed ino 1446 rw 0,0 sector 0x1e5008 len 12288 err no 10
[17398.132909] BTRFS warning (device dm-11: state EA): direct IO failed ino 1446 rw 0,0 sector 0x1e4e60 len 36864 err no 10
[17398.134085] BTRFS warning (device dm-11: state EA): direct IO failed ino 1446 rw 0,0 sector 0x1e77f8 len 4096 err no 10
[17398.135455] BTRFS warning (device dm-11: state EA): direct IO failed ino 1446 rw 0,0 sector 0x1d4af8 len 81920 err no 10
[17398.136661] BTRFS warning (device dm-11: state EA): direct IO failed ino 1446 rw 0,0 sector 0x7608 len 4096 err no 10
[17398.176643] BTRFS warning (device dm-11: state EA): direct IO failed ino 730 rw 0,0 sector 0x1e7f80 len 36864 err no 10
[17398.176653] BTRFS warning (device dm-11: state EA): direct IO failed ino 730 rw 0,0 sector 0x1e6d90 len 32768 err no 10
[17398.177188] BTRFS warning (device dm-11: state EA): direct IO failed ino 1440 rw 0,0 sector 0x1e3df8 len 16384 err no 10
[17398.177963] BTRFS warning (device dm-11: state EA): direct IO failed ino 1441 rw 0,0 sector 0x1e8518 len 28672 err no 10
[17398.662089] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[17398.662097] BTRFS info (device dm-11): turning on async discard
[17398.662099] BTRFS info (device dm-11): disk space caching is enabled
[17398.697702] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[17398.722580] BTRFS: error (device dm-11: state A) in __btrfs_free_extent:3078: errno=-5 IO failure
[17398.723098] BTRFS info (device dm-11: state EA): forced readonly
[17398.723104] BTRFS: error (device dm-11: state EA) in btrfs_run_delayed_refs:2141: errno=-5 IO failure
[17399.140433] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[17399.140441] BTRFS info (device dm-11): turning on async discard
[17399.140443] BTRFS info (device dm-11): disk space caching is enabled
[17399.172705] BTRFS error (device dm-11): error reading free space cache
[17399.172723] BTRFS warning (device dm-11): failed to load free space cache for block group 298844160, rebuilding it now
[17399.179317] BTRFS: error (device dm-11: state A) in do_free_extent_accounting:2848: errno=-5 IO failure
[17399.179880] BTRFS info (device dm-11: state EA): forced readonly
[17399.179885] BTRFS: error (device dm-11: state EA) in btrfs_run_delayed_refs:2141: errno=-5 IO failure
[17399.183557] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[17399.651899] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[17399.651911] BTRFS info (device dm-11): turning on async discard
[17399.651914] BTRFS info (device dm-11): disk space caching is enabled
[17399.688333] BTRFS error (device dm-11): error reading free space cache
[17399.688381] BTRFS warning (device dm-11): failed to load free space cache for block group 30408704, rebuilding it now
[17399.697016] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[17399.701189] BTRFS error (device dm-11): error reading free space cache
[17399.701195] BTRFS warning (device dm-11): failed to load free space cache for block group 298844160, rebuilding it now
[17399.701298] BTRFS warning (device dm-11): direct IO failed ino 1463 rw 1,34817 sector 0x117830 len 98304 err no 10
[17399.734726] BTRFS: error (device dm-11: state A) in __btrfs_free_extent:3078: errno=-5 IO failure
[17399.735340] BTRFS info (device dm-11: state EA): forced readonly
[17399.735347] BTRFS: error (device dm-11: state EA) in btrfs_run_delayed_refs:2141: errno=-5 IO failure
[17400.153791] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[17400.153799] BTRFS info (device dm-11): turning on async discard
[17400.153801] BTRFS info (device dm-11): disk space caching is enabled
[17402.283911] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[17402.283943] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[17402.283986] BTRFS error (device dm-11): error writing primary super block to device 1
[17402.283999] BTRFS: error (device dm-11) in write_all_supers:4342: errno=-5 IO failure (1 errors while writing supers)
[17402.285777] BTRFS info (device dm-11: state E): forced readonly
[17402.285790] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[17402.285820] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[17402.287340] BTRFS warning (device dm-11: state EA): Skipping commit of aborted transaction.
[17402.288284] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[17402.291637] BTRFS warning (device dm-11: state EA): direct IO failed ino 264 rw 0,0 sector 0x1f68a0 len 8192 err no 10
[17402.297940] BTRFS warning (device dm-11: state EA): direct IO failed ino 1501 rw 0,0 sector 0x1f45f0 len 40960 err no 10
[17402.303080] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[17402.316864] BTRFS warning (device dm-11: state EA): direct IO failed ino 259 rw 0,0 sector 0x1edbc0 len 12288 err no 10
[17402.339855] BTRFS warning (device dm-11: state EA): direct IO failed ino 257 rw 0,0 sector 0x1f44c8 len 61440 err no 10
[17402.340206] BTRFS warning (device dm-11: state EA): direct IO failed ino 1494 rw 0,0 sector 0x9160 len 4096 err no 10
[17402.340939] BTRFS warning (device dm-11: state EA): direct IO failed ino 257 rw 0,0 sector 0x1f44c8 len 53248 err no 10
[17402.341422] BTRFS warning (device dm-11: state EA): direct IO failed ino 1493 rw 0,0 sector 0x1f6860 len 32768 err no 10
[17402.341964] BTRFS warning (device dm-11: state EA): direct IO failed ino 259 rw 0,0 sector 0x1ec3e8 len 8192 err no 10
[17402.341981] BTRFS warning (device dm-11: state EA): direct IO failed ino 259 rw 0,0 sector 0x1ec3a0 len 45056 err no 10
[17402.342711] BTRFS warning (device dm-11: state EA): direct IO failed ino 1510 rw 0,0 sector 0x1f3df0 len 32768 err no 10
[17402.347586] BTRFS warning (device dm-11: state EA): direct IO failed ino 265 rw 0,0 sector 0x1f68b0 len 57344 err no 10
[17402.348990] BTRFS warning (device dm-11: state EA): direct IO failed ino 1470 rw 0,0 sector 0x1edf18 len 86016 err no 10
[17402.371658] BTRFS warning (device dm-11: state EA): direct IO failed ino 1501 rw 0,0 sector 0x1d4bb0 len 4096 err no 10
[17402.372735] BTRFS warning (device dm-11: state EA): direct IO failed ino 1475 rw 0,0 sector 0x1f29f8 len 20480 err no 10
[17402.372949] BTRFS warning (device dm-11: state EA): direct IO failed ino 1501 rw 0,0 sector 0x1f45b0 len 69632 err no 10
[17402.856497] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[17402.856509] BTRFS info (device dm-11): turning on async discard
[17402.856512] BTRFS info (device dm-11): disk space caching is enabled
[17402.887738] ------------[ cut here ]------------
[17402.887819] WARNING: CPU: 1 PID: 2189995 at fs/btrfs/discard.c:604 btrfs_discard_update_discardable+0x98/0xb0
[17402.887827] 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 snd_hda_codec_generic iTCO_wdt iTCO_vendor_support snd_hda_intel snd_intel_dspcfg snd_hda_codec snd_hwdep snd_hda_core intel_rapl_common joydev i2c_i801 i2c_smbus snd_pcm lpc_ich snd_timer snd soundcore virtio_balloon zram ip_tables crct10dif_pclmul crc32_pclmul xfs crc32c_intel ghash_clmulni_intel serio_raw qemu_fw_cfg
[17402.887948] CPU: 1 PID: 2189995 Comm: kworker/u4:8 Tainted: G        W         5.19.0-rc8+ #792
[17402.887952] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.13.0-2.fc32 04/01/2014
[17402.887954] Workqueue: btrfs-cache btrfs_work_helper
[17402.887960] RIP: 0010:btrfs_discard_update_discardable+0x98/0xb0
[17402.887964] 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
[17402.887966] RSP: 0000:ffffa09c47783ad0 EFLAGS: 00010246
[17402.887970] RAX: 0000000000000000 RBX: ffff903202938200 RCX: 0000000000000001
[17402.887972] RDX: 0000000000000000 RSI: ffffffffae807c5b RDI: ffffffffae8a831e
[17402.887975] RBP: ffff90321150c000 R08: 0000000000000000 R09: 0000000000001000
[17402.887978] R10: ffff90310d0cd3c0 R11: 00000000007d2d00 R12: ffff90320fa7f010
[17402.887980] R13: ffff90321f73c5f0 R14: ffff90321150c000 R15: ffff90322606d700
[17402.887983] FS:  0000000000000000(0000) GS:ffff90327bd00000(0000) knlGS:0000000000000000
[17402.887986] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[17402.887989] CR2: 00007f51674b4b80 CR3: 000000010282a005 CR4: 0000000000370ee0
[17402.887995] Call Trace:
[17402.887998]  
[17402.888004]  __btrfs_remove_free_space_cache+0x27/0x30
[17402.888010]  load_free_space_cache+0xad2/0xaf0
[17402.888077]  caching_thread+0x40b/0x650
[17402.888090]  ? lock_release+0x137/0x2d0
[17402.888102]  btrfs_work_helper+0xf2/0x3e0
[17402.888106]  ? lock_is_held_type+0xe2/0x140
[17402.888118]  process_one_work+0x271/0x590
[17402.888131]  ? process_one_work+0x590/0x590
[17402.888135]  worker_thread+0x52/0x3b0
[17402.888141]  ? process_one_work+0x590/0x590
[17402.888145]  kthread+0xf0/0x120
[17402.888148]  ? kthread_complete_and_exit+0x20/0x20
[17402.888156]  ret_from_fork+0x1f/0x30
[17402.888177]  
[17402.888179] irq event stamp: 3128481
[17402.888181] hardirqs last  enabled at (3128487): [] __up_console_sem+0x5e/0x70
[17402.888185] hardirqs last disabled at (3128492): [] __up_console_sem+0x43/0x70
[17402.888187] softirqs last  enabled at (3127872): [] __irq_exit_rcu+0xeb/0x160
[17402.888190] softirqs last disabled at (3127867): [] __irq_exit_rcu+0xeb/0x160
[17402.888192] ---[ end trace 0000000000000000 ]---
[17402.888196] BTRFS warning (device dm-11): block group 298844160 has wrong amount of free space
[17402.888233] BTRFS warning (device dm-11): failed to load free space cache for block group 298844160, rebuilding it now
[17403.902113] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[17403.902119] btrfs_dev_stat_inc_and_print: 110 callbacks suppressed
[17403.902121] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 1, rd 0, flush 0, corrupt 0, gen 0
[17403.902126] BTRFS error (device dm-11): error writing primary super block to device 1
[17403.902128] BTRFS: error (device dm-11) in write_all_supers:4342: errno=-5 IO failure (1 errors while writing supers)
[17403.902714] BTRFS info (device dm-11: state E): forced readonly
[17403.902725] BTRFS: error (device dm-11: state EA) in btrfs_sync_log:3203: errno=-5 IO failure
[17403.906154] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 2, rd 0, flush 0, corrupt 0, gen 0
[17403.907707] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 2, rd 1, flush 0, corrupt 0, gen 0
[17403.907723] BTRFS warning (device dm-11: state EA): direct IO failed ino 1440 rw 0,0 sector 0x1f8908 len 32768 err no 10
[17403.910281] BTRFS warning (device dm-11: state EA): Skipping commit of aborted transaction.
[17403.910291] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[17403.912547] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 2, rd 2, flush 0, corrupt 0, gen 0
[17403.912562] BTRFS warning (device dm-11: state EA): direct IO failed ino 1563 rw 0,0 sector 0x1fd8e0 len 77824 err no 10
[17403.912726] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 2, rd 3, flush 0, corrupt 0, gen 0
[17403.912738] BTRFS warning (device dm-11: state EA): direct IO failed ino 1551 rw 0,0 sector 0x1fb380 len 32768 err no 10
[17403.912776] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[17403.914064] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 2, rd 4, flush 0, corrupt 0, gen 0
[17403.914079] BTRFS warning (device dm-11: state EA): direct IO failed ino 265 rw 0,0 sector 0x1fc1b0 len 110592 err no 10
[17403.933418] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 2, rd 5, flush 0, corrupt 0, gen 0
[17403.933437] BTRFS warning (device dm-11: state EA): direct IO failed ino 265 rw 0,0 sector 0x1fc2f8 len 32768 err no 10
[17403.935468] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 2, rd 6, flush 0, corrupt 0, gen 0
[17403.935564] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 2, rd 7, flush 0, corrupt 0, gen 0
[17403.959819] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 2, rd 8, flush 0, corrupt 0, gen 0
[17403.960219] BTRFS warning (device dm-11: state EA): direct IO failed ino 1567 rw 0,0 sector 0x1fcf98 len 8192 err no 10
[17404.458988] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[17404.458995] BTRFS info (device dm-11): turning on async discard
[17404.458997] BTRFS info (device dm-11): disk space caching is enabled
[17404.475486] BTRFS warning (device dm-11): block group 30408704 has wrong amount of free space
[17404.475501] BTRFS warning (device dm-11): failed to load free space cache for block group 30408704, rebuilding it now
[17405.495024] BTRFS warning (device dm-11): direct IO failed ino 1575 rw 1,34817 sector 0x203cf0 len 106496 err no 10
[17405.500245] BTRFS: error (device dm-11) in btrfs_commit_transaction:2496: errno=-5 IO failure (Error while writing out transaction)
[17405.501130] BTRFS info (device dm-11: state E): forced readonly
[17405.501136] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[17405.501140] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[17405.505118] BTRFS warning (device dm-11: state EA): Skipping commit of aborted transaction.
[17405.505124] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[17405.512920] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[17406.034832] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[17406.034840] BTRFS info (device dm-11): turning on async discard
[17406.034842] BTRFS info (device dm-11): disk space caching is enabled
[17406.039094] BTRFS info (device dm-11): start tree-log replay
[17408.212673] BTRFS warning (device dm-11): direct IO failed ino 730 rw 1,34817 sector 0x9fd8 len 4096 err no 10
[17408.213986] BTRFS: error (device dm-11) in btrfs_commit_transaction:2496: errno=-5 IO failure (Error while writing out transaction)
[17408.214899] BTRFS info (device dm-11: state E): forced readonly
[17408.214904] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[17408.214906] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[17408.229074] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[17408.732761] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[17408.732769] BTRFS info (device dm-11): turning on async discard
[17408.732771] BTRFS info (device dm-11): disk space caching is enabled
[17410.780764] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[17410.780772] btrfs_dev_stat_inc_and_print: 46 callbacks suppressed
[17410.780774] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 1, rd 0, flush 0, corrupt 0, gen 0
[17410.780792] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[17410.780798] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 2, rd 0, flush 0, corrupt 0, gen 0
[17410.780807] BTRFS error (device dm-11): error writing primary super block to device 1
[17410.780813] BTRFS: error (device dm-11) in write_all_supers:4342: errno=-5 IO failure (1 errors while writing supers)
[17410.781840] BTRFS info (device dm-11: state E): forced readonly
[17410.781849] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[17410.781855] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[17410.786963] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 2, rd 1, flush 0, corrupt 0, gen 0
[17410.786989] BTRFS warning (device dm-11: state EA): direct IO failed ino 1656 rw 0,0 sector 0x217d98 len 65536 err no 10
[17410.787613] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 3, rd 1, flush 0, corrupt 0, gen 0
[17410.788530] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 4, rd 1, flush 0, corrupt 0, gen 0
[17410.788577] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 5, rd 1, flush 0, corrupt 0, gen 0
[17410.788616] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 6, rd 1, flush 0, corrupt 0, gen 0
[17410.788935] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 7, rd 1, flush 0, corrupt 0, gen 0
[17410.789004] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 8, rd 1, flush 0, corrupt 0, gen 0
[17410.789041] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 9, rd 1, flush 0, corrupt 0, gen 0
[17410.790527] BTRFS warning (device dm-11: state EA): direct IO failed ino 1575 rw 0,0 sector 0x21c108 len 20480 err no 10
[17410.791703] BTRFS warning (device dm-11: state EA): direct IO failed ino 1684 rw 0,0 sector 0x21abb8 len 24576 err no 10
[17410.795065] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[17410.835542] BTRFS warning (device dm-11: state EA): direct IO failed ino 1684 rw 0,0 sector 0x21b5e0 len 53248 err no 10
[17410.836977] BTRFS warning (device dm-11: state EA): direct IO failed ino 260 rw 0,0 sector 0x21d910 len 28672 err no 10
[17410.837274] BTRFS warning (device dm-11: state EA): direct IO failed ino 260 rw 0,0 sector 0x21d910 len 16384 err no 10
[17410.837681] BTRFS warning (device dm-11: state EA): direct IO failed ino 1682 rw 0,0 sector 0x21cc70 len 28672 err no 10
[17410.837705] BTRFS warning (device dm-11: state EA): direct IO failed ino 1682 rw 0,0 sector 0x7c88 len 4096 err no 10
[17411.339980] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[17411.339988] BTRFS info (device dm-11): turning on async discard
[17411.339990] BTRFS info (device dm-11): disk space caching is enabled
[17411.344895] BTRFS info (device dm-11): start tree-log replay
[17411.352751] BTRFS info (device dm-11): the free space cache file (298844160) is invalid, skip it
[17411.471323] BTRFS warning (device dm-11): direct IO failed ino 1700 rw 0,0 sector 0x21e058 len 40960 err no 10
[17411.477959] BTRFS: error (device dm-11) in btrfs_commit_transaction:2496: errno=-5 IO failure (Error while writing out transaction)
[17411.478795] BTRFS info (device dm-11: state E): forced readonly
[17411.478801] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[17411.478810] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[17411.484049] BTRFS warning (device dm-11: state EA): Skipping commit of aborted transaction.
[17411.484063] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[17411.485776] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[17411.975174] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[17411.975182] BTRFS info (device dm-11): turning on async discard
[17411.975184] BTRFS info (device dm-11): disk space caching is enabled
[17412.023059] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[17412.026371] BTRFS warning (device dm-11): direct IO failed ino 1702 rw 1,34817 sector 0x312800 len 86016 err no 10
[17412.027592] BTRFS warning (device dm-11): direct IO failed ino 1702 rw 1,34817 sector 0x312800 len 73728 err no 10
[17412.033207] BTRFS: error (device dm-11: state A) in do_free_extent_accounting:2848: errno=-5 IO failure
[17412.033772] BTRFS info (device dm-11: state EA): forced readonly
[17412.033777] BTRFS: error (device dm-11: state EA) in btrfs_run_delayed_refs:2141: errno=-5 IO failure
[17412.518395] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[17412.518404] BTRFS info (device dm-11): turning on async discard
[17412.518405] BTRFS info (device dm-11): disk space caching is enabled
[17412.555829] BTRFS warning (device dm-11): direct IO failed ino 1700 rw 1,34817 sector 0x312b40 len 98304 err no 10
[17412.562869] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[17412.565640] BTRFS: error (device dm-11: state A) in do_free_extent_accounting:2848: errno=-5 IO failure
[17412.566299] BTRFS info (device dm-11: state EA): forced readonly
[17412.566309] BTRFS: error (device dm-11: state EA) in btrfs_run_delayed_refs:2141: errno=-5 IO failure
[17413.018579] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[17413.018590] BTRFS info (device dm-11): turning on async discard
[17413.018593] BTRFS info (device dm-11): disk space caching is enabled
[17413.065600] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[17413.088936] BTRFS: error (device dm-11: state A) in do_free_extent_accounting:2848: errno=-5 IO failure
[17413.089506] BTRFS info (device dm-11: state EA): forced readonly
[17413.089511] BTRFS: error (device dm-11: state EA) in btrfs_run_delayed_refs:2141: errno=-5 IO failure
[17413.540760] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[17413.540769] BTRFS info (device dm-11): turning on async discard
[17413.540771] BTRFS info (device dm-11): disk space caching is enabled
[17415.048148] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[17415.048157] BTRFS error (device dm-11): error writing primary super block to device 1
[17415.048160] BTRFS: error (device dm-11) in write_all_supers:4342: errno=-5 IO failure (1 errors while writing supers)
[17415.048827] BTRFS info (device dm-11: state E): forced readonly
[17415.048837] BTRFS: error (device dm-11: state EA) in btrfs_sync_log:3203: errno=-5 IO failure
[17415.051848] BTRFS warning (device dm-11: state EA): Skipping commit of aborted transaction.
[17415.051853] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[17415.055639] BTRFS warning (device dm-11: state EA): direct IO failed ino 1212 rw 0,0 sector 0x223c70 len 40960 err no 10
[17415.055743] BTRFS warning (device dm-11: state EA): direct IO failed ino 1212 rw 0,0 sector 0x212dd0 len 4096 err no 10
[17415.058945] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[17415.078149] BTRFS warning (device dm-11: state EA): direct IO failed ino 1743 rw 0,0 sector 0x222690 len 24576 err no 10
[17415.084035] BTRFS warning (device dm-11: state EA): direct IO failed ino 1635 rw 0,0 sector 0x2223b8 len 12288 err no 10
[17415.104801] BTRFS warning (device dm-11: state EA): direct IO failed ino 263 rw 0,0 sector 0x223b50 len 81920 err no 10
[17415.105833] BTRFS warning (device dm-11: state EA): direct IO failed ino 1702 rw 0,0 sector 0x21dff8 len 49152 err no 10
[17415.106448] BTRFS warning (device dm-11: state EA): direct IO failed ino 263 rw 0,0 sector 0x223b08 len 49152 err no 10
[17415.107576] BTRFS warning (device dm-11: state EA): direct IO failed ino 1708 rw 0,0 sector 0x224dd0 len 73728 err no 10
[17415.108178] BTRFS warning (device dm-11: state EA): direct IO failed ino 1722 rw 0,0 sector 0x221610 len 4096 err no 10
[17415.556596] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[17415.556608] BTRFS info (device dm-11): turning on async discard
[17415.556611] BTRFS info (device dm-11): disk space caching is enabled
[17416.639198] btrfs_dev_stat_inc_and_print: 181 callbacks suppressed
[17416.639203] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 1, rd 0, flush 0, corrupt 0, gen 0
[17416.639281] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 2, rd 0, flush 0, corrupt 0, gen 0
[17416.639437] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[17416.639442] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 3, rd 0, flush 0, corrupt 0, gen 0
[17416.639463] BTRFS error (device dm-11): error writing primary super block to device 1
[17416.639467] BTRFS: error (device dm-11) in write_all_supers:4342: errno=-5 IO failure (1 errors while writing supers)
[17416.640408] BTRFS info (device dm-11: state E): forced readonly
[17416.640414] BTRFS: error (device dm-11: state EA) in btrfs_sync_log:3203: errno=-5 IO failure
[17416.644002] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 3, rd 1, flush 0, corrupt 0, gen 0
[17416.644834] BTRFS warning (device dm-11: state EA): Skipping commit of aborted transaction.
[17416.644839] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[17416.644966] BTRFS warning (device dm-11: state EA): direct IO failed ino 267 rw 0,0 sector 0x2299e0 len 4096 err no 10
[17416.646925] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 4, rd 1, flush 0, corrupt 0, gen 0
[17416.647434] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 5, rd 1, flush 0, corrupt 0, gen 0
[17416.647468] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 6, rd 1, flush 0, corrupt 0, gen 0
[17416.647874] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 7, rd 1, flush 0, corrupt 0, gen 0
[17416.648122] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 8, rd 1, flush 0, corrupt 0, gen 0
[17416.648170] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 9, rd 1, flush 0, corrupt 0, gen 0
[17416.652729] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[17416.666828] BTRFS warning (device dm-11: state EA): direct IO failed ino 1567 rw 0,0 sector 0x22e2b0 len 40960 err no 10
[17416.672826] BTRFS warning (device dm-11: state EA): direct IO failed ino 267 rw 0,0 sector 0x22b9b0 len 4096 err no 10
[17416.674176] BTRFS warning (device dm-11: state EA): direct IO failed ino 258 rw 0,0 sector 0x22b6d0 len 69632 err no 10
[17416.674448] BTRFS warning (device dm-11: state EA): direct IO failed ino 259 rw 0,0 sector 0x22bb00 len 20480 err no 10
[17416.674581] BTRFS warning (device dm-11: state EA): direct IO failed ino 267 rw 0,0 sector 0x22b978 len 28672 err no 10
[17416.675357] BTRFS warning (device dm-11: state EA): direct IO failed ino 259 rw 0,0 sector 0x22bb00 len 20480 err no 10
[17416.677006] BTRFS warning (device dm-11: state EA): direct IO failed ino 1767 rw 0,0 sector 0x86b8 len 20480 err no 10
[17416.677217] BTRFS warning (device dm-11: state EA): direct IO failed ino 267 rw 0,0 sector 0x2299e0 len 4096 err no 10
[17416.694593] BTRFS warning (device dm-11: state EA): direct IO failed ino 259 rw 0,0 sector 0x8880 len 8192 err no 10
[17417.220500] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[17417.220508] BTRFS info (device dm-11): turning on async discard
[17417.220510] BTRFS info (device dm-11): disk space caching is enabled
[17417.226049] BTRFS info (device dm-11): start tree-log replay
[17417.233131] ------------[ cut here ]------------
[17417.233195] WARNING: CPU: 0 PID: 2189994 at fs/btrfs/discard.c:604 btrfs_discard_update_discardable+0x98/0xb0
[17417.233201] 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 snd_hda_codec_generic iTCO_wdt iTCO_vendor_support snd_hda_intel snd_intel_dspcfg snd_hda_codec snd_hwdep snd_hda_core intel_rapl_common joydev i2c_i801 i2c_smbus snd_pcm lpc_ich snd_timer snd soundcore virtio_balloon zram ip_tables crct10dif_pclmul crc32_pclmul xfs crc32c_intel ghash_clmulni_intel serio_raw qemu_fw_cfg
[17417.233263] CPU: 0 PID: 2189994 Comm: kworker/u4:7 Tainted: G        W         5.19.0-rc8+ #792
[17417.233274] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.13.0-2.fc32 04/01/2014
[17417.233276] Workqueue: btrfs-cache btrfs_work_helper
[17417.233281] RIP: 0010:btrfs_discard_update_discardable+0x98/0xb0
[17417.233284] 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
[17417.233286] RSP: 0018:ffffa09c4775bad0 EFLAGS: 00010246
[17417.233289] RAX: 0000000000000000 RBX: ffff903225ba9e00 RCX: 0000000000000001
[17417.233290] RDX: 0000000000000000 RSI: ffffffffae807c5b RDI: ffffffffae8a831e
[17417.233292] RBP: ffff90320c32c000 R08: 0000000000000000 R09: 000000008027001b
[17417.233294] R10: ffff903117591630 R11: 00000000007cfa00 R12: ffff903251e4d810
[17417.233295] R13: ffff90321f11bca0 R14: ffff90320c32c000 R15: ffff903203086460
[17417.233297] FS:  0000000000000000(0000) GS:ffff90327bc00000(0000) knlGS:0000000000000000
[17417.233299] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[17417.233301] CR2: 00007feb4d6f37c0 CR3: 000000011189c004 CR4: 0000000000370ef0
[17417.233304] Call Trace:
[17417.233306]  
[17417.233311]  __btrfs_remove_free_space_cache+0x27/0x30
[17417.233315]  load_free_space_cache+0xad2/0xaf0
[17417.233355]  caching_thread+0x40b/0x650
[17417.233363]  ? lock_release+0x137/0x2d0
[17417.233370]  btrfs_work_helper+0xf2/0x3e0
[17417.233373]  ? lock_is_held_type+0xe2/0x140
[17417.233380]  process_one_work+0x271/0x590
[17417.233388]  ? process_one_work+0x590/0x590
[17417.233391]  worker_thread+0x52/0x3b0
[17417.233396]  ? process_one_work+0x590/0x590
[17417.233398]  kthread+0xf0/0x120
[17417.233401]  ? kthread_complete_and_exit+0x20/0x20
[17417.233405]  ret_from_fork+0x1f/0x30
[17417.233419]  
[17417.233420] irq event stamp: 662509
[17417.233421] hardirqs last  enabled at (662515): [] __up_console_sem+0x5e/0x70
[17417.233424] hardirqs last disabled at (662520): [] __up_console_sem+0x43/0x70
[17417.233426] softirqs last  enabled at (661962): [] __irq_exit_rcu+0xeb/0x160
[17417.233430] softirqs last disabled at (661939): [] __irq_exit_rcu+0xeb/0x160
[17417.233432] ---[ end trace 0000000000000000 ]---
[17417.233435] BTRFS warning (device dm-11): block group 298844160 has wrong amount of free space
[17417.233449] BTRFS warning (device dm-11): failed to load free space cache for block group 298844160, rebuilding it now
[17419.383301] BTRFS: error (device dm-11) in btrfs_commit_transaction:2496: errno=-5 IO failure (Error while writing out transaction)
[17419.383687] BTRFS: error (device dm-11: state A) in btrfs_add_root_ref:426: errno=-5 IO failure
[17419.384000] BTRFS info (device dm-11: state EA): forced readonly
[17419.384876] BTRFS: error (device dm-11: state EA) in btrfs_rename:9581: errno=-5 IO failure
[17419.385362] BTRFS warning (device dm-11: state EA): Skipping commit of aborted transaction.
[17419.385366] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[17419.399642] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[17419.957786] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[17419.957794] BTRFS info (device dm-11): turning on async discard
[17419.957796] BTRFS info (device dm-11): disk space caching is enabled
[17419.962183] BTRFS info (device dm-11): start tree-log replay
[17422.153265] btrfs_dev_stat_inc_and_print: 33 callbacks suppressed
[17422.153268] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 1, rd 0, flush 0, corrupt 0, gen 0
[17422.153322] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 2, rd 0, flush 0, corrupt 0, gen 0
[17422.155195] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 3, rd 0, flush 0, corrupt 0, gen 0
[17422.157750] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 4, rd 0, flush 0, corrupt 0, gen 0
[17422.160436] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 5, rd 0, flush 0, corrupt 0, gen 0
[17422.160697] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 6, rd 0, flush 0, corrupt 0, gen 0
[17422.160853] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 7, rd 0, flush 0, corrupt 0, gen 0
[17422.161642] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 8, rd 0, flush 0, corrupt 0, gen 0
[17422.161655] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 9, rd 0, flush 0, corrupt 0, gen 0
[17422.161870] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 10, rd 0, flush 0, corrupt 0, gen 0
[17422.165255] BTRFS: error (device dm-11: state A) in cache_save_setup:2804: errno=-5 IO failure
[17422.166214] BTRFS info (device dm-11: state EA): forced readonly
[17422.168537] BTRFS warning (device dm-11: state EA): Skipping commit of aborted transaction.
[17422.169562] BTRFS warning (device dm-11: state EA): Skipping commit of aborted transaction.
[17422.170277] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[17422.692501] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[17422.692511] BTRFS info (device dm-11): turning on async discard
[17422.692514] BTRFS info (device dm-11): disk space caching is enabled
[17422.725680] ------------[ cut here ]------------
[17422.725746] WARNING: CPU: 0 PID: 2189994 at fs/btrfs/discard.c:604 btrfs_discard_update_discardable+0x98/0xb0
[17422.725753] 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 snd_hda_codec_generic iTCO_wdt iTCO_vendor_support snd_hda_intel snd_intel_dspcfg snd_hda_codec snd_hwdep snd_hda_core intel_rapl_common joydev i2c_i801 i2c_smbus snd_pcm lpc_ich snd_timer snd soundcore virtio_balloon zram ip_tables crct10dif_pclmul crc32_pclmul xfs crc32c_intel ghash_clmulni_intel serio_raw qemu_fw_cfg
[17422.725815] CPU: 0 PID: 2189994 Comm: kworker/u4:7 Tainted: G        W         5.19.0-rc8+ #792
[17422.725818] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.13.0-2.fc32 04/01/2014
[17422.725820] Workqueue: btrfs-cache btrfs_work_helper
[17422.725824] RIP: 0010:btrfs_discard_update_discardable+0x98/0xb0
[17422.725827] 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
[17422.725829] RSP: 0000:ffffa09c4775bad0 EFLAGS: 00010246
[17422.725832] RAX: 0000000000000000 RBX: ffff903202939600 RCX: 0000000000000001
[17422.725834] RDX: 0000000000000000 RSI: ffffffffae807c5b RDI: ffffffffae8a831e
[17422.725835] RBP: ffff903206718000 R08: 0000000000000000 R09: 0000000080270025
[17422.725837] R10: 000000000003456c R11: 00000000007dba00 R12: ffff90320fa79810
[17422.725838] R13: ffff90321ffecf40 R14: ffff903206718000 R15: ffff903202aaa0e0
[17422.725840] FS:  0000000000000000(0000) GS:ffff90327bc00000(0000) knlGS:0000000000000000
[17422.725842] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[17422.725844] CR2: 00007f8c326a7201 CR3: 000000010f94c004 CR4: 0000000000370ef0
[17422.725848] Call Trace:
[17422.725850]  
[17422.725854]  __btrfs_remove_free_space_cache+0x27/0x30
[17422.725858]  load_free_space_cache+0xad2/0xaf0
[17422.725898]  caching_thread+0x40b/0x650
[17422.725906]  ? lock_release+0x137/0x2d0
[17422.725914]  btrfs_work_helper+0xf2/0x3e0
[17422.725916]  ? lock_is_held_type+0xe2/0x140
[17422.725923]  process_one_work+0x271/0x590
[17422.725932]  ? process_one_work+0x590/0x590
[17422.725935]  worker_thread+0x52/0x3b0
[17422.725940]  ? process_one_work+0x590/0x590
[17422.725942]  kthread+0xf0/0x120
[17422.725945]  ? kthread_complete_and_exit+0x20/0x20
[17422.725949]  ret_from_fork+0x1f/0x30
[17422.725963]  
[17422.725964] irq event stamp: 684701
[17422.725966] hardirqs last  enabled at (684707): [] __up_console_sem+0x5e/0x70
[17422.725969] hardirqs last disabled at (684712): [] __up_console_sem+0x43/0x70
[17422.725971] softirqs last  enabled at (683374): [] __irq_exit_rcu+0xeb/0x160
[17422.725974] softirqs last disabled at (683367): [] __irq_exit_rcu+0xeb/0x160
[17422.725976] ---[ end trace 0000000000000000 ]---
[17422.725979] BTRFS warning (device dm-11): block group 298844160 has wrong amount of free space
[17422.725993] BTRFS warning (device dm-11): failed to load free space cache for block group 298844160, rebuilding it now
[17423.732759] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[17423.732767] BTRFS error (device dm-11): error writing primary super block to device 1
[17423.732770] BTRFS: error (device dm-11) in write_all_supers:4342: errno=-5 IO failure (1 errors while writing supers)
[17423.732796] BTRFS warning (device dm-11): direct IO failed ino 264 rw 1,34817 sector 0x252e50 len 12288 err no 10
[17423.733418] BTRFS info (device dm-11: state E): forced readonly
[17423.733422] BTRFS: error (device dm-11: state EA) in btrfs_sync_log:3203: errno=-5 IO failure
[17423.733431] BTRFS warning (device dm-11: state EA): direct IO failed ino 264 rw 1,34817 sector 0x255f18 len 45056 err no 10
[17423.733969] BTRFS warning (device dm-11: state EA): direct IO failed ino 1880 rw 1,34817 sector 0x255f70 len 32768 err no 10
[17423.742424] BTRFS warning (device dm-11: state EA): direct IO failed ino 1880 rw 0,0 sector 0x24ef38 len 4096 err no 10
[17423.745125] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[17423.771879] BTRFS warning (device dm-11: state EA): direct IO failed ino 1758 rw 0,0 sector 0x2545d0 len 61440 err no 10
[17423.772000] BTRFS warning (device dm-11: state EA): direct IO failed ino 1705 rw 0,0 sector 0x254538 len 36864 err no 10
[17423.772411] BTRFS warning (device dm-11: state EA): direct IO failed ino 1758 rw 0,0 sector 0x2545d0 len 36864 err no 10
[17423.772653] BTRFS warning (device dm-11: state EA): direct IO failed ino 1758 rw 0,0 sector 0x254640 len 4096 err no 10
[17424.253259] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[17424.253268] BTRFS info (device dm-11): turning on async discard
[17424.253270] BTRFS info (device dm-11): disk space caching is enabled
[17426.338397] BTRFS: error (device dm-11) in btrfs_commit_transaction:2496: errno=-5 IO failure (Error while writing out transaction)
[17426.339778] BTRFS info (device dm-11: state E): forced readonly
[17426.339787] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[17426.339810] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[17426.348539] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[17426.858617] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[17426.858626] BTRFS info (device dm-11): turning on async discard
[17426.858628] BTRFS info (device dm-11): disk space caching is enabled
[17426.899995] BTRFS: error (device dm-11: state A) in create_subvol:735: errno=-5 IO failure
[17426.900862] BTRFS info (device dm-11: state EA): forced readonly
[17426.910127] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[17427.381955] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[17427.381964] BTRFS info (device dm-11): turning on async discard
[17427.381966] BTRFS info (device dm-11): disk space caching is enabled
[17429.429495] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[17429.429501] btrfs_dev_stat_inc_and_print: 296 callbacks suppressed
[17429.429503] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 1, rd 0, flush 0, corrupt 0, gen 0
[17429.429508] BTRFS error (device dm-11): error writing primary super block to device 1
[17429.429510] BTRFS: error (device dm-11) in write_all_supers:4342: errno=-5 IO failure (1 errors while writing supers)
[17429.430236] BTRFS info (device dm-11: state E): forced readonly
[17429.430245] BTRFS: error (device dm-11: state EA) in btrfs_sync_log:3203: errno=-5 IO failure
[17429.430995] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 1, rd 1, flush 0, corrupt 0, gen 0
[17429.431485] BTRFS warning (device dm-11: state EA): direct IO failed ino 1905 rw 0,0 sector 0x269530 len 28672 err no 10
[17429.432425] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 2, rd 1, flush 0, corrupt 0, gen 0
[17429.433398] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 3, rd 1, flush 0, corrupt 0, gen 0
[17429.433424] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 4, rd 1, flush 0, corrupt 0, gen 0
[17429.436390] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 4, rd 2, flush 0, corrupt 0, gen 0
[17429.436610] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 4, rd 3, flush 0, corrupt 0, gen 0
[17429.436623] BTRFS warning (device dm-11: state EA): direct IO failed ino 257 rw 0,0 sector 0x86a8 len 4096 err no 10
[17429.437780] BTRFS warning (device dm-11: state EA): Skipping commit of aborted transaction.
[17429.437786] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[17429.443502] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[17429.468400] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 4, rd 4, flush 0, corrupt 0, gen 0
[17429.468418] BTRFS warning (device dm-11: state EA): direct IO failed ino 258 rw 0,0 sector 0x2677a0 len 24576 err no 10
[17429.468557] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 4, rd 5, flush 0, corrupt 0, gen 0
[17429.468569] BTRFS warning (device dm-11: state EA): direct IO failed ino 258 rw 0,0 sector 0x2677c8 len 4096 err no 10
[17429.468872] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 4, rd 6, flush 0, corrupt 0, gen 0
[17429.468884] BTRFS warning (device dm-11: state EA): direct IO failed ino 259 rw 0,0 sector 0x268b08 len 24576 err no 10
[17429.469463] BTRFS warning (device dm-11: state EA): direct IO failed ino 259 rw 0,0 sector 0x26b460 len 28672 err no 10
[17429.469744] BTRFS warning (device dm-11: state EA): direct IO failed ino 259 rw 0,0 sector 0x26b428 len 4096 err no 10
[17429.471319] BTRFS warning (device dm-11: state EA): direct IO failed ino 258 rw 0,0 sector 0x2676f8 len 53248 err no 10
[17429.472765] BTRFS warning (device dm-11: state EA): direct IO failed ino 258 rw 0,0 sector 0x269e00 len 65536 err no 10
[17429.965495] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[17429.965506] BTRFS info (device dm-11): turning on async discard
[17429.965509] BTRFS info (device dm-11): disk space caching is enabled
[17432.046137] BTRFS warning (device dm-11): direct IO failed ino 258 rw 1,34817 sector 0x2745d0 len 61440 err no 10
[17432.046360] BTRFS warning (device dm-11): direct IO failed ino 259 rw 1,34817 sector 0x253b38 len 114688 err no 10
[17432.046645] BTRFS warning (device dm-11): direct IO failed ino 2031 rw 1,34817 sector 0x274a48 len 12288 err no 10
[17432.050185] BTRFS: error (device dm-11: state A) in __btrfs_update_delayed_inode:1089: errno=-5 IO failure
[17432.051158] BTRFS info (device dm-11: state EA): forced readonly
[17432.051165] BTRFS: error (device dm-11: state EA) in __btrfs_run_delayed_items:1182: errno=-5 IO failure
[17432.051770] BTRFS warning (device dm-11: state EA): Skipping commit of aborted transaction.
[17432.051774] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[17432.059662] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[17432.083903] BTRFS warning (device dm-11: state EA): direct IO failed ino 2047 rw 0,0 sector 0x2722b0 len 16384 err no 10
[17432.087347] BTRFS warning (device dm-11: state EA): direct IO failed ino 2091 rw 0,0 sector 0x274470 len 28672 err no 10
[17432.101088] BTRFS warning (device dm-11: state EA): direct IO failed ino 2014 rw 0,0 sector 0x180778 len 12288 err no 10
[17432.571539] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[17432.571546] BTRFS info (device dm-11): turning on async discard
[17432.571548] BTRFS info (device dm-11): disk space caching is enabled
[17432.576393] BTRFS info (device dm-11): start tree-log replay
[17433.732031] BTRFS warning (device dm-11): direct IO failed ino 2146 rw 1,34817 sector 0x8758 len 8192 err no 10
[17433.737533] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[17433.738117] BTRFS warning (device dm-11): direct IO failed ino 2138 rw 1,34817 sector 0x8758 len 8192 err no 10
[17433.741606] BTRFS warning (device dm-11): direct IO failed ino 2108 rw 1,34817 sector 0x27aac8 len 20480 err no 10
[17433.744361] BTRFS: error (device dm-11: state A) in __btrfs_free_extent:3078: errno=-5 IO failure
[17433.744888] BTRFS info (device dm-11: state EA): forced readonly
[17433.744894] BTRFS: error (device dm-11: state EA) in btrfs_run_delayed_refs:2141: errno=-5 IO failure
[17433.748023] BTRFS: error (device dm-11: state EA) in btrfs_commit_transaction:2496: errno=-5 IO failure (Error while writing out transaction)
[17433.748754] BTRFS warning (device dm-11: state EA): Skipping commit of aborted transaction.
[17433.748758] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[17434.211624] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[17434.211633] BTRFS info (device dm-11): turning on async discard
[17434.211634] BTRFS info (device dm-11): disk space caching is enabled