[16742.738429] run fstests generic/475 at 2022-08-05 01:31:06
[16743.686870] BTRFS: device fsid 218ea4bd-8ecc-4184-b59e-98b21db89130 devid 1 transid 6 /dev/mapper/vg0-lv9 scanned by mkfs.btrfs (2221950)
[16743.937123] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[16743.937132] BTRFS info (device dm-11): turning on async discard
[16743.937134] BTRFS info (device dm-11): disk space caching is enabled
[16743.941159] BTRFS info (device dm-11): checking UUID tree
[16743.972377] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 1, rd 0, flush 0, corrupt 0, gen 0
[16743.973913] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 2, rd 0, flush 0, corrupt 0, gen 0
[16743.973918] BTRFS warning (device dm-11): direct IO failed ino 268 rw 1,34817 sector 0x6db0 len 4096 err no 10
[16743.973961] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 3, rd 0, flush 0, corrupt 0, gen 0
[16743.973965] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 4, rd 0, flush 0, corrupt 0, gen 0
[16743.974096] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 5, rd 0, flush 0, corrupt 0, gen 0
[16743.977401] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 6, rd 0, flush 0, corrupt 0, gen 0
[16743.983982] buffer_io_error: 760 callbacks suppressed
[16743.983988] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[16743.984043] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 7, rd 0, flush 0, corrupt 0, gen 0
[16743.988395] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 8, rd 0, flush 0, corrupt 0, gen 0
[16743.991213] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 9, rd 0, flush 0, corrupt 0, gen 0
[16743.991318] BTRFS: error (device dm-11: state A) in __btrfs_run_delayed_items:1182: errno=-5 IO failure
[16743.992139] BTRFS info (device dm-11: state EA): forced readonly
[16743.992143] BTRFS warning (device dm-11: state EA): Skipping commit of aborted transaction.
[16743.992167] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[16744.566376] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[16744.566386] BTRFS info (device dm-11): turning on async discard
[16744.566387] BTRFS info (device dm-11): disk space caching is enabled
[16744.570348] BTRFS info (device dm-11): checking UUID tree
[16744.596560] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 1, rd 0, flush 0, corrupt 0, gen 0
[16744.597655] BTRFS warning (device dm-11): direct IO failed ino 265 rw 1,34817 sector 0x70d0 len 57344 err no 10
[16744.600087] BTRFS warning (device dm-11): direct IO failed ino 261 rw 0,0 sector 0x6880 len 4096 err no 10
[16744.605026] BTRFS warning (device dm-11): direct IO failed ino 263 rw 1,34817 sector 0x77d0 len 4096 err no 10
[16744.606318] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[16744.606512] BTRFS: error (device dm-11) in btrfs_commit_transaction:2496: errno=-5 IO failure (Error while writing out transaction)
[16744.607518] BTRFS info (device dm-11: state E): forced readonly
[16744.607534] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[16744.607537] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[16745.192193] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[16745.192202] BTRFS info (device dm-11): turning on async discard
[16745.192204] BTRFS info (device dm-11): disk space caching is enabled
[16745.195585] BTRFS info (device dm-11): checking UUID tree
[16747.277565] BTRFS: error (device dm-11) in btrfs_commit_transaction:2496: errno=-5 IO failure (Error while writing out transaction)
[16747.279465] BTRFS info (device dm-11: state E): forced readonly
[16747.279497] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[16747.279537] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[16747.291901] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[16747.828732] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[16747.828741] BTRFS info (device dm-11): turning on async discard
[16747.828764] BTRFS info (device dm-11): disk space caching is enabled
[16748.863114] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[16748.863131] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[16748.863157] BTRFS error (device dm-11): error writing primary super block to device 1
[16748.863205] BTRFS: error (device dm-11) in write_all_supers:4356: errno=-5 IO failure (1 errors while writing supers)
[16748.863889] BTRFS info (device dm-11: state E): forced readonly
[16748.863894] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[16748.863898] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[16748.869955] BTRFS warning (device dm-11: state EA): direct IO failed ino 357 rw 0,0 sector 0x11a790 len 20480 err no 10
[16748.870555] BTRFS warning (device dm-11: state EA): direct IO failed ino 401 rw 0,0 sector 0x8300 len 8192 err no 10
[16748.870923] BTRFS warning (device dm-11: state EA): direct IO failed ino 392 rw 0,0 sector 0x11d9b8 len 40960 err no 10
[16748.872185] BTRFS warning (device dm-11: state EA): direct IO failed ino 392 rw 0,0 sector 0x112ff0 len 4096 err no 10
[16748.883104] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[16748.886468] BTRFS warning (device dm-11: state EA): direct IO failed ino 268 rw 0,0 sector 0x91c0 len 28672 err no 10
[16748.889706] BTRFS warning (device dm-11: state EA): direct IO failed ino 397 rw 0,0 sector 0x11e248 len 49152 err no 10
[16748.891453] BTRFS warning (device dm-11: state EA): direct IO failed ino 392 rw 0,0 sector 0x112ff0 len 4096 err no 10
[16748.891482] BTRFS warning (device dm-11: state EA): direct IO failed ino 392 rw 0,0 sector 0x11c0b0 len 28672 err no 10
[16748.891493] BTRFS warning (device dm-11: state EA): direct IO failed ino 392 rw 0,0 sector 0x1137c0 len 4096 err no 10
[16748.910060] BTRFS warning (device dm-11: state EA): direct IO failed ino 363 rw 0,0 sector 0x11a8f0 len 32768 err no 10
[16748.911404] BTRFS warning (device dm-11: state EA): direct IO failed ino 401 rw 0,0 sector 0x8300 len 8192 err no 10
[16748.912403] BTRFS warning (device dm-11: state EA): direct IO failed ino 384 rw 0,0 sector 0x11c200 len 4096 err no 10
[16748.912425] BTRFS warning (device dm-11: state EA): direct IO failed ino 339 rw 0,0 sector 0x11e1f0 len 4096 err no 10
[16748.914072] BTRFS warning (device dm-11: state EA): direct IO failed ino 379 rw 0,0 sector 0x11bea0 len 16384 err no 10
[16748.915073] BTRFS warning (device dm-11: state EA): direct IO failed ino 384 rw 0,0 sector 0x113308 len 4096 err no 10
[16748.928319] BTRFS warning (device dm-11: state EA): direct IO failed ino 348 rw 0,0 sector 0x117b20 len 20480 err no 10
[16748.928333] BTRFS warning (device dm-11: state EA): direct IO failed ino 348 rw 0,0 sector 0x112fd8 len 4096 err no 10
[16748.929350] BTRFS warning (device dm-11: state EA): direct IO failed ino 397 rw 0,0 sector 0x11e1f8 len 45056 err no 10
[16748.945205] BTRFS warning (device dm-11: state EA): direct IO failed ino 359 rw 0,0 sector 0x86d8 len 20480 err no 10
[16748.946017] BTRFS warning (device dm-11: state EA): direct IO failed ino 268 rw 0,0 sector 0x91c0 len 28672 err no 10
[16748.946189] BTRFS warning (device dm-11: state EA): direct IO failed ino 379 rw 0,0 sector 0x11bea0 len 53248 err no 10
[16749.502079] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[16749.502087] BTRFS info (device dm-11): turning on async discard
[16749.502089] BTRFS info (device dm-11): disk space caching is enabled
[16749.522862] ------------[ cut here ]------------
[16749.522953] WARNING: CPU: 1 PID: 1591523 at fs/btrfs/discard.c:604 btrfs_discard_update_discardable+0x98/0xb0
[16749.522967] Modules linked in: dm_thin_pool dm_persistent_data dm_bio_prison dm_log_writes dm_dust dm_flakey nft_fib_inet nft_fib_ipv4 nft_fib_ipv6 nft_fib nft_reject_inet nf_reject_ipv4 nf_reject_ipv6 nft_reject nft_ct nft_chain_nat nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 ip6_tables nft_compat ip_set rfkill nf_tables nfnetlink intel_rapl_msr iTCO_wdt iTCO_vendor_support snd_hda_codec_generic snd_hda_intel snd_intel_dspcfg joydev intel_rapl_common snd_hda_codec snd_hwdep snd_hda_core snd_pcm lpc_ich i2c_i801 i2c_smbus snd_timer snd soundcore virtio_balloon zram ip_tables crct10dif_pclmul crc32_pclmul crc32c_intel xfs ghash_clmulni_intel serio_raw qemu_fw_cfg
[16749.523035] CPU: 1 PID: 1591523 Comm: kworker/u4:11 Not tainted 5.19.0-rc8+ #787
[16749.523038] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.13.0-2.fc32 04/01/2014
[16749.523042] Workqueue: btrfs-cache btrfs_work_helper
[16749.523055] RIP: 0010:btrfs_discard_update_discardable+0x98/0xb0
[16749.523058] 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 ac 96 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
[16749.523060] RSP: 0018:ffffa61403013ad0 EFLAGS: 00010246
[16749.523063] RAX: 0000000000000000 RBX: ffff985130330a00 RCX: 0000000000000001
[16749.523065] RDX: 0000000000000000 RSI: ffffffff8b807c93 RDI: ffffffff8b8a836e
[16749.523067] RBP: ffff9850d016c000 R08: 0000000000000000 R09: 000000008027001d
[16749.523069] R10: ffff9850c904c428 R11: 000000000082f000 R12: ffff9850d3822010
[16749.523070] R13: ffff9850c34745f0 R14: ffff9850d016c000 R15: ffff9850d3cf45b0
[16749.523072] FS:  0000000000000000(0000) GS:ffff98513bd00000(0000) knlGS:0000000000000000
[16749.523074] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[16749.523076] CR2: 00007fdeecac3268 CR3: 0000000113c08002 CR4: 0000000000370ee0
[16749.523081] Call Trace:
[16749.523083]  
[16749.523087]  __btrfs_remove_free_space_cache+0x27/0x30
[16749.523093]  load_free_space_cache+0xad2/0xaf0
[16749.523141]  caching_thread+0x40b/0x650
[16749.523150]  ? lock_release+0x137/0x2d0
[16749.523161]  btrfs_work_helper+0xf2/0x3e0
[16749.523164]  ? lock_is_held_type+0xe2/0x140
[16749.523176]  process_one_work+0x271/0x590
[16749.523187]  ? process_one_work+0x590/0x590
[16749.523190]  worker_thread+0x52/0x3b0
[16749.523195]  ? process_one_work+0x590/0x590
[16749.523198]  kthread+0xf0/0x120
[16749.523201]  ? kthread_complete_and_exit+0x20/0x20
[16749.523206]  ret_from_fork+0x1f/0x30
[16749.523237]  
[16749.523241] irq event stamp: 51445439
[16749.523242] hardirqs last  enabled at (51445445): [] __up_console_sem+0x5e/0x70
[16749.523247] hardirqs last disabled at (51445450): [] __up_console_sem+0x43/0x70
[16749.523249] softirqs last  enabled at (51444898): [] __irq_exit_rcu+0xeb/0x160
[16749.523252] softirqs last disabled at (51444889): [] __irq_exit_rcu+0xeb/0x160
[16749.523254] ---[ end trace 0000000000000000 ]---
[16749.523257] BTRFS warning (device dm-11): block group 298844160 has wrong amount of free space
[16749.523277] BTRFS warning (device dm-11): failed to load free space cache for block group 298844160, rebuilding it now
[16750.539331] btrfs_dev_stat_inc_and_print: 66 callbacks suppressed
[16750.539336] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 1, rd 0, flush 0, corrupt 0, gen 0
[16750.539431] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 2, rd 0, flush 0, corrupt 0, gen 0
[16750.539436] BTRFS warning (device dm-11): direct IO failed ino 455 rw 1,34817 sector 0x1138b0 len 20480 err no 10
[16750.539451] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 3, rd 0, flush 0, corrupt 0, gen 0
[16750.539455] BTRFS warning (device dm-11): direct IO failed ino 455 rw 1,34817 sector 0x1139c0 len 8192 err no 10
[16750.539491] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 4, rd 0, flush 0, corrupt 0, gen 0
[16750.539557] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 5, rd 0, flush 0, corrupt 0, gen 0
[16750.539631] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 6, rd 0, flush 0, corrupt 0, gen 0
[16750.539663] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 7, rd 0, flush 0, corrupt 0, gen 0
[16750.539677] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 8, rd 0, flush 0, corrupt 0, gen 0
[16750.539707] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 9, rd 0, flush 0, corrupt 0, gen 0
[16750.539745] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 10, rd 0, flush 0, corrupt 0, gen 0
[16750.539851] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[16750.539865] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[16750.541397] BTRFS error (device dm-11): error writing primary super block to device 1
[16750.541402] BTRFS: error (device dm-11) in write_all_supers:4356: errno=-5 IO failure (1 errors while writing supers)
[16750.542384] BTRFS info (device dm-11: state E): forced readonly
[16750.542391] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[16750.542396] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[16750.555519] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[16751.154631] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[16751.154640] BTRFS info (device dm-11): turning on async discard
[16751.154642] BTRFS info (device dm-11): disk space caching is enabled
[16751.158163] BTRFS info (device dm-11): start tree-log replay
[16752.238403] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[16752.238418] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[16752.238427] BTRFS error (device dm-11): error writing primary super block to device 1
[16752.238432] BTRFS: error (device dm-11) in write_all_supers:4356: errno=-5 IO failure (1 errors while writing supers)
[16752.239510] BTRFS info (device dm-11: state E): forced readonly
[16752.239516] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[16752.240579] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[16752.241710] BTRFS warning (device dm-11: state EA): Skipping commit of aborted transaction.
[16752.242251] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[16752.243356] BTRFS warning (device dm-11: state EA): direct IO failed ino 648 rw 0,0 sector 0x7970 len 4096 err no 10
[16752.250547] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[16752.266342] BTRFS warning (device dm-11: state EA): direct IO failed ino 590 rw 0,0 sector 0x1320d8 len 45056 err no 10
[16752.268417] BTRFS warning (device dm-11: state EA): direct IO failed ino 635 rw 0,0 sector 0x135268 len 16384 err no 10
[16752.285024] BTRFS warning (device dm-11: state EA): direct IO failed ino 618 rw 0,0 sector 0x132d20 len 12288 err no 10
[16752.288649] BTRFS warning (device dm-11: state EA): direct IO failed ino 593 rw 0,0 sector 0x134230 len 69632 err no 10
[16752.291138] BTRFS warning (device dm-11: state EA): direct IO failed ino 591 rw 0,0 sector 0x132078 len 45056 err no 10
[16752.291398] BTRFS warning (device dm-11: state EA): direct IO failed ino 635 rw 0,0 sector 0x138458 len 16384 err no 10
[16752.813001] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[16752.813009] BTRFS info (device dm-11): turning on async discard
[16752.813011] BTRFS info (device dm-11): disk space caching is enabled
[16752.817979] BTRFS info (device dm-11): start tree-log replay
[16752.823494] BTRFS info (device dm-11): the free space cache file (298844160) is invalid, skip it
[16754.928711] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[16754.928728] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[16754.928739] BTRFS error (device dm-11): error writing primary super block to device 1
[16754.928743] BTRFS: error (device dm-11) in write_all_supers:4356: errno=-5 IO failure (1 errors while writing supers)
[16754.929535] BTRFS info (device dm-11: state E): forced readonly
[16754.929541] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[16754.929545] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[16754.931371] BTRFS warning (device dm-11: state EA): direct IO failed ino 758 rw 0,0 sector 0x143280 len 77824 err no 10
[16754.932567] BTRFS warning (device dm-11: state EA): Skipping commit of aborted transaction.
[16754.932591] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[16754.933197] BTRFS warning (device dm-11: state EA): direct IO failed ino 669 rw 0,0 sector 0x13e678 len 8192 err no 10
[16754.935944] BTRFS warning (device dm-11: state EA): direct IO failed ino 685 rw 0,0 sector 0x13b1c8 len 20480 err no 10
[16754.939847] BTRFS warning (device dm-11: state EA): direct IO failed ino 741 rw 0,0 sector 0x142098 len 28672 err no 10
[16754.939936] BTRFS warning (device dm-11: state EA): direct IO failed ino 700 rw 0,0 sector 0x9408 len 12288 err no 10
[16754.944647] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[16754.960113] BTRFS warning (device dm-11: state EA): direct IO failed ino 743 rw 0,0 sector 0x13ddd0 len 12288 err no 10
[16754.963320] BTRFS warning (device dm-11: state EA): direct IO failed ino 679 rw 0,0 sector 0x9918 len 16384 err no 10
[16754.967557] BTRFS warning (device dm-11: state EA): direct IO failed ino 742 rw 0,0 sector 0x141ce0 len 36864 err no 10
[16754.968512] BTRFS warning (device dm-11: state EA): direct IO failed ino 717 rw 0,0 sector 0x1482b8 len 16384 err no 10
[16754.969121] BTRFS warning (device dm-11: state EA): direct IO failed ino 267 rw 0,0 sector 0x14a268 len 40960 err no 10
[16754.994355] BTRFS warning (device dm-11: state EA): direct IO failed ino 262 rw 0,0 sector 0x145330 len 57344 err no 10
[16755.546371] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[16755.546380] BTRFS info (device dm-11): turning on async discard
[16755.546382] BTRFS info (device dm-11): disk space caching is enabled
[16755.550932] BTRFS info (device dm-11): start tree-log replay
[16756.638420] btrfs_dev_stat_inc_and_print: 35 callbacks suppressed
[16756.638425] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 1, rd 0, flush 0, corrupt 0, gen 0
[16756.638482] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 2, rd 0, flush 0, corrupt 0, gen 0
[16756.642612] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 3, rd 0, flush 0, corrupt 0, gen 0
[16756.642678] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 4, rd 0, flush 0, corrupt 0, gen 0
[16756.642840] BTRFS: error (device dm-11) in btrfs_commit_transaction:2496: errno=-5 IO failure (Error while writing out transaction)
[16756.643544] BTRFS info (device dm-11: state E): forced readonly
[16756.643548] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[16756.643552] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[16756.648814] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[16757.257804] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[16757.257813] BTRFS info (device dm-11): turning on async discard
[16757.257815] BTRFS info (device dm-11): disk space caching is enabled
[16757.278330] BTRFS info (device dm-11): the free space cache file (298844160) is invalid, skip it
[16759.297404] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 0, rd 1, flush 0, corrupt 0, gen 0
[16759.297428] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[16759.297432] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 1, rd 1, flush 0, corrupt 0, gen 0
[16759.297450] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[16759.297455] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 2, rd 1, flush 0, corrupt 0, gen 0
[16759.297459] BTRFS error (device dm-11): error writing primary super block to device 1
[16759.297464] BTRFS: error (device dm-11) in write_all_supers:4356: errno=-5 IO failure (1 errors while writing supers)
[16759.298086] BTRFS info (device dm-11: state E): forced readonly
[16759.298091] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[16759.298094] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[16759.303086] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 3, rd 1, flush 0, corrupt 0, gen 0
[16759.304349] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 4, rd 1, flush 0, corrupt 0, gen 0
[16759.304410] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 5, rd 1, flush 0, corrupt 0, gen 0
[16759.313159] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[16759.332281] BTRFS warning (device dm-11: state EA): direct IO failed ino 1056 rw 0,0 sector 0x1546e8 len 16384 err no 10
[16759.332322] BTRFS warning (device dm-11: state EA): direct IO failed ino 1056 rw 0,0 sector 0x180470 len 28672 err no 10
[16759.359413] BTRFS warning (device dm-11: state EA): direct IO failed ino 1056 rw 0,0 sector 0x1546e8 len 16384 err no 10
[16759.359437] BTRFS warning (device dm-11: state EA): direct IO failed ino 1056 rw 0,0 sector 0x180470 len 28672 err no 10
[16759.917238] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[16759.917246] BTRFS info (device dm-11): turning on async discard
[16759.917248] BTRFS info (device dm-11): disk space caching is enabled
[16759.953537] BTRFS error (device dm-11): error reading free space cache
[16759.953562] BTRFS warning (device dm-11): failed to load free space cache for block group 298844160, rebuilding it now
[16759.957145] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[16759.960116] BTRFS warning (device dm-11): direct IO failed ino 1076 rw 1,34817 sector 0x312880 len 24576 err no 10
[16759.968915] BTRFS warning (device dm-11): direct IO failed ino 1079 rw 1,34817 sector 0x312880 len 28672 err no 10
[16759.975346] BTRFS: error (device dm-11: state A) in do_free_extent_accounting:2848: errno=-5 IO failure
[16759.976181] BTRFS info (device dm-11: state EA): forced readonly
[16759.976207] BTRFS: error (device dm-11: state EA) in btrfs_run_delayed_refs:2141: errno=-5 IO failure
[16759.977615] BTRFS: error (device dm-11: state EA) in btrfs_create_pending_block_groups:2444: errno=-5 IO failure
[16760.458006] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[16760.458014] BTRFS info (device dm-11): turning on async discard
[16760.458024] BTRFS info (device dm-11): disk space caching is enabled
[16762.492954] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[16762.492960] btrfs_dev_stat_inc_and_print: 66 callbacks suppressed
[16762.492962] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 1, rd 0, flush 0, corrupt 0, gen 0
[16762.492977] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[16762.492981] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 2, rd 0, flush 0, corrupt 0, gen 0
[16762.492992] BTRFS error (device dm-11): error writing primary super block to device 1
[16762.493004] BTRFS: error (device dm-11) in write_all_supers:4356: errno=-5 IO failure (1 errors while writing supers)
[16762.493629] BTRFS info (device dm-11: state E): forced readonly
[16762.493636] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[16762.493646] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[16762.496782] BTRFS warning (device dm-11: state EA): Skipping commit of aborted transaction.
[16762.496788] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[16762.502959] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 2, rd 1, flush 0, corrupt 0, gen 0
[16762.503009] BTRFS warning (device dm-11: state EA): direct IO failed ino 1167 rw 0,0 sector 0x192278 len 40960 err no 10
[16762.504935] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 2, rd 2, flush 0, corrupt 0, gen 0
[16762.504962] BTRFS warning (device dm-11: state EA): direct IO failed ino 1080 rw 0,0 sector 0x187cc0 len 12288 err no 10
[16762.510776] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[16762.519560] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 2, rd 3, flush 0, corrupt 0, gen 0
[16762.520279] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 2, rd 4, flush 0, corrupt 0, gen 0
[16762.520302] BTRFS warning (device dm-11: state EA): direct IO failed ino 1237 rw 0,0 sector 0x191600 len 77824 err no 10
[16762.520355] BTRFS warning (device dm-11: state EA): direct IO failed ino 1136 rw 0,0 sector 0x15c300 len 16384 err no 10
[16762.521495] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 2, rd 5, flush 0, corrupt 0, gen 0
[16762.521534] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 2, rd 6, flush 0, corrupt 0, gen 0
[16762.521558] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 2, rd 7, flush 0, corrupt 0, gen 0
[16762.522961] BTRFS warning (device dm-11: state EA): direct IO failed ino 1080 rw 0,0 sector 0x180040 len 32768 err no 10
[16762.523016] BTRFS warning (device dm-11: state EA): direct IO failed ino 1080 rw 0,0 sector 0x153d98 len 12288 err no 10
[16762.523030] BTRFS warning (device dm-11: state EA): direct IO failed ino 1080 rw 0,0 sector 0x180098 len 4096 err no 10
[16762.549472] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 2, rd 8, flush 0, corrupt 0, gen 0
[16762.549503] BTRFS warning (device dm-11: state EA): direct IO failed ino 1097 rw 0,0 sector 0x1895d0 len 4096 err no 10
[16762.552226] BTRFS warning (device dm-11: state EA): direct IO failed ino 1084 rw 0,0 sector 0x188230 len 45056 err no 10
[16762.553916] BTRFS warning (device dm-11: state EA): direct IO failed ino 1106 rw 0,0 sector 0x155bf8 len 8192 err no 10
[16762.557423] BTRFS warning (device dm-11: state EA): direct IO failed ino 1080 rw 0,0 sector 0x1803a8 len 57344 err no 10
[16762.560142] BTRFS warning (device dm-11: state EA): direct IO failed ino 1080 rw 0,0 sector 0x186188 len 12288 err no 10
[16762.564129] BTRFS warning (device dm-11: state EA): direct IO failed ino 1112 rw 0,0 sector 0x185648 len 12288 err no 10
[16762.565413] BTRFS warning (device dm-11: state EA): direct IO failed ino 1177 rw 0,0 sector 0x18c380 len 32768 err no 10
[16763.124904] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[16763.124912] BTRFS info (device dm-11): turning on async discard
[16763.124914] BTRFS info (device dm-11): disk space caching is enabled
[16765.159590] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[16765.159608] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[16765.159618] BTRFS error (device dm-11): error writing primary super block to device 1
[16765.159622] BTRFS: error (device dm-11) in write_all_supers:4356: errno=-5 IO failure (1 errors while writing supers)
[16765.160316] BTRFS info (device dm-11: state E): forced readonly
[16765.160321] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[16765.160330] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[16765.166365] BTRFS warning (device dm-11: state EA): Skipping commit of aborted transaction.
[16765.166379] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[16765.172204] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[16765.187305] BTRFS warning (device dm-11: state EA): direct IO failed ino 1380 rw 0,0 sector 0x1aaae0 len 45056 err no 10
[16765.187420] BTRFS warning (device dm-11: state EA): direct IO failed ino 1380 rw 0,0 sector 0x19d038 len 4096 err no 10
[16765.188270] BTRFS warning (device dm-11: state EA): direct IO failed ino 1419 rw 0,0 sector 0x1b3670 len 32768 err no 10
[16765.188289] BTRFS warning (device dm-11: state EA): direct IO failed ino 1419 rw 0,0 sector 0x194338 len 4096 err no 10
[16765.192683] BTRFS warning (device dm-11: state EA): direct IO failed ino 262 rw 0,0 sector 0x1b8098 len 4096 err no 10
[16765.210493] BTRFS warning (device dm-11: state EA): direct IO failed ino 1356 rw 0,0 sector 0x1ac868 len 32768 err no 10
[16765.842208] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[16765.842220] BTRFS info (device dm-11): turning on async discard
[16765.842222] BTRFS info (device dm-11): disk space caching is enabled
[16765.893924] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[16765.914524] BTRFS: error (device dm-11: state A) in __btrfs_run_delayed_items:1182: errno=-5 IO failure
[16765.915316] BTRFS info (device dm-11: state EA): forced readonly
[16765.915321] BTRFS warning (device dm-11: state EA): Skipping commit of aborted transaction.
[16765.915325] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[16765.920353] BTRFS error (device dm-11: state EA): error reading free space cache
[16765.920384] BTRFS warning (device dm-11: state EA): failed to load free space cache for block group 298844160, rebuilding it now
[16765.923487] BTRFS: error (device dm-11: state EA) in do_free_extent_accounting:2848: errno=-5 IO failure
[16765.924522] BTRFS: error (device dm-11: state EA) in btrfs_run_delayed_refs:2141: errno=-5 IO failure
[16766.486703] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[16766.486714] BTRFS info (device dm-11): turning on async discard
[16766.486717] BTRFS info (device dm-11): disk space caching is enabled
[16767.535627] btrfs_dev_stat_inc_and_print: 42 callbacks suppressed
[16767.535633] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 1, rd 0, flush 0, corrupt 0, gen 0
[16767.535831] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[16767.535837] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 2, rd 0, flush 0, corrupt 0, gen 0
[16767.535852] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[16767.535856] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 3, rd 0, flush 0, corrupt 0, gen 0
[16767.536159] BTRFS error (device dm-11): error writing primary super block to device 1
[16767.536164] BTRFS: error (device dm-11) in write_all_supers:4356: errno=-5 IO failure (1 errors while writing supers)
[16767.536825] BTRFS info (device dm-11: state E): forced readonly
[16767.536830] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[16767.536837] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[16767.538159] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 3, rd 1, flush 0, corrupt 0, gen 0
[16767.538175] BTRFS warning (device dm-11: state EA): direct IO failed ino 1519 rw 0,0 sector 0x195608 len 8192 err no 10
[16767.538410] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 3, rd 2, flush 0, corrupt 0, gen 0
[16767.538423] BTRFS warning (device dm-11: state EA): direct IO failed ino 1539 rw 0,0 sector 0x1ce1e8 len 106496 err no 10
[16767.541516] BTRFS warning (device dm-11: state EA): Skipping commit of aborted transaction.
[16767.541527] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[16767.543508] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 3, rd 3, flush 0, corrupt 0, gen 0
[16767.543554] BTRFS warning (device dm-11: state EA): direct IO failed ino 265 rw 0,0 sector 0x1cb9d8 len 24576 err no 10
[16767.543752] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 3, rd 4, flush 0, corrupt 0, gen 0
[16767.543776] BTRFS warning (device dm-11: state EA): direct IO failed ino 265 rw 0,0 sector 0x1cba58 len 12288 err no 10
[16767.552459] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[16767.564035] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 3, rd 5, flush 0, corrupt 0, gen 0
[16767.565191] BTRFS warning (device dm-11: state EA): direct IO failed ino 286 rw 0,0 sector 0x1d7b88 len 69632 err no 10
[16767.565967] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 3, rd 6, flush 0, corrupt 0, gen 0
[16767.565990] BTRFS warning (device dm-11: state EA): direct IO failed ino 261 rw 0,0 sector 0x1d1e28 len 32768 err no 10
[16767.568519] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 3, rd 7, flush 0, corrupt 0, gen 0
[16767.568667] BTRFS warning (device dm-11: state EA): direct IO failed ino 260 rw 0,0 sector 0x1c6f70 len 53248 err no 10
[16767.570965] BTRFS warning (device dm-11: state EA): direct IO failed ino 265 rw 0,0 sector 0x1d6830 len 90112 err no 10
[16767.572911] BTRFS warning (device dm-11: state EA): direct IO failed ino 1476 rw 0,0 sector 0x1d0828 len 65536 err no 10
[16767.573915] BTRFS warning (device dm-11: state EA): direct IO failed ino 1524 rw 0,0 sector 0x1d10b0 len 20480 err no 10
[16767.574071] BTRFS warning (device dm-11: state EA): direct IO failed ino 259 rw 0,0 sector 0x1c42f0 len 4096 err no 10
[16767.605430] BTRFS warning (device dm-11: state EA): direct IO failed ino 1503 rw 0,0 sector 0x1d62f8 len 94208 err no 10
[16767.612660] BTRFS warning (device dm-11: state EA): direct IO failed ino 1503 rw 0,0 sector 0x1d6338 len 61440 err no 10
[16767.612790] BTRFS warning (device dm-11: state EA): direct IO failed ino 1522 rw 0,0 sector 0x1d4bb0 len 8192 err no 10
[16767.613733] BTRFS warning (device dm-11: state EA): direct IO failed ino 313 rw 0,0 sector 0x1bf508 len 16384 err no 10
[16767.615201] BTRFS warning (device dm-11: state EA): direct IO failed ino 1475 rw 0,0 sector 0x149ec0 len 16384 err no 10
[16767.616392] BTRFS warning (device dm-11: state EA): direct IO failed ino 1475 rw 0,0 sector 0x1d6158 len 57344 err no 10
[16768.208726] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[16768.208736] BTRFS info (device dm-11): turning on async discard
[16768.208738] BTRFS info (device dm-11): disk space caching is enabled
[16768.260782] BTRFS error (device dm-11): error reading free space cache
[16768.260805] BTRFS warning (device dm-11): failed to load free space cache for block group 298844160, rebuilding it now
[16768.263706] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[16768.276100] BTRFS warning (device dm-11): direct IO failed ino 1587 rw 1,34817 sector 0x312ef0 len 86016 err no 10
[16768.277904] BTRFS: error (device dm-11: state A) in do_free_extent_accounting:2848: errno=-5 IO failure
[16768.278890] BTRFS info (device dm-11: state EA): forced readonly
[16768.278918] BTRFS: error (device dm-11: state EA) in btrfs_run_delayed_refs:2141: errno=-5 IO failure
[16768.794833] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[16768.794842] BTRFS info (device dm-11): turning on async discard
[16768.794843] BTRFS info (device dm-11): disk space caching is enabled
[16768.831399] ------------[ cut here ]------------
[16768.831496] WARNING: CPU: 1 PID: 1693097 at fs/btrfs/discard.c:604 btrfs_discard_update_discardable+0x98/0xb0
[16768.831505] Modules linked in: dm_thin_pool dm_persistent_data dm_bio_prison dm_log_writes dm_dust dm_flakey nft_fib_inet nft_fib_ipv4 nft_fib_ipv6 nft_fib nft_reject_inet nf_reject_ipv4 nf_reject_ipv6 nft_reject nft_ct nft_chain_nat nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 ip6_tables nft_compat ip_set rfkill nf_tables nfnetlink intel_rapl_msr iTCO_wdt iTCO_vendor_support snd_hda_codec_generic snd_hda_intel snd_intel_dspcfg joydev intel_rapl_common snd_hda_codec snd_hwdep snd_hda_core snd_pcm lpc_ich i2c_i801 i2c_smbus snd_timer snd soundcore virtio_balloon zram ip_tables crct10dif_pclmul crc32_pclmul crc32c_intel xfs ghash_clmulni_intel serio_raw qemu_fw_cfg
[16768.831665] CPU: 1 PID: 1693097 Comm: kworker/u4:4 Tainted: G        W         5.19.0-rc8+ #787
[16768.831669] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.13.0-2.fc32 04/01/2014
[16768.831671] Workqueue: btrfs-cache btrfs_work_helper
[16768.831679] RIP: 0010:btrfs_discard_update_discardable+0x98/0xb0
[16768.831692] 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 ac 96 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
[16768.831696] RSP: 0018:ffffa614063fbad0 EFLAGS: 00010246
[16768.831701] RAX: 0000000000000000 RBX: ffff9850c899c000 RCX: 0000000000000001
[16768.831705] RDX: 0000000000000000 RSI: ffffffff8b807c93 RDI: ffffffff8b8a836e
[16768.831707] RBP: ffff9850d3ee8000 R08: 0000000000000000 R09: 0000000000001000
[16768.831710] R10: ffff985039a731b8 R11: 0000000000836900 R12: ffff9850d5fb8010
[16768.831713] R13: ffff9850d51d0e10 R14: ffff9850d3ee8000 R15: ffff9850d3cf47e0
[16768.831717] FS:  0000000000000000(0000) GS:ffff98513bd00000(0000) knlGS:0000000000000000
[16768.831720] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[16768.831723] CR2: 0000000000628000 CR3: 000000012ae46006 CR4: 0000000000370ee0
[16768.831729] Call Trace:
[16768.831732]  
[16768.831739]  __btrfs_remove_free_space_cache+0x27/0x30
[16768.831745]  load_free_space_cache+0xad2/0xaf0
[16768.831799]  caching_thread+0x40b/0x650
[16768.831807]  ? lock_release+0x137/0x2d0
[16768.831815]  btrfs_work_helper+0xf2/0x3e0
[16768.831819]  ? lock_is_held_type+0xe2/0x140
[16768.831826]  process_one_work+0x271/0x590
[16768.831836]  worker_thread+0x52/0x3b0
[16768.831841]  ? process_one_work+0x590/0x590
[16768.831844]  kthread+0xf0/0x120
[16768.831847]  ? kthread_complete_and_exit+0x20/0x20
[16768.831852]  ret_from_fork+0x1f/0x30
[16768.831866]  
[16768.831867] irq event stamp: 25236605
[16768.831869] hardirqs last  enabled at (25236611): [] __up_console_sem+0x5e/0x70
[16768.831872] hardirqs last disabled at (25236616): [] __up_console_sem+0x43/0x70
[16768.831875] softirqs last  enabled at (25236144): [] __irq_exit_rcu+0xeb/0x160
[16768.831878] softirqs last disabled at (25236135): [] __irq_exit_rcu+0xeb/0x160
[16768.831880] ---[ end trace 0000000000000000 ]---
[16768.831883] BTRFS warning (device dm-11): block group 298844160 has wrong amount of free space
[16768.831905] BTRFS warning (device dm-11): failed to load free space cache for block group 298844160, rebuilding it now
[16770.940844] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[16770.940861] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[16770.940871] BTRFS error (device dm-11): error writing primary super block to device 1
[16770.940876] BTRFS: error (device dm-11) in write_all_supers:4356: errno=-5 IO failure (1 errors while writing supers)
[16770.941631] BTRFS info (device dm-11: state E): forced readonly
[16770.941642] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[16770.941646] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[16770.943429] BTRFS warning (device dm-11: state EA): direct IO failed ino 417 rw 0,0 sector 0x1dac90 len 32768 err no 10
[16770.943500] BTRFS warning (device dm-11: state EA): direct IO failed ino 417 rw 0,0 sector 0x1dacd0 len 32768 err no 10
[16770.943704] BTRFS warning (device dm-11: state EA): direct IO failed ino 417 rw 0,0 sector 0x1d9480 len 20480 err no 10
[16770.944234] BTRFS warning (device dm-11: state EA): direct IO failed ino 417 rw 0,0 sector 0x1deb30 len 49152 err no 10
[16770.946131] BTRFS: error (device dm-11: state EA) in btrfs_sync_log:3192: errno=-5 IO failure
[16770.951364] BTRFS warning (device dm-11: state EA): direct IO failed ino 1604 rw 0,0 sector 0xa668 len 8192 err no 10
[16770.953601] BTRFS warning (device dm-11: state EA): direct IO failed ino 1609 rw 0,0 sector 0x1dc840 len 40960 err no 10
[16770.956582] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[16770.978767] BTRFS warning (device dm-11: state EA): direct IO failed ino 1602 rw 0,0 sector 0x1dc518 len 32768 err no 10
[16770.979303] BTRFS warning (device dm-11: state EA): direct IO failed ino 272 rw 0,0 sector 0x1e5c88 len 16384 err no 10
[16771.520006] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[16771.520015] BTRFS info (device dm-11): turning on async discard
[16771.520017] BTRFS info (device dm-11): disk space caching is enabled
[16771.524630] BTRFS info (device dm-11): start tree-log replay
[16773.814026] btrfs_dev_stat_inc_and_print: 72 callbacks suppressed
[16773.814031] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 1, rd 0, flush 0, corrupt 0, gen 0
[16773.814040] BTRFS warning (device dm-11): direct IO failed ino 308 rw 1,34817 sector 0x2173e0 len 94208 err no 10
[16773.814086] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 2, rd 0, flush 0, corrupt 0, gen 0
[16773.814090] BTRFS warning (device dm-11): direct IO failed ino 262 rw 1,34817 sector 0x217498 len 69632 err no 10
[16773.814105] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 2, rd 1, flush 0, corrupt 0, gen 0
[16773.814114] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 3, rd 1, flush 0, corrupt 0, gen 0
[16773.814119] BTRFS warning (device dm-11): direct IO failed ino 1676 rw 1,34817 sector 0x217520 len 73728 err no 10
[16773.815471] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 4, rd 1, flush 0, corrupt 0, gen 0
[16773.817451] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 4, rd 2, flush 0, corrupt 0, gen 0
[16773.817794] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 4, rd 3, flush 0, corrupt 0, gen 0
[16773.817894] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 4, rd 4, flush 0, corrupt 0, gen 0
[16773.818066] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 4, rd 5, flush 0, corrupt 0, gen 0
[16773.818209] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 4, rd 6, flush 0, corrupt 0, gen 0
[16773.832670] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[16773.840580] BTRFS: error (device dm-11: state A) in btrfs_create_new_inode:6432: errno=-5 IO failure
[16773.841098] BTRFS: error (device dm-11: state A) in btrfs_commit_transaction:2496: errno=-5 IO failure (Error while writing out transaction)
[16773.841327] BTRFS info (device dm-11: state EA): forced readonly
[16773.842311] BTRFS warning (device dm-11: state EA): Skipping commit of aborted transaction.
[16773.842332] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[16774.530672] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[16774.530680] BTRFS info (device dm-11): turning on async discard
[16774.530682] BTRFS info (device dm-11): disk space caching is enabled
[16776.568076] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[16776.568118] BTRFS error (device dm-11): error writing primary super block to device 1
[16776.568124] BTRFS: error (device dm-11) in write_all_supers:4356: errno=-5 IO failure (1 errors while writing supers)
[16776.569084] BTRFS info (device dm-11: state E): forced readonly
[16776.570132] BTRFS: error (device dm-11: state EA) in btrfs_sync_log:3203: errno=-5 IO failure
[16776.573580] BTRFS warning (device dm-11: state EA): direct IO failed ino 267 rw 0,0 sector 0x229f48 len 86016 err no 10
[16776.578384] BTRFS warning (device dm-11: state EA): direct IO failed ino 1856 rw 0,0 sector 0x222db8 len 4096 err no 10
[16776.578432] BTRFS warning (device dm-11: state EA): Skipping commit of aborted transaction.
[16776.578436] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[16776.583511] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[16776.587061] BTRFS warning (device dm-11: state EA): direct IO failed ino 1959 rw 0,0 sector 0x2321d8 len 32768 err no 10
[16776.588572] BTRFS warning (device dm-11: state EA): direct IO failed ino 1862 rw 0,0 sector 0x221928 len 12288 err no 10
[16776.603251] BTRFS warning (device dm-11: state EA): direct IO failed ino 1840 rw 0,0 sector 0x21f0c8 len 61440 err no 10
[16776.633564] BTRFS warning (device dm-11: state EA): direct IO failed ino 1578 rw 0,0 sector 0x219650 len 28672 err no 10
[16776.633592] BTRFS warning (device dm-11: state EA): direct IO failed ino 1578 rw 0,0 sector 0x139db0 len 61440 err no 10
[16776.633613] BTRFS warning (device dm-11: state EA): direct IO failed ino 1578 rw 0,0 sector 0x22f9d8 len 12288 err no 10
[16776.634937] BTRFS warning (device dm-11: state EA): direct IO failed ino 1891 rw 0,0 sector 0x2219f0 len 16384 err no 10
[16777.223547] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[16777.223556] BTRFS info (device dm-11): turning on async discard
[16777.223558] BTRFS info (device dm-11): disk space caching is enabled
[16778.258356] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[16778.258372] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[16778.258382] BTRFS error (device dm-11): error writing primary super block to device 1
[16778.258385] BTRFS: error (device dm-11) in write_all_supers:4356: errno=-5 IO failure (1 errors while writing supers)
[16778.259177] BTRFS info (device dm-11: state E): forced readonly
[16778.259182] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[16778.259192] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[16778.265017] BTRFS warning (device dm-11: state EA): Skipping commit of aborted transaction.
[16778.265029] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[16778.268590] BTRFS warning (device dm-11: state EA): direct IO failed ino 600 rw 0,0 sector 0x237970 len 8192 err no 10
[16778.271375] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[16778.271674] BTRFS warning (device dm-11: state EA): direct IO failed ino 2014 rw 0,0 sector 0x2418d8 len 57344 err no 10
[16778.289589] BTRFS warning (device dm-11: state EA): direct IO failed ino 263 rw 0,0 sector 0x246c78 len 61440 err no 10
[16778.291477] BTRFS warning (device dm-11: state EA): direct IO failed ino 600 rw 0,0 sector 0x74d0 len 4096 err no 10
[16778.291491] BTRFS warning (device dm-11: state EA): direct IO failed ino 600 rw 0,0 sector 0x74e0 len 4096 err no 10
[16778.293001] BTRFS warning (device dm-11: state EA): direct IO failed ino 1977 rw 0,0 sector 0x74e8 len 4096 err no 10
[16778.294994] BTRFS warning (device dm-11: state EA): direct IO failed ino 600 rw 0,0 sector 0x243a38 len 4096 err no 10
[16778.298476] BTRFS warning (device dm-11: state EA): direct IO failed ino 1977 rw 0,0 sector 0x2373e0 len 57344 err no 10
[16778.299029] BTRFS warning (device dm-11: state EA): direct IO failed ino 600 rw 0,0 sector 0x239e98 len 16384 err no 10
[16778.307143] BTRFS warning (device dm-11: state EA): direct IO failed ino 2014 rw 0,0 sector 0x2426b0 len 28672 err no 10
[16778.309244] BTRFS warning (device dm-11: state EA): direct IO failed ino 2014 rw 0,0 sector 0x241bf8 len 12288 err no 10
[16778.309274] BTRFS warning (device dm-11: state EA): direct IO failed ino 2014 rw 0,0 sector 0x218ce0 len 4096 err no 10
[16778.309286] BTRFS warning (device dm-11: state EA): direct IO failed ino 2014 rw 0,0 sector 0x218568 len 4096 err no 10
[16778.309295] BTRFS warning (device dm-11: state EA): direct IO failed ino 2014 rw 0,0 sector 0x219408 len 53248 err no 10
[16778.310372] BTRFS warning (device dm-11: state EA): direct IO failed ino 2035 rw 0,0 sector 0x247910 len 8192 err no 10
[16778.311233] BTRFS warning (device dm-11: state EA): direct IO failed ino 2014 rw 0,0 sector 0x241b40 len 94208 err no 10
[16778.903812] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[16778.903822] BTRFS info (device dm-11): turning on async discard
[16778.903824] BTRFS info (device dm-11): disk space caching is enabled
[16780.069303] btrfs_dev_stat_inc_and_print: 77 callbacks suppressed
[16780.069309] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 1, rd 0, flush 0, corrupt 0, gen 0
[16780.069394] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 2, rd 0, flush 0, corrupt 0, gen 0
[16780.071244] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 3, rd 0, flush 0, corrupt 0, gen 0
[16780.071259] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 4, rd 0, flush 0, corrupt 0, gen 0
[16780.072567] BTRFS: error (device dm-11: state A) in btrfs_replace_file_extents:2802: errno=-5 IO failure
[16780.073595] BTRFS info (device dm-11: state EA): forced readonly
[16780.076103] BTRFS warning (device dm-11: state EA): Skipping commit of aborted transaction.
[16780.077736] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 5, rd 0, flush 0, corrupt 0, gen 0
[16780.078566] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 6, rd 0, flush 0, corrupt 0, gen 0
[16780.081703] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[16780.697100] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[16780.697110] BTRFS info (device dm-11): turning on async discard
[16780.697112] BTRFS info (device dm-11): disk space caching is enabled
[16782.729766] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 1, rd 0, flush 0, corrupt 0, gen 0
[16782.730436] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 2, rd 0, flush 0, corrupt 0, gen 0
[16782.730445] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 3, rd 0, flush 0, corrupt 0, gen 0
[16782.730547] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 4, rd 0, flush 0, corrupt 0, gen 0
[16782.731385] BTRFS: error (device dm-11) in btrfs_commit_transaction:2496: errno=-5 IO failure (Error while writing out transaction)
[16782.732185] BTRFS info (device dm-11: state E): forced readonly
[16782.732192] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[16782.732196] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[16782.749488] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[16783.440984] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[16783.440994] BTRFS info (device dm-11): turning on async discard
[16783.440997] BTRFS info (device dm-11): disk space caching is enabled
[16783.447206] BTRFS info (device dm-11): start tree-log replay
[16783.461792] ------------[ cut here ]------------
[16783.461889] WARNING: CPU: 0 PID: 1693097 at fs/btrfs/discard.c:604 btrfs_discard_update_discardable+0x98/0xb0
[16783.461896] Modules linked in: dm_thin_pool dm_persistent_data dm_bio_prison dm_log_writes dm_dust dm_flakey nft_fib_inet nft_fib_ipv4 nft_fib_ipv6 nft_fib nft_reject_inet nf_reject_ipv4 nf_reject_ipv6 nft_reject nft_ct nft_chain_nat nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 ip6_tables nft_compat ip_set rfkill nf_tables nfnetlink intel_rapl_msr iTCO_wdt iTCO_vendor_support snd_hda_codec_generic snd_hda_intel snd_intel_dspcfg joydev intel_rapl_common snd_hda_codec snd_hwdep snd_hda_core snd_pcm lpc_ich i2c_i801 i2c_smbus snd_timer snd soundcore virtio_balloon zram ip_tables crct10dif_pclmul crc32_pclmul crc32c_intel xfs ghash_clmulni_intel serio_raw qemu_fw_cfg
[16783.461961] CPU: 0 PID: 1693097 Comm: kworker/u4:4 Tainted: G        W         5.19.0-rc8+ #787
[16783.461964] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.13.0-2.fc32 04/01/2014
[16783.461966] Workqueue: btrfs-cache btrfs_work_helper
[16783.461971] RIP: 0010:btrfs_discard_update_discardable+0x98/0xb0
[16783.461974] 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 ac 96 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
[16783.461976] RSP: 0018:ffffa614063fbad0 EFLAGS: 00010246
[16783.461979] RAX: 0000000000000000 RBX: ffff9850defa8a00 RCX: 0000000000000001
[16783.461980] RDX: 0000000000000000 RSI: ffffffff8b807c93 RDI: ffffffff8b8a836e
[16783.461982] RBP: ffff9850c2b4c000 R08: 0000000000000000 R09: 0000000000001000
[16783.461984] R10: ffff9850c70c9768 R11: 0000000000839d00 R12: ffff9850d5fbd810
[16783.461985] R13: ffff9850d4245890 R14: ffff9850c2b4c000 R15: ffff9850c4621690
[16783.461987] FS:  0000000000000000(0000) GS:ffff98513bc00000(0000) knlGS:0000000000000000
[16783.461989] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[16783.461991] CR2: 000055e248c03080 CR3: 000000010eaf4003 CR4: 0000000000370ef0
[16783.461995] Call Trace:
[16783.461997]  
[16783.462002]  __btrfs_remove_free_space_cache+0x27/0x30
[16783.462006]  load_free_space_cache+0xad2/0xaf0
[16783.462046]  caching_thread+0x40b/0x650
[16783.462054]  ? lock_release+0x137/0x2d0
[16783.462062]  btrfs_work_helper+0xf2/0x3e0
[16783.462065]  ? lock_is_held_type+0xe2/0x140
[16783.462072]  process_one_work+0x271/0x590
[16783.462081]  worker_thread+0x52/0x3b0
[16783.462086]  ? process_one_work+0x590/0x590
[16783.462089]  kthread+0xf0/0x120
[16783.462092]  ? kthread_complete_and_exit+0x20/0x20
[16783.462096]  ret_from_fork+0x1f/0x30
[16783.462110]  
[16783.462111] irq event stamp: 25301017
[16783.462112] hardirqs last  enabled at (25301023): [] __up_console_sem+0x5e/0x70
[16783.462115] hardirqs last disabled at (25301028): [] __up_console_sem+0x43/0x70
[16783.462118] softirqs last  enabled at (25300400): [] __irq_exit_rcu+0xeb/0x160
[16783.462121] softirqs last disabled at (25300395): [] __irq_exit_rcu+0xeb/0x160
[16783.462123] ---[ end trace 0000000000000000 ]---
[16783.462126] BTRFS warning (device dm-11): block group 298844160 has wrong amount of free space
[16783.462144] BTRFS warning (device dm-11): failed to load free space cache for block group 298844160, rebuilding it now
[16784.636713] BTRFS: error (device dm-11) in btrfs_commit_transaction:2496: errno=-5 IO failure (Error while writing out transaction)
[16784.637646] BTRFS info (device dm-11: state E): forced readonly
[16784.637651] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[16784.637655] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[16784.655201] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[16785.297057] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[16785.297069] BTRFS info (device dm-11): turning on async discard
[16785.297072] BTRFS info (device dm-11): disk space caching is enabled
[16785.336977] btrfs_dev_stat_inc_and_print: 31 callbacks suppressed
[16785.336982] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 0, rd 1, flush 0, corrupt 0, gen 0
[16785.338051] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 0, rd 2, flush 0, corrupt 0, gen 0
[16785.338273] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 0, rd 3, flush 0, corrupt 0, gen 0
[16785.338428] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 0, rd 4, flush 0, corrupt 0, gen 0
[16785.338882] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 0, rd 5, flush 0, corrupt 0, gen 0
[16785.338923] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 0, rd 6, flush 0, corrupt 0, gen 0
[16785.339091] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 0, rd 7, flush 0, corrupt 0, gen 0
[16785.339126] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 0, rd 8, flush 0, corrupt 0, gen 0
[16785.342126] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 0, rd 9, flush 0, corrupt 0, gen 0
[16785.342172] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 0, rd 10, flush 0, corrupt 0, gen 0
[16785.349699] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[16785.350758] BTRFS error (device dm-11): error reading free space cache
[16785.350794] BTRFS warning (device dm-11): failed to load free space cache for block group 298844160, rebuilding it now
[16785.361238] BTRFS warning (device dm-11): direct IO failed ino 2142 rw 1,34817 sector 0x312800 len 28672 err no 10
[16785.363566] BTRFS warning (device dm-11): direct IO failed ino 2142 rw 1,34817 sector 0x312800 len 118784 err no 10
[16785.366896] BTRFS warning (device dm-11): direct IO failed ino 2142 rw 1,34817 sector 0x312800 len 28672 err no 10
[16785.367645] BTRFS warning (device dm-11): direct IO failed ino 2142 rw 1,34817 sector 0x312800 len 40960 err no 10
[16785.414071] BTRFS: error (device dm-11: state A) in __btrfs_free_extent:3078: errno=-5 IO failure
[16785.414833] BTRFS info (device dm-11: state EA): forced readonly
[16785.414841] BTRFS: error (device dm-11: state EA) in btrfs_run_delayed_refs:2141: errno=-5 IO failure
[16785.928579] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[16785.928587] BTRFS info (device dm-11): turning on async discard
[16785.928589] BTRFS info (device dm-11): disk space caching is enabled
[16787.971586] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[16787.971614] BTRFS error (device dm-11): error writing primary super block to device 1
[16787.971619] BTRFS: error (device dm-11) in write_all_supers:4356: errno=-5 IO failure (1 errors while writing supers)
[16787.972405] BTRFS info (device dm-11: state E): forced readonly
[16787.972410] BTRFS: error (device dm-11: state EA) in btrfs_sync_log:3203: errno=-5 IO failure
[16787.973939] BTRFS warning (device dm-11: state EA): direct IO failed ino 257 rw 0,0 sector 0x6bf8 len 4096 err no 10
[16787.974298] BTRFS warning (device dm-11: state EA): direct IO failed ino 257 rw 0,0 sector 0x256348 len 49152 err no 10
[16787.977997] BTRFS warning (device dm-11: state EA): direct IO failed ino 2146 rw 0,0 sector 0x25a670 len 36864 err no 10
[16787.978023] BTRFS warning (device dm-11: state EA): direct IO failed ino 2146 rw 0,0 sector 0x2585a0 len 28672 err no 10
[16787.985080] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[16788.006041] BTRFS warning (device dm-11: state EA): direct IO failed ino 2149 rw 0,0 sector 0x254b80 len 24576 err no 10
[16788.008764] BTRFS warning (device dm-11: state EA): direct IO failed ino 2084 rw 0,0 sector 0x258bb0 len 12288 err no 10
[16788.008780] BTRFS warning (device dm-11: state EA): direct IO failed ino 2084 rw 0,0 sector 0x258960 len 32768 err no 10
[16788.009367] BTRFS warning (device dm-11: state EA): direct IO failed ino 2149 rw 0,0 sector 0x6c40 len 4096 err no 10
[16788.029610] BTRFS warning (device dm-11: state EA): direct IO failed ino 257 rw 0,0 sector 0x25a6f8 len 40960 err no 10
[16788.592361] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[16788.592370] BTRFS info (device dm-11): turning on async discard
[16788.592371] BTRFS info (device dm-11): disk space caching is enabled
[16788.597129] BTRFS info (device dm-11): start tree-log replay
[16788.600324] BTRFS warning (device dm-11): block group 30408704 has wrong amount of free space
[16788.600344] BTRFS warning (device dm-11): failed to load free space cache for block group 30408704, rebuilding it now
[16788.608235] ------------[ cut here ]------------
[16788.608316] WARNING: CPU: 0 PID: 2177955 at fs/btrfs/discard.c:604 btrfs_discard_update_discardable+0x98/0xb0
[16788.608348] Modules linked in: dm_thin_pool dm_persistent_data dm_bio_prison dm_log_writes dm_dust dm_flakey nft_fib_inet nft_fib_ipv4 nft_fib_ipv6 nft_fib nft_reject_inet nf_reject_ipv4 nf_reject_ipv6 nft_reject nft_ct nft_chain_nat nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 ip6_tables nft_compat ip_set rfkill nf_tables nfnetlink intel_rapl_msr iTCO_wdt iTCO_vendor_support snd_hda_codec_generic snd_hda_intel snd_intel_dspcfg joydev intel_rapl_common snd_hda_codec snd_hwdep snd_hda_core snd_pcm lpc_ich i2c_i801 i2c_smbus snd_timer snd soundcore virtio_balloon zram ip_tables crct10dif_pclmul crc32_pclmul crc32c_intel xfs ghash_clmulni_intel serio_raw qemu_fw_cfg
[16788.608413] CPU: 0 PID: 2177955 Comm: kworker/u4:7 Tainted: G        W         5.19.0-rc8+ #787
[16788.608416] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.13.0-2.fc32 04/01/2014
[16788.608418] Workqueue: btrfs-cache btrfs_work_helper
[16788.608423] RIP: 0010:btrfs_discard_update_discardable+0x98/0xb0
[16788.608426] 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 ac 96 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
[16788.608428] RSP: 0018:ffffa61402883ad0 EFLAGS: 00010246
[16788.608431] RAX: 0000000000000000 RBX: ffff9850defa9a00 RCX: 0000000000000001
[16788.608432] RDX: 0000000000000000 RSI: ffffffff8b807c93 RDI: ffffffff8b8a836e
[16788.608434] RBP: ffff9850cf650000 R08: 0000000000000000 R09: 0000000000001000
[16788.608436] R10: ffff9850c7fc4970 R11: 0000000000839e00 R12: ffff9850d5fbf810
[16788.608437] R13: ffff9850c34dd890 R14: ffff9850cf650000 R15: ffff9850c4621310
[16788.608439] FS:  0000000000000000(0000) GS:ffff98513bc00000(0000) knlGS:0000000000000000
[16788.608441] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[16788.608443] CR2: 00007f33827c2ad8 CR3: 000000011293a006 CR4: 0000000000370ef0
[16788.608447] Call Trace:
[16788.608449]  
[16788.608453]  __btrfs_remove_free_space_cache+0x27/0x30
[16788.608458]  load_free_space_cache+0xad2/0xaf0
[16788.608498]  caching_thread+0x40b/0x650
[16788.608506]  ? lock_release+0x137/0x2d0
[16788.608513]  btrfs_work_helper+0xf2/0x3e0
[16788.608516]  ? lock_is_held_type+0xe2/0x140
[16788.608524]  process_one_work+0x271/0x590
[16788.608533]  ? process_one_work+0x590/0x590
[16788.608535]  worker_thread+0x52/0x3b0
[16788.608540]  ? process_one_work+0x590/0x590
[16788.608543]  kthread+0xf0/0x120
[16788.608545]  ? kthread_complete_and_exit+0x20/0x20
[16788.608550]  ret_from_fork+0x1f/0x30
[16788.608564]  
[16788.608565] irq event stamp: 930743
[16788.608566] hardirqs last  enabled at (930749): [] __up_console_sem+0x5e/0x70
[16788.608569] hardirqs last disabled at (930754): [] __up_console_sem+0x43/0x70
[16788.608571] softirqs last  enabled at (930210): [] __irq_exit_rcu+0xeb/0x160
[16788.608575] softirqs last disabled at (930203): [] __irq_exit_rcu+0xeb/0x160
[16788.608577] ---[ end trace 0000000000000000 ]---
[16788.608580] BTRFS warning (device dm-11): block group 298844160 has wrong amount of free space
[16788.608583] BTRFS warning (device dm-11): failed to load free space cache for block group 298844160, rebuilding it now
[16788.974911] BTRFS error (device dm-11): error loading props for ino 267 (root 5): -5
[16788.979861] BTRFS warning (device dm-11): direct IO failed ino 2177 rw 1,34817 sector 0x25a818 len 69632 err no 10
[16788.980038] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[16788.984235] BTRFS warning (device dm-11): direct IO failed ino 2179 rw 1,34817 sector 0x25ab38 len 45056 err no 10
[16788.986578] BTRFS warning (device dm-11): direct IO failed ino 2179 rw 1,34817 sector 0x25ab38 len 118784 err no 10
[16788.991364] BTRFS warning (device dm-11): direct IO failed ino 2178 rw 1,34817 sector 0x25ab38 len 81920 err no 10
[16788.993539] BTRFS warning (device dm-11): direct IO failed ino 2178 rw 1,34817 sector 0x25ab38 len 61440 err no 10
[16788.994138] BTRFS warning (device dm-11): direct IO failed ino 2181 rw 1,34817 sector 0x25ab38 len 57344 err no 10
[16789.032981] BTRFS: error (device dm-11: state A) in __btrfs_run_delayed_items:1182: errno=-5 IO failure
[16789.033661] BTRFS info (device dm-11: state EA): forced readonly
[16789.033665] BTRFS warning (device dm-11: state EA): Skipping commit of aborted transaction.
[16789.033668] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[16789.540611] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[16789.540620] BTRFS info (device dm-11): turning on async discard
[16789.540622] BTRFS info (device dm-11): disk space caching is enabled
[16790.692589] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[16790.692596] btrfs_dev_stat_inc_and_print: 102 callbacks suppressed
[16790.692597] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 1, rd 0, flush 0, corrupt 0, gen 0
[16790.692608] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[16790.692611] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 2, rd 0, flush 0, corrupt 0, gen 0
[16790.692620] BTRFS error (device dm-11): error writing primary super block to device 1
[16790.692622] BTRFS: error (device dm-11) in write_all_supers:4356: errno=-5 IO failure (1 errors while writing supers)
[16790.693344] BTRFS info (device dm-11: state E): forced readonly
[16790.693355] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[16790.693358] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[16790.694824] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 2, rd 1, flush 0, corrupt 0, gen 0
[16790.694887] BTRFS: error (device dm-11: state EA) in btrfs_sync_log:3192: errno=-5 IO failure
[16790.694898] BTRFS warning (device dm-11: state EA): direct IO failed ino 2175 rw 0,0 sector 0x25ade0 len 20480 err no 10
[16790.698009] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 3, rd 1, flush 0, corrupt 0, gen 0
[16790.700966] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 3, rd 2, flush 0, corrupt 0, gen 0
[16790.701222] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 3, rd 3, flush 0, corrupt 0, gen 0
[16790.701893] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 3, rd 4, flush 0, corrupt 0, gen 0
[16790.703515] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 3, rd 5, flush 0, corrupt 0, gen 0
[16790.704970] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 3, rd 6, flush 0, corrupt 0, gen 0
[16790.705741] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 3, rd 7, flush 0, corrupt 0, gen 0
[16790.710527] BTRFS warning (device dm-11: state EA): direct IO failed ino 1809 rw 0,0 sector 0x25d180 len 4096 err no 10
[16790.710893] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[16790.711599] BTRFS warning (device dm-11: state EA): direct IO failed ino 2077 rw 0,0 sector 0x25e440 len 12288 err no 10
[16790.712830] BTRFS warning (device dm-11: state EA): direct IO failed ino 2077 rw 0,0 sector 0x25e440 len 28672 err no 10
[16790.749081] BTRFS warning (device dm-11: state EA): direct IO failed ino 2175 rw 0,0 sector 0x25ad38 len 16384 err no 10
[16790.749098] BTRFS warning (device dm-11: state EA): direct IO failed ino 2175 rw 0,0 sector 0x252d70 len 4096 err no 10
[16791.311712] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[16791.311737] BTRFS info (device dm-11): turning on async discard
[16791.311739] BTRFS info (device dm-11): disk space caching is enabled
[16791.328005] BTRFS warning (device dm-11): block group 30408704 has wrong amount of free space
[16791.328025] BTRFS warning (device dm-11): failed to load free space cache for block group 30408704, rebuilding it now
[16793.347455] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[16793.347471] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[16793.347480] BTRFS error (device dm-11): error writing primary super block to device 1
[16793.347485] BTRFS: error (device dm-11) in write_all_supers:4356: errno=-5 IO failure (1 errors while writing supers)
[16793.348350] BTRFS info (device dm-11: state E): forced readonly
[16793.348355] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[16793.348380] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[16793.349341] BTRFS warning (device dm-11: state EA): Skipping commit of aborted transaction.
[16793.349349] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[16793.358013] BTRFS warning (device dm-11: state EA): direct IO failed ino 343 rw 0,0 sector 0x263358 len 57344 err no 10
[16793.362686] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[16793.382039] BTRFS warning (device dm-11: state EA): direct IO failed ino 2296 rw 0,0 sector 0x26bf20 len 77824 err no 10
[16793.383592] BTRFS warning (device dm-11: state EA): direct IO failed ino 2241 rw 0,0 sector 0x26c600 len 77824 err no 10
[16793.383803] BTRFS warning (device dm-11: state EA): direct IO failed ino 1960 rw 0,0 sector 0x26cbd8 len 4096 err no 10
[16793.383883] BTRFS warning (device dm-11: state EA): direct IO failed ino 2132 rw 0,0 sector 0x2550a0 len 8192 err no 10
[16793.407918] BTRFS warning (device dm-11: state EA): direct IO failed ino 2201 rw 0,0 sector 0x2678a8 len 4096 err no 10
[16793.408003] BTRFS warning (device dm-11: state EA): direct IO failed ino 2225 rw 0,0 sector 0x265e28 len 28672 err no 10
[16793.408806] BTRFS warning (device dm-11: state EA): direct IO failed ino 2271 rw 0,0 sector 0x26d2a8 len 53248 err no 10
[16793.408907] BTRFS warning (device dm-11: state EA): direct IO failed ino 343 rw 0,0 sector 0x7ab8 len 20480 err no 10
[16793.410603] BTRFS warning (device dm-11: state EA): direct IO failed ino 2079 rw 0,0 sector 0x262ee8 len 24576 err no 10
[16794.006112] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[16794.006120] BTRFS info (device dm-11): turning on async discard
[16794.006122] BTRFS info (device dm-11): disk space caching is enabled
[16794.044527] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[16794.047583] BTRFS error (device dm-11): error reading free space cache
[16794.047625] BTRFS warning (device dm-11): failed to load free space cache for block group 298844160, rebuilding it now
[16794.048971] BTRFS warning (device dm-11): direct IO failed ino 2305 rw 1,34817 sector 0x312800 len 28672 err no 10
[16794.089370] BTRFS: error (device dm-11: state A) in __btrfs_free_extent:3078: errno=-5 IO failure
[16794.089979] BTRFS info (device dm-11: state EA): forced readonly
[16794.089988] BTRFS: error (device dm-11: state EA) in btrfs_run_delayed_refs:2141: errno=-5 IO failure
[16794.641712] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[16794.641722] BTRFS info (device dm-11): turning on async discard
[16794.641725] BTRFS info (device dm-11): disk space caching is enabled
[16794.688545] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[16794.713095] BTRFS error (device dm-11): error reading free space cache
[16794.713123] BTRFS warning (device dm-11): failed to load free space cache for block group 298844160, rebuilding it now
[16794.717108] BTRFS: error (device dm-11: state A) in do_free_extent_accounting:2848: errno=-5 IO failure
[16794.717907] BTRFS info (device dm-11: state EA): forced readonly
[16794.717914] BTRFS: error (device dm-11: state EA) in btrfs_run_delayed_refs:2141: errno=-5 IO failure
[16795.257034] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[16795.257042] BTRFS info (device dm-11): turning on async discard
[16795.257065] BTRFS info (device dm-11): disk space caching is enabled
[16795.288326] ------------[ cut here ]------------
[16795.288422] WARNING: CPU: 0 PID: 2177955 at fs/btrfs/discard.c:604 btrfs_discard_update_discardable+0x98/0xb0
[16795.288431] Modules linked in: dm_thin_pool dm_persistent_data dm_bio_prison dm_log_writes dm_dust dm_flakey nft_fib_inet nft_fib_ipv4 nft_fib_ipv6 nft_fib nft_reject_inet nf_reject_ipv4 nf_reject_ipv6 nft_reject nft_ct nft_chain_nat nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 ip6_tables nft_compat ip_set rfkill nf_tables nfnetlink intel_rapl_msr iTCO_wdt iTCO_vendor_support snd_hda_codec_generic snd_hda_intel snd_intel_dspcfg joydev intel_rapl_common snd_hda_codec snd_hwdep snd_hda_core snd_pcm lpc_ich i2c_i801 i2c_smbus snd_timer snd soundcore virtio_balloon zram ip_tables crct10dif_pclmul crc32_pclmul crc32c_intel xfs ghash_clmulni_intel serio_raw qemu_fw_cfg
[16795.288541] CPU: 0 PID: 2177955 Comm: kworker/u4:7 Tainted: G        W         5.19.0-rc8+ #787
[16795.288545] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.13.0-2.fc32 04/01/2014
[16795.288548] Workqueue: btrfs-cache btrfs_work_helper
[16795.288555] RIP: 0010:btrfs_discard_update_discardable+0x98/0xb0
[16795.288581] 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 ac 96 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
[16795.288585] RSP: 0018:ffffa61402883ad0 EFLAGS: 00010246
[16795.288591] RAX: 0000000000000000 RBX: ffff985109a8a200 RCX: 0000000000000001
[16795.288594] RDX: 0000000000000000 RSI: ffffffff8b807c93 RDI: ffffffff8b8a836e
[16795.288596] RBP: ffff9850d0070000 R08: 0000000000000000 R09: 0000000000001000
[16795.288599] R10: 000000000003e14a R11: 0000000000839f00 R12: ffff9850d5fb9810
[16795.288602] R13: ffff9850d5176b30 R14: ffff9850d0070000 R15: ffff9850c4621ee0
[16795.288605] FS:  0000000000000000(0000) GS:ffff98513bc00000(0000) knlGS:0000000000000000
[16795.288608] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[16795.288611] CR2: 00007ffcdb75ef80 CR3: 000000012925a004 CR4: 0000000000370ef0
[16795.288617] Call Trace:
[16795.288621]  
[16795.288627]  __btrfs_remove_free_space_cache+0x27/0x30
[16795.288634]  load_free_space_cache+0xad2/0xaf0
[16795.288715]  caching_thread+0x40b/0x650
[16795.288748]  ? lock_release+0x137/0x2d0
[16795.288761]  btrfs_work_helper+0xf2/0x3e0
[16795.288765]  ? lock_is_held_type+0xe2/0x140
[16795.288777]  process_one_work+0x271/0x590
[16795.288792]  ? process_one_work+0x590/0x590
[16795.288797]  worker_thread+0x52/0x3b0
[16795.288805]  ? process_one_work+0x590/0x590
[16795.288810]  kthread+0xf0/0x120
[16795.288814]  ? kthread_complete_and_exit+0x20/0x20
[16795.288822]  ret_from_fork+0x1f/0x30
[16795.288845]  
[16795.288847] irq event stamp: 960661
[16795.288849] hardirqs last  enabled at (960667): [] __up_console_sem+0x5e/0x70
[16795.288854] hardirqs last disabled at (960672): [] __up_console_sem+0x43/0x70
[16795.288857] softirqs last  enabled at (960108): [] __irq_exit_rcu+0xeb/0x160
[16795.288862] softirqs last disabled at (960099): [] __irq_exit_rcu+0xeb/0x160
[16795.288865] ---[ end trace 0000000000000000 ]---
[16795.288869] BTRFS warning (device dm-11): block group 298844160 has wrong amount of free space
[16795.288895] BTRFS warning (device dm-11): failed to load free space cache for block group 298844160, rebuilding it now
[16796.375180] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[16796.375187] btrfs_dev_stat_inc_and_print: 112 callbacks suppressed
[16796.375188] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 1, rd 0, flush 0, corrupt 0, gen 0
[16796.375193] BTRFS error (device dm-11): error writing primary super block to device 1
[16796.375195] BTRFS: error (device dm-11) in write_all_supers:4356: errno=-5 IO failure (1 errors while writing supers)
[16796.376118] BTRFS info (device dm-11: state E): forced readonly
[16796.376130] BTRFS: error (device dm-11: state EA) in btrfs_sync_log:3203: errno=-5 IO failure
[16796.377482] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 1, rd 1, flush 0, corrupt 0, gen 0
[16796.377501] BTRFS warning (device dm-11: state EA): direct IO failed ino 258 rw 0,0 sector 0x2560a8 len 53248 err no 10
[16796.380660] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 1, rd 2, flush 0, corrupt 0, gen 0
[16796.380681] BTRFS warning (device dm-11: state EA): direct IO failed ino 2356 rw 0,0 sector 0x277738 len 40960 err no 10
[16796.381699] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 2, rd 2, flush 0, corrupt 0, gen 0
[16796.382479] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 3, rd 2, flush 0, corrupt 0, gen 0
[16796.382792] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 4, rd 2, flush 0, corrupt 0, gen 0
[16796.382829] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 5, rd 2, flush 0, corrupt 0, gen 0
[16796.383144] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 6, rd 2, flush 0, corrupt 0, gen 0
[16796.383387] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 7, rd 2, flush 0, corrupt 0, gen 0
[16796.383436] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 8, rd 2, flush 0, corrupt 0, gen 0
[16796.387297] BTRFS warning (device dm-11: state EA): Skipping commit of aborted transaction.
[16796.387305] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[16796.388497] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[16796.413005] BTRFS warning (device dm-11: state EA): direct IO failed ino 265 rw 0,0 sector 0x273fa8 len 69632 err no 10
[16796.935337] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[16796.935348] BTRFS info (device dm-11): turning on async discard
[16796.935350] BTRFS info (device dm-11): disk space caching is enabled
[16796.967582] BTRFS info (device dm-11): the free space cache file (298844160) is invalid, skip it
[16799.038480] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[16799.038496] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[16799.038506] BTRFS error (device dm-11): error writing primary super block to device 1
[16799.038509] BTRFS: error (device dm-11) in write_all_supers:4356: errno=-5 IO failure (1 errors while writing supers)
[16799.039393] BTRFS info (device dm-11: state E): forced readonly
[16799.039404] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[16799.039407] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[16799.039504] BTRFS: error (device dm-11: state EA) in btrfs_sync_log:3192: errno=-5 IO failure
[16799.044064] BTRFS warning (device dm-11: state EA): direct IO failed ino 2380 rw 0,0 sector 0x27e468 len 36864 err no 10
[16799.044067] BTRFS warning (device dm-11: state EA): Skipping commit of aborted transaction.
[16799.044072] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[16799.045041] BTRFS warning (device dm-11: state EA): direct IO failed ino 2380 rw 0,0 sector 0x2529c8 len 4096 err no 10
[16799.055092] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[16799.056378] BTRFS warning (device dm-11: state EA): direct IO failed ino 2400 rw 0,0 sector 0x2821a8 len 40960 err no 10
[16799.057395] BTRFS warning (device dm-11: state EA): direct IO failed ino 2362 rw 0,0 sector 0x2537e0 len 20480 err no 10
[16799.081141] BTRFS warning (device dm-11: state EA): direct IO failed ino 2362 rw 0,0 sector 0x27e0d0 len 16384 err no 10
[16799.083408] BTRFS warning (device dm-11: state EA): direct IO failed ino 2362 rw 0,0 sector 0x2537a0 len 53248 err no 10
[16799.083955] BTRFS warning (device dm-11: state EA): direct IO failed ino 2399 rw 0,0 sector 0xa770 len 4096 err no 10
[16799.084049] BTRFS warning (device dm-11: state EA): direct IO failed ino 2310 rw 0,0 sector 0x27dfc0 len 4096 err no 10
[16799.085329] BTRFS warning (device dm-11: state EA): direct IO failed ino 2362 rw 0,0 sector 0x253760 len 86016 err no 10
[16799.085746] BTRFS warning (device dm-11: state EA): direct IO failed ino 2394 rw 0,0 sector 0x281668 len 28672 err no 10
[16799.086820] BTRFS warning (device dm-11: state EA): direct IO failed ino 2362 rw 0,0 sector 0x27e0b0 len 32768 err no 10
[16799.087791] BTRFS warning (device dm-11: state EA): direct IO failed ino 2387 rw 0,0 sector 0x2806a0 len 24576 err no 10
[16799.088137] BTRFS warning (device dm-11: state EA): direct IO failed ino 2400 rw 0,0 sector 0x2821e8 len 8192 err no 10
[16799.653006] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[16799.653015] BTRFS info (device dm-11): turning on async discard
[16799.653017] BTRFS info (device dm-11): disk space caching is enabled
[16799.684410] ------------[ cut here ]------------
[16799.684490] WARNING: CPU: 0 PID: 2177955 at fs/btrfs/discard.c:604 btrfs_discard_update_discardable+0x98/0xb0
[16799.684497] Modules linked in: dm_thin_pool dm_persistent_data dm_bio_prison dm_log_writes dm_dust dm_flakey nft_fib_inet nft_fib_ipv4 nft_fib_ipv6 nft_fib nft_reject_inet nf_reject_ipv4 nf_reject_ipv6 nft_reject nft_ct nft_chain_nat nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 ip6_tables nft_compat ip_set rfkill nf_tables nfnetlink intel_rapl_msr iTCO_wdt iTCO_vendor_support snd_hda_codec_generic snd_hda_intel snd_intel_dspcfg joydev intel_rapl_common snd_hda_codec snd_hwdep snd_hda_core snd_pcm lpc_ich i2c_i801 i2c_smbus snd_timer snd soundcore virtio_balloon zram ip_tables crct10dif_pclmul crc32_pclmul crc32c_intel xfs ghash_clmulni_intel serio_raw qemu_fw_cfg
[16799.684562] CPU: 0 PID: 2177955 Comm: kworker/u4:7 Tainted: G        W         5.19.0-rc8+ #787
[16799.684564] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.13.0-2.fc32 04/01/2014
[16799.684566] Workqueue: btrfs-cache btrfs_work_helper
[16799.684571] RIP: 0010:btrfs_discard_update_discardable+0x98/0xb0
[16799.684574] 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 ac 96 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
[16799.684576] RSP: 0018:ffffa61402883ad0 EFLAGS: 00010246
[16799.684579] RAX: 0000000000000000 RBX: ffff985109a8ba00 RCX: 0000000000000001
[16799.684581] RDX: 0000000000000000 RSI: ffffffff8b807c93 RDI: ffffffff8b8a836e
[16799.684582] RBP: ffff9850c3b10000 R08: 0000000000000000 R09: 0000000000001000
[16799.684584] R10: ffff984fcdae6560 R11: 000000000083c100 R12: ffff9850d5fb9810
[16799.684585] R13: ffff9850c04d84c0 R14: ffff9850c3b10000 R15: ffff9850c4621af0
[16799.684587] FS:  0000000000000000(0000) GS:ffff98513bc00000(0000) knlGS:0000000000000000
[16799.684589] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[16799.684591] CR2: 00000000020fb090 CR3: 0000000171010004 CR4: 0000000000370ef0
[16799.684595] Call Trace:
[16799.684598]  
[16799.684602]  __btrfs_remove_free_space_cache+0x27/0x30
[16799.684606]  load_free_space_cache+0xad2/0xaf0
[16799.684654]  caching_thread+0x40b/0x650
[16799.684663]  ? lock_release+0x137/0x2d0
[16799.684671]  btrfs_work_helper+0xf2/0x3e0
[16799.684674]  ? lock_is_held_type+0xe2/0x140
[16799.684681]  process_one_work+0x271/0x590
[16799.684690]  ? process_one_work+0x590/0x590
[16799.684693]  worker_thread+0x52/0x3b0
[16799.684697]  ? process_one_work+0x590/0x590
[16799.684700]  kthread+0xf0/0x120
[16799.684703]  ? kthread_complete_and_exit+0x20/0x20
[16799.684707]  ret_from_fork+0x1f/0x30
[16799.684721]  
[16799.684723] irq event stamp: 995933
[16799.684724] hardirqs last  enabled at (995939): [] __up_console_sem+0x5e/0x70
[16799.684727] hardirqs last disabled at (995944): [] __up_console_sem+0x43/0x70
[16799.684729] softirqs last  enabled at (995364): [] __irq_exit_rcu+0xeb/0x160
[16799.684732] softirqs last disabled at (995357): [] __irq_exit_rcu+0xeb/0x160
[16799.684735] ---[ end trace 0000000000000000 ]---
[16799.684738] BTRFS warning (device dm-11): block group 298844160 has wrong amount of free space
[16799.684756] BTRFS warning (device dm-11): failed to load free space cache for block group 298844160, rebuilding it now
[16800.833492] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[16800.833509] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[16800.833519] BTRFS error (device dm-11): error writing primary super block to device 1
[16800.833522] BTRFS: error (device dm-11) in write_all_supers:4356: errno=-5 IO failure (1 errors while writing supers)
[16800.834351] BTRFS info (device dm-11: state E): forced readonly
[16800.834356] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[16800.834359] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[16800.838130] BTRFS warning (device dm-11: state EA): Skipping commit of aborted transaction.
[16800.838136] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[16800.845931] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[16800.862660] BTRFS warning (device dm-11: state EA): direct IO failed ino 2175 rw 0,0 sector 0x283f98 len 4096 err no 10
[16800.864300] BTRFS warning (device dm-11: state EA): direct IO failed ino 2175 rw 0,0 sector 0x284348 len 12288 err no 10
[16800.864321] BTRFS warning (device dm-11: state EA): direct IO failed ino 2175 rw 0,0 sector 0x283b70 len 53248 err no 10
[16801.391801] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[16801.391809] BTRFS info (device dm-11): turning on async discard
[16801.391811] BTRFS info (device dm-11): disk space caching is enabled
[16801.395540] BTRFS info (device dm-11): start tree-log replay
[16802.713733] btrfs_dev_stat_inc_and_print: 87 callbacks suppressed
[16802.713737] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 1, rd 0, flush 0, corrupt 0, gen 0
[16802.713788] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 2, rd 0, flush 0, corrupt 0, gen 0
[16802.714719] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 3, rd 0, flush 0, corrupt 0, gen 0
[16802.714751] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 4, rd 0, flush 0, corrupt 0, gen 0
[16802.714901] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 5, rd 0, flush 0, corrupt 0, gen 0
[16802.714912] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 6, rd 0, flush 0, corrupt 0, gen 0
[16802.715100] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 7, rd 0, flush 0, corrupt 0, gen 0
[16802.715106] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 8, rd 0, flush 0, corrupt 0, gen 0
[16802.715299] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 9, rd 0, flush 0, corrupt 0, gen 0
[16802.715305] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 10, rd 0, flush 0, corrupt 0, gen 0
[16802.715358] BTRFS: error (device dm-11) in btrfs_commit_transaction:2496: errno=-5 IO failure (Error while writing out transaction)
[16802.716767] BTRFS info (device dm-11: state E): forced readonly
[16802.716773] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[16802.716777] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[16802.717343] BTRFS warning (device dm-11: state EA): direct IO failed ino 335 rw 1,34817 sector 0x85e8 len 4096 err no 10
[16802.729645] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[16803.322671] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[16803.322680] BTRFS info (device dm-11): turning on async discard
[16803.322681] BTRFS info (device dm-11): disk space caching is enabled
[16803.327646] BTRFS info (device dm-11): start tree-log replay
[16803.648504] BTRFS warning (device dm-11): direct IO failed ino 2306 rw 1,34817 sector 0x286260 len 118784 err no 10
[16803.654459] BTRFS warning (device dm-11): direct IO failed ino 2413 rw 1,34817 sector 0x85e8 len 4096 err no 10
[16803.658842] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[16803.662213] BTRFS: error (device dm-11: state A) in __btrfs_run_delayed_items:1182: errno=-5 IO failure
[16803.662954] BTRFS info (device dm-11: state EA): forced readonly
[16803.662959] BTRFS warning (device dm-11: state EA): Skipping commit of aborted transaction.
[16803.662964] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[16803.664431] BTRFS: error (device dm-11: state EA) in do_free_extent_accounting:2848: errno=-5 IO failure
[16803.665107] BTRFS: error (device dm-11: state EA) in btrfs_run_delayed_refs:2141: errno=-5 IO failure
[16804.166878] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[16804.166887] BTRFS info (device dm-11): turning on async discard
[16804.166889] BTRFS info (device dm-11): disk space caching is enabled
[16804.203658] BTRFS error (device dm-11): error reading free space cache
[16804.203676] BTRFS warning (device dm-11): failed to load free space cache for block group 298844160, rebuilding it now
[16804.204434] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[16804.211300] BTRFS: error (device dm-11: state A) in __btrfs_free_extent:3078: errno=-5 IO failure
[16804.212015] BTRFS info (device dm-11: state EA): forced readonly
[16804.212038] BTRFS: error (device dm-11: state EA) in btrfs_run_delayed_refs:2141: errno=-5 IO failure
[16804.690461] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[16804.690470] BTRFS info (device dm-11): turning on async discard
[16804.690472] BTRFS info (device dm-11): disk space caching is enabled
[16804.733802] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[16804.754909] BTRFS error (device dm-11): error reading free space cache
[16804.754929] BTRFS warning (device dm-11): failed to load free space cache for block group 298844160, rebuilding it now
[16804.755624] BTRFS: error (device dm-11: state A) in __btrfs_free_extent:3078: errno=-5 IO failure
[16804.756102] BTRFS info (device dm-11: state EA): forced readonly
[16804.756108] BTRFS: error (device dm-11: state EA) in btrfs_run_delayed_refs:2141: errno=-5 IO failure
[16804.758901] BTRFS: error (device dm-11: state EA) in __btrfs_free_extent:3078: errno=-5 IO failure
[16804.759451] BTRFS: error (device dm-11: state EA) in btrfs_run_delayed_refs:2141: errno=-5 IO failure
[16805.196205] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[16805.196220] BTRFS info (device dm-11): turning on async discard
[16805.196223] BTRFS info (device dm-11): disk space caching is enabled
[16807.284641] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[16807.284667] BTRFS error (device dm-11): error writing primary super block to device 1
[16807.284673] BTRFS: error (device dm-11) in write_all_supers:4356: errno=-5 IO failure (1 errors while writing supers)
[16807.285948] BTRFS info (device dm-11: state E): forced readonly
[16807.285960] BTRFS: error (device dm-11: state EA) in btrfs_sync_log:3203: errno=-5 IO failure
[16807.288900] BTRFS warning (device dm-11: state EA): direct IO failed ino 2199 rw 0,0 sector 0x287af0 len 57344 err no 10
[16807.291187] BTRFS warning (device dm-11: state EA): direct IO failed ino 2441 rw 0,0 sector 0x288768 len 32768 err no 10
[16807.291553] BTRFS warning (device dm-11: state EA): direct IO failed ino 2438 rw 0,0 sector 0x287df8 len 73728 err no 10
[16807.294403] BTRFS warning (device dm-11: state EA): Skipping commit of aborted transaction.
[16807.294409] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[16807.300061] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[16807.314202] BTRFS warning (device dm-11: state EA): direct IO failed ino 2438 rw 0,0 sector 0x2609b8 len 4096 err no 10
[16807.315674] BTRFS warning (device dm-11: state EA): direct IO failed ino 2413 rw 0,0 sector 0x286b30 len 32768 err no 10
[16807.337376] BTRFS warning (device dm-11: state EA): direct IO failed ino 2139 rw 0,0 sector 0x2866c0 len 4096 err no 10
[16807.342855] BTRFS warning (device dm-11: state EA): direct IO failed ino 2441 rw 0,0 sector 0x288790 len 24576 err no 10
[16807.344427] BTRFS warning (device dm-11: state EA): direct IO failed ino 2441 rw 0,0 sector 0x288750 len 57344 err no 10
[16807.870764] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[16807.870773] BTRFS info (device dm-11): turning on async discard
[16807.870775] BTRFS info (device dm-11): disk space caching is enabled
[16807.875559] BTRFS info (device dm-11): start tree-log replay
[16808.152201] btrfs_dev_stat_inc_and_print: 128 callbacks suppressed
[16808.152205] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 1, rd 0, flush 0, corrupt 0, gen 0
[16808.152549] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 1, rd 1, flush 0, corrupt 0, gen 0
[16808.152557] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 2, rd 1, flush 0, corrupt 0, gen 0
[16808.153310] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 2, rd 2, flush 0, corrupt 0, gen 0
[16808.155553] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 3, rd 2, flush 0, corrupt 0, gen 0
[16808.155702] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 4, rd 2, flush 0, corrupt 0, gen 0
[16808.156171] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 5, rd 2, flush 0, corrupt 0, gen 0
[16808.156436] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 5, rd 3, flush 0, corrupt 0, gen 0
[16808.156450] BTRFS warning (device dm-11): direct IO failed ino 2361 rw 0,0 sector 0x288718 len 24576 err no 10
[16808.157405] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 5, rd 4, flush 0, corrupt 0, gen 0
[16808.157484] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 5, rd 5, flush 0, corrupt 0, gen 0
[16808.160440] BTRFS: error (device dm-11: state A) in __btrfs_free_extent:3078: errno=-5 IO failure
[16808.160993] BTRFS info (device dm-11: state EA): forced readonly
[16808.160999] BTRFS: error (device dm-11: state EA) in btrfs_run_delayed_refs:2141: errno=-5 IO failure
[16808.162264] BTRFS warning (device dm-11: state EA): direct IO failed ino 2306 rw 0,0 sector 0x288748 len 4096 err no 10
[16808.162449] BTRFS warning (device dm-11: state EA): direct IO failed ino 2306 rw 0,0 sector 0x288830 len 24576 err no 10
[16808.162737] BTRFS warning (device dm-11: state EA): direct IO failed ino 2306 rw 0,0 sector 0x288800 len 24576 err no 10
[16808.162913] BTRFS warning (device dm-11: state EA): direct IO failed ino 2306 rw 0,0 sector 0x288748 len 81920 err no 10
[16808.163944] BTRFS warning (device dm-11: state EA): direct IO failed ino 2306 rw 0,0 sector 0x288830 len 61440 err no 10
[16808.166548] BTRFS warning (device dm-11: state EA): direct IO failed ino 2306 rw 0,0 sector 0x288790 len 81920 err no 10
[16808.167034] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[16808.173945] BTRFS warning (device dm-11: state EA): direct IO failed ino 2306 rw 0,0 sector 0x2887e0 len 40960 err no 10
[16808.174254] BTRFS warning (device dm-11: state EA): direct IO failed ino 2306 rw 0,0 sector 0x288798 len 77824 err no 10
[16808.174692] BTRFS warning (device dm-11: state EA): direct IO failed ino 2306 rw 0,0 sector 0x288830 len 57344 err no 10
[16808.202832] BTRFS warning (device dm-11: state EA): direct IO failed ino 2444 rw 0,0 sector 0x2886d0 len 16384 err no 10
[16808.712826] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[16808.712836] BTRFS info (device dm-11): turning on async discard
[16808.712838] BTRFS info (device dm-11): disk space caching is enabled
[16810.793228] BTRFS: error (device dm-11: state A) in btrfs_create_new_inode:6432: errno=-5 IO failure
[16810.793837] BTRFS info (device dm-11: state EA): forced readonly
[16810.795880] BTRFS warning (device dm-11: state EA): direct IO failed ino 2469 rw 0,0 sector 0x2916f8 len 61440 err no 10
[16810.796047] BTRFS warning (device dm-11: state EA): Skipping commit of aborted transaction.
[16810.801276] BTRFS warning (device dm-11: state EA): direct IO failed ino 2310 rw 0,0 sector 0x28d1e8 len 28672 err no 10
[16810.802322] BTRFS warning (device dm-11: state EA): direct IO failed ino 257 rw 0,0 sector 0x291c80 len 4096 err no 10
[16810.807523] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[16810.820418] BTRFS warning (device dm-11: state EA): direct IO failed ino 2463 rw 0,0 sector 0x28f930 len 49152 err no 10
[16810.821230] BTRFS warning (device dm-11: state EA): direct IO failed ino 2445 rw 0,0 sector 0x28dbd8 len 8192 err no 10
[16810.824420] BTRFS warning (device dm-11: state EA): direct IO failed ino 1840 rw 0,0 sector 0x28a0f8 len 4096 err no 10
[16810.858661] BTRFS warning (device dm-11: state EA): direct IO failed ino 2362 rw 0,0 sector 0x28cb20 len 8192 err no 10
[16810.859069] BTRFS warning (device dm-11: state EA): direct IO failed ino 2362 rw 0,0 sector 0x291df8 len 12288 err no 10
[16810.859463] BTRFS warning (device dm-11: state EA): direct IO failed ino 2316 rw 0,0 sector 0x291b08 len 49152 err no 10
[16810.860741] BTRFS warning (device dm-11: state EA): direct IO failed ino 2316 rw 0,0 sector 0x291ae0 len 20480 err no 10
[16811.407355] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[16811.407364] BTRFS info (device dm-11): turning on async discard
[16811.407366] BTRFS info (device dm-11): disk space caching is enabled
[16811.411958] BTRFS info (device dm-11): start tree-log replay
[16811.563994] BTRFS info (device dm-11): checking UUID tree
[16812.624536] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[16812.624552] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[16812.624561] BTRFS error (device dm-11): error writing primary super block to device 1
[16812.624564] BTRFS: error (device dm-11) in write_all_supers:4356: errno=-5 IO failure (1 errors while writing supers)
[16812.625144] BTRFS info (device dm-11: state E): forced readonly
[16812.625154] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[16812.625157] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[16812.626500] BTRFS: error (device dm-11: state EA) in btrfs_sync_log:3192: errno=-5 IO failure
[16812.630170] BTRFS warning (device dm-11: state EA): direct IO failed ino 2485 rw 0,0 sector 0x292ef0 len 28672 err no 10
[16812.633472] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[16812.633736] BTRFS warning (device dm-11: state EA): Skipping commit of aborted transaction.
[16812.633741] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[16812.660237] BTRFS warning (device dm-11: state EA): direct IO failed ino 2362 rw 0,0 sector 0x296130 len 8192 err no 10
[16812.662117] BTRFS warning (device dm-11: state EA): direct IO failed ino 2362 rw 0,0 sector 0x295f70 len 32768 err no 10
[16812.662773] BTRFS warning (device dm-11: state EA): direct IO failed ino 2505 rw 0,0 sector 0x296360 len 40960 err no 10
[16813.131984] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[16813.132000] BTRFS info (device dm-11): turning on async discard
[16813.132003] BTRFS info (device dm-11): disk space caching is enabled
[16813.175294] btrfs_dev_stat_inc_and_print: 134 callbacks suppressed
[16813.175299] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 0, rd 1, flush 0, corrupt 0, gen 0
[16813.175314] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 0, rd 2, flush 0, corrupt 0, gen 0
[16813.175533] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 0, rd 3, flush 0, corrupt 0, gen 0
[16813.176574] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 0, rd 4, flush 0, corrupt 0, gen 0
[16813.176689] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 0, rd 5, flush 0, corrupt 0, gen 0
[16813.176721] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 0, rd 6, flush 0, corrupt 0, gen 0
[16813.177201] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 0, rd 7, flush 0, corrupt 0, gen 0
[16813.177750] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 0, rd 8, flush 0, corrupt 0, gen 0
[16813.177940] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 0, rd 9, flush 0, corrupt 0, gen 0
[16813.177944] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 0, rd 10, flush 0, corrupt 0, gen 0
[16813.179926] BTRFS error (device dm-11): error reading free space cache
[16813.179948] BTRFS warning (device dm-11): failed to load free space cache for block group 298844160, rebuilding it now
[16813.180598] BTRFS warning (device dm-11): direct IO failed ino 2504 rw 1,34817 sector 0x312800 len 49152 err no 10
[16813.193431] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[16813.224373] BTRFS: error (device dm-11: state A) in __btrfs_free_extent:3078: errno=-5 IO failure
[16813.224985] BTRFS info (device dm-11: state EA): forced readonly
[16813.224993] BTRFS: error (device dm-11: state EA) in btrfs_run_delayed_refs:2141: errno=-5 IO failure
[16813.735969] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[16813.735978] BTRFS info (device dm-11): turning on async discard
[16813.735980] BTRFS info (device dm-11): disk space caching is enabled
[16815.830030] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[16815.830068] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[16815.830152] BTRFS error (device dm-11): error writing primary super block to device 1
[16815.830155] BTRFS: error (device dm-11) in write_all_supers:4356: errno=-5 IO failure (1 errors while writing supers)
[16815.830828] BTRFS info (device dm-11: state E): forced readonly
[16815.830842] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[16815.830845] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[16815.831473] BTRFS: error (device dm-11: state EA) in btrfs_sync_log:3192: errno=-5 IO failure
[16815.839838] BTRFS warning (device dm-11: state EA): direct IO failed ino 2241 rw 0,0 sector 0x293fb0 len 8192 err no 10
[16815.839999] BTRFS warning (device dm-11: state EA): Skipping commit of aborted transaction.
[16815.840003] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[16815.842552] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[16815.863384] BTRFS warning (device dm-11: state EA): direct IO failed ino 257 rw 0,0 sector 0x2a2168 len 24576 err no 10
[16815.864473] BTRFS warning (device dm-11: state EA): direct IO failed ino 257 rw 0,0 sector 0x2a2098 len 49152 err no 10
[16815.866294] BTRFS warning (device dm-11: state EA): direct IO failed ino 271 rw 0,0 sector 0x29fe48 len 20480 err no 10
[16815.869459] BTRFS warning (device dm-11: state EA): direct IO failed ino 2506 rw 0,0 sector 0x29d6c0 len 65536 err no 10
[16815.870764] BTRFS warning (device dm-11: state EA): direct IO failed ino 2515 rw 0,0 sector 0x29dd30 len 16384 err no 10
[16815.871377] BTRFS warning (device dm-11: state EA): direct IO failed ino 264 rw 0,0 sector 0x2a1c00 len 20480 err no 10
[16815.873752] BTRFS warning (device dm-11: state EA): direct IO failed ino 264 rw 0,0 sector 0x2a1bd8 len 65536 err no 10
[16815.886579] BTRFS warning (device dm-11: state EA): direct IO failed ino 267 rw 0,0 sector 0x29b350 len 28672 err no 10
[16815.888395] BTRFS warning (device dm-11: state EA): direct IO failed ino 275 rw 0,0 sector 0x2a0e50 len 61440 err no 10
[16815.891835] BTRFS warning (device dm-11: state EA): direct IO failed ino 264 rw 0,0 sector 0x2a1cc8 len 4096 err no 10
[16815.892851] BTRFS warning (device dm-11: state EA): direct IO failed ino 264 rw 0,0 sector 0x2a1be8 len 57344 err no 10
[16815.894378] BTRFS warning (device dm-11: state EA): direct IO failed ino 2506 rw 0,0 sector 0x296440 len 4096 err no 10
[16816.521697] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[16816.521709] BTRFS info (device dm-11): turning on async discard
[16816.521712] BTRFS info (device dm-11): disk space caching is enabled
[16816.527799] BTRFS info (device dm-11): start tree-log replay
[16817.712338] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[16817.712359] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[16817.712372] BTRFS error (device dm-11): error writing primary super block to device 1
[16817.712377] BTRFS: error (device dm-11) in write_all_supers:4356: errno=-5 IO failure (1 errors while writing supers)
[16817.712457] BTRFS warning (device dm-11): direct IO failed ino 2408 rw 1,34817 sector 0x2b6a40 len 69632 err no 10
[16817.713077] BTRFS info (device dm-11: state E): forced readonly
[16817.713083] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[16817.713083] BTRFS warning (device dm-11: state E): direct IO failed ino 2408 rw 1,34817 sector 0x2a56e8 len 53248 err no 10
[16817.713087] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[16817.714697] BTRFS warning (device dm-11: state EA): direct IO failed ino 2551 rw 0,0 sector 0x8618 len 4096 err no 10
[16817.728543] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[16817.743528] BTRFS warning (device dm-11: state EA): direct IO failed ino 258 rw 0,0 sector 0x2b6858 len 12288 err no 10
[16817.746981] BTRFS warning (device dm-11: state EA): direct IO failed ino 257 rw 0,0 sector 0x2b5e00 len 24576 err no 10
[16817.771520] BTRFS warning (device dm-11: state EA): direct IO failed ino 2408 rw 0,0 sector 0x2a31d0 len 45056 err no 10
[16817.773898] BTRFS warning (device dm-11: state EA): direct IO failed ino 258 rw 0,0 sector 0x2b0a00 len 12288 err no 10
[16817.775125] BTRFS warning (device dm-11: state EA): direct IO failed ino 257 rw 0,0 sector 0x2a1a30 len 4096 err no 10
[16817.776942] BTRFS warning (device dm-11: state EA): direct IO failed ino 2408 rw 0,0 sector 0x2b3238 len 12288 err no 10
[16818.385975] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[16818.385987] BTRFS info (device dm-11): turning on async discard
[16818.385990] BTRFS info (device dm-11): disk space caching is enabled
[16818.392293] BTRFS info (device dm-11): start tree-log replay
[16820.487898] btrfs_dev_stat_inc_and_print: 75 callbacks suppressed
[16820.487901] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 1, rd 0, flush 0, corrupt 0, gen 0
[16820.487955] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 2, rd 0, flush 0, corrupt 0, gen 0
[16820.488899] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 3, rd 0, flush 0, corrupt 0, gen 0
[16820.495249] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 4, rd 0, flush 0, corrupt 0, gen 0
[16820.496709] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 5, rd 0, flush 0, corrupt 0, gen 0
[16820.497749] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[16820.497786] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 6, rd 0, flush 0, corrupt 0, gen 0
[16820.497795] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 7, rd 0, flush 0, corrupt 0, gen 0
[16820.498101] BTRFS: error (device dm-11) in btrfs_commit_transaction:2496: errno=-5 IO failure (Error while writing out transaction)
[16820.498844] BTRFS info (device dm-11: state E): forced readonly
[16820.498849] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[16820.498852] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[16820.503348] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 8, rd 0, flush 0, corrupt 0, gen 0
[16820.504050] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 9, rd 0, flush 0, corrupt 0, gen 0
[16820.504054] BTRFS warning (device dm-11: state EA): direct IO failed ino 264 rw 1,34817 sector 0x2db020 len 65536 err no 10
[16820.504766] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 10, rd 0, flush 0, corrupt 0, gen 0
[16820.506383] BTRFS warning (device dm-11: state EA): Skipping commit of aborted transaction.
[16820.530965] BTRFS warning (device dm-11: state EA): direct IO failed ino 2617 rw 0,0 sector 0x2ce1e8 len 61440 err no 10
[16820.531384] BTRFS warning (device dm-11: state EA): direct IO failed ino 266 rw 0,0 sector 0x2da118 len 81920 err no 10
[16820.531477] BTRFS warning (device dm-11: state EA): direct IO failed ino 261 rw 0,0 sector 0x2ba9c0 len 40960 err no 10
[16820.531947] BTRFS warning (device dm-11: state EA): direct IO failed ino 2657 rw 0,0 sector 0x2d83e0 len 4096 err no 10
[16820.532416] BTRFS warning (device dm-11: state EA): direct IO failed ino 260 rw 0,0 sector 0x2ce3c8 len 53248 err no 10
[16820.534671] BTRFS warning (device dm-11: state EA): direct IO failed ino 267 rw 0,0 sector 0x2d9948 len 77824 err no 10
[16820.536394] BTRFS warning (device dm-11: state EA): direct IO failed ino 2663 rw 0,0 sector 0x2ce8b0 len 32768 err no 10
[16820.539194] BTRFS warning (device dm-11: state EA): direct IO failed ino 2659 rw 0,0 sector 0x2ca498 len 57344 err no 10
[16821.138049] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[16821.138058] BTRFS info (device dm-11): turning on async discard
[16821.138060] BTRFS info (device dm-11): disk space caching is enabled
[16821.142477] BTRFS info (device dm-11): start tree-log replay
[16821.157409] ------------[ cut here ]------------
[16821.157485] WARNING: CPU: 0 PID: 2177953 at fs/btrfs/discard.c:604 btrfs_discard_update_discardable+0x98/0xb0
[16821.157492] Modules linked in: dm_thin_pool dm_persistent_data dm_bio_prison dm_log_writes dm_dust dm_flakey nft_fib_inet nft_fib_ipv4 nft_fib_ipv6 nft_fib nft_reject_inet nf_reject_ipv4 nf_reject_ipv6 nft_reject nft_ct nft_chain_nat nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 ip6_tables nft_compat ip_set rfkill nf_tables nfnetlink intel_rapl_msr iTCO_wdt iTCO_vendor_support snd_hda_codec_generic snd_hda_intel snd_intel_dspcfg joydev intel_rapl_common snd_hda_codec snd_hwdep snd_hda_core snd_pcm lpc_ich i2c_i801 i2c_smbus snd_timer snd soundcore virtio_balloon zram ip_tables crct10dif_pclmul crc32_pclmul crc32c_intel xfs ghash_clmulni_intel serio_raw qemu_fw_cfg
[16821.157556] CPU: 0 PID: 2177953 Comm: kworker/u4:3 Tainted: G        W         5.19.0-rc8+ #787
[16821.157559] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.13.0-2.fc32 04/01/2014
[16821.157561] Workqueue: btrfs-cache btrfs_work_helper
[16821.157566] RIP: 0010:btrfs_discard_update_discardable+0x98/0xb0
[16821.157568] 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 ac 96 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
[16821.157570] RSP: 0018:ffffa614027ebad0 EFLAGS: 00010246
[16821.157573] RAX: 0000000000000000 RBX: ffff9850c41ff800 RCX: 0000000000000001
[16821.157575] RDX: 0000000000000000 RSI: ffffffff8b807c93 RDI: ffffffff8b8a836e
[16821.157576] RBP: ffff9850c545c000 R08: 0000000000000000 R09: 0000000000001000
[16821.157578] R10: 000000000004527e R11: 000000000083eb00 R12: ffff9850d5fbd810
[16821.157580] R13: ffff9850d50ae1e0 R14: ffff9850c545c000 R15: ffff9850dacbfe00
[16821.157581] FS:  0000000000000000(0000) GS:ffff98513bc00000(0000) knlGS:0000000000000000
[16821.157583] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[16821.157585] CR2: 000055e248c03080 CR3: 000000010eaf4002 CR4: 0000000000370ef0
[16821.157589] Call Trace:
[16821.157591]  
[16821.157596]  __btrfs_remove_free_space_cache+0x27/0x30
[16821.157600]  load_free_space_cache+0xad2/0xaf0
[16821.157640]  caching_thread+0x40b/0x650
[16821.157649]  ? lock_release+0x137/0x2d0
[16821.157656]  btrfs_work_helper+0xf2/0x3e0
[16821.157659]  ? lock_is_held_type+0xe2/0x140
[16821.157666]  process_one_work+0x271/0x590
[16821.157676]  worker_thread+0x52/0x3b0
[16821.157681]  ? process_one_work+0x590/0x590
[16821.157684]  kthread+0xf0/0x120
[16821.157686]  ? kthread_complete_and_exit+0x20/0x20
[16821.157691]  ret_from_fork+0x1f/0x30
[16821.157704]  
[16821.157705] irq event stamp: 253473
[16821.157707] hardirqs last  enabled at (253479): [] __up_console_sem+0x5e/0x70
[16821.157710] hardirqs last disabled at (253484): [] __up_console_sem+0x43/0x70
[16821.157712] softirqs last  enabled at (252828): [] __irq_exit_rcu+0xeb/0x160
[16821.157715] softirqs last disabled at (252819): [] __irq_exit_rcu+0xeb/0x160
[16821.157717] ---[ end trace 0000000000000000 ]---
[16821.157721] BTRFS warning (device dm-11): block group 298844160 has wrong amount of free space
[16821.157737] BTRFS warning (device dm-11): failed to load free space cache for block group 298844160, rebuilding it now
[16821.229861] BTRFS: error (device dm-11: state A) in maybe_insert_hole:5022: errno=-5 IO failure
[16821.230682] BTRFS info (device dm-11: state EA): forced readonly
[16821.231415] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[16821.889096] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[16821.889108] BTRFS info (device dm-11): turning on async discard
[16821.889112] BTRFS info (device dm-11): disk space caching is enabled
[16823.944587] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[16823.944601] BTRFS warning (device dm-11): direct IO failed ino 2683 rw 1,34817 sector 0x2d9ee0 len 28672 err no 10
[16823.944603] BTRFS error (device dm-11): error writing primary super block to device 1
[16823.944606] BTRFS: error (device dm-11) in write_all_supers:4356: errno=-5 IO failure (1 errors while writing supers)
[16823.944617] BTRFS warning (device dm-11): direct IO failed ino 2683 rw 1,34817 sector 0x2948f0 len 12288 err no 10
[16823.945257] BTRFS info (device dm-11: state E): forced readonly
[16823.945262] BTRFS: error (device dm-11: state EA) in btrfs_sync_log:3203: errno=-5 IO failure
[16823.962453] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[16823.971805] BTRFS warning (device dm-11: state EA): direct IO failed ino 2785 rw 0,0 sector 0x2ec018 len 40960 err no 10
[16823.972350] BTRFS warning (device dm-11: state EA): direct IO failed ino 2820 rw 0,0 sector 0x2f1820 len 24576 err no 10
[16823.972587] BTRFS warning (device dm-11: state EA): direct IO failed ino 257 rw 0,0 sector 0x29f520 len 81920 err no 10
[16823.993396] BTRFS warning (device dm-11: state EA): direct IO failed ino 288 rw 0,0 sector 0x2f7d18 len 45056 err no 10
[16823.993917] BTRFS warning (device dm-11: state EA): direct IO failed ino 2864 rw 0,0 sector 0x2a1788 len 45056 err no 10
[16823.993939] BTRFS warning (device dm-11: state EA): direct IO failed ino 258 rw 0,0 sector 0x2166f8 len 4096 err no 10
[16823.995342] BTRFS warning (device dm-11: state EA): direct IO failed ino 259 rw 0,0 sector 0x29f348 len 32768 err no 10
[16824.016979] BTRFS warning (device dm-11: state EA): direct IO failed ino 2794 rw 0,0 sector 0x2dc478 len 12288 err no 10
[16824.017454] BTRFS warning (device dm-11: state EA): direct IO failed ino 2716 rw 0,0 sector 0x2e75e0 len 61440 err no 10
[16824.594551] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[16824.594561] BTRFS info (device dm-11): turning on async discard
[16824.594563] BTRFS info (device dm-11): disk space caching is enabled
[16826.642314] btrfs_dev_stat_inc_and_print: 50 callbacks suppressed
[16826.642319] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 1, rd 0, flush 0, corrupt 0, gen 0
[16826.642512] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 2, rd 0, flush 0, corrupt 0, gen 0
[16826.642567] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[16826.642572] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 3, rd 0, flush 0, corrupt 0, gen 0
[16826.642591] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[16826.642595] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 4, rd 0, flush 0, corrupt 0, gen 0
[16826.642600] BTRFS error (device dm-11): error writing primary super block to device 1
[16826.642604] BTRFS: error (device dm-11) in write_all_supers:4356: errno=-5 IO failure (1 errors while writing supers)
[16826.643292] BTRFS info (device dm-11: state E): forced readonly
[16826.643297] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[16826.643300] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[16826.646708] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 4, rd 1, flush 0, corrupt 0, gen 0
[16826.647882] BTRFS warning (device dm-11: state EA): direct IO failed ino 258 rw 0,0 sector 0x303490 len 28672 err no 10
[16826.648027] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 5, rd 1, flush 0, corrupt 0, gen 0
[16826.649114] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 6, rd 1, flush 0, corrupt 0, gen 0
[16826.651388] BTRFS warning (device dm-11: state EA): Skipping commit of aborted transaction.
[16826.651393] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[16826.658479] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[16826.678231] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 6, rd 2, flush 0, corrupt 0, gen 0
[16826.678251] BTRFS warning (device dm-11: state EA): direct IO failed ino 2990 rw 0,0 sector 0x2a3f10 len 16384 err no 10
[16826.680490] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 6, rd 3, flush 0, corrupt 0, gen 0
[16826.680509] BTRFS warning (device dm-11: state EA): direct IO failed ino 3045 rw 0,0 sector 0x3030e0 len 24576 err no 10
[16826.680869] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 6, rd 4, flush 0, corrupt 0, gen 0
[16826.680883] BTRFS warning (device dm-11: state EA): direct IO failed ino 3045 rw 0,0 sector 0x303070 len 81920 err no 10
[16826.682827] BTRFS warning (device dm-11: state EA): direct IO failed ino 2914 rw 0,0 sector 0x2a3840 len 36864 err no 10
[16826.696329] BTRFS warning (device dm-11: state EA): direct IO failed ino 257 rw 0,0 sector 0x302510 len 8192 err no 10
[16826.697415] BTRFS warning (device dm-11: state EA): direct IO failed ino 275 rw 0,0 sector 0x2ffb08 len 45056 err no 10
[16826.697784] BTRFS warning (device dm-11: state EA): direct IO failed ino 257 rw 0,0 sector 0x2a7750 len 45056 err no 10
[16826.702581] BTRFS warning (device dm-11: state EA): direct IO failed ino 289 rw 0,0 sector 0x253728 len 94208 err no 10
[16826.714165] BTRFS warning (device dm-11: state EA): direct IO failed ino 1246 rw 0,0 sector 0x221f70 len 4096 err no 10
[16827.272910] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[16827.272953] BTRFS info (device dm-11): turning on async discard
[16827.272957] BTRFS info (device dm-11): disk space caching is enabled
[16827.279240] BTRFS info (device dm-11): start tree-log replay
[16827.385161] BTRFS: error (device dm-11: state A) in btrfs_add_link:6588: errno=-5 IO failure
[16827.385913] BTRFS info (device dm-11: state EA): forced readonly
[16827.385942] BTRFS: error (device dm-11: state EA) in btrfs_create_new_inode:6528: errno=-5 IO failure
[16827.387279] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[16827.874080] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[16827.874089] BTRFS info (device dm-11): turning on async discard
[16827.874091] BTRFS info (device dm-11): disk space caching is enabled
[16827.910543] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[16827.934391] BTRFS: error (device dm-11: state A) in btrfs_run_delayed_refs:2141: errno=-5 IO failure
[16827.934957] BTRFS info (device dm-11: state EA): forced readonly
[16828.455190] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[16828.455200] BTRFS info (device dm-11): turning on async discard
[16828.455202] BTRFS info (device dm-11): disk space caching is enabled
[16830.494169] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[16830.494181] BTRFS error (device dm-11): error writing primary super block to device 1
[16830.494186] BTRFS: error (device dm-11) in write_all_supers:4356: errno=-5 IO failure (1 errors while writing supers)
[16830.494213] BTRFS warning (device dm-11): direct IO failed ino 3148 rw 1,34817 sector 0x2d5ce8 len 12288 err no 10
[16830.494933] BTRFS info (device dm-11: state E): forced readonly
[16830.494939] BTRFS: error (device dm-11: state EA) in btrfs_sync_log:3203: errno=-5 IO failure
[16830.497022] BTRFS warning (device dm-11: state EA): direct IO failed ino 3154 rw 0,0 sector 0x2a8918 len 53248 err no 10
[16830.503374] BTRFS warning (device dm-11: state EA): direct IO failed ino 3154 rw 0,0 sector 0x2a8928 len 45056 err no 10
[16830.508872] BTRFS warning (device dm-11: state EA): direct IO failed ino 3080 rw 0,0 sector 0x225650 len 49152 err no 10
[16830.514060] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[16830.522995] BTRFS warning (device dm-11: state EA): direct IO failed ino 3102 rw 0,0 sector 0x220810 len 61440 err no 10
[16830.537872] BTRFS warning (device dm-11: state EA): direct IO failed ino 264 rw 0,0 sector 0x217fc8 len 12288 err no 10
[16830.537934] BTRFS warning (device dm-11: state EA): direct IO failed ino 264 rw 0,0 sector 0x2168c0 len 4096 err no 10
[16830.538457] BTRFS warning (device dm-11: state EA): direct IO failed ino 3154 rw 0,0 sector 0x2a88f8 len 20480 err no 10
[16830.561910] BTRFS warning (device dm-11: state EA): direct IO failed ino 3091 rw 0,0 sector 0x1dbc08 len 4096 err no 10
[16830.566187] BTRFS warning (device dm-11: state EA): direct IO failed ino 265 rw 0,0 sector 0x224ed8 len 12288 err no 10
[16831.308335] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[16831.308344] BTRFS info (device dm-11): turning on async discard
[16831.308346] BTRFS info (device dm-11): disk space caching is enabled
[16831.353217] ------------[ cut here ]------------
[16831.353318] WARNING: CPU: 0 PID: 1958142 at fs/btrfs/discard.c:604 btrfs_discard_update_discardable+0x98/0xb0
[16831.353325] Modules linked in: dm_thin_pool dm_persistent_data dm_bio_prison dm_log_writes dm_dust dm_flakey nft_fib_inet nft_fib_ipv4 nft_fib_ipv6 nft_fib nft_reject_inet nf_reject_ipv4 nf_reject_ipv6 nft_reject nft_ct nft_chain_nat nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 ip6_tables nft_compat ip_set rfkill nf_tables nfnetlink intel_rapl_msr iTCO_wdt iTCO_vendor_support snd_hda_codec_generic snd_hda_intel snd_intel_dspcfg joydev intel_rapl_common snd_hda_codec snd_hwdep snd_hda_core snd_pcm lpc_ich i2c_i801 i2c_smbus snd_timer snd soundcore virtio_balloon zram ip_tables crct10dif_pclmul crc32_pclmul crc32c_intel xfs ghash_clmulni_intel serio_raw qemu_fw_cfg
[16831.353400] CPU: 0 PID: 1958142 Comm: kworker/u4:6 Tainted: G        W         5.19.0-rc8+ #787
[16831.353403] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.13.0-2.fc32 04/01/2014
[16831.353405] Workqueue: btrfs-cache btrfs_work_helper
[16831.353411] RIP: 0010:btrfs_discard_update_discardable+0x98/0xb0
[16831.353414] 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 ac 96 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
[16831.353416] RSP: 0018:ffffa61402bbbad0 EFLAGS: 00010246
[16831.353420] RAX: 0000000000000000 RBX: ffff9850c41ff400 RCX: 0000000000000001
[16831.353422] RDX: 0000000000000000 RSI: ffffffff8b807c93 RDI: ffffffff8b8a836e
[16831.353423] RBP: ffff9850d3b74000 R08: 0000000000000000 R09: 0000000000001000
[16831.353425] R10: ffff984fc721a768 R11: 0000000000840e00 R12: ffff9850d5fbe810
[16831.353427] R13: ffff9850c36f4f40 R14: ffff9850d3b74000 R15: ffff9850c4621e00
[16831.353429] FS:  0000000000000000(0000) GS:ffff98513bc00000(0000) knlGS:0000000000000000
[16831.353431] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[16831.353433] CR2: 00007fad6bb86760 CR3: 0000000102eee004 CR4: 0000000000370ef0
[16831.353437] Call Trace:
[16831.353441]  
[16831.353445]  __btrfs_remove_free_space_cache+0x27/0x30
[16831.353451]  load_free_space_cache+0xad2/0xaf0
[16831.353496]  caching_thread+0x40b/0x650
[16831.353505]  ? lock_release+0x137/0x2d0
[16831.353514]  btrfs_work_helper+0xf2/0x3e0
[16831.353517]  ? lock_is_held_type+0xe2/0x140
[16831.353525]  process_one_work+0x271/0x590
[16831.353535]  ? process_one_work+0x590/0x590
[16831.353538]  worker_thread+0x52/0x3b0
[16831.353544]  ? process_one_work+0x590/0x590
[16831.353547]  kthread+0xf0/0x120
[16831.353550]  ? kthread_complete_and_exit+0x20/0x20
[16831.353555]  ret_from_fork+0x1f/0x30
[16831.353571]  
[16831.353572] irq event stamp: 23616849
[16831.353574] hardirqs last  enabled at (23616855): [] __up_console_sem+0x5e/0x70
[16831.353577] hardirqs last disabled at (23616860): [] __up_console_sem+0x43/0x70
[16831.353580] softirqs last  enabled at (23616242): [] __irq_exit_rcu+0xeb/0x160
[16831.353583] softirqs last disabled at (23616231): [] __irq_exit_rcu+0xeb/0x160
[16831.353585] ---[ end trace 0000000000000000 ]---
[16831.353589] BTRFS warning (device dm-11): block group 298844160 has wrong amount of free space
[16831.353610] BTRFS warning (device dm-11): failed to load free space cache for block group 298844160, rebuilding it now