[16891.315328] run fstests generic/475 at 2022-08-09 01:34:08
[16892.515164] BTRFS: device fsid 8e03393e-42c5-4433-b52f-8fa50898d4fe devid 1 transid 6 /dev/mapper/vg0-lv9 scanned by mkfs.btrfs (2234227)
[16892.734403] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[16892.734412] BTRFS info (device dm-11): turning on async discard
[16892.734414] BTRFS info (device dm-11): disk space caching is enabled
[16892.737853] BTRFS info (device dm-11): checking UUID tree
[16894.766734] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[16894.766756] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 1, rd 0, flush 0, corrupt 0, gen 0
[16894.766965] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[16894.766969] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 2, rd 0, flush 0, corrupt 0, gen 0
[16894.766974] BTRFS error (device dm-11): error writing primary super block to device 1
[16894.767000] BTRFS: error (device dm-11) in write_all_supers:4342: errno=-5 IO failure (1 errors while writing supers)
[16894.767991] BTRFS info (device dm-11: state E): forced readonly
[16894.768009] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[16894.768026] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[16894.775525] BTRFS warning (device dm-11: state EA): Skipping commit of aborted transaction.
[16894.775531] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[16894.779466] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 3, rd 0, flush 0, corrupt 0, gen 0
[16894.779670] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 4, rd 0, flush 0, corrupt 0, gen 0
[16894.780257] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 5, rd 0, flush 0, corrupt 0, gen 0
[16894.780295] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 6, rd 0, flush 0, corrupt 0, gen 0
[16894.780580] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 7, rd 0, flush 0, corrupt 0, gen 0
[16894.780808] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 8, rd 0, flush 0, corrupt 0, gen 0
[16894.780837] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 9, rd 0, flush 0, corrupt 0, gen 0
[16894.780874] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 10, rd 0, flush 0, corrupt 0, gen 0
[16894.782796] buffer_io_error: 760 callbacks suppressed
[16894.782802] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[16894.796794] BTRFS warning (device dm-11: state EA): direct IO failed ino 291 rw 0,0 sector 0x7150 len 24576 err no 10
[16894.819188] BTRFS warning (device dm-11: state EA): direct IO failed ino 271 rw 0,0 sector 0x87f0 len 4096 err no 10
[16894.821375] BTRFS warning (device dm-11: state EA): direct IO failed ino 283 rw 0,0 sector 0x11c650 len 45056 err no 10
[16894.835170] BTRFS warning (device dm-11: state EA): direct IO failed ino 291 rw 0,0 sector 0x9cf8 len 28672 err no 10
[16894.835820] BTRFS warning (device dm-11: state EA): direct IO failed ino 293 rw 0,0 sector 0x8780 len 12288 err no 10
[16895.354816] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[16895.354823] BTRFS info (device dm-11): turning on async discard
[16895.354825] BTRFS info (device dm-11): disk space caching is enabled
[16897.388295] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[16897.389009] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[16897.389021] BTRFS error (device dm-11): error writing primary super block to device 1
[16897.389025] BTRFS: error (device dm-11) in write_all_supers:4342: errno=-5 IO failure (1 errors while writing supers)
[16897.389975] BTRFS info (device dm-11: state E): forced readonly
[16897.389980] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[16897.389983] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[16897.394971] BTRFS warning (device dm-11: state EA): Skipping commit of aborted transaction.
[16897.394978] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[16897.403539] BTRFS warning (device dm-11: state EA): direct IO failed ino 271 rw 0,0 sector 0x157a78 len 20480 err no 10
[16897.404475] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[16897.431456] BTRFS warning (device dm-11: state EA): direct IO failed ino 259 rw 0,0 sector 0x14d670 len 8192 err no 10
[16897.431941] BTRFS warning (device dm-11: state EA): direct IO failed ino 269 rw 0,0 sector 0x157f28 len 24576 err no 10
[16897.443133] BTRFS warning (device dm-11: state EA): direct IO failed ino 258 rw 0,0 sector 0x14c110 len 32768 err no 10
[16898.042076] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[16898.042085] BTRFS info (device dm-11): turning on async discard
[16898.042088] BTRFS info (device dm-11): disk space caching is enabled
[16898.046256] BTRFS info (device dm-11): start tree-log replay
[16899.161352] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[16899.161374] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[16899.161389] BTRFS error (device dm-11): error writing primary super block to device 1
[16899.161394] BTRFS: error (device dm-11) in write_all_supers:4342: errno=-5 IO failure (1 errors while writing supers)
[16899.162213] BTRFS info (device dm-11: state E): forced readonly
[16899.162229] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[16899.162234] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[16899.163235] BTRFS: error (device dm-11: state EA) in btrfs_sync_log:3192: errno=-5 IO failure
[16899.164385] BTRFS warning (device dm-11: state EA): Skipping commit of aborted transaction.
[16899.164450] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[16899.170642] BTRFS warning (device dm-11: state EA): direct IO failed ino 587 rw 0,0 sector 0x153c48 len 45056 err no 10
[16899.170695] BTRFS warning (device dm-11: state EA): direct IO failed ino 587 rw 0,0 sector 0x15d8c0 len 8192 err no 10
[16899.170708] BTRFS warning (device dm-11: state EA): direct IO failed ino 587 rw 0,0 sector 0x15d7f8 len 8192 err no 10
[16899.173231] BTRFS warning (device dm-11: state EA): direct IO failed ino 259 rw 0,0 sector 0x163490 len 28672 err no 10
[16899.174888] BTRFS warning (device dm-11: state EA): direct IO failed ino 587 rw 0,0 sector 0x15e3a8 len 24576 err no 10
[16899.187519] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[16899.222831] BTRFS warning (device dm-11: state EA): direct IO failed ino 593 rw 0,0 sector 0x152e50 len 4096 err no 10
[16899.224508] BTRFS warning (device dm-11: state EA): direct IO failed ino 258 rw 0,0 sector 0x161840 len 61440 err no 10
[16899.224541] BTRFS warning (device dm-11: state EA): direct IO failed ino 258 rw 0,0 sector 0x8a08 len 4096 err no 10
[16899.224549] BTRFS warning (device dm-11: state EA): direct IO failed ino 258 rw 0,0 sector 0x1618b8 len 4096 err no 10
[16899.225080] BTRFS warning (device dm-11: state EA): direct IO failed ino 587 rw 0,0 sector 0x15e1f0 len 24576 err no 10
[16899.778185] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[16899.778193] BTRFS info (device dm-11): turning on async discard
[16899.778195] BTRFS info (device dm-11): disk space caching is enabled
[16899.782890] BTRFS info (device dm-11): start tree-log replay
[16901.937182] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[16901.937201] btrfs_dev_stat_inc_and_print: 111 callbacks suppressed
[16901.937203] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 1, rd 0, flush 0, corrupt 0, gen 0
[16901.937215] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[16901.937218] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 2, rd 0, flush 0, corrupt 0, gen 0
[16901.937224] BTRFS error (device dm-11): error writing primary super block to device 1
[16901.937226] BTRFS: error (device dm-11) in write_all_supers:4342: errno=-5 IO failure (1 errors while writing supers)
[16901.938225] BTRFS info (device dm-11: state E): forced readonly
[16901.938231] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[16901.938234] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[16901.939496] BTRFS warning (device dm-11: state EA): Skipping commit of aborted transaction.
[16901.939502] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[16901.942782] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 3, rd 0, flush 0, corrupt 0, gen 0
[16901.944890] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 3, rd 1, flush 0, corrupt 0, gen 0
[16901.948339] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 3, rd 2, flush 0, corrupt 0, gen 0
[16901.948380] BTRFS warning (device dm-11: state EA): direct IO failed ino 680 rw 0,0 sector 0x176568 len 16384 err no 10
[16901.949888] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 3, rd 3, flush 0, corrupt 0, gen 0
[16901.949907] BTRFS warning (device dm-11: state EA): direct IO failed ino 733 rw 0,0 sector 0x175188 len 24576 err no 10
[16901.952734] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[16901.954291] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 3, rd 4, flush 0, corrupt 0, gen 0
[16901.954313] BTRFS warning (device dm-11: state EA): direct IO failed ino 716 rw 0,0 sector 0x170e08 len 8192 err no 10
[16901.954531] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 3, rd 5, flush 0, corrupt 0, gen 0
[16901.954545] BTRFS warning (device dm-11: state EA): direct IO failed ino 654 rw 0,0 sector 0x178038 len 28672 err no 10
[16901.955672] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 3, rd 6, flush 0, corrupt 0, gen 0
[16901.955690] BTRFS warning (device dm-11: state EA): direct IO failed ino 760 rw 0,0 sector 0x173850 len 8192 err no 10
[16901.955834] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 3, rd 7, flush 0, corrupt 0, gen 0
[16901.955847] BTRFS warning (device dm-11: state EA): direct IO failed ino 740 rw 0,0 sector 0x176f68 len 61440 err no 10
[16901.972479] BTRFS warning (device dm-11: state EA): direct IO failed ino 264 rw 0,0 sector 0x173128 len 45056 err no 10
[16901.973900] BTRFS warning (device dm-11: state EA): direct IO failed ino 693 rw 0,0 sector 0x1768f8 len 32768 err no 10
[16901.995360] BTRFS warning (device dm-11: state EA): direct IO failed ino 673 rw 0,0 sector 0x168db8 len 12288 err no 10
[16901.995530] BTRFS warning (device dm-11: state EA): direct IO failed ino 739 rw 0,0 sector 0x1716a0 len 24576 err no 10
[16901.997677] BTRFS warning (device dm-11: state EA): direct IO failed ino 755 rw 0,0 sector 0x177248 len 4096 err no 10
[16901.999665] BTRFS warning (device dm-11: state EA): direct IO failed ino 661 rw 0,0 sector 0x1690a0 len 16384 err no 10
[16902.000501] BTRFS warning (device dm-11: state EA): direct IO failed ino 741 rw 0,0 sector 0x173c50 len 28672 err no 10
[16902.000965] BTRFS warning (device dm-11: state EA): direct IO failed ino 716 rw 0,0 sector 0x170e08 len 4096 err no 10
[16902.007701] BTRFS warning (device dm-11: state EA): direct IO failed ino 644 rw 0,0 sector 0x165358 len 32768 err no 10
[16902.574691] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[16902.574701] BTRFS info (device dm-11): turning on async discard
[16902.574704] BTRFS info (device dm-11): disk space caching is enabled
[16902.609293] ------------[ cut here ]------------
[16902.609383] WARNING: CPU: 1 PID: 1598040 at fs/btrfs/discard.c:604 btrfs_discard_update_discardable+0x98/0xb0
[16902.609393] Modules linked in: dm_thin_pool dm_persistent_data dm_bio_prison dm_log_writes dm_dust dm_flakey nft_fib_inet nft_fib_ipv4 nft_fib_ipv6 nft_fib nft_reject_inet nf_reject_ipv4 nf_reject_ipv6 nft_reject nft_ct nft_chain_nat nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 ip6_tables nft_compat rfkill ip_set nf_tables nfnetlink intel_rapl_msr iTCO_wdt iTCO_vendor_support snd_hda_codec_generic snd_hda_intel snd_intel_dspcfg snd_hda_codec intel_rapl_common snd_hwdep snd_hda_core i2c_i801 snd_pcm joydev snd_timer i2c_smbus snd virtio_balloon soundcore lpc_ich zram ip_tables xfs crct10dif_pclmul crc32_pclmul crc32c_intel ghash_clmulni_intel serio_raw qemu_fw_cfg
[16902.609467] CPU: 1 PID: 1598040 Comm: kworker/u4:5 Not tainted 5.19.0-rc8+ #791
[16902.609470] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.13.0-2.fc32 04/01/2014
[16902.609475] Workqueue: btrfs-cache btrfs_work_helper
[16902.609483] RIP: 0010:btrfs_discard_update_discardable+0x98/0xb0
[16902.609486] Code: 17 00 00 48 8b 83 80 00 00 00 48 89 83 88 00 00 00 5b 5d c3 cc cc cc cc 48 8d 7b 18 be ff ff ff ff e8 2c 9a 7e 00 85 c0 75 ac <0f> 0b eb a8 c3 cc cc cc cc 66 66 2e 0f 1f 84 00 00 00 00 00 0f 1f
[16902.609489] RSP: 0000:ffffbaea82597ad0 EFLAGS: 00010246
[16902.609492] RAX: 0000000000000000 RBX: ffff8f4d8b856e00 RCX: 0000000000000001
[16902.609497] RDX: 0000000000000000 RSI: ffffffff8e807c5b RDI: ffffffff8e8a831e
[16902.609499] RBP: ffff8f4d53c78000 R08: 0000000000000000 R09: 0000000000001000
[16902.609501] R10: ffff8f4d4a17c130 R11: 00000000007fed00 R12: ffff8f4d50329810
[16902.609503] R13: ffff8f4d5519bca0 R14: ffff8f4d53c78000 R15: ffff8f4d463e59a0
[16902.609505] FS: 0000000000000000(0000) GS:ffff8f4dbbd00000(0000) knlGS:0000000000000000
[16902.609508] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[16902.609510] CR2: 00007f59b54d6330 CR3: 0000000103134005 CR4: 0000000000370ee0
[16902.609516] Call Trace:
[16902.609517]
[16902.609522] __btrfs_remove_free_space_cache+0x27/0x30
[16902.609527] load_free_space_cache+0xad2/0xaf0
[16902.609575] caching_thread+0x40b/0x650
[16902.609584] ? lock_release+0x137/0x2d0
[16902.609593] btrfs_work_helper+0xf2/0x3e0
[16902.609596] ? lock_is_held_type+0xe2/0x140
[16902.609604] process_one_work+0x271/0x590
[16902.609615] worker_thread+0x52/0x3b0
[16902.609621] ? process_one_work+0x590/0x590
[16902.609624] kthread+0xf0/0x120
[16902.609627] ? kthread_complete_and_exit+0x20/0x20
[16902.609632] ret_from_fork+0x1f/0x30
[16902.609648]
[16902.609652] irq event stamp: 83406011
[16902.609654] hardirqs last enabled at (83406017): [] __up_console_sem+0x5e/0x70
[16902.609658] hardirqs last disabled at (83406022): [] __up_console_sem+0x43/0x70
[16902.609661] softirqs last enabled at (83405472): [] __irq_exit_rcu+0xeb/0x160
[16902.609665] softirqs last disabled at (83405459): [] __irq_exit_rcu+0xeb/0x160
[16902.609667] ---[ end trace 0000000000000000 ]---
[16902.609671] BTRFS warning (device dm-11): block group 298844160 has wrong amount of free space
[16902.609692] BTRFS warning (device dm-11): failed to load free space cache for block group 298844160, rebuilding it now
[16903.630058] BTRFS: error (device dm-11) in btrfs_commit_transaction:2496: errno=-5 IO failure (Error while writing out transaction)
[16903.630895] BTRFS info (device dm-11: state E): forced readonly
[16903.630901] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[16903.630904] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[16903.636323] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[16904.210453] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[16904.210462] BTRFS info (device dm-11): turning on async discard
[16904.210464] BTRFS info (device dm-11): disk space caching is enabled
[16906.253096] BTRFS: error (device dm-11) in btrfs_commit_transaction:2496: errno=-5 IO failure (Error while writing out transaction)
[16906.253893] BTRFS info (device dm-11: state E): forced readonly
[16906.253899] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[16906.253903] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[16906.259485] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[16906.857215] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[16906.857225] BTRFS info (device dm-11): turning on async discard
[16906.857227] BTRFS info (device dm-11): disk space caching is enabled
[16906.862013] BTRFS info (device dm-11): start tree-log replay
[16906.872207] ------------[ cut here ]------------
[16906.872275] WARNING: CPU: 0 PID: 1851274 at fs/btrfs/discard.c:604 btrfs_discard_update_discardable+0x98/0xb0
[16906.872281] Modules linked in: dm_thin_pool dm_persistent_data dm_bio_prison dm_log_writes dm_dust dm_flakey nft_fib_inet nft_fib_ipv4 nft_fib_ipv6 nft_fib nft_reject_inet nf_reject_ipv4 nf_reject_ipv6 nft_reject nft_ct nft_chain_nat nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 ip6_tables nft_compat rfkill ip_set nf_tables nfnetlink intel_rapl_msr iTCO_wdt iTCO_vendor_support snd_hda_codec_generic snd_hda_intel snd_intel_dspcfg snd_hda_codec intel_rapl_common snd_hwdep snd_hda_core i2c_i801 snd_pcm joydev snd_timer i2c_smbus snd virtio_balloon soundcore lpc_ich zram ip_tables xfs crct10dif_pclmul crc32_pclmul crc32c_intel ghash_clmulni_intel serio_raw qemu_fw_cfg
[16906.872345] CPU: 0 PID: 1851274 Comm: kworker/u4:8 Tainted: G W 5.19.0-rc8+ #791
[16906.872348] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.13.0-2.fc32 04/01/2014
[16906.872350] Workqueue: btrfs-cache btrfs_work_helper
[16906.872355] RIP: 0010:btrfs_discard_update_discardable+0x98/0xb0
[16906.872357] Code: 17 00 00 48 8b 83 80 00 00 00 48 89 83 88 00 00 00 5b 5d c3 cc cc cc cc 48 8d 7b 18 be ff ff ff ff e8 2c 9a 7e 00 85 c0 75 ac <0f> 0b eb a8 c3 cc cc cc cc 66 66 2e 0f 1f 84 00 00 00 00 00 0f 1f
[16906.872359] RSP: 0018:ffffbaea85ac7ad0 EFLAGS: 00010246
[16906.872362] RAX: 0000000000000000 RBX: ffff8f4d8b857a00 RCX: 0000000000000001
[16906.872364] RDX: 0000000000000000 RSI: ffffffff8e807c5b RDI: ffffffff8e8a831e
[16906.872365] RBP: ffff8f4d43134000 R08: 0000000000000000 R09: 0000000000001000
[16906.872367] R10: ffff8f4c5e8887d0 R11: 0000000000000000 R12: ffff8f4d429eb810
[16906.872369] R13: ffff8f4d566d2a00 R14: ffff8f4d43134000 R15: ffff8f4d69c05f50
[16906.872371] FS: 0000000000000000(0000) GS:ffff8f4dbbc00000(0000) knlGS:0000000000000000
[16906.872373] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[16906.872374] CR2: 00007fc5eb80f658 CR3: 0000000102e4a005 CR4: 0000000000370ef0
[16906.872378] Call Trace:
[16906.872381]
[16906.872385] __btrfs_remove_free_space_cache+0x27/0x30
[16906.872389] load_free_space_cache+0xad2/0xaf0
[16906.872428] caching_thread+0x40b/0x650
[16906.872437] ? lock_release+0x137/0x2d0
[16906.872444] btrfs_work_helper+0xf2/0x3e0
[16906.872447] ? lock_is_held_type+0xe2/0x140
[16906.872453] process_one_work+0x271/0x590
[16906.872462] ? process_one_work+0x590/0x590
[16906.872465] worker_thread+0x52/0x3b0
[16906.872470] ? process_one_work+0x590/0x590
[16906.872472] kthread+0xf0/0x120
[16906.872475] ? kthread_complete_and_exit+0x20/0x20
[16906.872480] ret_from_fork+0x1f/0x30
[16906.872493]
[16906.872494] irq event stamp: 18716459
[16906.872496] hardirqs last enabled at (18716465): [] __up_console_sem+0x5e/0x70
[16906.872499] hardirqs last disabled at (18716470): [] __up_console_sem+0x43/0x70
[16906.872501] softirqs last enabled at (18715896): [] __irq_exit_rcu+0xeb/0x160
[16906.872504] softirqs last disabled at (18715875): [] __irq_exit_rcu+0xeb/0x160
[16906.872506] ---[ end trace 0000000000000000 ]---
[16906.872509] BTRFS warning (device dm-11): block group 298844160 has wrong amount of free space
[16906.872524] BTRFS warning (device dm-11): failed to load free space cache for block group 298844160, rebuilding it now
[16906.949690] btrfs_dev_stat_inc_and_print: 41 callbacks suppressed
[16906.949693] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 0, rd 1, flush 0, corrupt 0, gen 0
[16906.949913] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 0, rd 2, flush 0, corrupt 0, gen 0
[16906.951312] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 1, rd 2, flush 0, corrupt 0, gen 0
[16906.951325] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 2, rd 2, flush 0, corrupt 0, gen 0
[16906.951673] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 3, rd 2, flush 0, corrupt 0, gen 0
[16906.951783] BTRFS warning (device dm-11): direct IO failed ino 1196 rw 1,34817 sector 0x1c0a90 len 4096 err no 10
[16906.953408] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 3, rd 3, flush 0, corrupt 0, gen 0
[16906.953436] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 3, rd 4, flush 0, corrupt 0, gen 0
[16906.953542] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 3, rd 5, flush 0, corrupt 0, gen 0
[16906.954373] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 3, rd 6, flush 0, corrupt 0, gen 0
[16906.956933] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 3, rd 7, flush 0, corrupt 0, gen 0
[16906.957142] BTRFS warning (device dm-11): direct IO failed ino 1196 rw 1,34817 sector 0x1c0f30 len 90112 err no 10
[16906.959696] BTRFS warning (device dm-11): direct IO failed ino 1196 rw 1,34817 sector 0x1c1688 len 49152 err no 10
[16906.961876] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[16906.992092] BTRFS: error (device dm-11: state A) in __btrfs_run_delayed_items:1182: errno=-5 IO failure
[16906.992692] BTRFS info (device dm-11: state EA): forced readonly
[16906.992698] BTRFS warning (device dm-11: state EA): Skipping commit of aborted transaction.
[16906.992701] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[16907.547588] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[16907.547598] BTRFS info (device dm-11): turning on async discard
[16907.547600] BTRFS info (device dm-11): disk space caching is enabled
[16909.777185] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[16909.777205] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[16909.777218] BTRFS error (device dm-11): error writing primary super block to device 1
[16909.777221] BTRFS: error (device dm-11) in write_all_supers:4342: errno=-5 IO failure (1 errors while writing supers)
[16909.778138] BTRFS info (device dm-11: state E): forced readonly
[16909.778143] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[16909.779162] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[16909.780093] BTRFS warning (device dm-11: state EA): Skipping commit of aborted transaction.
[16909.780097] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[16909.781993] BTRFS warning (device dm-11: state EA): direct IO failed ino 1196 rw 0,0 sector 0x1c0aa0 len 4096 err no 10
[16909.784929] BTRFS warning (device dm-11: state EA): direct IO failed ino 1242 rw 0,0 sector 0x1c80d0 len 53248 err no 10
[16909.784975] BTRFS warning (device dm-11: state EA): direct IO failed ino 1233 rw 0,0 sector 0x197588 len 32768 err no 10
[16909.787436] BTRFS warning (device dm-11: state EA): direct IO failed ino 1230 rw 0,0 sector 0x1c5cf8 len 53248 err no 10
[16909.787497] BTRFS warning (device dm-11: state EA): direct IO failed ino 1266 rw 0,0 sector 0x1c71f0 len 16384 err no 10
[16909.788380] BTRFS warning (device dm-11: state EA): direct IO failed ino 1266 rw 0,0 sector 0x1c71f0 len 28672 err no 10
[16909.788724] BTRFS warning (device dm-11: state EA): direct IO failed ino 1248 rw 0,0 sector 0x1c5d78 len 86016 err no 10
[16909.789139] BTRFS warning (device dm-11: state EA): direct IO failed ino 1199 rw 0,0 sector 0x1c2800 len 28672 err no 10
[16909.789630] BTRFS warning (device dm-11: state EA): direct IO failed ino 1253 rw 0,0 sector 0x1c7d88 len 77824 err no 10
[16909.789643] BTRFS warning (device dm-11: state EA): direct IO failed ino 1253 rw 0,0 sector 0x192890 len 4096 err no 10
[16909.790404] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[16909.790503] BTRFS warning (device dm-11: state EA): direct IO failed ino 1240 rw 0,0 sector 0x1c8d18 len 40960 err no 10
[16909.790748] BTRFS warning (device dm-11: state EA): direct IO failed ino 1230 rw 0,0 sector 0x1c5d30 len 32768 err no 10
[16909.791054] BTRFS warning (device dm-11: state EA): direct IO failed ino 1240 rw 0,0 sector 0x1c8d50 len 12288 err no 10
[16909.826364] BTRFS warning (device dm-11: state EA): direct IO failed ino 1253 rw 0,0 sector 0x1c8d78 len 16384 err no 10
[16909.827959] BTRFS warning (device dm-11: state EA): direct IO failed ino 1248 rw 0,0 sector 0x1c5ec8 len 4096 err no 10
[16909.829227] BTRFS warning (device dm-11: state EA): direct IO failed ino 1248 rw 0,0 sector 0x1c5ec8 len 4096 err no 10
[16909.829351] BTRFS warning (device dm-11: state EA): direct IO failed ino 1209 rw 0,0 sector 0x1c89f0 len 4096 err no 10
[16910.307838] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[16910.307846] BTRFS info (device dm-11): turning on async discard
[16910.307848] BTRFS info (device dm-11): disk space caching is enabled
[16910.337634] BTRFS info (device dm-11): the free space cache file (298844160) is invalid, skip it
[16912.349208] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[16912.349215] btrfs_dev_stat_inc_and_print: 32 callbacks suppressed
[16912.349217] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 1, rd 0, flush 0, corrupt 0, gen 0
[16912.349231] BTRFS error (device dm-11): error writing primary super block to device 1
[16912.349234] BTRFS: error (device dm-11) in write_all_supers:4342: errno=-5 IO failure (1 errors while writing supers)
[16912.349926] BTRFS info (device dm-11: state E): forced readonly
[16912.350813] BTRFS: error (device dm-11: state EA) in btrfs_sync_log:3203: errno=-5 IO failure
[16912.351481] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 1, rd 1, flush 0, corrupt 0, gen 0
[16912.351556] BTRFS warning (device dm-11: state EA): direct IO failed ino 269 rw 0,0 sector 0x1e0d60 len 16384 err no 10
[16912.353854] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 1, rd 2, flush 0, corrupt 0, gen 0
[16912.355059] BTRFS warning (device dm-11: state EA): direct IO failed ino 288 rw 0,0 sector 0x7460 len 4096 err no 10
[16912.355394] BTRFS warning (device dm-11: state EA): Skipping commit of aborted transaction.
[16912.355398] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[16912.362493] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[16912.381138] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 1, rd 3, flush 0, corrupt 0, gen 0
[16912.381160] BTRFS warning (device dm-11: state EA): direct IO failed ino 263 rw 0,0 sector 0x1d9998 len 8192 err no 10
[16912.399468] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 1, rd 4, flush 0, corrupt 0, gen 0
[16912.399493] BTRFS warning (device dm-11: state EA): direct IO failed ino 1280 rw 0,0 sector 0x1c9e38 len 8192 err no 10
[16912.400558] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 1, rd 5, flush 0, corrupt 0, gen 0
[16912.400578] BTRFS warning (device dm-11: state EA): direct IO failed ino 1280 rw 0,0 sector 0x1c95f8 len 20480 err no 10
[16912.402236] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 1, rd 6, flush 0, corrupt 0, gen 0
[16912.402250] BTRFS warning (device dm-11: state EA): direct IO failed ino 1279 rw 0,0 sector 0x1d9de8 len 86016 err no 10
[16912.402535] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 1, rd 7, flush 0, corrupt 0, gen 0
[16912.402553] BTRFS warning (device dm-11: state EA): direct IO failed ino 1367 rw 0,0 sector 0x1e57d8 len 45056 err no 10
[16912.920969] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[16912.920977] BTRFS info (device dm-11): turning on async discard
[16912.920979] BTRFS info (device dm-11): disk space caching is enabled
[16913.960767] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 1, rd 0, flush 0, corrupt 0, gen 0
[16913.960825] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 2, rd 0, flush 0, corrupt 0, gen 0
[16913.960833] BTRFS warning (device dm-11): direct IO failed ino 260 rw 1,34817 sector 0x205f58 len 61440 err no 10
[16913.983241] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[16913.983714] BTRFS warning (device dm-11): direct IO failed ino 258 rw 0,0 sector 0x205208 len 24576 err no 10
[16913.984898] BTRFS warning (device dm-11): direct IO failed ino 257 rw 1,34817 sector 0x2065b8 len 86016 err no 10
[16913.985348] BTRFS warning (device dm-11): direct IO failed ino 257 rw 1,34817 sector 0x2065b8 len 90112 err no 10
[16913.991695] BTRFS: error (device dm-11) in btrfs_commit_transaction:2496: errno=-5 IO failure (Error while writing out transaction)
[16913.992745] BTRFS info (device dm-11: state E): forced readonly
[16913.992750] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[16913.992754] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[16914.561921] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[16914.561928] BTRFS info (device dm-11): turning on async discard
[16914.561930] BTRFS info (device dm-11): disk space caching is enabled
[16914.567167] BTRFS info (device dm-11): start tree-log replay
[16914.581329] ------------[ cut here ]------------
[16914.581391] WARNING: CPU: 1 PID: 1699667 at fs/btrfs/discard.c:604 btrfs_discard_update_discardable+0x98/0xb0
[16914.581397] Modules linked in: dm_thin_pool dm_persistent_data dm_bio_prison dm_log_writes dm_dust dm_flakey nft_fib_inet nft_fib_ipv4 nft_fib_ipv6 nft_fib nft_reject_inet nf_reject_ipv4 nf_reject_ipv6 nft_reject nft_ct nft_chain_nat nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 ip6_tables nft_compat rfkill ip_set nf_tables nfnetlink intel_rapl_msr iTCO_wdt iTCO_vendor_support snd_hda_codec_generic snd_hda_intel snd_intel_dspcfg snd_hda_codec intel_rapl_common snd_hwdep snd_hda_core i2c_i801 snd_pcm joydev snd_timer i2c_smbus snd virtio_balloon soundcore lpc_ich zram ip_tables xfs crct10dif_pclmul crc32_pclmul crc32c_intel ghash_clmulni_intel serio_raw qemu_fw_cfg
[16914.581463] CPU: 1 PID: 1699667 Comm: kworker/u4:4 Tainted: G W 5.19.0-rc8+ #791
[16914.581465] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.13.0-2.fc32 04/01/2014
[16914.581467] Workqueue: btrfs-cache btrfs_work_helper
[16914.581472] RIP: 0010:btrfs_discard_update_discardable+0x98/0xb0
[16914.581475] Code: 17 00 00 48 8b 83 80 00 00 00 48 89 83 88 00 00 00 5b 5d c3 cc cc cc cc 48 8d 7b 18 be ff ff ff ff e8 2c 9a 7e 00 85 c0 75 ac <0f> 0b eb a8 c3 cc cc cc cc 66 66 2e 0f 1f 84 00 00 00 00 00 0f 1f
[16914.581477] RSP: 0018:ffffbaea854b7ad0 EFLAGS: 00010246
[16914.581480] RAX: 0000000000000000 RBX: ffff8f4d8c469600 RCX: 0000000000000001
[16914.581481] RDX: 0000000000000000 RSI: ffffffff8e807c5b RDI: ffffffff8e8a831e
[16914.581483] RBP: ffff8f4d578b0000 R08: 0000000000000000 R09: 0000000080270023
[16914.581485] R10: 0000000000015a2a R11: 0000000000803600 R12: ffff8f4d9a587810
[16914.581486] R13: ffff8f4d55909760 R14: ffff8f4d578b0000 R15: ffff8f4d463e5d20
[16914.581488] FS: 0000000000000000(0000) GS:ffff8f4dbbd00000(0000) knlGS:0000000000000000
[16914.581490] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[16914.581491] CR2: 000056398170d080 CR3: 000000011f626005 CR4: 0000000000370ee0
[16914.581495] Call Trace:
[16914.581497]
[16914.581502] __btrfs_remove_free_space_cache+0x27/0x30
[16914.581506] load_free_space_cache+0xad2/0xaf0
[16914.581545] caching_thread+0x40b/0x650
[16914.581553] ? lock_release+0x137/0x2d0
[16914.581560] btrfs_work_helper+0xf2/0x3e0
[16914.581563] ? lock_is_held_type+0xe2/0x140
[16914.581570] process_one_work+0x271/0x590
[16914.581579] ? process_one_work+0x590/0x590
[16914.581581] worker_thread+0x52/0x3b0
[16914.581586] ? process_one_work+0x590/0x590
[16914.581589] kthread+0xf0/0x120
[16914.581591] ? kthread_complete_and_exit+0x20/0x20
[16914.581596] ret_from_fork+0x1f/0x30
[16914.581609]
[16914.581610] irq event stamp: 37652929
[16914.581612] hardirqs last enabled at (37652935): [] __up_console_sem+0x5e/0x70
[16914.581615] hardirqs last disabled at (37652940): [] __up_console_sem+0x43/0x70
[16914.581617] softirqs last enabled at (37652296): [] __irq_exit_rcu+0xeb/0x160
[16914.581620] softirqs last disabled at (37652291): [] __irq_exit_rcu+0xeb/0x160
[16914.581623] ---[ end trace 0000000000000000 ]---
[16914.581625] BTRFS warning (device dm-11): block group 298844160 has wrong amount of free space
[16914.581639] BTRFS warning (device dm-11): failed to load free space cache for block group 298844160, rebuilding it now
[16914.672698] BTRFS warning (device dm-11): direct IO failed ino 1445 rw 1,34817 sector 0x205988 len 28672 err no 10
[16914.675416] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[16914.687701] BTRFS: error (device dm-11: state A) in maybe_insert_hole:5022: errno=-5 IO failure
[16914.688572] BTRFS info (device dm-11: state EA): forced readonly
[16915.163409] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[16915.163421] BTRFS info (device dm-11): turning on async discard
[16915.163424] BTRFS info (device dm-11): disk space caching is enabled
[16917.310862] BTRFS warning (device dm-11): direct IO failed ino 1440 rw 1,34817 sector 0x20bfa0 len 106496 err no 10
[16917.312448] BTRFS: error (device dm-11) in btrfs_commit_transaction:2496: errno=-5 IO failure (Error while writing out transaction)
[16917.313420] BTRFS info (device dm-11: state E): forced readonly
[16917.313425] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[16917.313429] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[16917.314803] BTRFS warning (device dm-11: state EA): Skipping commit of aborted transaction.
[16917.318116] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[16917.323826] BTRFS warning (device dm-11: state EA): direct IO failed ino 257 rw 0,0 sector 0x205a80 len 12288 err no 10
[16917.325261] BTRFS warning (device dm-11: state EA): direct IO failed ino 257 rw 0,0 sector 0x20ba00 len 12288 err no 10
[16917.327581] BTRFS warning (device dm-11: state EA): direct IO failed ino 257 rw 0,0 sector 0x205aa8 len 16384 err no 10
[16917.337791] BTRFS warning (device dm-11: state EA): direct IO failed ino 1446 rw 0,0 sector 0x20a4c8 len 20480 err no 10
[16917.337811] BTRFS warning (device dm-11: state EA): direct IO failed ino 1446 rw 0,0 sector 0x2069c8 len 57344 err no 10
[16917.339089] BTRFS warning (device dm-11: state EA): direct IO failed ino 1474 rw 0,0 sector 0x20b6f0 len 16384 err no 10
[16917.861297] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[16917.861306] BTRFS info (device dm-11): turning on async discard
[16917.861308] BTRFS info (device dm-11): disk space caching is enabled
[16917.865484] BTRFS info (device dm-11): start tree-log replay
[16919.261324] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[16919.261339] btrfs_dev_stat_inc_and_print: 119 callbacks suppressed
[16919.261343] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 1, rd 0, flush 0, corrupt 0, gen 0
[16919.261377] BTRFS error (device dm-11): error writing primary super block to device 1
[16919.261384] BTRFS: error (device dm-11) in write_all_supers:4342: errno=-5 IO failure (1 errors while writing supers)
[16919.262978] BTRFS info (device dm-11: state E): forced readonly
[16919.263003] BTRFS: error (device dm-11: state EA) in btrfs_sync_log:3203: errno=-5 IO failure
[16919.263496] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 1, rd 1, flush 0, corrupt 0, gen 0
[16919.264122] BTRFS warning (device dm-11: state EA): direct IO failed ino 1440 rw 0,0 sector 0x20b7f0 len 40960 err no 10
[16919.267645] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 1, rd 2, flush 0, corrupt 0, gen 0
[16919.268736] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 2, rd 2, flush 0, corrupt 0, gen 0
[16919.269883] BTRFS warning (device dm-11: state EA): Skipping commit of aborted transaction.
[16919.269887] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[16919.273013] BTRFS warning (device dm-11: state EA): direct IO failed ino 1440 rw 0,0 sector 0x20b4b0 len 16384 err no 10
[16919.273498] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 3, rd 2, flush 0, corrupt 0, gen 0
[16919.274574] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 4, rd 2, flush 0, corrupt 0, gen 0
[16919.274624] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 5, rd 2, flush 0, corrupt 0, gen 0
[16919.274640] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 6, rd 2, flush 0, corrupt 0, gen 0
[16919.275109] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 7, rd 2, flush 0, corrupt 0, gen 0
[16919.275130] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 8, rd 2, flush 0, corrupt 0, gen 0
[16919.276269] BTRFS warning (device dm-11: state EA): direct IO failed ino 1491 rw 0,0 sector 0x20d150 len 4096 err no 10
[16919.276537] BTRFS warning (device dm-11: state EA): direct IO failed ino 1480 rw 0,0 sector 0x20b350 len 4096 err no 10
[16919.279308] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[16919.787383] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[16919.787391] BTRFS info (device dm-11): turning on async discard
[16919.787393] BTRFS info (device dm-11): disk space caching is enabled
[16919.792148] BTRFS info (device dm-11): start tree-log replay
[16920.166456] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[16920.168039] BTRFS: error (device dm-11: state A) in btrfs_create_new_inode:6432: errno=-5 IO failure
[16920.168641] BTRFS info (device dm-11: state EA): forced readonly
[16920.169307] BTRFS warning (device dm-11: state EA): Skipping commit of aborted transaction.
[16920.656445] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[16920.656453] BTRFS info (device dm-11): turning on async discard
[16920.656455] BTRFS info (device dm-11): disk space caching is enabled
[16922.699133] BTRFS: error (device dm-11) in btrfs_commit_transaction:2496: errno=-5 IO failure (Error while writing out transaction)
[16922.700622] BTRFS warning (device dm-11): direct IO failed ino 1518 rw 1,34817 sector 0x220bf8 len 69632 err no 10
[16922.700659] BTRFS info (device dm-11: state E): forced readonly
[16922.700679] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[16922.700683] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[16922.711873] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[16923.338561] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[16923.338569] BTRFS info (device dm-11): turning on async discard
[16923.338571] BTRFS info (device dm-11): disk space caching is enabled
[16923.393969] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[16923.407285] BTRFS: error (device dm-11: state A) in __btrfs_free_extent:3078: errno=-5 IO failure
[16923.408100] BTRFS info (device dm-11: state EA): forced readonly
[16923.408121] BTRFS: error (device dm-11: state EA) in btrfs_run_delayed_refs:2141: errno=-5 IO failure
[16923.876365] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[16923.876375] BTRFS info (device dm-11): turning on async discard
[16923.876377] BTRFS info (device dm-11): disk space caching is enabled
[16923.911925] BTRFS error (device dm-11): error reading free space cache
[16923.911956] BTRFS warning (device dm-11): failed to load free space cache for block group 298844160, rebuilding it now
[16923.915974] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[16923.916824] BTRFS warning (device dm-11): direct IO failed ino 1607 rw 1,34817 sector 0x312800 len 4096 err no 10
[16923.938113] BTRFS: error (device dm-11: state A) in __btrfs_free_extent:3078: errno=-5 IO failure
[16923.938943] BTRFS info (device dm-11: state EA): forced readonly
[16923.938964] BTRFS: error (device dm-11: state EA) in btrfs_run_delayed_refs:2141: errno=-5 IO failure
[16924.438136] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[16924.438146] BTRFS info (device dm-11): turning on async discard
[16924.438148] BTRFS info (device dm-11): disk space caching is enabled
[16925.485901] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[16925.485910] btrfs_dev_stat_inc_and_print: 100 callbacks suppressed
[16925.485913] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 1, rd 0, flush 0, corrupt 0, gen 0
[16925.485936] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[16925.485941] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 2, rd 0, flush 0, corrupt 0, gen 0
[16925.485977] BTRFS error (device dm-11): error writing primary super block to device 1
[16925.485982] BTRFS: error (device dm-11) in write_all_supers:4342: errno=-5 IO failure (1 errors while writing supers)
[16925.486816] BTRFS info (device dm-11: state E): forced readonly
[16925.486833] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[16925.486845] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[16925.487917] BTRFS: error (device dm-11: state EA) in btrfs_sync_log:3192: errno=-5 IO failure
[16925.489735] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 2, rd 1, flush 0, corrupt 0, gen 0
[16925.491606] BTRFS warning (device dm-11: state EA): direct IO failed ino 1613 rw 0,0 sector 0x22f758 len 4096 err no 10
[16925.491690] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 3, rd 1, flush 0, corrupt 0, gen 0
[16925.492042] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 4, rd 1, flush 0, corrupt 0, gen 0
[16925.492572] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 5, rd 1, flush 0, corrupt 0, gen 0
[16925.492793] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 6, rd 1, flush 0, corrupt 0, gen 0
[16925.493093] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 7, rd 1, flush 0, corrupt 0, gen 0
[16925.493174] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 8, rd 1, flush 0, corrupt 0, gen 0
[16925.493235] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 9, rd 1, flush 0, corrupt 0, gen 0
[16925.494092] BTRFS warning (device dm-11: state EA): Skipping commit of aborted transaction.
[16925.494097] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[16925.501713] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[16925.502424] BTRFS warning (device dm-11: state EA): direct IO failed ino 1695 rw 0,0 sector 0x232d80 len 16384 err no 10
[16925.548686] BTRFS warning (device dm-11: state EA): direct IO failed ino 1610 rw 0,0 sector 0x215998 len 4096 err no 10
[16926.074501] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[16926.074510] BTRFS info (device dm-11): turning on async discard
[16926.074512] BTRFS info (device dm-11): disk space caching is enabled
[16926.078809] BTRFS info (device dm-11): start tree-log replay
[16928.160707] BTRFS warning (device dm-11): direct IO failed ino 261 rw 0,0 sector 0x254d50 len 32768 err no 10
[16928.161419] BTRFS warning (device dm-11): direct IO failed ino 262 rw 1,34817 sector 0x265ac8 len 36864 err no 10
[16928.164618] BTRFS: error (device dm-11: state A) in btrfs_replace_file_extents:2802: errno=-5 IO failure
[16928.165473] BTRFS info (device dm-11: state EA): forced readonly
[16928.166820] BTRFS warning (device dm-11: state EA): Skipping commit of aborted transaction.
[16928.177488] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[16928.789466] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[16928.789474] BTRFS info (device dm-11): turning on async discard
[16928.789476] BTRFS info (device dm-11): disk space caching is enabled
[16928.794200] BTRFS info (device dm-11): start tree-log replay
[16928.805358] BTRFS info (device dm-11): the free space cache file (298844160) is invalid, skip it
[16931.074890] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[16931.074896] btrfs_dev_stat_inc_and_print: 20 callbacks suppressed
[16931.074898] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 1, rd 0, flush 0, corrupt 0, gen 0
[16931.074908] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[16931.074911] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 2, rd 0, flush 0, corrupt 0, gen 0
[16931.074920] BTRFS error (device dm-11): error writing primary super block to device 1
[16931.074923] BTRFS: error (device dm-11) in write_all_supers:4342: errno=-5 IO failure (1 errors while writing supers)
[16931.075541] BTRFS info (device dm-11: state E): forced readonly
[16931.075551] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[16931.075554] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[16931.075573] BTRFS: error (device dm-11: state EA) in btrfs_sync_log:3192: errno=-5 IO failure
[16931.078794] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 2, rd 1, flush 0, corrupt 0, gen 0
[16931.078811] BTRFS warning (device dm-11: state EA): direct IO failed ino 258 rw 0,0 sector 0x26a688 len 12288 err no 10
[16931.079046] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 2, rd 2, flush 0, corrupt 0, gen 0
[16931.079063] BTRFS warning (device dm-11: state EA): direct IO failed ino 258 rw 0,0 sector 0x26a650 len 28672 err no 10
[16931.081291] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 2, rd 3, flush 0, corrupt 0, gen 0
[16931.081311] BTRFS warning (device dm-11: state EA): direct IO failed ino 2005 rw 0,0 sector 0x26a1c0 len 28672 err no 10
[16931.081696] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 2, rd 4, flush 0, corrupt 0, gen 0
[16931.081718] BTRFS warning (device dm-11: state EA): direct IO failed ino 257 rw 0,0 sector 0x269d28 len 32768 err no 10
[16931.090391] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[16931.102652] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 2, rd 5, flush 0, corrupt 0, gen 0
[16931.102669] BTRFS warning (device dm-11: state EA): direct IO failed ino 1490 rw 0,0 sector 0x26a308 len 16384 err no 10
[16931.125895] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 2, rd 6, flush 0, corrupt 0, gen 0
[16931.125937] BTRFS warning (device dm-11: state EA): direct IO failed ino 258 rw 0,0 sector 0x26a648 len 32768 err no 10
[16931.126248] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 2, rd 7, flush 0, corrupt 0, gen 0
[16931.126260] BTRFS warning (device dm-11: state EA): direct IO failed ino 258 rw 0,0 sector 0x26a678 len 8192 err no 10
[16931.126527] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 2, rd 8, flush 0, corrupt 0, gen 0
[16931.126539] BTRFS warning (device dm-11: state EA): direct IO failed ino 258 rw 0,0 sector 0x26a620 len 20480 err no 10
[16931.612443] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[16931.612451] BTRFS info (device dm-11): turning on async discard
[16931.612453] BTRFS info (device dm-11): disk space caching is enabled
[16931.647297] BTRFS: error (device dm-11: state A) in __btrfs_free_extent:3078: errno=-5 IO failure
[16931.647967] BTRFS info (device dm-11: state EA): forced readonly
[16931.647974] BTRFS: error (device dm-11: state EA) in btrfs_run_delayed_refs:2141: errno=-5 IO failure
[16931.656290] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[16932.119862] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[16932.119880] BTRFS info (device dm-11): turning on async discard
[16932.119883] BTRFS info (device dm-11): disk space caching is enabled
[16932.156644] BTRFS error (device dm-11): error reading free space cache
[16932.156661] BTRFS warning (device dm-11): failed to load free space cache for block group 298844160, rebuilding it now
[16932.160090] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[16932.168718] BTRFS warning (device dm-11): direct IO failed ino 2030 rw 1,34817 sector 0x312800 len 110592 err no 10
[16932.170345] BTRFS warning (device dm-11): direct IO failed ino 2030 rw 1,34817 sector 0x312800 len 65536 err no 10
[16932.191460] BTRFS: error (device dm-11: state A) in __btrfs_free_extent:3078: errno=-5 IO failure
[16932.192462] BTRFS info (device dm-11: state EA): forced readonly
[16932.192484] BTRFS: error (device dm-11: state EA) in btrfs_run_delayed_refs:2141: errno=-5 IO failure
[16932.666932] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[16932.666941] BTRFS info (device dm-11): turning on async discard
[16932.666943] BTRFS info (device dm-11): disk space caching is enabled
[16932.707780] BTRFS: error (device dm-11: state A) in __btrfs_free_extent:3078: errno=-5 IO failure
[16932.708628] BTRFS info (device dm-11: state EA): forced readonly
[16932.708635] BTRFS: error (device dm-11: state EA) in btrfs_run_delayed_refs:2141: errno=-5 IO failure
[16932.716151] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[16933.068977] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[16933.068986] BTRFS info (device dm-11): turning on async discard
[16933.068989] BTRFS info (device dm-11): disk space caching is enabled
[16935.267571] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[16935.267611] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[16935.267632] BTRFS error (device dm-11): error writing primary super block to device 1
[16935.267644] BTRFS: error (device dm-11) in write_all_supers:4342: errno=-5 IO failure (1 errors while writing supers)
[16935.270365] BTRFS info (device dm-11: state E): forced readonly
[16935.270405] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[16935.270441] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[16935.276387] BTRFS warning (device dm-11: state EA): Skipping commit of aborted transaction.
[16935.276392] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[16935.278195] BTRFS warning (device dm-11: state EA): direct IO failed ino 2003 rw 0,0 sector 0x272e40 len 8192 err no 10
[16935.280488] BTRFS warning (device dm-11: state EA): direct IO failed ino 261 rw 0,0 sector 0x2769c0 len 12288 err no 10
[16935.280603] BTRFS warning (device dm-11: state EA): direct IO failed ino 261 rw 0,0 sector 0x2782d0 len 4096 err no 10
[16935.280824] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[16935.281975] BTRFS warning (device dm-11: state EA): direct IO failed ino 259 rw 0,0 sector 0x2788e0 len 77824 err no 10
[16935.282424] BTRFS warning (device dm-11: state EA): direct IO failed ino 261 rw 0,0 sector 0x2782d0 len 4096 err no 10
[16935.298016] BTRFS warning (device dm-11: state EA): direct IO failed ino 263 rw 0,0 sector 0x2734b0 len 16384 err no 10
[16935.298333] BTRFS warning (device dm-11: state EA): direct IO failed ino 261 rw 0,0 sector 0x2769d0 len 4096 err no 10
[16935.298633] BTRFS warning (device dm-11: state EA): direct IO failed ino 266 rw 0,0 sector 0x277be8 len 4096 err no 10
[16935.299620] BTRFS warning (device dm-11: state EA): direct IO failed ino 257 rw 0,0 sector 0x2799f8 len 81920 err no 10
[16935.300693] BTRFS warning (device dm-11: state EA): direct IO failed ino 266 rw 0,0 sector 0x2798f0 len 8192 err no 10
[16935.301766] BTRFS warning (device dm-11: state EA): direct IO failed ino 2039 rw 0,0 sector 0x26c510 len 8192 err no 10
[16935.303077] BTRFS warning (device dm-11: state EA): direct IO failed ino 262 rw 0,0 sector 0x274500 len 32768 err no 10
[16935.303362] BTRFS warning (device dm-11: state EA): direct IO failed ino 267 rw 0,0 sector 0x254ab0 len 8192 err no 10
[16935.313267] BTRFS warning (device dm-11: state EA): direct IO failed ino 266 rw 0,0 sector 0x279878 len 24576 err no 10
[16935.313314] BTRFS warning (device dm-11: state EA): direct IO failed ino 257 rw 0,0 sector 0x2790f8 len 12288 err no 10
[16935.313970] BTRFS warning (device dm-11: state EA): direct IO failed ino 263 rw 0,0 sector 0x278b38 len 4096 err no 10
[16935.316382] BTRFS warning (device dm-11: state EA): direct IO failed ino 266 rw 0,0 sector 0x279830 len 45056 err no 10
[16935.317264] BTRFS warning (device dm-11: state EA): direct IO failed ino 266 rw 0,0 sector 0x279830 len 53248 err no 10
[16935.793163] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[16935.793171] BTRFS info (device dm-11): turning on async discard
[16935.793173] BTRFS info (device dm-11): disk space caching is enabled
[16935.836210] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[16935.858761] BTRFS: error (device dm-11: state A) in __btrfs_free_extent:3078: errno=-5 IO failure
[16935.859248] BTRFS info (device dm-11: state EA): forced readonly
[16935.859254] BTRFS: error (device dm-11: state EA) in btrfs_run_delayed_refs:2141: errno=-5 IO failure
[16936.380432] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[16936.380441] BTRFS info (device dm-11): turning on async discard
[16936.380443] BTRFS info (device dm-11): disk space caching is enabled
[16938.437667] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[16938.437674] btrfs_dev_stat_inc_and_print: 130 callbacks suppressed
[16938.437676] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 1, rd 0, flush 0, corrupt 0, gen 0
[16938.437691] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[16938.437693] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 2, rd 0, flush 0, corrupt 0, gen 0
[16938.437712] BTRFS error (device dm-11): error writing primary super block to device 1
[16938.437718] BTRFS: error (device dm-11) in write_all_supers:4342: errno=-5 IO failure (1 errors while writing supers)
[16938.438714] BTRFS info (device dm-11: state E): forced readonly
[16938.438728] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[16938.438733] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[16938.439475] BTRFS: error (device dm-11: state EA) in btrfs_sync_log:3192: errno=-5 IO failure
[16938.443889] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 3, rd 0, flush 0, corrupt 0, gen 0
[16938.444627] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 4, rd 0, flush 0, corrupt 0, gen 0
[16938.444664] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 5, rd 0, flush 0, corrupt 0, gen 0
[16938.447313] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 5, rd 1, flush 0, corrupt 0, gen 0
[16938.447337] BTRFS warning (device dm-11: state EA): direct IO failed ino 2115 rw 0,0 sector 0x29fa58 len 4096 err no 10
[16938.447388] BTRFS warning (device dm-11: state EA): Skipping commit of aborted transaction.
[16938.447392] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[16938.453578] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 5, rd 2, flush 0, corrupt 0, gen 0
[16938.453604] BTRFS warning (device dm-11: state EA): direct IO failed ino 2082 rw 0,0 sector 0x286e58 len 4096 err no 10
[16938.455201] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 5, rd 3, flush 0, corrupt 0, gen 0
[16938.455226] BTRFS warning (device dm-11: state EA): direct IO failed ino 2151 rw 0,0 sector 0x295840 len 24576 err no 10
[16938.455354] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 5, rd 4, flush 0, corrupt 0, gen 0
[16938.455371] BTRFS warning (device dm-11: state EA): direct IO failed ino 2151 rw 0,0 sector 0x29ae58 len 8192 err no 10
[16938.457238] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[16938.471217] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 5, rd 5, flush 0, corrupt 0, gen 0
[16938.471994] BTRFS warning (device dm-11: state EA): direct IO failed ino 267 rw 0,0 sector 0x257f30 len 4096 err no 10
[16938.473162] BTRFS warning (device dm-11: state EA): direct IO failed ino 283 rw 0,0 sector 0x2a1bb0 len 8192 err no 10
[16938.484709] BTRFS warning (device dm-11: state EA): direct IO failed ino 274 rw 0,0 sector 0x2a16b8 len 53248 err no 10
[16938.491822] BTRFS warning (device dm-11: state EA): direct IO failed ino 281 rw 0,0 sector 0x29fee0 len 32768 err no 10
[16938.492554] BTRFS warning (device dm-11: state EA): direct IO failed ino 276 rw 0,0 sector 0x292b68 len 4096 err no 10
[16938.493449] BTRFS warning (device dm-11: state EA): direct IO failed ino 268 rw 0,0 sector 0x25d3a0 len 49152 err no 10
[16938.495566] BTRFS warning (device dm-11: state EA): direct IO failed ino 276 rw 0,0 sector 0x2a1ba0 len 8192 err no 10
[16938.512979] BTRFS warning (device dm-11: state EA): direct IO failed ino 2099 rw 0,0 sector 0x2866e8 len 32768 err no 10
[16938.514096] BTRFS warning (device dm-11: state EA): direct IO failed ino 2198 rw 0,0 sector 0x2a2ad8 len 53248 err no 10
[16939.101512] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[16939.101520] BTRFS info (device dm-11): turning on async discard
[16939.101522] BTRFS info (device dm-11): disk space caching is enabled
[16939.150716] BTRFS error (device dm-11): error reading free space cache
[16939.150736] BTRFS warning (device dm-11): failed to load free space cache for block group 298844160, rebuilding it now
[16939.161275] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[16939.182920] BTRFS: error (device dm-11: state A) in __btrfs_free_extent:3078: errno=-5 IO failure
[16939.183613] BTRFS info (device dm-11: state EA): forced readonly
[16939.183621] BTRFS: error (device dm-11: state EA) in btrfs_run_delayed_refs:2141: errno=-5 IO failure
[16939.659800] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[16939.659815] BTRFS info (device dm-11): turning on async discard
[16939.659817] BTRFS info (device dm-11): disk space caching is enabled
[16941.734446] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[16941.734463] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[16941.734552] BTRFS error (device dm-11): error writing primary super block to device 1
[16941.734555] BTRFS: error (device dm-11) in write_all_supers:4342: errno=-5 IO failure (1 errors while writing supers)
[16941.735217] BTRFS info (device dm-11: state E): forced readonly
[16941.735228] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[16941.735231] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[16941.736324] BTRFS: error (device dm-11: state EA) in btrfs_sync_log:3192: errno=-5 IO failure
[16941.741882] BTRFS warning (device dm-11: state EA): direct IO failed ino 2278 rw 0,0 sector 0x2b6218 len 8192 err no 10
[16941.742280] BTRFS warning (device dm-11: state EA): Skipping commit of aborted transaction.
[16941.742284] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[16941.746695] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[16941.760687] BTRFS warning (device dm-11: state EA): direct IO failed ino 2325 rw 0,0 sector 0x2b4098 len 57344 err no 10
[16941.760931] BTRFS warning (device dm-11: state EA): direct IO failed ino 2256 rw 0,0 sector 0x2ab810 len 53248 err no 10
[16941.761259] BTRFS warning (device dm-11: state EA): direct IO failed ino 257 rw 0,0 sector 0x2b31f0 len 45056 err no 10
[16941.761538] BTRFS warning (device dm-11: state EA): direct IO failed ino 2299 rw 0,0 sector 0x2aee08 len 20480 err no 10
[16941.761887] BTRFS warning (device dm-11: state EA): direct IO failed ino 2277 rw 0,0 sector 0x2b0180 len 53248 err no 10
[16941.777633] BTRFS warning (device dm-11: state EA): direct IO failed ino 2293 rw 0,0 sector 0x2b02d0 len 8192 err no 10
[16941.778072] BTRFS warning (device dm-11: state EA): direct IO failed ino 2290 rw 0,0 sector 0x2ae378 len 24576 err no 10
[16941.779433] BTRFS warning (device dm-11: state EA): direct IO failed ino 2275 rw 0,0 sector 0x2b79a8 len 16384 err no 10
[16941.798156] BTRFS warning (device dm-11: state EA): direct IO failed ino 2299 rw 0,0 sector 0x2aee18 len 4096 err no 10
[16942.290184] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[16942.290192] BTRFS info (device dm-11): turning on async discard
[16942.290194] BTRFS info (device dm-11): disk space caching is enabled
[16943.533965] btrfs_dev_stat_inc_and_print: 48 callbacks suppressed
[16943.533974] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 1, rd 0, flush 0, corrupt 0, gen 0
[16943.534056] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[16943.534064] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 2, rd 0, flush 0, corrupt 0, gen 0
[16943.534087] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[16943.534094] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 3, rd 0, flush 0, corrupt 0, gen 0
[16943.534199] BTRFS error (device dm-11): error writing primary super block to device 1
[16943.534215] BTRFS: error (device dm-11) in write_all_supers:4342: errno=-5 IO failure (1 errors while writing supers)
[16943.536660] BTRFS info (device dm-11: state E): forced readonly
[16943.536677] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[16943.538597] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[16943.541387] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 4, rd 0, flush 0, corrupt 0, gen 0
[16943.542918] BTRFS warning (device dm-11: state EA): Skipping commit of aborted transaction.
[16943.542926] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[16943.547295] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 4, rd 1, flush 0, corrupt 0, gen 0
[16943.547330] BTRFS warning (device dm-11: state EA): direct IO failed ino 2030 rw 0,0 sector 0x2b9d30 len 45056 err no 10
[16943.548092] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 4, rd 2, flush 0, corrupt 0, gen 0
[16943.548107] BTRFS warning (device dm-11: state EA): direct IO failed ino 2005 rw 0,0 sector 0x2bbb08 len 16384 err no 10
[16943.549267] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[16943.566619] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 4, rd 3, flush 0, corrupt 0, gen 0
[16943.566652] BTRFS warning (device dm-11: state EA): direct IO failed ino 1441 rw 0,0 sector 0x73a8 len 4096 err no 10
[16943.567478] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 4, rd 4, flush 0, corrupt 0, gen 0
[16943.567498] BTRFS warning (device dm-11: state EA): direct IO failed ino 1441 rw 0,0 sector 0x2b9678 len 8192 err no 10
[16943.568678] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 4, rd 5, flush 0, corrupt 0, gen 0
[16943.568696] BTRFS warning (device dm-11: state EA): direct IO failed ino 2341 rw 0,0 sector 0x2b6f48 len 36864 err no 10
[16943.585487] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 4, rd 6, flush 0, corrupt 0, gen 0
[16943.585507] BTRFS warning (device dm-11: state EA): direct IO failed ino 2030 rw 0,0 sector 0x15d9a0 len 69632 err no 10
[16943.585900] BTRFS warning (device dm-11: state EA): direct IO failed ino 2351 rw 0,0 sector 0x2b9040 len 53248 err no 10
[16943.586427] BTRFS warning (device dm-11: state EA): direct IO failed ino 2363 rw 0,0 sector 0x2b9bb0 len 4096 err no 10
[16943.588133] BTRFS warning (device dm-11: state EA): direct IO failed ino 2363 rw 0,0 sector 0x2b9bb8 len 8192 err no 10
[16943.588616] BTRFS warning (device dm-11: state EA): direct IO failed ino 2030 rw 0,0 sector 0x2bb3a0 len 4096 err no 10
[16943.588893] BTRFS warning (device dm-11: state EA): direct IO failed ino 2363 rw 0,0 sector 0x2b9bd0 len 20480 err no 10
[16943.589086] BTRFS warning (device dm-11: state EA): direct IO failed ino 2363 rw 0,0 sector 0x2b9bd0 len 20480 err no 10
[16943.590243] BTRFS warning (device dm-11: state EA): direct IO failed ino 2363 rw 0,0 sector 0x2b9b98 len 4096 err no 10
[16944.098958] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[16944.098969] BTRFS info (device dm-11): turning on async discard
[16944.098971] BTRFS info (device dm-11): disk space caching is enabled
[16944.104622] BTRFS info (device dm-11): start tree-log replay
[16944.219469] BTRFS: error (device dm-11: state A) in __btrfs_free_extent:3078: errno=-5 IO failure
[16944.220288] BTRFS info (device dm-11: state EA): forced readonly
[16944.220298] BTRFS: error (device dm-11: state EA) in btrfs_run_delayed_refs:2141: errno=-5 IO failure
[16944.226523] BTRFS warning (device dm-11: state EA): Skipping commit of aborted transaction.
[16944.226530] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[16944.228499] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[16944.272444] BTRFS warning (device dm-11: state EA): direct IO failed ino 2370 rw 0,0 sector 0x2bbb40 len 12288 err no 10
[16944.729914] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[16944.729923] BTRFS info (device dm-11): turning on async discard
[16944.729925] BTRFS info (device dm-11): disk space caching is enabled
[16946.761354] BTRFS: error (device dm-11) in btrfs_commit_transaction:2496: errno=-5 IO failure (Error while writing out transaction)
[16946.762103] BTRFS info (device dm-11: state E): forced readonly
[16946.762108] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[16946.762110] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[16946.776696] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[16947.429578] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[16947.429586] BTRFS info (device dm-11): turning on async discard
[16947.429588] BTRFS info (device dm-11): disk space caching is enabled
[16947.474522] BTRFS error (device dm-11): error reading free space cache
[16947.474538] BTRFS warning (device dm-11): failed to load free space cache for block group 298844160, rebuilding it now
[16947.475988] BTRFS warning (device dm-11): direct IO failed ino 2511 rw 1,34817 sector 0x312800 len 126976 err no 10
[16947.478210] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[16947.483596] BTRFS: error (device dm-11: state A) in do_free_extent_accounting:2848: errno=-5 IO failure
[16947.484375] BTRFS info (device dm-11: state EA): forced readonly
[16947.484382] BTRFS: error (device dm-11: state EA) in btrfs_run_delayed_refs:2141: errno=-5 IO failure
[16947.951101] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[16947.951109] BTRFS info (device dm-11): turning on async discard
[16947.951111] BTRFS info (device dm-11): disk space caching is enabled
[16947.988953] ------------[ cut here ]------------
[16947.989024] WARNING: CPU: 0 PID: 1851274 at fs/btrfs/discard.c:604 btrfs_discard_update_discardable+0x98/0xb0
[16947.989030] Modules linked in: dm_thin_pool dm_persistent_data dm_bio_prison dm_log_writes dm_dust dm_flakey nft_fib_inet nft_fib_ipv4 nft_fib_ipv6 nft_fib nft_reject_inet nf_reject_ipv4 nf_reject_ipv6 nft_reject nft_ct nft_chain_nat nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 ip6_tables nft_compat rfkill ip_set nf_tables nfnetlink intel_rapl_msr iTCO_wdt iTCO_vendor_support snd_hda_codec_generic snd_hda_intel snd_intel_dspcfg snd_hda_codec intel_rapl_common snd_hwdep snd_hda_core i2c_i801 snd_pcm joydev snd_timer i2c_smbus snd virtio_balloon soundcore lpc_ich zram ip_tables xfs crct10dif_pclmul crc32_pclmul crc32c_intel ghash_clmulni_intel serio_raw qemu_fw_cfg
[16947.989096] CPU: 0 PID: 1851274 Comm: kworker/u4:8 Tainted: G W 5.19.0-rc8+ #791
[16947.989099] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.13.0-2.fc32 04/01/2014
[16947.989101] Workqueue: btrfs-cache btrfs_work_helper
[16947.989106] RIP: 0010:btrfs_discard_update_discardable+0x98/0xb0
[16947.989109] Code: 17 00 00 48 8b 83 80 00 00 00 48 89 83 88 00 00 00 5b 5d c3 cc cc cc cc 48 8d 7b 18 be ff ff ff ff e8 2c 9a 7e 00 85 c0 75 ac <0f> 0b eb a8 c3 cc cc cc cc 66 66 2e 0f 1f 84 00 00 00 00 00 0f 1f
[16947.989111] RSP: 0018:ffffbaea85ac7ad0 EFLAGS: 00010246
[16947.989114] RAX: 0000000000000000 RBX: ffff8f4d7a3b6600 RCX: 0000000000000001
[16947.989116] RDX: 0000000000000000 RSI: ffffffff8e807c5b RDI: ffffffff8e8a831e
[16947.989117] RBP: ffff8f4d4cbc4000 R08: 0000000000000000 R09: 0000000000001000
[16947.989119] R10: 000000000001a547 R11: 000000000080d700 R12: ffff8f4d44232010
[16947.989120] R13: ffff8f4d550e1760 R14: ffff8f4d4cbc4000 R15: ffff8f4d4c100460
[16947.989122] FS: 0000000000000000(0000) GS:ffff8f4dbbc00000(0000) knlGS:0000000000000000
[16947.989124] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[16947.989126] CR2: 00000000020364a8 CR3: 0000000157c18005 CR4: 0000000000370ef0
[16947.989130] Call Trace:
[16947.989132]
[16947.989136] __btrfs_remove_free_space_cache+0x27/0x30
[16947.989140] load_free_space_cache+0xad2/0xaf0
[16947.989180] caching_thread+0x40b/0x650
[16947.989188] ? lock_release+0x137/0x2d0
[16947.989195] btrfs_work_helper+0xf2/0x3e0
[16947.989198] ? lock_is_held_type+0xe2/0x140
[16947.989205] process_one_work+0x271/0x590
[16947.989213] ? process_one_work+0x590/0x590
[16947.989216] worker_thread+0x52/0x3b0
[16947.989221] ? process_one_work+0x590/0x590
[16947.989224] kthread+0xf0/0x120
[16947.989226] ? kthread_complete_and_exit+0x20/0x20
[16947.989231] ret_from_fork+0x1f/0x30
[16947.989244]
[16947.989245] irq event stamp: 18929599
[16947.989246] hardirqs last enabled at (18929605): [] __up_console_sem+0x5e/0x70
[16947.989249] hardirqs last disabled at (18929610): [] __up_console_sem+0x43/0x70
[16947.989252] softirqs last enabled at (18928992): [] __irq_exit_rcu+0xeb/0x160
[16947.989255] softirqs last disabled at (18928983): [] __irq_exit_rcu+0xeb/0x160
[16947.989257] ---[ end trace 0000000000000000 ]---
[16947.989260] BTRFS warning (device dm-11): block group 298844160 has wrong amount of free space
[16947.989276] BTRFS warning (device dm-11): failed to load free space cache for block group 298844160, rebuilding it now
[16948.986198] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[16948.986205] btrfs_dev_stat_inc_and_print: 147 callbacks suppressed
[16948.986207] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 1, rd 0, flush 0, corrupt 0, gen 0
[16948.986219] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[16948.986221] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 2, rd 0, flush 0, corrupt 0, gen 0
[16948.986226] BTRFS error (device dm-11): error writing primary super block to device 1
[16948.986231] BTRFS: error (device dm-11) in write_all_supers:4342: errno=-5 IO failure (1 errors while writing supers)
[16948.987130] BTRFS info (device dm-11: state E): forced readonly
[16948.987142] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[16948.987145] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[16948.990949] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 3, rd 0, flush 0, corrupt 0, gen 0
[16948.991639] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 4, rd 0, flush 0, corrupt 0, gen 0
[16948.991693] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 5, rd 0, flush 0, corrupt 0, gen 0
[16948.991731] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 6, rd 0, flush 0, corrupt 0, gen 0
[16948.992044] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 7, rd 0, flush 0, corrupt 0, gen 0
[16948.992391] BTRFS: error (device dm-11: state EA) in btrfs_sync_log:3192: errno=-5 IO failure
[16948.996819] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[16948.998443] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 7, rd 1, flush 0, corrupt 0, gen 0
[16948.998469] BTRFS warning (device dm-11: state EA): direct IO failed ino 261 rw 0,0 sector 0x2ed6e8 len 20480 err no 10
[16948.998471] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 7, rd 2, flush 0, corrupt 0, gen 0
[16948.998540] BTRFS warning (device dm-11: state EA): direct IO failed ino 261 rw 0,0 sector 0x2d33b8 len 4096 err no 10
[16948.998859] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 7, rd 3, flush 0, corrupt 0, gen 0
[16948.998877] BTRFS warning (device dm-11: state EA): direct IO failed ino 270 rw 0,0 sector 0x2f7280 len 28672 err no 10
[16949.015420] BTRFS warning (device dm-11: state EA): direct IO failed ino 2568 rw 0,0 sector 0x2f7fa0 len 12288 err no 10
[16949.015998] BTRFS warning (device dm-11: state EA): direct IO failed ino 2505 rw 0,0 sector 0x12d1a0 len 53248 err no 10
[16949.017289] BTRFS warning (device dm-11: state EA): direct IO failed ino 2529 rw 0,0 sector 0x2f9970 len 8192 err no 10
[16949.018348] BTRFS warning (device dm-11: state EA): direct IO failed ino 262 rw 0,0 sector 0x2f7a38 len 53248 err no 10
[16949.018984] BTRFS warning (device dm-11: state EA): direct IO failed ino 2539 rw 0,0 sector 0x2f1228 len 20480 err no 10
[16949.039377] BTRFS warning (device dm-11: state EA): direct IO failed ino 265 rw 0,0 sector 0x2ef158 len 8192 err no 10
[16949.040275] BTRFS warning (device dm-11: state EA): direct IO failed ino 2529 rw 0,0 sector 0x2f4028 len 4096 err no 10
[16949.041361] BTRFS warning (device dm-11: state EA): direct IO failed ino 268 rw 0,0 sector 0x2f7f68 len 4096 err no 10
[16949.042036] BTRFS warning (device dm-11: state EA): direct IO failed ino 2509 rw 0,0 sector 0x15e878 len 8192 err no 10
[16949.042916] BTRFS warning (device dm-11: state EA): direct IO failed ino 2577 rw 0,0 sector 0x2f8668 len 102400 err no 10
[16949.044816] BTRFS warning (device dm-11: state EA): direct IO failed ino 1447 rw 0,0 sector 0x2f3b50 len 28672 err no 10
[16949.049013] BTRFS warning (device dm-11: state EA): direct IO failed ino 2556 rw 0,0 sector 0x2f8638 len 24576 err no 10
[16949.582109] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[16949.582120] BTRFS info (device dm-11): turning on async discard
[16949.582123] BTRFS info (device dm-11): disk space caching is enabled
[16950.709326] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[16950.709342] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[16950.709351] BTRFS error (device dm-11): error writing primary super block to device 1
[16950.709355] BTRFS: error (device dm-11) in write_all_supers:4342: errno=-5 IO failure (1 errors while writing supers)
[16950.709954] BTRFS info (device dm-11: state E): forced readonly
[16950.709959] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[16950.709966] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[16950.715016] BTRFS warning (device dm-11: state EA): Skipping commit of aborted transaction.
[16950.715020] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[16950.715695] BTRFS warning (device dm-11: state EA): direct IO failed ino 2626 rw 0,0 sector 0x2537d8 len 28672 err no 10
[16950.717289] BTRFS warning (device dm-11: state EA): direct IO failed ino 2612 rw 0,0 sector 0x21a2c0 len 36864 err no 10
[16950.719048] BTRFS warning (device dm-11: state EA): direct IO failed ino 2610 rw 0,0 sector 0x2fe438 len 73728 err no 10
[16950.719081] BTRFS warning (device dm-11: state EA): direct IO failed ino 2610 rw 0,0 sector 0x2d7538 len 8192 err no 10
[16950.719088] BTRFS warning (device dm-11: state EA): direct IO failed ino 2610 rw 0,0 sector 0x2fe4d8 len 20480 err no 10
[16950.720530] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[16950.732478] BTRFS warning (device dm-11: state EA): direct IO failed ino 1477 rw 0,0 sector 0x2fd988 len 16384 err no 10
[16950.734212] BTRFS warning (device dm-11: state EA): direct IO failed ino 2629 rw 0,0 sector 0x29c920 len 8192 err no 10
[16950.734286] BTRFS warning (device dm-11: state EA): direct IO failed ino 258 rw 0,0 sector 0x258500 len 4096 err no 10
[16950.735231] BTRFS warning (device dm-11: state EA): direct IO failed ino 258 rw 0,0 sector 0x2ff228 len 4096 err no 10
[16950.735400] BTRFS warning (device dm-11: state EA): direct IO failed ino 2629 rw 0,0 sector 0x29c960 len 40960 err no 10
[16951.283966] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[16951.283977] BTRFS info (device dm-11): turning on async discard
[16951.283979] BTRFS info (device dm-11): disk space caching is enabled
[16953.324533] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[16953.324549] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[16953.324810] BTRFS error (device dm-11): error writing primary super block to device 1
[16953.324815] BTRFS: error (device dm-11) in write_all_supers:4342: errno=-5 IO failure (1 errors while writing supers)
[16953.325725] BTRFS info (device dm-11: state E): forced readonly
[16953.325731] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[16953.325735] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[16953.330236] BTRFS warning (device dm-11: state EA): Skipping commit of aborted transaction.
[16953.332778] BTRFS warning (device dm-11: state EA): direct IO failed ino 2674 rw 0,0 sector 0x301dc8 len 36864 err no 10
[16953.332844] BTRFS warning (device dm-11: state EA): direct IO failed ino 2674 rw 0,0 sector 0x301b98 len 4096 err no 10
[16953.334223] BTRFS warning (device dm-11: state EA): direct IO failed ino 2657 rw 0,0 sector 0x301890 len 16384 err no 10
[16953.344070] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[16953.348581] BTRFS warning (device dm-11: state EA): direct IO failed ino 2651 rw 0,0 sector 0x3017d0 len 40960 err no 10
[16953.349011] BTRFS warning (device dm-11: state EA): direct IO failed ino 2650 rw 0,0 sector 0x7398 len 4096 err no 10
[16953.350243] BTRFS warning (device dm-11: state EA): direct IO failed ino 258 rw 0,0 sector 0x21b810 len 53248 err no 10
[16953.350956] BTRFS warning (device dm-11: state EA): direct IO failed ino 2339 rw 0,0 sector 0x212a08 len 4096 err no 10
[16953.351462] BTRFS warning (device dm-11: state EA): direct IO failed ino 1464 rw 0,0 sector 0x301cf0 len 40960 err no 10
[16953.367330] BTRFS warning (device dm-11: state EA): direct IO failed ino 2674 rw 0,0 sector 0x301c20 len 57344 err no 10
[16953.368760] BTRFS warning (device dm-11: state EA): direct IO failed ino 2674 rw 0,0 sector 0x2a07e8 len 53248 err no 10
[16953.369591] BTRFS warning (device dm-11: state EA): direct IO failed ino 2674 rw 0,0 sector 0x301c20 len 36864 err no 10
[16953.370121] BTRFS warning (device dm-11: state EA): direct IO failed ino 2674 rw 0,0 sector 0x1d9a80 len 102400 err no 10
[16953.391998] BTRFS warning (device dm-11: state EA): direct IO failed ino 2660 rw 0,0 sector 0x1d2fa8 len 57344 err no 10
[16953.392266] BTRFS warning (device dm-11: state EA): direct IO failed ino 2505 rw 0,0 sector 0x1d2f88 len 16384 err no 10
[16953.393044] BTRFS warning (device dm-11: state EA): direct IO failed ino 2657 rw 0,0 sector 0x2fff18 len 4096 err no 10
[16953.397182] BTRFS warning (device dm-11: state EA): direct IO failed ino 2359 rw 0,0 sector 0x2ff7b8 len 81920 err no 10
[16953.927083] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[16953.927092] BTRFS info (device dm-11): turning on async discard
[16953.927094] BTRFS info (device dm-11): disk space caching is enabled
[16953.931121] BTRFS info (device dm-11): start tree-log replay
[16953.945330] BTRFS info (device dm-11): the free space cache file (298844160) is invalid, skip it
[16956.033555] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[16956.033561] btrfs_dev_stat_inc_and_print: 59 callbacks suppressed
[16956.033563] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 1, rd 0, flush 0, corrupt 0, gen 0
[16956.033576] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[16956.033579] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 2, rd 0, flush 0, corrupt 0, gen 0
[16956.033585] BTRFS error (device dm-11): error writing primary super block to device 1
[16956.033607] BTRFS: error (device dm-11) in write_all_supers:4342: errno=-5 IO failure (1 errors while writing supers)
[16956.034636] BTRFS info (device dm-11: state E): forced readonly
[16956.034644] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[16956.034649] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[16956.037681] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 2, rd 1, flush 0, corrupt 0, gen 0
[16956.037702] BTRFS warning (device dm-11: state EA): direct IO failed ino 262 rw 0,0 sector 0x26d728 len 24576 err no 10
[16956.039202] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 3, rd 1, flush 0, corrupt 0, gen 0
[16956.039536] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 4, rd 1, flush 0, corrupt 0, gen 0
[16956.040155] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 5, rd 1, flush 0, corrupt 0, gen 0
[16956.040185] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 6, rd 1, flush 0, corrupt 0, gen 0
[16956.040437] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 7, rd 1, flush 0, corrupt 0, gen 0
[16956.040677] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 8, rd 1, flush 0, corrupt 0, gen 0
[16956.041022] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 9, rd 1, flush 0, corrupt 0, gen 0
[16956.041928] BTRFS warning (device dm-11: state EA): direct IO failed ino 2741 rw 0,0 sector 0x2d30b0 len 8192 err no 10
[16956.042383] BTRFS warning (device dm-11: state EA): direct IO failed ino 2741 rw 0,0 sector 0x2dd390 len 40960 err no 10
[16956.043934] BTRFS warning (device dm-11: state EA): direct IO failed ino 257 rw 0,0 sector 0x2a8628 len 53248 err no 10
[16956.051174] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[16956.051281] BTRFS warning (device dm-11: state EA): direct IO failed ino 261 rw 0,0 sector 0x227c70 len 20480 err no 10
[16956.051993] BTRFS warning (device dm-11: state EA): direct IO failed ino 265 rw 0,0 sector 0x19b678 len 40960 err no 10
[16956.056795] BTRFS warning (device dm-11: state EA): direct IO failed ino 2587 rw 0,0 sector 0x2a88a0 len 40960 err no 10
[16956.073512] BTRFS warning (device dm-11: state EA): direct IO failed ino 268 rw 0,0 sector 0x26edd8 len 45056 err no 10
[16956.095911] BTRFS warning (device dm-11: state EA): direct IO failed ino 262 rw 0,0 sector 0x2d3070 len 28672 err no 10
[16956.096507] BTRFS warning (device dm-11: state EA): direct IO failed ino 1464 rw 0,0 sector 0x19d698 len 24576 err no 10
[16956.097470] BTRFS warning (device dm-11: state EA): direct IO failed ino 265 rw 0,0 sector 0x19b678 len 40960 err no 10
[16956.099498] BTRFS warning (device dm-11: state EA): direct IO failed ino 271 rw 0,0 sector 0x2a6948 len 16384 err no 10
[16956.100265] BTRFS warning (device dm-11: state EA): direct IO failed ino 284 rw 0,0 sector 0x1e0620 len 53248 err no 10
[16956.100463] BTRFS warning (device dm-11: state EA): direct IO failed ino 279 rw 0,0 sector 0x229870 len 36864 err no 10
[16956.116513] BTRFS warning (device dm-11: state EA): direct IO failed ino 272 rw 0,0 sector 0x3058a0 len 36864 err no 10
[16956.117543] BTRFS warning (device dm-11: state EA): direct IO failed ino 2736 rw 0,0 sector 0x2aae28 len 20480 err no 10
[16956.647801] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[16956.647809] BTRFS info (device dm-11): turning on async discard
[16956.647811] BTRFS info (device dm-11): disk space caching is enabled
[16956.652176] BTRFS info (device dm-11): start tree-log replay
[16956.665518] BTRFS info (device dm-11): the free space cache file (298844160) is invalid, skip it
[16958.775648] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[16958.775670] BTRFS error (device dm-11): error writing primary super block to device 1
[16958.775674] BTRFS: error (device dm-11) in write_all_supers:4342: errno=-5 IO failure (1 errors while writing supers)
[16958.776529] BTRFS info (device dm-11: state E): forced readonly
[16958.776543] BTRFS: error (device dm-11: state EA) in btrfs_sync_log:3203: errno=-5 IO failure
[16958.780828] BTRFS warning (device dm-11: state EA): Skipping commit of aborted transaction.
[16958.780833] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[16958.782448] BTRFS warning (device dm-11: state EA): direct IO failed ino 2757 rw 0,0 sector 0x1da988 len 12288 err no 10
[16958.787805] BTRFS warning (device dm-11: state EA): direct IO failed ino 2810 rw 0,0 sector 0x3062d8 len 53248 err no 10
[16958.787968] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[16958.788395] BTRFS warning (device dm-11: state EA): direct IO failed ino 2339 rw 0,0 sector 0x26f6a0 len 24576 err no 10
[16958.788701] BTRFS warning (device dm-11: state EA): direct IO failed ino 2796 rw 0,0 sector 0x21bdf8 len 40960 err no 10
[16958.789223] BTRFS warning (device dm-11: state EA): direct IO failed ino 2810 rw 0,0 sector 0x1a1cd8 len 40960 err no 10
[16958.789807] BTRFS warning (device dm-11: state EA): direct IO failed ino 2794 rw 0,0 sector 0x1d2cd8 len 4096 err no 10
[16959.449213] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[16959.449221] BTRFS info (device dm-11): turning on async discard
[16959.449223] BTRFS info (device dm-11): disk space caching is enabled
[16959.453573] BTRFS info (device dm-11): start tree-log replay
[16959.468113] ------------[ cut here ]------------
[16959.468179] WARNING: CPU: 0 PID: 2176219 at fs/btrfs/discard.c:604 btrfs_discard_update_discardable+0x98/0xb0
[16959.468185] Modules linked in: dm_thin_pool dm_persistent_data dm_bio_prison dm_log_writes dm_dust dm_flakey nft_fib_inet nft_fib_ipv4 nft_fib_ipv6 nft_fib nft_reject_inet nf_reject_ipv4 nf_reject_ipv6 nft_reject nft_ct nft_chain_nat nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 ip6_tables nft_compat rfkill ip_set nf_tables nfnetlink intel_rapl_msr iTCO_wdt iTCO_vendor_support snd_hda_codec_generic snd_hda_intel snd_intel_dspcfg snd_hda_codec intel_rapl_common snd_hwdep snd_hda_core i2c_i801 snd_pcm joydev snd_timer i2c_smbus snd virtio_balloon soundcore lpc_ich zram ip_tables xfs crct10dif_pclmul crc32_pclmul crc32c_intel ghash_clmulni_intel serio_raw qemu_fw_cfg
[16959.468249] CPU: 0 PID: 2176219 Comm: kworker/u4:1 Tainted: G W 5.19.0-rc8+ #791
[16959.468252] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.13.0-2.fc32 04/01/2014
[16959.468253] Workqueue: btrfs-cache btrfs_work_helper
[16959.468259] RIP: 0010:btrfs_discard_update_discardable+0x98/0xb0
[16959.468262] Code: 17 00 00 48 8b 83 80 00 00 00 48 89 83 88 00 00 00 5b 5d c3 cc cc cc cc 48 8d 7b 18 be ff ff ff ff e8 2c 9a 7e 00 85 c0 75 ac <0f> 0b eb a8 c3 cc cc cc cc 66 66 2e 0f 1f 84 00 00 00 00 00 0f 1f
[16959.468265] RSP: 0018:ffffbaea8572fad0 EFLAGS: 00010246
[16959.468269] RAX: 0000000000000000 RBX: ffff8f4d56085c00 RCX: 0000000000000001
[16959.468272] RDX: 0000000000000000 RSI: ffffffff8e807c5b RDI: ffffffff8e8a831e
[16959.468274] RBP: ffff8f4d97d90000 R08: 0000000000000000 R09: 0000000000001000
[16959.468276] R10: 0000000000049219 R11: 0000000000000000 R12: ffff8f4d9a581010
[16959.468278] R13: ffff8f4d551120b0 R14: ffff8f4d97d90000 R15: ffff8f4d69c059a0
[16959.468281] FS: 0000000000000000(0000) GS:ffff8f4dbbc00000(0000) knlGS:0000000000000000
[16959.468284] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[16959.468287] CR2: 000056398170d080 CR3: 000000010eade003 CR4: 0000000000370ef0
[16959.468291] Call Trace:
[16959.468294]
[16959.468300] __btrfs_remove_free_space_cache+0x27/0x30
[16959.468305] load_free_space_cache+0xad2/0xaf0
[16959.468345] caching_thread+0x40b/0x650
[16959.468354] ? lock_release+0x137/0x2d0
[16959.468361] btrfs_work_helper+0xf2/0x3e0
[16959.468364] ? lock_is_held_type+0xe2/0x140
[16959.468371] process_one_work+0x271/0x590
[16959.468381] worker_thread+0x52/0x3b0
[16959.468386] ? process_one_work+0x590/0x590
[16959.468388] kthread+0xf0/0x120
[16959.468391] ? kthread_complete_and_exit+0x20/0x20
[16959.468396] ret_from_fork+0x1f/0x30
[16959.468409]
[16959.468410] irq event stamp: 1085145
[16959.468412] hardirqs last enabled at (1085151): [] __up_console_sem+0x5e/0x70
[16959.468415] hardirqs last disabled at (1085156): [] __up_console_sem+0x43/0x70
[16959.468417] softirqs last enabled at (1083846): [] __irq_exit_rcu+0xeb/0x160
[16959.468420] softirqs last disabled at (1083841): [] __irq_exit_rcu+0xeb/0x160
[16959.468422] ---[ end trace 0000000000000000 ]---
[16959.468425] BTRFS warning (device dm-11): block group 298844160 has wrong amount of free space
[16959.468440] BTRFS warning (device dm-11): failed to load free space cache for block group 298844160, rebuilding it now
[16960.717901] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[16960.717909] BTRFS error (device dm-11): error writing primary super block to device 1
[16960.717919] BTRFS: error (device dm-11) in write_all_supers:4342: errno=-5 IO failure (1 errors while writing supers)
[16960.718486] BTRFS info (device dm-11: state E): forced readonly
[16960.718491] BTRFS: error (device dm-11: state EA) in btrfs_sync_log:3203: errno=-5 IO failure
[16960.724262] BTRFS warning (device dm-11: state EA): direct IO failed ino 2863 rw 0,0 sector 0x2ce3e0 len 8192 err no 10
[16960.725290] BTRFS warning (device dm-11: state EA): direct IO failed ino 2232 rw 0,0 sector 0x2e4308 len 24576 err no 10
[16960.730523] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[16960.744175] BTRFS warning (device dm-11: state EA): direct IO failed ino 2015 rw 0,0 sector 0x22aef8 len 53248 err no 10
[16960.756910] BTRFS warning (device dm-11: state EA): direct IO failed ino 2876 rw 0,0 sector 0x2d6158 len 36864 err no 10
[16960.757100] BTRFS warning (device dm-11: state EA): direct IO failed ino 2863 rw 0,0 sector 0x2ce3e0 len 8192 err no 10
[16960.758388] BTRFS warning (device dm-11: state EA): direct IO failed ino 2247 rw 0,0 sector 0x2daeb8 len 16384 err no 10
[16960.759263] BTRFS warning (device dm-11: state EA): direct IO failed ino 2863 rw 0,0 sector 0x2ce3e0 len 8192 err no 10
[16960.761830] BTRFS warning (device dm-11: state EA): direct IO failed ino 2862 rw 0,0 sector 0x22d978 len 57344 err no 10
[16961.266493] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[16961.266501] BTRFS info (device dm-11): turning on async discard
[16961.266503] BTRFS info (device dm-11): disk space caching is enabled
[16961.294033] btrfs_dev_stat_inc_and_print: 62 callbacks suppressed
[16961.294037] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 0, rd 1, flush 0, corrupt 0, gen 0
[16961.294076] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 0, rd 2, flush 0, corrupt 0, gen 0
[16961.294152] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 0, rd 3, flush 0, corrupt 0, gen 0
[16961.294175] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 0, rd 4, flush 0, corrupt 0, gen 0
[16961.295259] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 0, rd 5, flush 0, corrupt 0, gen 0
[16961.297093] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 0, rd 6, flush 0, corrupt 0, gen 0
[16961.301339] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 0, rd 7, flush 0, corrupt 0, gen 0
[16961.301877] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[16961.305607] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 0, rd 8, flush 0, corrupt 0, gen 0
[16961.305936] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 0, rd 9, flush 0, corrupt 0, gen 0
[16961.306095] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 0, rd 10, flush 0, corrupt 0, gen 0
[16961.343495] BTRFS: error (device dm-11: state A) in __btrfs_free_extent:3078: errno=-5 IO failure
[16961.344091] BTRFS info (device dm-11: state EA): forced readonly
[16961.344097] BTRFS: error (device dm-11: state EA) in btrfs_run_delayed_refs:2141: errno=-5 IO failure
[16961.796236] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[16961.796245] BTRFS info (device dm-11): turning on async discard
[16961.796247] BTRFS info (device dm-11): disk space caching is enabled
[16963.826177] BTRFS: error (device dm-11: state A) in __btrfs_free_extent:3078: errno=-5 IO failure
[16963.826975] BTRFS info (device dm-11: state EA): forced readonly
[16963.826983] BTRFS: error (device dm-11: state EA) in btrfs_run_delayed_refs:2141: errno=-5 IO failure
[16963.827571] BTRFS: error (device dm-11: state EA) in btrfs_commit_transaction:2496: errno=-5 IO failure (Error while writing out transaction)
[16963.828499] BTRFS warning (device dm-11: state EA): Skipping commit of aborted transaction.
[16963.828504] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[16963.844448] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[16964.486480] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[16964.486489] BTRFS info (device dm-11): turning on async discard
[16964.486491] BTRFS info (device dm-11): disk space caching is enabled
[16965.534563] BTRFS warning (device dm-11): direct IO failed ino 3026 rw 1,34817 sector 0x299fd8 len 4096 err no 10
[16965.535278] BTRFS: error (device dm-11) in btrfs_commit_transaction:2496: errno=-5 IO failure (Error while writing out transaction)
[16965.536175] BTRFS info (device dm-11: state E): forced readonly
[16965.536180] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[16965.536185] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[16965.551041] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[16965.583250] BTRFS warning (device dm-11: state EA): direct IO failed ino 3013 rw 0,0 sector 0x198748 len 12288 err no 10
[16966.123815] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[16966.123824] BTRFS info (device dm-11): turning on async discard
[16966.123827] BTRFS info (device dm-11): disk space caching is enabled
[16966.127900] BTRFS info (device dm-11): start tree-log replay
[16968.345307] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[16968.345321] btrfs_dev_stat_inc_and_print: 72 callbacks suppressed
[16968.345326] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 1, rd 0, flush 0, corrupt 0, gen 0
[16968.345339] BTRFS error (device dm-11): error writing primary super block to device 1
[16968.345345] BTRFS: error (device dm-11) in write_all_supers:4342: errno=-5 IO failure (1 errors while writing supers)
[16968.346919] BTRFS info (device dm-11: state E): forced readonly
[16968.346938] BTRFS: error (device dm-11: state EA) in btrfs_sync_log:3203: errno=-5 IO failure
[16968.353592] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 2, rd 0, flush 0, corrupt 0, gen 0
[16968.354354] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 3, rd 0, flush 0, corrupt 0, gen 0
[16968.354809] BTRFS warning (device dm-11: state EA): Skipping commit of aborted transaction.
[16968.354813] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[16968.358287] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 3, rd 1, flush 0, corrupt 0, gen 0
[16968.358308] BTRFS warning (device dm-11: state EA): direct IO failed ino 259 rw 0,0 sector 0x1e5cd0 len 49152 err no 10
[16968.360320] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[16968.380268] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 3, rd 2, flush 0, corrupt 0, gen 0
[16968.380286] BTRFS warning (device dm-11: state EA): direct IO failed ino 262 rw 0,0 sector 0x263e88 len 45056 err no 10
[16968.380995] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 3, rd 3, flush 0, corrupt 0, gen 0
[16968.381014] BTRFS warning (device dm-11: state EA): direct IO failed ino 2016 rw 0,0 sector 0x2d3110 len 4096 err no 10
[16968.382101] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 3, rd 4, flush 0, corrupt 0, gen 0
[16968.382115] BTRFS warning (device dm-11: state EA): direct IO failed ino 3129 rw 0,0 sector 0x260998 len 16384 err no 10
[16968.382255] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 3, rd 5, flush 0, corrupt 0, gen 0
[16968.382266] BTRFS warning (device dm-11: state EA): direct IO failed ino 2755 rw 0,0 sector 0x2e90c0 len 8192 err no 10
[16968.383767] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 3, rd 6, flush 0, corrupt 0, gen 0
[16968.383785] BTRFS warning (device dm-11: state EA): direct IO failed ino 1769 rw 0,0 sector 0x274218 len 4096 err no 10
[16968.384204] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 3, rd 7, flush 0, corrupt 0, gen 0
[16968.384237] BTRFS warning (device dm-11: state EA): direct IO failed ino 258 rw 0,0 sector 0x2646b0 len 86016 err no 10
[16968.384266] BTRFS warning (device dm-11: state EA): direct IO failed ino 258 rw 0,0 sector 0x258aa8 len 4096 err no 10
[16968.385312] BTRFS warning (device dm-11: state EA): direct IO failed ino 3019 rw 0,0 sector 0x2f1570 len 4096 err no 10
[16969.000338] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[16969.000347] BTRFS info (device dm-11): turning on async discard
[16969.000349] BTRFS info (device dm-11): disk space caching is enabled
[16971.036813] BTRFS warning (device dm-11): direct IO failed ino 2605 rw 1,34817 sector 0x2df0c0 len 28672 err no 10
[16971.036858] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[16971.038172] BTRFS error (device dm-11): error writing primary super block to device 1
[16971.038176] BTRFS: error (device dm-11) in write_all_supers:4342: errno=-5 IO failure (1 errors while writing supers)
[16971.038855] BTRFS info (device dm-11: state E): forced readonly
[16971.038859] BTRFS: error (device dm-11: state EA) in btrfs_sync_log:3203: errno=-5 IO failure
[16971.048714] BTRFS warning (device dm-11: state EA): direct IO failed ino 261 rw 0,0 sector 0x2f1f08 len 8192 err no 10
[16971.053734] BTRFS warning (device dm-11: state EA): direct IO failed ino 261 rw 0,0 sector 0x1e34a0 len 32768 err no 10
[16971.053756] BTRFS warning (device dm-11: state EA): direct IO failed ino 261 rw 0,0 sector 0x1961f0 len 4096 err no 10
[16971.054901] BTRFS warning (device dm-11: state EA): direct IO failed ino 261 rw 0,0 sector 0x1e34a0 len 20480 err no 10
[16971.055399] BTRFS warning (device dm-11: state EA): direct IO failed ino 3286 rw 0,0 sector 0x215a20 len 16384 err no 10
[16971.056029] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[16971.059090] BTRFS warning (device dm-11: state EA): direct IO failed ino 2247 rw 0,0 sector 0x2b28f8 len 12288 err no 10
[16971.062546] BTRFS warning (device dm-11: state EA): direct IO failed ino 3164 rw 0,0 sector 0x1e3468 len 4096 err no 10
[16971.063127] BTRFS warning (device dm-11: state EA): direct IO failed ino 3267 rw 0,0 sector 0x1afe48 len 32768 err no 10
[16971.073840] BTRFS warning (device dm-11: state EA): direct IO failed ino 257 rw 0,0 sector 0x1e67e8 len 49152 err no 10
[16971.078332] BTRFS warning (device dm-11: state EA): direct IO failed ino 261 rw 0,0 sector 0x2ba4c0 len 28672 err no 10
[16971.079065] BTRFS warning (device dm-11: state EA): direct IO failed ino 257 rw 0,0 sector 0x2f1f98 len 4096 err no 10
[16971.080198] BTRFS warning (device dm-11: state EA): direct IO failed ino 261 rw 0,0 sector 0x2f1f08 len 8192 err no 10
[16971.081035] BTRFS warning (device dm-11: state EA): direct IO failed ino 269 rw 0,0 sector 0x274298 len 40960 err no 10
[16971.081303] BTRFS warning (device dm-11: state EA): direct IO failed ino 3174 rw 0,0 sector 0x2f2398 len 69632 err no 10
[16971.095502] BTRFS warning (device dm-11: state EA): direct IO failed ino 3150 rw 0,0 sector 0x2773f0 len 53248 err no 10
[16971.674111] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[16971.674119] BTRFS info (device dm-11): turning on async discard
[16971.674121] BTRFS info (device dm-11): disk space caching is enabled
[16971.678516] BTRFS info (device dm-11): start tree-log replay
[16971.794226] BTRFS: error (device dm-11: state A) in btrfs_finish_ordered_io:3318: errno=-5 IO failure
[16971.795121] BTRFS info (device dm-11: state EA): forced readonly
[16971.807385] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[16972.316251] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[16972.316263] BTRFS info (device dm-11): turning on async discard
[16972.316265] BTRFS info (device dm-11): disk space caching is enabled
[16973.353928] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[16973.353935] btrfs_dev_stat_inc_and_print: 614 callbacks suppressed
[16973.353938] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 1, rd 0, flush 0, corrupt 0, gen 0
[16973.353950] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[16973.353952] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 2, rd 0, flush 0, corrupt 0, gen 0
[16973.353987] BTRFS error (device dm-11): error writing primary super block to device 1
[16973.353991] BTRFS: error (device dm-11) in write_all_supers:4342: errno=-5 IO failure (1 errors while writing supers)
[16973.354627] BTRFS info (device dm-11: state E): forced readonly
[16973.354632] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[16973.354639] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[16973.359482] BTRFS warning (device dm-11: state EA): Skipping commit of aborted transaction.
[16973.359490] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[16973.360663] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 2, rd 1, flush 0, corrupt 0, gen 0
[16973.360694] BTRFS warning (device dm-11: state EA): direct IO failed ino 3328 rw 0,0 sector 0x2b71c0 len 12288 err no 10
[16973.361874] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 2, rd 2, flush 0, corrupt 0, gen 0
[16973.361900] BTRFS warning (device dm-11: state EA): direct IO failed ino 3331 rw 0,0 sector 0x26ffa8 len 12288 err no 10
[16973.364610] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[16973.384184] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 2, rd 3, flush 0, corrupt 0, gen 0
[16973.384213] BTRFS warning (device dm-11: state EA): direct IO failed ino 3331 rw 0,0 sector 0x2b7070 len 8192 err no 10
[16973.384233] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 2, rd 4, flush 0, corrupt 0, gen 0
[16973.384249] BTRFS warning (device dm-11: state EA): direct IO failed ino 3331 rw 0,0 sector 0x294078 len 4096 err no 10
[16973.408578] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 2, rd 5, flush 0, corrupt 0, gen 0
[16973.408603] BTRFS warning (device dm-11: state EA): direct IO failed ino 3368 rw 0,0 sector 0x283ae8 len 49152 err no 10
[16973.408824] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 2, rd 6, flush 0, corrupt 0, gen 0
[16973.408846] BTRFS warning (device dm-11: state EA): direct IO failed ino 3377 rw 0,0 sector 0x2b5880 len 49152 err no 10
[16973.410803] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 2, rd 7, flush 0, corrupt 0, gen 0
[16973.410824] BTRFS warning (device dm-11: state EA): direct IO failed ino 3019 rw 0,0 sector 0x23b1f8 len 40960 err no 10
[16973.412223] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 2, rd 8, flush 0, corrupt 0, gen 0
[16973.412265] BTRFS warning (device dm-11: state EA): direct IO failed ino 257 rw 0,0 sector 0x23a590 len 20480 err no 10
[16973.955237] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[16973.955248] BTRFS info (device dm-11): turning on async discard
[16973.955251] BTRFS info (device dm-11): disk space caching is enabled
[16976.041524] BTRFS: error (device dm-11) in btrfs_commit_transaction:2496: errno=-5 IO failure (Error while writing out transaction)
[16976.042328] BTRFS info (device dm-11: state E): forced readonly
[16976.042334] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[16976.042337] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[16976.051192] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[16976.690625] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[16976.690633] BTRFS info (device dm-11): turning on async discard
[16976.690635] BTRFS info (device dm-11): disk space caching is enabled
[16976.695302] BTRFS info (device dm-11): start tree-log replay
[16976.891200] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[16976.914794] BTRFS: error (device dm-11: state A) in __btrfs_run_delayed_items:1182: errno=-5 IO failure
[16976.915382] BTRFS info (device dm-11: state EA): forced readonly
[16976.915388] BTRFS warning (device dm-11: state EA): Skipping commit of aborted transaction.
[16976.915423] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[16976.918491] BTRFS: error (device dm-11: state EA) in btrfs_run_delayed_refs:2141: errno=-5 IO failure
[16977.454655] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[16977.454663] BTRFS info (device dm-11): turning on async discard
[16977.454665] BTRFS info (device dm-11): disk space caching is enabled
[16977.489671] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[16977.514822] BTRFS: error (device dm-11: state A) in btrfs_run_delayed_refs:2141: errno=-5 IO failure
[16977.515307] BTRFS info (device dm-11: state EA): forced readonly
[16977.952271] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[16977.952280] BTRFS info (device dm-11): turning on async discard
[16977.952282] BTRFS info (device dm-11): disk space caching is enabled
[16978.981948] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[16978.981954] btrfs_dev_stat_inc_and_print: 63 callbacks suppressed
[16978.981957] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 1, rd 0, flush 0, corrupt 0, gen 0
[16978.981971] BTRFS error (device dm-11): error writing primary super block to device 1
[16978.981974] BTRFS: error (device dm-11) in write_all_supers:4342: errno=-5 IO failure (1 errors while writing supers)
[16978.982716] BTRFS info (device dm-11: state E): forced readonly
[16978.982722] BTRFS: error (device dm-11: state EA) in btrfs_sync_log:3203: errno=-5 IO failure
[16978.984935] BTRFS warning (device dm-11: state EA): Skipping commit of aborted transaction.
[16978.984961] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[16978.985796] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 2, rd 0, flush 0, corrupt 0, gen 0
[16978.986416] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 3, rd 0, flush 0, corrupt 0, gen 0
[16978.986563] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 4, rd 0, flush 0, corrupt 0, gen 0
[16978.986709] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 5, rd 0, flush 0, corrupt 0, gen 0
[16978.986890] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 6, rd 0, flush 0, corrupt 0, gen 0
[16978.986967] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 7, rd 0, flush 0, corrupt 0, gen 0
[16978.987006] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 8, rd 0, flush 0, corrupt 0, gen 0
[16978.987045] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 9, rd 0, flush 0, corrupt 0, gen 0
[16978.987056] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 10, rd 0, flush 0, corrupt 0, gen 0
[16978.997664] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[16979.032498] BTRFS warning (device dm-11: state EA): direct IO failed ino 267 rw 0,0 sector 0x2c4538 len 4096 err no 10
[16979.034701] BTRFS warning (device dm-11: state EA): direct IO failed ino 272 rw 0,0 sector 0x1b6f30 len 32768 err no 10
[16979.036198] BTRFS warning (device dm-11: state EA): direct IO failed ino 272 rw 0,0 sector 0x247888 len 61440 err no 10
[16979.036228] BTRFS warning (device dm-11: state EA): direct IO failed ino 272 rw 0,0 sector 0x247918 len 4096 err no 10
[16979.037017] BTRFS warning (device dm-11: state EA): direct IO failed ino 262 rw 0,0 sector 0x242170 len 94208 err no 10
[16979.040301] BTRFS warning (device dm-11: state EA): direct IO failed ino 3646 rw 0,0 sector 0x2843f8 len 8192 err no 10
[16979.041100] BTRFS warning (device dm-11: state EA): direct IO failed ino 2876 rw 0,0 sector 0x248dc8 len 20480 err no 10
[16979.043092] BTRFS warning (device dm-11: state EA): direct IO failed ino 265 rw 0,0 sector 0x2bfca0 len 32768 err no 10
[16979.045256] BTRFS warning (device dm-11: state EA): direct IO failed ino 3635 rw 0,0 sector 0x233ea0 len 4096 err no 10
[16979.047163] BTRFS warning (device dm-11: state EA): direct IO failed ino 3646 rw 0,0 sector 0x284428 len 12288 err no 10
[16979.047269] BTRFS warning (device dm-11: state EA): direct IO failed ino 3624 rw 0,0 sector 0x1fbed0 len 81920 err no 10
[16979.563008] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[16979.563016] BTRFS info (device dm-11): turning on async discard
[16979.563018] BTRFS info (device dm-11): disk space caching is enabled
[16981.605038] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[16981.605056] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[16981.605064] BTRFS error (device dm-11): error writing primary super block to device 1
[16981.605067] BTRFS: error (device dm-11) in write_all_supers:4342: errno=-5 IO failure (1 errors while writing supers)
[16981.605918] BTRFS info (device dm-11: state E): forced readonly
[16981.605924] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[16981.605933] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[16981.608041] BTRFS warning (device dm-11: state EA): Skipping commit of aborted transaction.
[16981.608045] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[16981.612433] BTRFS warning (device dm-11: state EA): direct IO failed ino 282 rw 0,0 sector 0x27c0b0 len 36864 err no 10
[16981.621101] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[16981.633780] BTRFS warning (device dm-11: state EA): direct IO failed ino 282 rw 0,0 sector 0x27c0e0 len 12288 err no 10
[16981.634882] BTRFS warning (device dm-11: state EA): direct IO failed ino 282 rw 0,0 sector 0x27c0c8 len 24576 err no 10
[16981.638242] BTRFS warning (device dm-11: state EA): direct IO failed ino 257 rw 0,0 sector 0x2941f0 len 4096 err no 10
[16981.638412] BTRFS warning (device dm-11: state EA): direct IO failed ino 257 rw 0,0 sector 0x2c7cb0 len 16384 err no 10
[16981.654749] BTRFS warning (device dm-11: state EA): direct IO failed ino 282 rw 0,0 sector 0x27c068 len 49152 err no 10
[16981.656701] BTRFS warning (device dm-11: state EA): direct IO failed ino 273 rw 0,0 sector 0x265f40 len 36864 err no 10
[16981.657448] BTRFS warning (device dm-11: state EA): direct IO failed ino 271 rw 0,0 sector 0x224310 len 12288 err no 10
[16981.659568] BTRFS warning (device dm-11: state EA): direct IO failed ino 267 rw 0,0 sector 0x1eda10 len 36864 err no 10
[16981.670709] BTRFS warning (device dm-11: state EA): direct IO failed ino 3148 rw 0,0 sector 0x178e00 len 65536 err no 10
[16981.672099] BTRFS warning (device dm-11: state EA): direct IO failed ino 266 rw 0,0 sector 0x2ec9c0 len 16384 err no 10
[16981.677066] BTRFS warning (device dm-11: state EA): direct IO failed ino 257 rw 0,0 sector 0x2c7d08 len 12288 err no 10
[16981.687004] BTRFS warning (device dm-11: state EA): direct IO failed ino 279 rw 0,0 sector 0x2e6760 len 16384 err no 10
[16981.687361] BTRFS warning (device dm-11: state EA): direct IO failed ino 279 rw 0,0 sector 0x2ec9e8 len 20480 err no 10
[16981.688200] BTRFS warning (device dm-11: state EA): direct IO failed ino 274 rw 0,0 sector 0x2903d8 len 36864 err no 10
[16981.688633] BTRFS warning (device dm-11: state EA): direct IO failed ino 286 rw 0,0 sector 0x2f7898 len 57344 err no 10
[16982.053068] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[16982.053078] BTRFS info (device dm-11): turning on async discard
[16982.053080] BTRFS info (device dm-11): disk space caching is enabled
[16982.210499] ------------[ cut here ]------------
[16982.210568] WARNING: CPU: 0 PID: 1699667 at fs/btrfs/discard.c:604 btrfs_discard_update_discardable+0x98/0xb0
[16982.210574] Modules linked in: dm_thin_pool dm_persistent_data dm_bio_prison dm_log_writes dm_dust dm_flakey nft_fib_inet nft_fib_ipv4 nft_fib_ipv6 nft_fib nft_reject_inet nf_reject_ipv4 nf_reject_ipv6 nft_reject nft_ct nft_chain_nat nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 ip6_tables nft_compat rfkill ip_set nf_tables nfnetlink intel_rapl_msr iTCO_wdt iTCO_vendor_support snd_hda_codec_generic snd_hda_intel snd_intel_dspcfg snd_hda_codec intel_rapl_common snd_hwdep snd_hda_core i2c_i801 snd_pcm joydev snd_timer i2c_smbus snd virtio_balloon soundcore lpc_ich zram ip_tables xfs crct10dif_pclmul crc32_pclmul crc32c_intel ghash_clmulni_intel serio_raw qemu_fw_cfg
[16982.210640] CPU: 0 PID: 1699667 Comm: kworker/u4:4 Tainted: G W 5.19.0-rc8+ #791
[16982.210642] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.13.0-2.fc32 04/01/2014
[16982.210644] Workqueue: btrfs-cache btrfs_work_helper
[16982.210649] RIP: 0010:btrfs_discard_update_discardable+0x98/0xb0
[16982.210652] Code: 17 00 00 48 8b 83 80 00 00 00 48 89 83 88 00 00 00 5b 5d c3 cc cc cc cc 48 8d 7b 18 be ff ff ff ff e8 2c 9a 7e 00 85 c0 75 ac <0f> 0b eb a8 c3 cc cc cc cc 66 66 2e 0f 1f 84 00 00 00 00 00 0f 1f
[16982.210654] RSP: 0018:ffffbaea854b7ad0 EFLAGS: 00010246
[16982.210657] RAX: 0000000000000000 RBX: ffff8f4d7a3b7000 RCX: 0000000000000001
[16982.210658] RDX: 0000000000000000 RSI: ffffffff8e807c5b RDI: ffffffff8e8a831e
[16982.210660] RBP: ffff8f4d7f820000 R08: 0000000000000000 R09: 0000000000001000
[16982.210661] R10: ffff8f4d42dbe3c0 R11: 0000000000000000 R12: ffff8f4d44234010
[16982.210663] R13: ffff8f4d41fe45f0 R14: ffff8f4d7f820000 R15: ffff8f4d5330ef50
[16982.210665] FS: 0000000000000000(0000) GS:ffff8f4dbbc00000(0000) knlGS:0000000000000000
[16982.210667] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[16982.210668] CR2: 00007fc5eb2e0ad0 CR3: 00000001125be004 CR4: 0000000000370ef0
[16982.210672] Call Trace:
[16982.210674]
[16982.210679] __btrfs_remove_free_space_cache+0x27/0x30
[16982.210683] load_free_space_cache+0xad2/0xaf0
[16982.210735] caching_thread+0x40b/0x650
[16982.210744] ? lock_release+0x137/0x2d0
[16982.210751] btrfs_work_helper+0xf2/0x3e0
[16982.210754] ? lock_is_held_type+0xe2/0x140
[16982.210761] process_one_work+0x271/0x590
[16982.210769] ? process_one_work+0x590/0x590
[16982.210772] worker_thread+0x52/0x3b0
[16982.210777] ? process_one_work+0x590/0x590
[16982.210780] kthread+0xf0/0x120
[16982.210782] ? kthread_complete_and_exit+0x20/0x20
[16982.210787] ret_from_fork+0x1f/0x30
[16982.210800]
[16982.210802] irq event stamp: 37871917
[16982.210803] hardirqs last enabled at (37871923): [] __up_console_sem+0x5e/0x70
[16982.210806] hardirqs last disabled at (37871928): [] __up_console_sem+0x43/0x70
[16982.210809] softirqs last enabled at (37871356): [] __irq_exit_rcu+0xeb/0x160
[16982.210812] softirqs last disabled at (37871351): [] __irq_exit_rcu+0xeb/0x160
[16982.210814] ---[ end trace 0000000000000000 ]---
[16982.210817] BTRFS warning (device dm-11): block group 298844160 has wrong amount of free space
[16982.210833] BTRFS warning (device dm-11): failed to load free space cache for block group 298844160, rebuilding it now