[36705.402107] run fstests generic/475 at 2022-08-04 07:02:42
[36706.352618] BTRFS: device fsid ff167c97-5012-4ca8-a6f8-d7b09d90449b devid 1 transid 6 /dev/mapper/vg0-lv9 scanned by mkfs.btrfs (1322730)
[36706.621934] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[36706.621944] BTRFS info (device dm-11): setting incompat feature flag for COMPRESS_LZO (0x8)
[36706.621947] BTRFS info (device dm-11): use lzo compression, level 0
[36706.621950] BTRFS info (device dm-11): disk space caching is enabled
[36706.626242] BTRFS info (device dm-11): auto enabling async discard
[36706.626715] BTRFS info (device dm-11): checking UUID tree
[36707.662692] btrfs_dev_stat_inc_and_print: 2 callbacks suppressed
[36707.662698] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 1, rd 0, flush 0, corrupt 0, gen 0
[36707.663780] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 2, rd 0, flush 0, corrupt 0, gen 0
[36707.667383] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 2, rd 1, flush 0, corrupt 0, gen 0
[36707.668098] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 3, rd 1, flush 0, corrupt 0, gen 0
[36707.668106] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 4, rd 1, flush 0, corrupt 0, gen 0
[36707.668314] BTRFS: error (device dm-11) in btrfs_commit_transaction:2496: errno=-5 IO failure (Error while writing out transaction)
[36707.668824] BTRFS info (device dm-11: state E): forced readonly
[36707.668829] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[36707.668832] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[36707.669320] BTRFS warning (device dm-11: state EA): direct IO failed ino 330 rw 0,0 sector 0x120398 len 4096 err no 10
[36707.673886] buffer_io_error: 760 callbacks suppressed
[36707.673899] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[36708.308927] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[36708.308935] BTRFS info (device dm-11): use lzo compression, level 0
[36708.308938] BTRFS info (device dm-11): disk space caching is enabled
[36708.313931] BTRFS info (device dm-11): auto enabling async discard
[36708.336520] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 0, rd 1, flush 0, corrupt 0, gen 0
[36708.337294] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 0, rd 2, flush 0, corrupt 0, gen 0
[36708.341299] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 0, rd 3, flush 0, corrupt 0, gen 0
[36708.342307] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 0, rd 4, flush 0, corrupt 0, gen 0
[36708.343211] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 1, rd 4, flush 0, corrupt 0, gen 0
[36708.348047] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[36708.374430] BTRFS: error (device dm-11: state A) in __btrfs_run_delayed_items:1182: errno=-5 IO failure
[36708.374783] BTRFS info (device dm-11: state EA): forced readonly
[36708.374787] BTRFS warning (device dm-11: state EA): Skipping commit of aborted transaction.
[36708.374789] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[36708.869312] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[36708.869319] BTRFS info (device dm-11): use lzo compression, level 0
[36708.869322] BTRFS info (device dm-11): disk space caching is enabled
[36708.873596] BTRFS info (device dm-11): auto enabling async discard
[36708.903317] BTRFS: error (device dm-11: state A) in btrfs_create_new_inode:6433: errno=-5 IO failure
[36708.903814] BTRFS info (device dm-11: state EA): forced readonly
[36708.908643] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[36709.457423] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[36709.457431] BTRFS info (device dm-11): use lzo compression, level 0
[36709.457434] BTRFS info (device dm-11): disk space caching is enabled
[36709.461049] BTRFS info (device dm-11): auto enabling async discard
[36711.500044] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[36711.500942] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[36711.501400] BTRFS error (device dm-11): error writing primary super block to device 1
[36711.501404] BTRFS: error (device dm-11) in write_all_supers:4356: errno=-5 IO failure (1 errors while writing supers)
[36711.501844] BTRFS info (device dm-11: state E): forced readonly
[36711.501850] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[36711.501862] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[36711.504888] BTRFS warning (device dm-11: state EA): Skipping commit of aborted transaction.
[36711.504899] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[36711.507352] BTRFS warning (device dm-11: state EA): direct IO failed ino 673 rw 0,0 sector 0x151bb8 len 90112 err no 10
[36711.507808] BTRFS warning (device dm-11: state EA): direct IO failed ino 689 rw 0,0 sector 0x154b98 len 16384 err no 10
[36711.508145] BTRFS warning (device dm-11: state EA): direct IO failed ino 718 rw 0,0 sector 0x161778 len 20480 err no 10
[36711.510983] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[36711.514893] BTRFS warning (device dm-11: state EA): direct IO failed ino 903 rw 0,0 sector 0x146df8 len 20480 err no 10
[36711.515716] BTRFS warning (device dm-11: state EA): direct IO failed ino 929 rw 0,0 sector 0x163cf8 len 53248 err no 10
[36711.522332] BTRFS warning (device dm-11: state EA): direct IO failed ino 806 rw 0,0 sector 0x14d648 len 8192 err no 10
[36711.523732] BTRFS warning (device dm-11: state EA): direct IO failed ino 665 rw 0,0 sector 0x131a10 len 12288 err no 10
[36711.527447] BTRFS warning (device dm-11: state EA): direct IO failed ino 673 rw 0,0 sector 0x151bb8 len 16384 err no 10
[36711.535341] BTRFS warning (device dm-11: state EA): direct IO failed ino 988 rw 0,0 sector 0x161dd8 len 32768 err no 10
[36712.204988] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[36712.204997] BTRFS info (device dm-11): use lzo compression, level 0
[36712.205000] BTRFS info (device dm-11): disk space caching is enabled
[36712.209056] BTRFS info (device dm-11): auto enabling async discard
[36714.264516] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[36714.264524] btrfs_dev_stat_inc_and_print: 26 callbacks suppressed
[36714.264526] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 1, rd 0, flush 0, corrupt 0, gen 0
[36714.264541] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[36714.264544] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 2, rd 0, flush 0, corrupt 0, gen 0
[36714.264560] BTRFS error (device dm-11): error writing primary super block to device 1
[36714.264567] BTRFS: error (device dm-11) in write_all_supers:4356: errno=-5 IO failure (1 errors while writing supers)
[36714.265199] BTRFS info (device dm-11: state E): forced readonly
[36714.265206] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[36714.265226] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[36714.273636] BTRFS warning (device dm-11: state EA): Skipping commit of aborted transaction.
[36714.274306] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[36714.277671] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 3, rd 0, flush 0, corrupt 0, gen 0
[36714.280567] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 3, rd 1, flush 0, corrupt 0, gen 0
[36714.280595] BTRFS warning (device dm-11: state EA): direct IO failed ino 1595 rw 0,0 sector 0x19f848 len 16384 err no 10
[36714.280770] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 3, rd 2, flush 0, corrupt 0, gen 0
[36714.280785] BTRFS warning (device dm-11: state EA): direct IO failed ino 1641 rw 0,0 sector 0x196a68 len 57344 err no 10
[36714.283722] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 3, rd 3, flush 0, corrupt 0, gen 0
[36714.283748] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 3, rd 4, flush 0, corrupt 0, gen 0
[36714.283747] BTRFS warning (device dm-11: state EA): direct IO failed ino 1548 rw 0,0 sector 0x18eae0 len 12288 err no 10
[36714.283776] BTRFS warning (device dm-11: state EA): direct IO failed ino 1548 rw 0,0 sector 0x180a70 len 4096 err no 10
[36714.284089] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[36714.315445] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 3, rd 5, flush 0, corrupt 0, gen 0
[36714.315563] BTRFS warning (device dm-11: state EA): direct IO failed ino 1767 rw 0,0 sector 0x194450 len 4096 err no 10
[36714.335497] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 3, rd 6, flush 0, corrupt 0, gen 0
[36714.335519] BTRFS warning (device dm-11: state EA): direct IO failed ino 1400 rw 0,0 sector 0x18cd78 len 12288 err no 10
[36715.001634] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[36715.001643] BTRFS info (device dm-11): use lzo compression, level 0
[36715.001646] BTRFS info (device dm-11): disk space caching is enabled
[36715.005572] BTRFS info (device dm-11): auto enabling async discard
[36717.034651] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 1, rd 0, flush 0, corrupt 0, gen 0
[36717.034659] BTRFS warning (device dm-11): direct IO failed ino 2250 rw 1,34817 sector 0x1eae08 len 40960 err no 10
[36717.037227] BTRFS: error (device dm-11) in btrfs_commit_transaction:2496: errno=-5 IO failure (Error while writing out transaction)
[36717.037707] BTRFS info (device dm-11: state E): forced readonly
[36717.037711] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[36717.037714] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[36717.050504] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[36717.703894] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[36717.703903] BTRFS info (device dm-11): use lzo compression, level 0
[36717.703906] BTRFS info (device dm-11): disk space caching is enabled
[36717.708366] BTRFS info (device dm-11): auto enabling async discard
[36717.727604] ------------[ cut here ]------------
[36717.727672] WARNING: CPU: 1 PID: 1274200 at fs/btrfs/discard.c:604 btrfs_discard_update_discardable+0x98/0xb0
[36717.727682] Modules linked in: dm_thin_pool dm_persistent_data dm_bio_prison dm_log_writes dm_dust dm_flakey nft_fib_inet nft_fib_ipv4 nft_fib_ipv6 nft_fib nft_reject_inet nf_reject_ipv4 nf_reject_ipv6 nft_reject nft_ct nft_chain_nat nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 ip6_tables nft_compat ip_set rfkill nf_tables nfnetlink snd_hda_codec_generic snd_hda_intel snd_intel_dspcfg iTCO_wdt iTCO_vendor_support intel_rapl_msr snd_hda_codec joydev snd_hwdep intel_rapl_common snd_hda_core virtio_balloon snd_pcm snd_timer snd i2c_i801 soundcore i2c_smbus lpc_ich zram ip_tables xfs crct10dif_pclmul crc32_pclmul crc32c_intel ghash_clmulni_intel serio_raw qemu_fw_cfg
[36717.727747] CPU: 1 PID: 1274200 Comm: kworker/u4:3 Tainted: G W 5.19.0-rc8+ #786
[36717.727749] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.13.0-2.fc32 04/01/2014
[36717.727753] Workqueue: btrfs-cache btrfs_work_helper
[36717.727760] RIP: 0010:btrfs_discard_update_discardable+0x98/0xb0
[36717.727763] Code: 17 00 00 48 8b 83 80 00 00 00 48 89 83 88 00 00 00 5b 5d c3 cc cc cc cc 48 8d 7b 18 be ff ff ff ff e8 9c 98 7e 00 85 c0 75 ac <0f> 0b eb a8 c3 cc cc cc cc 66 66 2e 0f 1f 84 00 00 00 00 00 0f 1f
[36717.727765] RSP: 0000:ffffba8a4753fad0 EFLAGS: 00010246
[36717.727768] RAX: 0000000000000000 RBX: ffff987e00138c00 RCX: 0000000000000001
[36717.727773] RDX: 0000000000000000 RSI: ffffffff90807c93 RDI: ffffffff908a825e
[36717.727775] RBP: ffff987dea594000 R08: 0000000000000000 R09: 0000000000001000
[36717.727776] R10: ffff987dcdcd7aa8 R11: 00000000008dce00 R12: ffff987dd1ade010
[36717.727778] R13: ffff987dc42cbca0 R14: ffff987dea594000 R15: ffff987dc33d0850
[36717.727780] FS: 0000000000000000(0000) GS:ffff987e3bd00000(0000) knlGS:0000000000000000
[36717.727782] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[36717.727783] CR2: 00007f6585e0bf70 CR3: 000000013c72c005 CR4: 0000000000370ee0
[36717.727789] Call Trace:
[36717.727791]
[36717.727795] __btrfs_remove_free_space_cache+0x27/0x30
[36717.727800] load_free_space_cache+0xad2/0xaf0
[36717.727839] caching_thread+0x40b/0x650
[36717.727848] ? lock_release+0x137/0x2d0
[36717.727855] btrfs_work_helper+0xf2/0x3e0
[36717.727858] ? lock_is_held_type+0xe2/0x140
[36717.727865] process_one_work+0x271/0x590
[36717.727875] worker_thread+0x52/0x3b0
[36717.727879] ? process_one_work+0x590/0x590
[36717.727882] kthread+0xf0/0x120
[36717.727885] ? kthread_complete_and_exit+0x20/0x20
[36717.727894] ret_from_fork+0x1f/0x30
[36717.727907]
[36717.727911] irq event stamp: 6240033
[36717.727913] hardirqs last enabled at (6240039): [] __up_console_sem+0x5e/0x70
[36717.727917] hardirqs last disabled at (6240044): [] __up_console_sem+0x43/0x70
[36717.727919] softirqs last enabled at (6239438): [] __irq_exit_rcu+0xeb/0x160
[36717.727923] softirqs last disabled at (6239429): [] __irq_exit_rcu+0xeb/0x160
[36717.727925] ---[ end trace 0000000000000000 ]---
[36717.727955] BTRFS warning (device dm-11): block group 298844160 has wrong amount of free space
[36717.727972] BTRFS warning (device dm-11): failed to load free space cache for block group 298844160, rebuilding it now
[36719.748814] btrfs_dev_stat_inc_and_print: 9 callbacks suppressed
[36719.748819] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 1, rd 0, flush 0, corrupt 0, gen 0
[36719.748888] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 2, rd 0, flush 0, corrupt 0, gen 0
[36719.750778] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 3, rd 0, flush 0, corrupt 0, gen 0
[36719.750786] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 4, rd 0, flush 0, corrupt 0, gen 0
[36719.751077] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 5, rd 0, flush 0, corrupt 0, gen 0
[36719.751084] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 6, rd 0, flush 0, corrupt 0, gen 0
[36719.751156] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 7, rd 0, flush 0, corrupt 0, gen 0
[36719.751162] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 8, rd 0, flush 0, corrupt 0, gen 0
[36719.751205] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 9, rd 0, flush 0, corrupt 0, gen 0
[36719.751211] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 10, rd 0, flush 0, corrupt 0, gen 0
[36719.752800] BTRFS: error (device dm-11: state A) in btrfs_replace_file_extents:2831: errno=-5 IO failure
[36719.753279] BTRFS info (device dm-11: state EA): forced readonly
[36719.760241] BTRFS warning (device dm-11: state EA): Skipping commit of aborted transaction.
[36719.760455] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[36720.472037] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[36720.472046] BTRFS info (device dm-11): use lzo compression, level 0
[36720.472048] BTRFS info (device dm-11): disk space caching is enabled
[36720.475635] BTRFS info (device dm-11): auto enabling async discard
[36720.475640] BTRFS info (device dm-11): start tree-log replay
[36720.486089] BTRFS info (device dm-11): the free space cache file (298844160) is invalid, skip it
[36722.575807] BTRFS warning (device dm-11): direct IO failed ino 3837 rw 1,34817 sector 0x269318 len 94208 err no 10
[36722.575829] BTRFS warning (device dm-11): direct IO failed ino 4108 rw 1,34817 sector 0x2693d0 len 102400 err no 10
[36722.575847] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[36722.576394] BTRFS error (device dm-11): error writing primary super block to device 1
[36722.576399] BTRFS: error (device dm-11) in write_all_supers:4356: errno=-5 IO failure (1 errors while writing supers)
[36722.576876] BTRFS info (device dm-11: state E): forced readonly
[36722.576880] BTRFS: error (device dm-11: state EA) in btrfs_sync_log:3205: errno=-5 IO failure
[36722.594636] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[36722.611401] BTRFS warning (device dm-11: state EA): direct IO failed ino 3826 rw 0,0 sector 0x252d00 len 4096 err no 10
[36722.644510] BTRFS warning (device dm-11: state EA): direct IO failed ino 3831 rw 0,0 sector 0x24e560 len 16384 err no 10
[36722.646612] BTRFS warning (device dm-11: state EA): direct IO failed ino 3997 rw 0,0 sector 0x2625d0 len 32768 err no 10
[36723.305171] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[36723.305180] BTRFS info (device dm-11): use lzo compression, level 0
[36723.305183] BTRFS info (device dm-11): disk space caching is enabled
[36723.309741] BTRFS info (device dm-11): auto enabling async discard
[36723.309746] BTRFS info (device dm-11): start tree-log replay
[36723.321142] ------------[ cut here ]------------
[36723.321243] WARNING: CPU: 0 PID: 1282941 at fs/btrfs/discard.c:604 btrfs_discard_update_discardable+0x98/0xb0
[36723.321250] Modules linked in: dm_thin_pool dm_persistent_data dm_bio_prison dm_log_writes dm_dust dm_flakey nft_fib_inet nft_fib_ipv4 nft_fib_ipv6 nft_fib nft_reject_inet nf_reject_ipv4 nf_reject_ipv6 nft_reject nft_ct nft_chain_nat nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 ip6_tables nft_compat ip_set rfkill nf_tables nfnetlink snd_hda_codec_generic snd_hda_intel snd_intel_dspcfg iTCO_wdt iTCO_vendor_support intel_rapl_msr snd_hda_codec joydev snd_hwdep intel_rapl_common snd_hda_core virtio_balloon snd_pcm snd_timer snd i2c_i801 soundcore i2c_smbus lpc_ich zram ip_tables xfs crct10dif_pclmul crc32_pclmul crc32c_intel ghash_clmulni_intel serio_raw qemu_fw_cfg
[36723.321319] CPU: 0 PID: 1282941 Comm: kworker/u4:4 Tainted: G W 5.19.0-rc8+ #786
[36723.321322] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.13.0-2.fc32 04/01/2014
[36723.321324] Workqueue: btrfs-cache btrfs_work_helper
[36723.321329] RIP: 0010:btrfs_discard_update_discardable+0x98/0xb0
[36723.321332] Code: 17 00 00 48 8b 83 80 00 00 00 48 89 83 88 00 00 00 5b 5d c3 cc cc cc cc 48 8d 7b 18 be ff ff ff ff e8 9c 98 7e 00 85 c0 75 ac <0f> 0b eb a8 c3 cc cc cc cc 66 66 2e 0f 1f 84 00 00 00 00 00 0f 1f
[36723.321334] RSP: 0018:ffffba8a449b7ad0 EFLAGS: 00010246
[36723.321337] RAX: 0000000000000000 RBX: ffff987e00138200 RCX: 0000000000000001
[36723.321339] RDX: 0000000000000000 RSI: ffffffff90807c93 RDI: ffffffff908a825e
[36723.321341] RBP: ffff987dff888000 R08: 0000000000000000 R09: 0000000000001000
[36723.321343] R10: ffff987dc3a3a150 R11: 00000000008d9200 R12: ffff987dcfac8810
[36723.321344] R13: ffff987dc375eb30 R14: ffff987dff888000 R15: ffff987dc6106f50
[36723.321346] FS: 0000000000000000(0000) GS:ffff987e3bc00000(0000) knlGS:0000000000000000
[36723.321348] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[36723.321350] CR2: 00007ffdf059efb8 CR3: 000000014c28c003 CR4: 0000000000370ef0
[36723.321354] Call Trace:
[36723.321357]
[36723.321362] __btrfs_remove_free_space_cache+0x27/0x30
[36723.321366] load_free_space_cache+0xad2/0xaf0
[36723.321409] caching_thread+0x40b/0x650
[36723.321417] ? lock_release+0x137/0x2d0
[36723.321425] btrfs_work_helper+0xf2/0x3e0
[36723.321428] ? lock_is_held_type+0xe2/0x140
[36723.321436] process_one_work+0x271/0x590
[36723.321446] worker_thread+0x52/0x3b0
[36723.321451] ? process_one_work+0x590/0x590
[36723.321454] kthread+0xf0/0x120
[36723.321457] ? kthread_complete_and_exit+0x20/0x20
[36723.321462] ret_from_fork+0x1f/0x30
[36723.321476]
[36723.321477] irq event stamp: 4281059
[36723.321479] hardirqs last enabled at (4281065): [] __up_console_sem+0x5e/0x70
[36723.321482] hardirqs last disabled at (4281070): [] __up_console_sem+0x43/0x70
[36723.321485] softirqs last enabled at (4280528): [] __irq_exit_rcu+0xeb/0x160
[36723.321488] softirqs last disabled at (4280517): [] __irq_exit_rcu+0xeb/0x160
[36723.321490] ---[ end trace 0000000000000000 ]---
[36723.321493] BTRFS warning (device dm-11): block group 298844160 has wrong amount of free space
[36723.321511] BTRFS warning (device dm-11): failed to load free space cache for block group 298844160, rebuilding it now
[36723.400522] BTRFS warning (device dm-11): direct IO failed ino 4249 rw 1,34817 sector 0x266f70 len 20480 err no 10
[36723.408650] BTRFS warning (device dm-11): direct IO failed ino 4257 rw 1,34817 sector 0x2674c8 len 24576 err no 10
[36723.409122] BTRFS warning (device dm-11): direct IO failed ino 4257 rw 1,34817 sector 0x2674c8 len 4096 err no 10
[36723.412385] BTRFS: error (device dm-11: state A) in btrfs_add_link:6589: errno=-5 IO failure
[36723.412818] BTRFS info (device dm-11: state EA): forced readonly
[36723.412822] BTRFS: error (device dm-11: state EA) in btrfs_create_new_inode:6529: errno=-5 IO failure
[36723.414140] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[36723.969619] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[36723.969627] BTRFS info (device dm-11): use lzo compression, level 0
[36723.969630] BTRFS info (device dm-11): disk space caching is enabled
[36723.973880] BTRFS info (device dm-11): auto enabling async discard
[36725.003002] btrfs_dev_stat_inc_and_print: 39 callbacks suppressed
[36725.003006] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 1, rd 0, flush 0, corrupt 0, gen 0
[36725.003140] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 2, rd 0, flush 0, corrupt 0, gen 0
[36725.003226] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 3, rd 0, flush 0, corrupt 0, gen 0
[36725.003231] BTRFS warning (device dm-11): direct IO failed ino 4563 rw 1,34817 sector 0x289788 len 86016 err no 10
[36725.004087] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 4, rd 0, flush 0, corrupt 0, gen 0
[36725.004092] BTRFS warning (device dm-11): direct IO failed ino 4334 rw 1,34817 sector 0x289788 len 32768 err no 10
[36725.004271] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 5, rd 0, flush 0, corrupt 0, gen 0
[36725.004731] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 6, rd 0, flush 0, corrupt 0, gen 0
[36725.004739] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 7, rd 0, flush 0, corrupt 0, gen 0
[36725.005674] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 8, rd 0, flush 0, corrupt 0, gen 0
[36725.005681] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 9, rd 0, flush 0, corrupt 0, gen 0
[36725.005953] BTRFS: error (device dm-11) in btrfs_commit_transaction:2496: errno=-5 IO failure (Error while writing out transaction)
[36725.006469] BTRFS info (device dm-11: state E): forced readonly
[36725.006473] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[36725.006476] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[36725.015474] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 10, rd 0, flush 0, corrupt 0, gen 0
[36725.020105] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[36725.721096] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[36725.721105] BTRFS info (device dm-11): use lzo compression, level 0
[36725.721108] BTRFS info (device dm-11): disk space caching is enabled
[36725.726970] BTRFS info (device dm-11): auto enabling async discard
[36725.726975] BTRFS info (device dm-11): start tree-log replay
[36726.859081] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[36726.859100] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[36726.859583] BTRFS error (device dm-11): error writing primary super block to device 1
[36726.859587] BTRFS: error (device dm-11) in write_all_supers:4356: errno=-5 IO failure (1 errors while writing supers)
[36726.860036] BTRFS info (device dm-11: state E): forced readonly
[36726.860047] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[36726.860050] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[36726.861073] BTRFS: error (device dm-11: state EA) in btrfs_sync_log:3194: errno=-5 IO failure
[36726.863962] BTRFS: error (device dm-11: state EA) in do_free_extent_accounting:2848: errno=-5 IO failure
[36726.864487] BTRFS: error (device dm-11: state EA) in btrfs_run_delayed_refs:2141: errno=-5 IO failure
[36726.881351] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[36727.628803] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[36727.628811] BTRFS info (device dm-11): use lzo compression, level 0
[36727.628814] BTRFS info (device dm-11): disk space caching is enabled
[36727.632828] BTRFS info (device dm-11): auto enabling async discard
[36727.677496] BTRFS error (device dm-11): error reading free space cache
[36727.677526] BTRFS warning (device dm-11): failed to load free space cache for block group 298844160, rebuilding it now
[36727.682930] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[36727.686323] BTRFS: error (device dm-11: state A) in __btrfs_free_extent:3078: errno=-5 IO failure
[36727.686692] BTRFS info (device dm-11: state EA): forced readonly
[36727.686698] BTRFS: error (device dm-11: state EA) in btrfs_run_delayed_refs:2141: errno=-5 IO failure
[36728.250788] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[36728.250797] BTRFS info (device dm-11): use lzo compression, level 0
[36728.250800] BTRFS info (device dm-11): disk space caching is enabled
[36728.255743] BTRFS info (device dm-11): auto enabling async discard
[36730.302437] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[36730.302444] btrfs_dev_stat_inc_and_print: 71 callbacks suppressed
[36730.302446] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 1, rd 0, flush 0, corrupt 0, gen 0
[36730.302451] BTRFS error (device dm-11): error writing primary super block to device 1
[36730.302453] BTRFS: error (device dm-11) in write_all_supers:4356: errno=-5 IO failure (1 errors while writing supers)
[36730.302904] BTRFS info (device dm-11: state E): forced readonly
[36730.302918] BTRFS: error (device dm-11: state EA) in btrfs_sync_log:3205: errno=-5 IO failure
[36730.307539] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 1, rd 1, flush 0, corrupt 0, gen 0
[36730.307560] BTRFS warning (device dm-11: state EA): direct IO failed ino 4992 rw 0,0 sector 0x2a74c0 len 61440 err no 10
[36730.307649] BTRFS warning (device dm-11: state EA): Skipping commit of aborted transaction.
[36730.307652] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[36730.309691] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 1, rd 2, flush 0, corrupt 0, gen 0
[36730.309717] BTRFS warning (device dm-11: state EA): direct IO failed ino 5455 rw 0,0 sector 0x2dd820 len 4096 err no 10
[36730.309958] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 1, rd 3, flush 0, corrupt 0, gen 0
[36730.309983] BTRFS warning (device dm-11: state EA): direct IO failed ino 4938 rw 0,0 sector 0x2ab550 len 45056 err no 10
[36730.310688] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 1, rd 4, flush 0, corrupt 0, gen 0
[36730.310712] BTRFS warning (device dm-11: state EA): direct IO failed ino 5249 rw 0,0 sector 0x2d1d50 len 36864 err no 10
[36730.312019] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 1, rd 5, flush 0, corrupt 0, gen 0
[36730.312055] BTRFS warning (device dm-11: state EA): direct IO failed ino 5209 rw 0,0 sector 0x2999e8 len 4096 err no 10
[36730.313839] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[36730.316566] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 1, rd 6, flush 0, corrupt 0, gen 0
[36730.352487] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 1, rd 7, flush 0, corrupt 0, gen 0
[36730.352715] BTRFS warning (device dm-11: state EA): direct IO failed ino 5141 rw 0,0 sector 0x2c4b00 len 110592 err no 10
[36730.353599] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 1, rd 8, flush 0, corrupt 0, gen 0
[36730.353620] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 1, rd 9, flush 0, corrupt 0, gen 0
[36730.353703] BTRFS warning (device dm-11: state EA): direct IO failed ino 5021 rw 0,0 sector 0x2a0860 len 8192 err no 10
[36730.353714] BTRFS warning (device dm-11: state EA): direct IO failed ino 5021 rw 0,0 sector 0x2999f0 len 4096 err no 10
[36730.356963] BTRFS warning (device dm-11: state EA): direct IO failed ino 4982 rw 0,0 sector 0x2c0158 len 4096 err no 10
[36730.998823] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[36730.998832] BTRFS info (device dm-11): use lzo compression, level 0
[36730.998834] BTRFS info (device dm-11): disk space caching is enabled
[36731.003794] BTRFS info (device dm-11): auto enabling async discard
[36733.038844] BTRFS warning (device dm-11): direct IO failed ino 6243 rw 1,34817 sector 0x234170 len 114688 err no 10
[36733.038972] BTRFS: error (device dm-11: state A) in __btrfs_free_extent:3078: errno=-5 IO failure
[36733.039235] BTRFS: error (device dm-11: state A) in btrfs_commit_transaction:2496: errno=-5 IO failure (Error while writing out transaction)
[36733.039382] BTRFS info (device dm-11: state EA): forced readonly
[36733.039872] BTRFS warning (device dm-11: state EA): Skipping commit of aborted transaction.
[36733.039875] BTRFS: error (device dm-11: state EA) in btrfs_run_delayed_refs:2141: errno=-5 IO failure
[36733.039877] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[36733.054940] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[36733.768326] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[36733.768334] BTRFS info (device dm-11): use lzo compression, level 0
[36733.768337] BTRFS info (device dm-11): disk space caching is enabled
[36733.773440] BTRFS info (device dm-11): auto enabling async discard
[36733.794188] ------------[ cut here ]------------
[36733.794264] WARNING: CPU: 0 PID: 1190755 at fs/btrfs/discard.c:604 btrfs_discard_update_discardable+0x98/0xb0
[36733.794271] Modules linked in: dm_thin_pool dm_persistent_data dm_bio_prison dm_log_writes dm_dust dm_flakey nft_fib_inet nft_fib_ipv4 nft_fib_ipv6 nft_fib nft_reject_inet nf_reject_ipv4 nf_reject_ipv6 nft_reject nft_ct nft_chain_nat nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 ip6_tables nft_compat ip_set rfkill nf_tables nfnetlink snd_hda_codec_generic snd_hda_intel snd_intel_dspcfg iTCO_wdt iTCO_vendor_support intel_rapl_msr snd_hda_codec joydev snd_hwdep intel_rapl_common snd_hda_core virtio_balloon snd_pcm snd_timer snd i2c_i801 soundcore i2c_smbus lpc_ich zram ip_tables xfs crct10dif_pclmul crc32_pclmul crc32c_intel ghash_clmulni_intel serio_raw qemu_fw_cfg
[36733.794338] CPU: 0 PID: 1190755 Comm: kworker/u4:5 Tainted: G W 5.19.0-rc8+ #786
[36733.794341] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.13.0-2.fc32 04/01/2014
[36733.794343] Workqueue: btrfs-cache btrfs_work_helper
[36733.794348] RIP: 0010:btrfs_discard_update_discardable+0x98/0xb0
[36733.794351] Code: 17 00 00 48 8b 83 80 00 00 00 48 89 83 88 00 00 00 5b 5d c3 cc cc cc cc 48 8d 7b 18 be ff ff ff ff e8 9c 98 7e 00 85 c0 75 ac <0f> 0b eb a8 c3 cc cc cc cc 66 66 2e 0f 1f 84 00 00 00 00 00 0f 1f
[36733.794353] RSP: 0018:ffffba8a466f7ad0 EFLAGS: 00010246
[36733.794356] RAX: 0000000000000000 RBX: ffff987e00139c00 RCX: 0000000000000001
[36733.794358] RDX: 0000000000000000 RSI: ffffffff90807c93 RDI: ffffffff908a825e
[36733.794360] RBP: ffff987dc1744000 R08: 0000000000000000 R09: 0000000000001000
[36733.794361] R10: ffff987d386ef970 R11: 0000000000000000 R12: ffff987dd1adb010
[36733.794363] R13: ffff987dd35920b0 R14: ffff987dc1744000 R15: ffff987dc8927230
[36733.794365] FS: 0000000000000000(0000) GS:ffff987e3bc00000(0000) knlGS:0000000000000000
[36733.794367] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[36733.794368] CR2: 0000000000b0b428 CR3: 0000000115db6006 CR4: 0000000000370ef0
[36733.794372] Call Trace:
[36733.794375]
[36733.794380] __btrfs_remove_free_space_cache+0x27/0x30
[36733.794384] load_free_space_cache+0xad2/0xaf0
[36733.794425] caching_thread+0x40b/0x650
[36733.794434] ? lock_release+0x137/0x2d0
[36733.794442] btrfs_work_helper+0xf2/0x3e0
[36733.794444] ? lock_is_held_type+0xe2/0x140
[36733.794452] process_one_work+0x271/0x590
[36733.794461] ? process_one_work+0x590/0x590
[36733.794464] worker_thread+0x52/0x3b0
[36733.794468] ? process_one_work+0x590/0x590
[36733.794471] kthread+0xf0/0x120
[36733.794474] ? kthread_complete_and_exit+0x20/0x20
[36733.794478] ret_from_fork+0x1f/0x30
[36733.794492]
[36733.794494] irq event stamp: 20872569
[36733.794495] hardirqs last enabled at (20872575): [] __up_console_sem+0x5e/0x70
[36733.794498] hardirqs last disabled at (20872580): [] __up_console_sem+0x43/0x70
[36733.794501] softirqs last enabled at (20871470): [] __irq_exit_rcu+0xeb/0x160
[36733.794504] softirqs last disabled at (20871463): [] __irq_exit_rcu+0xeb/0x160
[36733.794506] ---[ end trace 0000000000000000 ]---
[36733.794520] BTRFS warning (device dm-11): block group 298844160 has wrong amount of free space
[36733.794546] BTRFS warning (device dm-11): failed to load free space cache for block group 298844160, rebuilding it now
[36735.799375] btrfs_dev_stat_inc_and_print: 63 callbacks suppressed
[36735.799379] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 1, rd 0, flush 0, corrupt 0, gen 0
[36735.799399] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[36735.799405] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 2, rd 0, flush 0, corrupt 0, gen 0
[36735.799415] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[36735.799418] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 3, rd 0, flush 0, corrupt 0, gen 0
[36735.799423] BTRFS error (device dm-11): error writing primary super block to device 1
[36735.799425] BTRFS: error (device dm-11) in write_all_supers:4356: errno=-5 IO failure (1 errors while writing supers)
[36735.799504] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 3, rd 1, flush 0, corrupt 0, gen 0
[36735.799900] BTRFS info (device dm-11: state E): forced readonly
[36735.799902] BTRFS error (device dm-11: state E): bdev /dev/mapper/error-test errs: wr 4, rd 1, flush 0, corrupt 0, gen 0
[36735.799906] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[36735.799909] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[36735.802106] BTRFS warning (device dm-11: state EA): Skipping commit of aborted transaction.
[36735.802111] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[36735.803302] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 4, rd 2, flush 0, corrupt 0, gen 0
[36735.803330] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 4, rd 3, flush 0, corrupt 0, gen 0
[36735.803454] BTRFS warning (device dm-11: state EA): direct IO failed ino 6683 rw 0,0 sector 0x2e7498 len 73728 err no 10
[36735.803467] BTRFS warning (device dm-11: state EA): direct IO failed ino 6683 rw 0,0 sector 0x2e16c8 len 4096 err no 10
[36735.804837] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 5, rd 3, flush 0, corrupt 0, gen 0
[36735.805069] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 6, rd 3, flush 0, corrupt 0, gen 0
[36735.805563] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 7, rd 3, flush 0, corrupt 0, gen 0
[36735.811139] BTRFS warning (device dm-11: state EA): direct IO failed ino 5582 rw 0,0 sector 0x1eebc0 len 16384 err no 10
[36735.812822] BTRFS warning (device dm-11: state EA): direct IO failed ino 6376 rw 0,0 sector 0x2e5148 len 45056 err no 10
[36735.812851] BTRFS warning (device dm-11: state EA): direct IO failed ino 6376 rw 0,0 sector 0x2e12c0 len 4096 err no 10
[36735.813233] BTRFS warning (device dm-11: state EA): direct IO failed ino 6325 rw 0,0 sector 0x1e3740 len 4096 err no 10
[36735.815274] BTRFS warning (device dm-11: state EA): direct IO failed ino 6272 rw 0,0 sector 0x2a8330 len 45056 err no 10
[36735.815283] BTRFS warning (device dm-11: state EA): direct IO failed ino 6272 rw 0,0 sector 0x2a7cb8 len 36864 err no 10
[36735.816804] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[36736.494182] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[36736.494190] BTRFS info (device dm-11): use lzo compression, level 0
[36736.494192] BTRFS info (device dm-11): disk space caching is enabled
[36736.499157] BTRFS info (device dm-11): auto enabling async discard
[36736.533466] BTRFS error (device dm-11): error reading free space cache
[36736.533487] BTRFS warning (device dm-11): failed to load free space cache for block group 298844160, rebuilding it now
[36736.535230] BTRFS warning (device dm-11): direct IO failed ino 6820 rw 1,34817 sector 0x312ac8 len 90112 err no 10
[36736.537849] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[36736.544536] BTRFS: error (device dm-11: state A) in __btrfs_free_extent:3078: errno=-5 IO failure
[36736.544906] BTRFS info (device dm-11: state EA): forced readonly
[36736.544911] BTRFS: error (device dm-11: state EA) in btrfs_run_delayed_refs:2141: errno=-5 IO failure
[36737.050961] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[36737.050969] BTRFS info (device dm-11): use lzo compression, level 0
[36737.050972] BTRFS info (device dm-11): disk space caching is enabled
[36737.055456] BTRFS info (device dm-11): auto enabling async discard
[36737.089858] BTRFS: error (device dm-11: state A) in __btrfs_free_extent:3078: errno=-5 IO failure
[36737.090227] BTRFS info (device dm-11: state EA): forced readonly
[36737.090232] BTRFS: error (device dm-11: state EA) in btrfs_run_delayed_refs:2141: errno=-5 IO failure
[36737.102549] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[36737.653948] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[36737.653956] BTRFS info (device dm-11): use lzo compression, level 0
[36737.653959] BTRFS info (device dm-11): disk space caching is enabled
[36737.658022] BTRFS info (device dm-11): auto enabling async discard
[36737.697497] BTRFS error (device dm-11): error reading free space cache
[36737.697516] BTRFS warning (device dm-11): failed to load free space cache for block group 298844160, rebuilding it now
[36737.702314] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[36737.713193] BTRFS warning (device dm-11): direct IO failed ino 6819 rw 1,34817 sector 0x312800 len 4096 err no 10
[36737.724417] BTRFS warning (device dm-11): direct IO failed ino 6819 rw 1,34817 sector 0x312800 len 24576 err no 10
[36737.732402] BTRFS warning (device dm-11): direct IO failed ino 6819 rw 1,34817 sector 0x313100 len 20480 err no 10
[36737.736208] BTRFS warning (device dm-11): direct IO failed ino 6819 rw 1,34817 sector 0x3134f8 len 12288 err no 10
[36737.773125] BTRFS: error (device dm-11: state A) in __btrfs_free_extent:3078: errno=-5 IO failure
[36737.773467] BTRFS info (device dm-11: state EA): forced readonly
[36737.773472] BTRFS: error (device dm-11: state EA) in btrfs_run_delayed_refs:2141: errno=-5 IO failure
[36738.288284] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[36738.288292] BTRFS info (device dm-11): use lzo compression, level 0
[36738.288295] BTRFS info (device dm-11): disk space caching is enabled
[36738.292074] BTRFS info (device dm-11): auto enabling async discard
[36738.323543] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[36738.326058] BTRFS error (device dm-11): error reading free space cache
[36738.326093] BTRFS warning (device dm-11): failed to load free space cache for block group 298844160, rebuilding it now
[36738.329582] BTRFS: error (device dm-11: state A) in __btrfs_free_extent:3078: errno=-5 IO failure
[36738.329936] BTRFS info (device dm-11: state EA): forced readonly
[36738.329941] BTRFS: error (device dm-11: state EA) in btrfs_run_delayed_refs:2141: errno=-5 IO failure
[36738.865781] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[36738.865790] BTRFS info (device dm-11): use lzo compression, level 0
[36738.865793] BTRFS info (device dm-11): disk space caching is enabled
[36738.870235] BTRFS info (device dm-11): auto enabling async discard
[36739.921002] BTRFS: error (device dm-11) in btrfs_commit_transaction:2496: errno=-5 IO failure (Error while writing out transaction)
[36739.921562] BTRFS info (device dm-11: state E): forced readonly
[36739.921567] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[36739.921570] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[36739.931152] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[36740.569497] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[36740.569505] BTRFS info (device dm-11): use lzo compression, level 0
[36740.569508] BTRFS info (device dm-11): disk space caching is enabled
[36740.575277] BTRFS info (device dm-11): auto enabling async discard
[36740.618823] BTRFS error (device dm-11): error reading free space cache
[36740.618842] BTRFS warning (device dm-11): failed to load free space cache for block group 298844160, rebuilding it now
[36740.619714] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[36740.624424] BTRFS error (device dm-11): error reading free space cache
[36740.624431] BTRFS warning (device dm-11): failed to load free space cache for block group 1372585984, rebuilding it now
[36740.627632] BTRFS warning (device dm-11): direct IO failed ino 7106 rw 1,34817 sector 0x3149d8 len 20480 err no 10
[36740.629125] BTRFS warning (device dm-11): direct IO failed ino 7104 rw 1,34817 sector 0x3149d8 len 81920 err no 10
[36740.637543] BTRFS warning (device dm-11): direct IO failed ino 7110 rw 1,34817 sector 0x3149d8 len 57344 err no 10
[36740.675178] BTRFS: error (device dm-11: state A) in __btrfs_free_extent:3078: errno=-5 IO failure
[36740.675587] BTRFS info (device dm-11: state EA): forced readonly
[36740.675592] BTRFS: error (device dm-11: state EA) in btrfs_run_delayed_refs:2141: errno=-5 IO failure
[36741.214435] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[36741.214444] BTRFS info (device dm-11): use lzo compression, level 0
[36741.214447] BTRFS info (device dm-11): disk space caching is enabled
[36741.218507] BTRFS info (device dm-11): auto enabling async discard
[36741.249866] btrfs_dev_stat_inc_and_print: 188 callbacks suppressed
[36741.249871] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 0, rd 1, flush 0, corrupt 0, gen 0
[36741.250261] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 0, rd 2, flush 0, corrupt 0, gen 0
[36741.251392] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 0, rd 3, flush 0, corrupt 0, gen 0
[36741.251432] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 0, rd 4, flush 0, corrupt 0, gen 0
[36741.253038] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 0, rd 5, flush 0, corrupt 0, gen 0
[36741.253912] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 0, rd 6, flush 0, corrupt 0, gen 0
[36741.254361] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 0, rd 7, flush 0, corrupt 0, gen 0
[36741.254402] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 0, rd 8, flush 0, corrupt 0, gen 0
[36741.255285] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 0, rd 9, flush 0, corrupt 0, gen 0
[36741.255378] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 0, rd 10, flush 0, corrupt 0, gen 0
[36741.259280] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[36741.262937] BTRFS error (device dm-11): error reading free space cache
[36741.262957] BTRFS warning (device dm-11): failed to load free space cache for block group 298844160, rebuilding it now
[36741.264508] BTRFS error (device dm-11): error reading free space cache
[36741.264514] BTRFS warning (device dm-11): failed to load free space cache for block group 1372585984, rebuilding it now
[36741.283669] BTRFS warning (device dm-11): direct IO failed ino 7107 rw 1,34817 sector 0x315110 len 32768 err no 10
[36741.285564] BTRFS warning (device dm-11): direct IO failed ino 7103 rw 1,34817 sector 0x315110 len 8192 err no 10
[36741.285987] BTRFS warning (device dm-11): direct IO failed ino 7103 rw 1,34817 sector 0x315110 len 20480 err no 10
[36741.324268] BTRFS: error (device dm-11: state A) in __btrfs_free_extent:3078: errno=-5 IO failure
[36741.324660] BTRFS info (device dm-11: state EA): forced readonly
[36741.324666] BTRFS: error (device dm-11: state EA) in btrfs_run_delayed_refs:2141: errno=-5 IO failure
[36741.842263] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[36741.842272] BTRFS info (device dm-11): use lzo compression, level 0
[36741.842275] BTRFS info (device dm-11): disk space caching is enabled
[36741.847471] BTRFS info (device dm-11): auto enabling async discard
[36741.884821] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[36741.890180] BTRFS error (device dm-11): error reading free space cache
[36741.890200] BTRFS warning (device dm-11): failed to load free space cache for block group 298844160, rebuilding it now
[36741.894788] BTRFS error (device dm-11): error reading free space cache
[36741.894795] BTRFS warning (device dm-11): failed to load free space cache for block group 1372585984, rebuilding it now
[36741.904199] BTRFS warning (device dm-11): direct IO failed ino 7105 rw 1,34817 sector 0x3149d8 len 69632 err no 10
[36741.906082] BTRFS warning (device dm-11): direct IO failed ino 7105 rw 1,34817 sector 0x3149d8 len 12288 err no 10
[36741.907247] BTRFS warning (device dm-11): direct IO failed ino 7105 rw 1,34817 sector 0x3149d8 len 8192 err no 10
[36741.909724] BTRFS: error (device dm-11: state A) in __btrfs_free_extent:3078: errno=-5 IO failure
[36741.910119] BTRFS info (device dm-11: state EA): forced readonly
[36741.910124] BTRFS: error (device dm-11: state EA) in btrfs_run_delayed_refs:2141: errno=-5 IO failure
[36742.480041] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[36742.480049] BTRFS info (device dm-11): use lzo compression, level 0
[36742.480052] BTRFS info (device dm-11): disk space caching is enabled
[36742.484779] BTRFS info (device dm-11): auto enabling async discard
[36744.532276] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[36744.532294] BTRFS error (device dm-11): error writing primary super block to device 1
[36744.532297] BTRFS: error (device dm-11) in write_all_supers:4356: errno=-5 IO failure (1 errors while writing supers)
[36744.532690] BTRFS info (device dm-11: state E): forced readonly
[36744.532700] BTRFS: error (device dm-11: state EA) in btrfs_sync_log:3205: errno=-5 IO failure
[36744.533326] BTRFS warning (device dm-11: state EA): direct IO failed ino 7145 rw 0,0 sector 0x23a738 len 4096 err no 10
[36744.536870] BTRFS warning (device dm-11: state EA): direct IO failed ino 7610 rw 0,0 sector 0x17cc28 len 53248 err no 10
[36744.536908] BTRFS warning (device dm-11: state EA): Skipping commit of aborted transaction.
[36744.536914] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[36744.548819] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[36744.558458] BTRFS warning (device dm-11: state EA): direct IO failed ino 7596 rw 0,0 sector 0x190f30 len 28672 err no 10
[36744.563825] BTRFS warning (device dm-11: state EA): direct IO failed ino 7596 rw 0,0 sector 0x190ea8 len 53248 err no 10
[36744.587520] BTRFS warning (device dm-11: state EA): direct IO failed ino 7210 rw 0,0 sector 0x2aa5b8 len 4096 err no 10
[36744.587737] BTRFS warning (device dm-11: state EA): direct IO failed ino 7603 rw 0,0 sector 0x2b0ec8 len 24576 err no 10
[36744.588954] BTRFS warning (device dm-11: state EA): direct IO failed ino 7316 rw 0,0 sector 0x2304d8 len 8192 err no 10
[36744.589126] BTRFS warning (device dm-11: state EA): direct IO failed ino 7143 rw 0,0 sector 0x320248 len 40960 err no 10
[36745.257803] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[36745.257811] BTRFS info (device dm-11): use lzo compression, level 0
[36745.257814] BTRFS info (device dm-11): disk space caching is enabled
[36745.262136] BTRFS info (device dm-11): auto enabling async discard
[36746.304749] btrfs_dev_stat_inc_and_print: 100 callbacks suppressed
[36746.304753] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 1, rd 0, flush 0, corrupt 0, gen 0
[36746.304872] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 2, rd 0, flush 0, corrupt 0, gen 0
[36746.305000] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 3, rd 0, flush 0, corrupt 0, gen 0
[36746.306202] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 4, rd 0, flush 0, corrupt 0, gen 0
[36746.307572] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 5, rd 0, flush 0, corrupt 0, gen 0
[36746.309764] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 6, rd 0, flush 0, corrupt 0, gen 0
[36746.309801] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 7, rd 0, flush 0, corrupt 0, gen 0
[36746.309808] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 8, rd 0, flush 0, corrupt 0, gen 0
[36746.309861] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 9, rd 0, flush 0, corrupt 0, gen 0
[36746.309866] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 10, rd 0, flush 0, corrupt 0, gen 0
[36746.311536] BTRFS: error (device dm-11: state A) in btrfs_replace_file_extents:2831: errno=-5 IO failure
[36746.311900] BTRFS info (device dm-11: state EA): forced readonly
[36746.315688] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[36746.317153] BTRFS warning (device dm-11: state EA): Skipping commit of aborted transaction.
[36746.960403] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[36746.960411] BTRFS info (device dm-11): use lzo compression, level 0
[36746.960414] BTRFS info (device dm-11): disk space caching is enabled
[36746.964490] BTRFS info (device dm-11): auto enabling async discard
[36746.964495] BTRFS info (device dm-11): start tree-log replay
[36749.088698] BTRFS: error (device dm-11) in btrfs_commit_transaction:2496: errno=-5 IO failure (Error while writing out transaction)
[36749.089236] BTRFS info (device dm-11: state E): forced readonly
[36749.089242] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[36749.089245] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[36749.095361] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[36749.820784] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[36749.820797] BTRFS info (device dm-11): use lzo compression, level 0
[36749.820801] BTRFS info (device dm-11): disk space caching is enabled
[36749.826465] BTRFS info (device dm-11): auto enabling async discard
[36749.826472] BTRFS info (device dm-11): start tree-log replay
[36749.854420] BTRFS info (device dm-11): the free space cache file (298844160) is invalid, skip it
[36749.997193] BTRFS: error (device dm-11: state A) in btrfs_finish_ordered_io:3318: errno=-5 IO failure
[36749.997881] BTRFS info (device dm-11: state EA): forced readonly
[36750.013469] BTRFS warning (device dm-11: state EA): direct IO failed ino 8561 rw 0,0 sector 0x24a608 len 16384 err no 10
[36750.014410] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[36750.016439] BTRFS warning (device dm-11: state EA): direct IO failed ino 8561 rw 0,0 sector 0x24a618 len 49152 err no 10
[36750.060447] BTRFS warning (device dm-11: state EA): direct IO failed ino 8561 rw 0,0 sector 0x24a610 len 36864 err no 10
[36750.063874] BTRFS warning (device dm-11: state EA): direct IO failed ino 8561 rw 0,0 sector 0x24a650 len 20480 err no 10
[36750.064399] BTRFS warning (device dm-11: state EA): direct IO failed ino 8561 rw 0,0 sector 0x24a608 len 16384 err no 10
[36750.064634] BTRFS warning (device dm-11: state EA): direct IO failed ino 8561 rw 0,0 sector 0x24a608 len 57344 err no 10
[36750.588800] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[36750.588826] BTRFS info (device dm-11): use lzo compression, level 0
[36750.588829] BTRFS info (device dm-11): disk space caching is enabled
[36750.594463] BTRFS info (device dm-11): auto enabling async discard
[36752.621679] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[36752.621687] btrfs_dev_stat_inc_and_print: 110 callbacks suppressed
[36752.621689] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 1, rd 0, flush 0, corrupt 0, gen 0
[36752.621694] BTRFS error (device dm-11): error writing primary super block to device 1
[36752.621696] BTRFS: error (device dm-11) in write_all_supers:4356: errno=-5 IO failure (1 errors while writing supers)
[36752.622162] BTRFS info (device dm-11: state E): forced readonly
[36752.622172] BTRFS: error (device dm-11: state EA) in btrfs_sync_log:3205: errno=-5 IO failure
[36752.624658] BTRFS warning (device dm-11: state EA): Skipping commit of aborted transaction.
[36752.624663] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[36752.625766] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 1, rd 1, flush 0, corrupt 0, gen 0
[36752.627500] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 1, rd 2, flush 0, corrupt 0, gen 0
[36752.627913] BTRFS warning (device dm-11: state EA): direct IO failed ino 8640 rw 0,0 sector 0x145010 len 20480 err no 10
[36752.627926] BTRFS warning (device dm-11: state EA): direct IO failed ino 8580 rw 0,0 sector 0x12f228 len 12288 err no 10
[36752.630404] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 1, rd 3, flush 0, corrupt 0, gen 0
[36752.632022] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[36752.637426] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 2, rd 3, flush 0, corrupt 0, gen 0
[36752.638180] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 3, rd 3, flush 0, corrupt 0, gen 0
[36752.638223] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 4, rd 3, flush 0, corrupt 0, gen 0
[36752.639088] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 5, rd 3, flush 0, corrupt 0, gen 0
[36752.639947] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 6, rd 3, flush 0, corrupt 0, gen 0
[36752.640074] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 7, rd 3, flush 0, corrupt 0, gen 0
[36752.640810] BTRFS warning (device dm-11: state EA): direct IO failed ino 8802 rw 0,0 sector 0x18f018 len 45056 err no 10
[36752.676274] BTRFS warning (device dm-11: state EA): direct IO failed ino 8734 rw 0,0 sector 0x178790 len 16384 err no 10
[36752.678132] BTRFS warning (device dm-11: state EA): direct IO failed ino 8626 rw 0,0 sector 0x16f920 len 102400 err no 10
[36752.678855] BTRFS warning (device dm-11: state EA): direct IO failed ino 8734 rw 0,0 sector 0x178790 len 16384 err no 10
[36752.681724] BTRFS warning (device dm-11: state EA): direct IO failed ino 8566 rw 0,0 sector 0x1357a0 len 49152 err no 10
[36753.334143] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[36753.334151] BTRFS info (device dm-11): use lzo compression, level 0
[36753.334154] BTRFS info (device dm-11): disk space caching is enabled
[36753.339079] BTRFS info (device dm-11): auto enabling async discard
[36753.368492] ------------[ cut here ]------------
[36753.368580] WARNING: CPU: 1 PID: 663963 at fs/btrfs/discard.c:604 btrfs_discard_update_discardable+0x98/0xb0
[36753.368587] Modules linked in: dm_thin_pool dm_persistent_data dm_bio_prison dm_log_writes dm_dust dm_flakey nft_fib_inet nft_fib_ipv4 nft_fib_ipv6 nft_fib nft_reject_inet nf_reject_ipv4 nf_reject_ipv6 nft_reject nft_ct nft_chain_nat nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 ip6_tables nft_compat ip_set rfkill nf_tables nfnetlink snd_hda_codec_generic snd_hda_intel snd_intel_dspcfg iTCO_wdt iTCO_vendor_support intel_rapl_msr snd_hda_codec joydev snd_hwdep intel_rapl_common snd_hda_core virtio_balloon snd_pcm snd_timer snd i2c_i801 soundcore i2c_smbus lpc_ich zram ip_tables xfs crct10dif_pclmul crc32_pclmul crc32c_intel ghash_clmulni_intel serio_raw qemu_fw_cfg
[36753.368661] CPU: 1 PID: 663963 Comm: kworker/u4:1 Tainted: G W 5.19.0-rc8+ #786
[36753.368665] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.13.0-2.fc32 04/01/2014
[36753.368668] Workqueue: btrfs-cache btrfs_work_helper
[36753.368673] RIP: 0010:btrfs_discard_update_discardable+0x98/0xb0
[36753.368677] Code: 17 00 00 48 8b 83 80 00 00 00 48 89 83 88 00 00 00 5b 5d c3 cc cc cc cc 48 8d 7b 18 be ff ff ff ff e8 9c 98 7e 00 85 c0 75 ac <0f> 0b eb a8 c3 cc cc cc cc 66 66 2e 0f 1f 84 00 00 00 00 00 0f 1f
[36753.368681] RSP: 0018:ffffba8a45717ad0 EFLAGS: 00010246
[36753.368686] RAX: 0000000000000000 RBX: ffff987dc08a1200 RCX: 0000000000000001
[36753.368689] RDX: 0000000000000000 RSI: ffffffff90807c93 RDI: ffffffff908a825e
[36753.368691] RBP: ffff987de2d7c000 R08: 0000000000000000 R09: 0000000000001000
[36753.368693] R10: ffff987dff707150 R11: 00000000008ffa00 R12: ffff987dc15eb010
[36753.368695] R13: ffff987dd343d890 R14: ffff987de2d7c000 R15: ffff987dcf05b0e0
[36753.368698] FS: 0000000000000000(0000) GS:ffff987e3bd00000(0000) knlGS:0000000000000000
[36753.368700] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[36753.368703] CR2: 0000000001b47428 CR3: 00000001013ca005 CR4: 0000000000370ee0
[36753.368708] Call Trace:
[36753.368711]
[36753.368717] __btrfs_remove_free_space_cache+0x27/0x30
[36753.368723] load_free_space_cache+0xad2/0xaf0
[36753.368794] caching_thread+0x40b/0x650
[36753.368807] ? lock_release+0x137/0x2d0
[36753.368817] btrfs_work_helper+0xf2/0x3e0
[36753.368821] ? lock_is_held_type+0xe2/0x140
[36753.368832] process_one_work+0x271/0x590
[36753.368844] ? process_one_work+0x590/0x590
[36753.368847] worker_thread+0x52/0x3b0
[36753.368854] ? process_one_work+0x590/0x590
[36753.368858] kthread+0xf0/0x120
[36753.368861] ? kthread_complete_and_exit+0x20/0x20
[36753.368898] ret_from_fork+0x1f/0x30
[36753.368922]
[36753.368924] irq event stamp: 29657707
[36753.368926] hardirqs last enabled at (29657713): [] __up_console_sem+0x5e/0x70
[36753.368929] hardirqs last disabled at (29657718): [] __up_console_sem+0x43/0x70
[36753.368932] softirqs last enabled at (29657150): [] __irq_exit_rcu+0xeb/0x160
[36753.368935] softirqs last disabled at (29657143): [] __irq_exit_rcu+0xeb/0x160
[36753.368938] ---[ end trace 0000000000000000 ]---
[36753.368941] BTRFS warning (device dm-11): block group 298844160 has wrong amount of free space
[36753.368970] BTRFS warning (device dm-11): failed to load free space cache for block group 298844160, rebuilding it now
[36755.369802] BTRFS warning (device dm-11): direct IO failed ino 9321 rw 1,34817 sector 0x18e950 len 16384 err no 10
[36755.369922] BTRFS warning (device dm-11): direct IO failed ino 7664 rw 1,34817 sector 0x388620 len 90112 err no 10
[36755.369938] BTRFS warning (device dm-11): direct IO failed ino 7664 rw 1,34817 sector 0x1420b0 len 12288 err no 10
[36755.371101] BTRFS: error (device dm-11) in btrfs_commit_transaction:2496: errno=-5 IO failure (Error while writing out transaction)
[36755.371644] BTRFS info (device dm-11: state E): forced readonly
[36755.371649] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[36755.371652] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[36755.372074] BTRFS warning (device dm-11: state EA): direct IO failed ino 9258 rw 0,0 sector 0x18bc20 len 24576 err no 10
[36755.377792] BTRFS warning (device dm-11: state EA): direct IO failed ino 9007 rw 0,0 sector 0x1475f8 len 4096 err no 10
[36755.387899] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[36755.425685] BTRFS warning (device dm-11: state EA): direct IO failed ino 9099 rw 0,0 sector 0x11fd00 len 8192 err no 10
[36755.427332] BTRFS warning (device dm-11: state EA): direct IO failed ino 4654 rw 0,0 sector 0x16d430 len 8192 err no 10
[36756.134584] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[36756.134593] BTRFS info (device dm-11): use lzo compression, level 0
[36756.134596] BTRFS info (device dm-11): disk space caching is enabled
[36756.138790] BTRFS info (device dm-11): auto enabling async discard
[36756.138796] BTRFS info (device dm-11): start tree-log replay
[36756.188438] ------------[ cut here ]------------
[36756.188957] WARNING: CPU: 1 PID: 663963 at fs/btrfs/discard.c:604 btrfs_discard_update_discardable+0x98/0xb0
[36756.188965] Modules linked in: dm_thin_pool dm_persistent_data dm_bio_prison dm_log_writes dm_dust dm_flakey nft_fib_inet nft_fib_ipv4 nft_fib_ipv6 nft_fib nft_reject_inet nf_reject_ipv4 nf_reject_ipv6 nft_reject nft_ct nft_chain_nat nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 ip6_tables nft_compat ip_set rfkill nf_tables nfnetlink snd_hda_codec_generic snd_hda_intel snd_intel_dspcfg iTCO_wdt iTCO_vendor_support intel_rapl_msr snd_hda_codec joydev snd_hwdep intel_rapl_common snd_hda_core virtio_balloon snd_pcm snd_timer snd i2c_i801 soundcore i2c_smbus lpc_ich zram ip_tables xfs crct10dif_pclmul crc32_pclmul crc32c_intel ghash_clmulni_intel serio_raw qemu_fw_cfg
[36756.189038] CPU: 1 PID: 663963 Comm: kworker/u4:1 Tainted: G W 5.19.0-rc8+ #786
[36756.189041] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.13.0-2.fc32 04/01/2014
[36756.189043] Workqueue: btrfs-cache btrfs_work_helper
[36756.189049] RIP: 0010:btrfs_discard_update_discardable+0x98/0xb0
[36756.189052] Code: 17 00 00 48 8b 83 80 00 00 00 48 89 83 88 00 00 00 5b 5d c3 cc cc cc cc 48 8d 7b 18 be ff ff ff ff e8 9c 98 7e 00 85 c0 75 ac <0f> 0b eb a8 c3 cc cc cc cc 66 66 2e 0f 1f 84 00 00 00 00 00 0f 1f
[36756.189054] RSP: 0018:ffffba8a45717ad0 EFLAGS: 00010246
[36756.189057] RAX: 0000000000000000 RBX: ffff987dd5e53e00 RCX: 0000000000000001
[36756.189059] RDX: 0000000000000000 RSI: ffffffff90807c93 RDI: ffffffff908a825e
[36756.189061] RBP: ffff987de2d78000 R08: 0000000000000000 R09: 000000008027000b
[36756.189063] R10: ffff987dc6e690e8 R11: 0000000000000000 R12: ffff987dd5c12010
[36756.189065] R13: ffff987dc43feb30 R14: ffff987de2d78000 R15: ffff987dd25e41c0
[36756.189067] FS: 0000000000000000(0000) GS:ffff987e3bd00000(0000) knlGS:0000000000000000
[36756.189069] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[36756.189071] CR2: 000055bc002d36f0 CR3: 0000000104116006 CR4: 0000000000370ee0
[36756.189076] Call Trace:
[36756.189079]
[36756.189084] __btrfs_remove_free_space_cache+0x27/0x30
[36756.189089] load_free_space_cache+0xad2/0xaf0
[36756.189134] caching_thread+0x40b/0x650
[36756.189144] ? lock_release+0x137/0x2d0
[36756.189152] btrfs_work_helper+0xf2/0x3e0
[36756.189155] ? lock_is_held_type+0xe2/0x140
[36756.189163] process_one_work+0x271/0x590
[36756.189173] ? process_one_work+0x590/0x590
[36756.189176] worker_thread+0x52/0x3b0
[36756.189181] ? process_one_work+0x590/0x590
[36756.189185] kthread+0xf0/0x120
[36756.189187] ? kthread_complete_and_exit+0x20/0x20
[36756.189193] ret_from_fork+0x1f/0x30
[36756.189208]
[36756.189209] irq event stamp: 29730687
[36756.189211] hardirqs last enabled at (29730693): [] __up_console_sem+0x5e/0x70
[36756.189214] hardirqs last disabled at (29730698): [] __up_console_sem+0x43/0x70
[36756.189217] softirqs last enabled at (29730150): [] __irq_exit_rcu+0xeb/0x160
[36756.189220] softirqs last disabled at (29730145): [] __irq_exit_rcu+0xeb/0x160
[36756.189223] ---[ end trace 0000000000000000 ]---
[36756.189227] BTRFS warning (device dm-11): block group 1372585984 has wrong amount of free space
[36756.189249] BTRFS warning (device dm-11): failed to load free space cache for block group 1372585984, rebuilding it now
[36758.255147] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[36758.255153] btrfs_dev_stat_inc_and_print: 35 callbacks suppressed
[36758.255155] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 1, rd 0, flush 0, corrupt 0, gen 0
[36758.255170] BTRFS error (device dm-11): error writing primary super block to device 1
[36758.255173] BTRFS: error (device dm-11) in write_all_supers:4356: errno=-5 IO failure (1 errors while writing supers)
[36758.255599] BTRFS info (device dm-11: state E): forced readonly
[36758.255603] BTRFS: error (device dm-11: state EA) in btrfs_sync_log:3205: errno=-5 IO failure
[36758.259639] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 2, rd 0, flush 0, corrupt 0, gen 0
[36758.261469] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 2, rd 1, flush 0, corrupt 0, gen 0
[36758.261514] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 2, rd 2, flush 0, corrupt 0, gen 0
[36758.262121] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 3, rd 2, flush 0, corrupt 0, gen 0
[36758.263100] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 4, rd 2, flush 0, corrupt 0, gen 0
[36758.263265] BTRFS warning (device dm-11: state EA): Skipping commit of aborted transaction.
[36758.263270] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[36758.266124] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[36758.288992] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 4, rd 3, flush 0, corrupt 0, gen 0
[36758.289018] BTRFS warning (device dm-11: state EA): direct IO failed ino 9449 rw 0,0 sector 0x3aba80 len 20480 err no 10
[36758.315198] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 4, rd 4, flush 0, corrupt 0, gen 0
[36758.315217] BTRFS warning (device dm-11: state EA): direct IO failed ino 9596 rw 0,0 sector 0x3b5658 len 69632 err no 10
[36758.318452] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 4, rd 5, flush 0, corrupt 0, gen 0
[36758.318488] BTRFS warning (device dm-11: state EA): direct IO failed ino 9452 rw 0,0 sector 0x130250 len 8192 err no 10
[36758.318514] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 4, rd 6, flush 0, corrupt 0, gen 0
[36758.318533] BTRFS warning (device dm-11: state EA): direct IO failed ino 9452 rw 0,0 sector 0x2fedf8 len 32768 err no 10
[36758.966592] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[36758.966601] BTRFS info (device dm-11): use lzo compression, level 0
[36758.966604] BTRFS info (device dm-11): disk space caching is enabled
[36758.971591] BTRFS info (device dm-11): auto enabling async discard
[36758.971597] BTRFS info (device dm-11): start tree-log replay
[36761.079620] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[36761.079634] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[36761.080204] BTRFS error (device dm-11): error writing primary super block to device 1
[36761.080209] BTRFS: error (device dm-11) in write_all_supers:4356: errno=-5 IO failure (1 errors while writing supers)
[36761.080752] BTRFS info (device dm-11: state E): forced readonly
[36761.080768] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[36761.080773] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[36761.081438] BTRFS: error (device dm-11: state EA) in btrfs_sync_log:3194: errno=-5 IO failure
[36761.096913] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[36761.845565] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[36761.845574] BTRFS info (device dm-11): use lzo compression, level 0
[36761.845577] BTRFS info (device dm-11): disk space caching is enabled
[36761.851026] BTRFS info (device dm-11): auto enabling async discard
[36761.851032] BTRFS info (device dm-11): start tree-log replay
[36762.967947] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[36762.967957] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[36762.968052] BTRFS error (device dm-11): error writing primary super block to device 1
[36762.968056] BTRFS: error (device dm-11) in write_all_supers:4356: errno=-5 IO failure (1 errors while writing supers)
[36762.968520] BTRFS info (device dm-11: state E): forced readonly
[36762.968525] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[36762.968528] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[36762.972618] BTRFS warning (device dm-11: state EA): direct IO failed ino 8040 rw 0,0 sector 0x12ec98 len 24576 err no 10
[36762.972623] BTRFS warning (device dm-11: state EA): direct IO failed ino 8040 rw 0,0 sector 0x1347e8 len 4096 err no 10
[36762.977624] BTRFS warning (device dm-11: state EA): Skipping commit of aborted transaction.
[36762.979623] BTRFS warning (device dm-11: state EA): direct IO failed ino 10433 rw 0,0 sector 0x282ec8 len 32768 err no 10
[36762.981531] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[36763.001227] BTRFS warning (device dm-11: state EA): direct IO failed ino 10433 rw 0,0 sector 0x28bbb8 len 20480 err no 10
[36763.001905] BTRFS warning (device dm-11: state EA): direct IO failed ino 9448 rw 0,0 sector 0x3de708 len 8192 err no 10
[36763.011892] BTRFS warning (device dm-11: state EA): direct IO failed ino 10418 rw 0,0 sector 0x3ec908 len 12288 err no 10
[36763.593410] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[36763.593418] BTRFS info (device dm-11): use lzo compression, level 0
[36763.593421] BTRFS info (device dm-11): disk space caching is enabled
[36763.597509] BTRFS info (device dm-11): auto enabling async discard
[36763.597513] BTRFS info (device dm-11): start tree-log replay
[36764.728040] btrfs_dev_stat_inc_and_print: 767 callbacks suppressed
[36764.728044] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 1, rd 0, flush 0, corrupt 0, gen 0
[36764.728160] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 2, rd 0, flush 0, corrupt 0, gen 0
[36764.728194] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 3, rd 0, flush 0, corrupt 0, gen 0
[36764.728292] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[36764.728294] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 4, rd 0, flush 0, corrupt 0, gen 0
[36764.728310] BTRFS error (device dm-11): error writing primary super block to device 1
[36764.728313] BTRFS: error (device dm-11) in write_all_supers:4356: errno=-5 IO failure (1 errors while writing supers)
[36764.728706] BTRFS info (device dm-11: state E): forced readonly
[36764.728716] BTRFS: error (device dm-11: state EA) in btrfs_sync_log:3205: errno=-5 IO failure
[36764.732127] BTRFS warning (device dm-11: state EA): Skipping commit of aborted transaction.
[36764.732133] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[36764.733010] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 4, rd 1, flush 0, corrupt 0, gen 0
[36764.733033] BTRFS warning (device dm-11: state EA): direct IO failed ino 10657 rw 0,0 sector 0x2ddc60 len 4096 err no 10
[36764.733413] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 4, rd 2, flush 0, corrupt 0, gen 0
[36764.733427] BTRFS warning (device dm-11: state EA): direct IO failed ino 10684 rw 0,0 sector 0x3f9d50 len 12288 err no 10
[36764.738449] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 4, rd 3, flush 0, corrupt 0, gen 0
[36764.738485] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 4, rd 4, flush 0, corrupt 0, gen 0
[36764.738949] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 4, rd 5, flush 0, corrupt 0, gen 0
[36764.738970] BTRFS warning (device dm-11: state EA): direct IO failed ino 10622 rw 0,0 sector 0x3fc340 len 90112 err no 10
[36764.742576] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[36764.774736] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 4, rd 6, flush 0, corrupt 0, gen 0
[36764.774756] BTRFS warning (device dm-11: state EA): direct IO failed ino 10955 rw 0,0 sector 0x181438 len 24576 err no 10
[36764.774939] BTRFS warning (device dm-11: state EA): direct IO failed ino 10864 rw 0,0 sector 0x402ac8 len 4096 err no 10
[36765.344149] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[36765.344156] BTRFS info (device dm-11): use lzo compression, level 0
[36765.344159] BTRFS info (device dm-11): disk space caching is enabled
[36765.348621] BTRFS info (device dm-11): auto enabling async discard
[36765.348625] BTRFS info (device dm-11): start tree-log replay
[36765.365532] ------------[ cut here ]------------
[36765.365608] WARNING: CPU: 1 PID: 1287528 at fs/btrfs/discard.c:604 btrfs_discard_update_discardable+0x98/0xb0
[36765.365614] Modules linked in: dm_thin_pool dm_persistent_data dm_bio_prison dm_log_writes dm_dust dm_flakey nft_fib_inet nft_fib_ipv4 nft_fib_ipv6 nft_fib nft_reject_inet nf_reject_ipv4 nf_reject_ipv6 nft_reject nft_ct nft_chain_nat nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 ip6_tables nft_compat ip_set rfkill nf_tables nfnetlink snd_hda_codec_generic snd_hda_intel snd_intel_dspcfg iTCO_wdt iTCO_vendor_support intel_rapl_msr snd_hda_codec joydev snd_hwdep intel_rapl_common snd_hda_core virtio_balloon snd_pcm snd_timer snd i2c_i801 soundcore i2c_smbus lpc_ich zram ip_tables xfs crct10dif_pclmul crc32_pclmul crc32c_intel ghash_clmulni_intel serio_raw qemu_fw_cfg
[36765.365680] CPU: 1 PID: 1287528 Comm: kworker/u4:10 Tainted: G W 5.19.0-rc8+ #786
[36765.365683] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.13.0-2.fc32 04/01/2014
[36765.365685] Workqueue: btrfs-cache btrfs_work_helper
[36765.365690] RIP: 0010:btrfs_discard_update_discardable+0x98/0xb0
[36765.365692] Code: 17 00 00 48 8b 83 80 00 00 00 48 89 83 88 00 00 00 5b 5d c3 cc cc cc cc 48 8d 7b 18 be ff ff ff ff e8 9c 98 7e 00 85 c0 75 ac <0f> 0b eb a8 c3 cc cc cc cc 66 66 2e 0f 1f 84 00 00 00 00 00 0f 1f
[36765.365695] RSP: 0018:ffffba8a43167ad0 EFLAGS: 00010246
[36765.365698] RAX: 0000000000000000 RBX: ffff987dd5e53000 RCX: 0000000000000001
[36765.365699] RDX: 0000000000000000 RSI: ffffffff90807c93 RDI: ffffffff908a825e
[36765.365701] RBP: ffff987def484000 R08: 0000000000000000 R09: 0000000000001000
[36765.365703] R10: ffff987dc321d630 R11: 0000000000000000 R12: ffff987dd5c14810
[36765.365704] R13: ffff987dd342bca0 R14: ffff987def484000 R15: ffff987df99f4690
[36765.365706] FS: 0000000000000000(0000) GS:ffff987e3bd00000(0000) knlGS:0000000000000000
[36765.365708] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[36765.365709] CR2: 000055bc005a51a8 CR3: 0000000105fd2001 CR4: 0000000000370ee0
[36765.365713] Call Trace:
[36765.365716]
[36765.365720] __btrfs_remove_free_space_cache+0x27/0x30
[36765.365725] load_free_space_cache+0xad2/0xaf0
[36765.365788] caching_thread+0x40b/0x650
[36765.365797] ? lock_release+0x137/0x2d0
[36765.365805] btrfs_work_helper+0xf2/0x3e0
[36765.365808] ? lock_is_held_type+0xe2/0x140
[36765.365815] process_one_work+0x271/0x590
[36765.365824] ? process_one_work+0x590/0x590
[36765.365827] worker_thread+0x52/0x3b0
[36765.365831] ? process_one_work+0x590/0x590
[36765.365834] kthread+0xf0/0x120
[36765.365837] ? kthread_complete_and_exit+0x20/0x20
[36765.365841] ret_from_fork+0x1f/0x30
[36765.365855]
[36765.365856] irq event stamp: 3579279
[36765.365858] hardirqs last enabled at (3579285): [] __up_console_sem+0x5e/0x70
[36765.365861] hardirqs last disabled at (3579290): [] __up_console_sem+0x43/0x70
[36765.365863] softirqs last enabled at (3579206): [] __irq_exit_rcu+0xeb/0x160
[36765.365866] softirqs last disabled at (3579197): [] __irq_exit_rcu+0xeb/0x160
[36765.365869] ---[ end trace 0000000000000000 ]---
[36765.365872] BTRFS warning (device dm-11): block group 298844160 has wrong amount of free space
[36765.365889] BTRFS warning (device dm-11): failed to load free space cache for block group 298844160, rebuilding it now
[36765.385496] ------------[ cut here ]------------
[36765.385500] WARNING: CPU: 1 PID: 1287528 at fs/btrfs/discard.c:604 btrfs_discard_update_discardable+0x98/0xb0
[36765.385507] Modules linked in: dm_thin_pool dm_persistent_data dm_bio_prison dm_log_writes dm_dust dm_flakey nft_fib_inet nft_fib_ipv4 nft_fib_ipv6 nft_fib nft_reject_inet nf_reject_ipv4 nf_reject_ipv6 nft_reject nft_ct nft_chain_nat nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 ip6_tables nft_compat ip_set rfkill nf_tables nfnetlink snd_hda_codec_generic snd_hda_intel snd_intel_dspcfg iTCO_wdt iTCO_vendor_support intel_rapl_msr snd_hda_codec joydev snd_hwdep intel_rapl_common snd_hda_core virtio_balloon snd_pcm snd_timer snd i2c_i801 soundcore i2c_smbus lpc_ich zram ip_tables xfs crct10dif_pclmul crc32_pclmul crc32c_intel ghash_clmulni_intel serio_raw qemu_fw_cfg
[36765.385573] CPU: 1 PID: 1287528 Comm: kworker/u4:10 Tainted: G W 5.19.0-rc8+ #786
[36765.385575] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.13.0-2.fc32 04/01/2014
[36765.385577] Workqueue: btrfs-cache btrfs_work_helper
[36765.385582] RIP: 0010:btrfs_discard_update_discardable+0x98/0xb0
[36765.385585] Code: 17 00 00 48 8b 83 80 00 00 00 48 89 83 88 00 00 00 5b 5d c3 cc cc cc cc 48 8d 7b 18 be ff ff ff ff e8 9c 98 7e 00 85 c0 75 ac <0f> 0b eb a8 c3 cc cc cc cc 66 66 2e 0f 1f 84 00 00 00 00 00 0f 1f
[36765.385587] RSP: 0018:ffffba8a43167ad0 EFLAGS: 00010246
[36765.385590] RAX: 0000000000000000 RBX: ffff987dd5e52200 RCX: 0000000000000001
[36765.385591] RDX: 0000000000000000 RSI: ffffffff90807c93 RDI: ffffffff908a825e
[36765.385593] RBP: ffff987def484000 R08: 0000000000000000 R09: 0000000080270022
[36765.385594] R10: 0000000000008987 R11: 0000000000000000 R12: ffff987dd5c10010
[36765.385596] R13: ffff987dd3428e10 R14: ffff987def484000 R15: ffff987df99f4690
[36765.385598] FS: 0000000000000000(0000) GS:ffff987e3bd00000(0000) knlGS:0000000000000000
[36765.385600] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[36765.385601] CR2: 000055bc005a51a8 CR3: 0000000105fd2001 CR4: 0000000000370ee0
[36765.385605] Call Trace:
[36765.385609]
[36765.385613] __btrfs_remove_free_space_cache+0x27/0x30
[36765.385618] load_free_space_cache+0xad2/0xaf0
[36765.385657] caching_thread+0x40b/0x650
[36765.385665] ? lock_release+0x137/0x2d0
[36765.385673] btrfs_work_helper+0xf2/0x3e0
[36765.385676] ? lock_is_held_type+0xe2/0x140
[36765.385683] process_one_work+0x271/0x590
[36765.385692] ? process_one_work+0x590/0x590
[36765.385695] worker_thread+0x52/0x3b0
[36765.385699] ? process_one_work+0x590/0x590
[36765.385702] kthread+0xf0/0x120
[36765.385705] ? kthread_complete_and_exit+0x20/0x20
[36765.385709] ret_from_fork+0x1f/0x30
[36765.385723]
[36765.385724] irq event stamp: 3585081
[36765.385725] hardirqs last enabled at (3585087): [] __up_console_sem+0x5e/0x70
[36765.385728] hardirqs last disabled at (3585092): [] __up_console_sem+0x43/0x70
[36765.385731] softirqs last enabled at (3583870): [] __irq_exit_rcu+0xeb/0x160
[36765.385734] softirqs last disabled at (3583865): [] __irq_exit_rcu+0xeb/0x160
[36765.385736] ---[ end trace 0000000000000000 ]---
[36765.385771] BTRFS warning (device dm-11): block group 1372585984 has wrong amount of free space
[36765.385775] BTRFS warning (device dm-11): failed to load free space cache for block group 1372585984, rebuilding it now
[36767.455048] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[36767.455057] BTRFS error (device dm-11): error writing primary super block to device 1
[36767.455059] BTRFS: error (device dm-11) in write_all_supers:4356: errno=-5 IO failure (1 errors while writing supers)
[36767.455471] BTRFS info (device dm-11: state E): forced readonly
[36767.455485] BTRFS: error (device dm-11: state EA) in btrfs_sync_log:3205: errno=-5 IO failure
[36767.457663] BTRFS warning (device dm-11: state EA): Skipping commit of aborted transaction.
[36767.457668] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[36767.462800] BTRFS warning (device dm-11: state EA): direct IO failed ino 11149 rw 0,0 sector 0x412ae8 len 12288 err no 10
[36767.462868] BTRFS warning (device dm-11: state EA): direct IO failed ino 11003 rw 0,0 sector 0x424670 len 36864 err no 10
[36767.462887] BTRFS warning (device dm-11: state EA): direct IO failed ino 10725 rw 0,0 sector 0x40cb20 len 16384 err no 10
[36767.470085] BTRFS warning (device dm-11: state EA): direct IO failed ino 11043 rw 0,0 sector 0x418b10 len 4096 err no 10
[36767.470676] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[36767.484261] BTRFS warning (device dm-11: state EA): direct IO failed ino 11057 rw 0,0 sector 0x420dd0 len 24576 err no 10
[36767.505088] BTRFS warning (device dm-11: state EA): direct IO failed ino 11115 rw 0,0 sector 0x41c760 len 73728 err no 10
[36768.087752] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[36768.087760] BTRFS info (device dm-11): use lzo compression, level 0
[36768.087762] BTRFS info (device dm-11): disk space caching is enabled
[36768.091851] BTRFS info (device dm-11): auto enabling async discard
[36768.115166] ------------[ cut here ]------------
[36768.115235] WARNING: CPU: 1 PID: 1323068 at fs/btrfs/discard.c:604 btrfs_discard_update_discardable+0x98/0xb0
[36768.115242] Modules linked in: dm_thin_pool dm_persistent_data dm_bio_prison dm_log_writes dm_dust dm_flakey nft_fib_inet nft_fib_ipv4 nft_fib_ipv6 nft_fib nft_reject_inet nf_reject_ipv4 nf_reject_ipv6 nft_reject nft_ct nft_chain_nat nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 ip6_tables nft_compat ip_set rfkill nf_tables nfnetlink snd_hda_codec_generic snd_hda_intel snd_intel_dspcfg iTCO_wdt iTCO_vendor_support intel_rapl_msr snd_hda_codec joydev snd_hwdep intel_rapl_common snd_hda_core virtio_balloon snd_pcm snd_timer snd i2c_i801 soundcore i2c_smbus lpc_ich zram ip_tables xfs crct10dif_pclmul crc32_pclmul crc32c_intel ghash_clmulni_intel serio_raw qemu_fw_cfg
[36768.115308] CPU: 1 PID: 1323068 Comm: kworker/u4:11 Tainted: G W 5.19.0-rc8+ #786
[36768.115310] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.13.0-2.fc32 04/01/2014
[36768.115312] Workqueue: btrfs-cache btrfs_work_helper
[36768.115317] RIP: 0010:btrfs_discard_update_discardable+0x98/0xb0
[36768.115320] Code: 17 00 00 48 8b 83 80 00 00 00 48 89 83 88 00 00 00 5b 5d c3 cc cc cc cc 48 8d 7b 18 be ff ff ff ff e8 9c 98 7e 00 85 c0 75 ac <0f> 0b eb a8 c3 cc cc cc cc 66 66 2e 0f 1f 84 00 00 00 00 00 0f 1f
[36768.115322] RSP: 0018:ffffba8a44117ad0 EFLAGS: 00010246
[36768.115325] RAX: 0000000000000000 RBX: ffff987dfa074800 RCX: 0000000000000001
[36768.115327] RDX: 0000000000000000 RSI: ffffffff90807c93 RDI: ffffffff908a825e
[36768.115328] RBP: ffff987def484000 R08: 0000000000000000 R09: 0000000000001000
[36768.115330] R10: ffff987e20e73d80 R11: 0000000000903400 R12: ffff987dc38d7810
[36768.115331] R13: ffff987dd34b9760 R14: ffff987def484000 R15: ffff987dc8927700
[36768.115333] FS: 0000000000000000(0000) GS:ffff987e3bd00000(0000) knlGS:0000000000000000
[36768.115335] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[36768.115337] CR2: 0000000001889090 CR3: 000000010205a001 CR4: 0000000000370ee0
[36768.115341] Call Trace:
[36768.115344]
[36768.115348] __btrfs_remove_free_space_cache+0x27/0x30
[36768.115358] load_free_space_cache+0xad2/0xaf0
[36768.115398] caching_thread+0x40b/0x650
[36768.115406] ? lock_release+0x137/0x2d0
[36768.115413] btrfs_work_helper+0xf2/0x3e0
[36768.115416] ? lock_is_held_type+0xe2/0x140
[36768.115423] process_one_work+0x271/0x590
[36768.115432] ? process_one_work+0x590/0x590
[36768.115435] worker_thread+0x52/0x3b0
[36768.115440] ? process_one_work+0x590/0x590
[36768.115442] kthread+0xf0/0x120
[36768.115445] ? kthread_complete_and_exit+0x20/0x20
[36768.115449] ret_from_fork+0x1f/0x30
[36768.115463]
[36768.115464] irq event stamp: 662281
[36768.115465] hardirqs last enabled at (662287): [] __up_console_sem+0x5e/0x70
[36768.115468] hardirqs last disabled at (662292): [] __up_console_sem+0x43/0x70
[36768.115471] softirqs last enabled at (661738): [] __irq_exit_rcu+0xeb/0x160
[36768.115474] softirqs last disabled at (661731): [] __irq_exit_rcu+0xeb/0x160
[36768.115476] ---[ end trace 0000000000000000 ]---
[36768.115479] BTRFS warning (device dm-11): block group 298844160 has wrong amount of free space
[36768.115496] BTRFS warning (device dm-11): failed to load free space cache for block group 298844160, rebuilding it now
[36770.116301] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[36770.116308] btrfs_dev_stat_inc_and_print: 19 callbacks suppressed
[36770.116310] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 1, rd 0, flush 0, corrupt 0, gen 0
[36770.116333] BTRFS error (device dm-11): error writing primary super block to device 1
[36770.116337] BTRFS: error (device dm-11) in write_all_supers:4356: errno=-5 IO failure (1 errors while writing supers)
[36770.116755] BTRFS info (device dm-11: state E): forced readonly
[36770.116766] BTRFS: error (device dm-11: state EA) in btrfs_sync_log:3205: errno=-5 IO failure
[36770.119922] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 2, rd 0, flush 0, corrupt 0, gen 0
[36770.120380] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 3, rd 0, flush 0, corrupt 0, gen 0
[36770.120758] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 4, rd 0, flush 0, corrupt 0, gen 0
[36770.121210] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 5, rd 0, flush 0, corrupt 0, gen 0
[36770.121482] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 6, rd 0, flush 0, corrupt 0, gen 0
[36770.121515] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 7, rd 0, flush 0, corrupt 0, gen 0
[36770.121537] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 8, rd 0, flush 0, corrupt 0, gen 0
[36770.121954] BTRFS warning (device dm-11: state EA): Skipping commit of aborted transaction.
[36770.121958] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[36770.127818] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[36770.144497] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 8, rd 1, flush 0, corrupt 0, gen 0
[36770.144773] BTRFS warning (device dm-11: state EA): direct IO failed ino 11506 rw 0,0 sector 0x14e648 len 28672 err no 10
[36770.147266] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 8, rd 2, flush 0, corrupt 0, gen 0
[36770.147290] BTRFS warning (device dm-11: state EA): direct IO failed ino 6266 rw 0,0 sector 0x44dd68 len 49152 err no 10
[36770.771697] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[36770.771710] BTRFS info (device dm-11): use lzo compression, level 0
[36770.771713] BTRFS info (device dm-11): disk space caching is enabled
[36770.776482] BTRFS info (device dm-11): auto enabling async discard
[36770.776486] BTRFS info (device dm-11): start tree-log replay
[36770.798704] ------------[ cut here ]------------
[36770.798777] WARNING: CPU: 0 PID: 1323068 at fs/btrfs/discard.c:604 btrfs_discard_update_discardable+0x98/0xb0
[36770.798783] Modules linked in: dm_thin_pool dm_persistent_data dm_bio_prison dm_log_writes dm_dust dm_flakey nft_fib_inet nft_fib_ipv4 nft_fib_ipv6 nft_fib nft_reject_inet nf_reject_ipv4 nf_reject_ipv6 nft_reject nft_ct nft_chain_nat nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 ip6_tables nft_compat ip_set rfkill nf_tables nfnetlink snd_hda_codec_generic snd_hda_intel snd_intel_dspcfg iTCO_wdt iTCO_vendor_support intel_rapl_msr snd_hda_codec joydev snd_hwdep intel_rapl_common snd_hda_core virtio_balloon snd_pcm snd_timer snd i2c_i801 soundcore i2c_smbus lpc_ich zram ip_tables xfs crct10dif_pclmul crc32_pclmul crc32c_intel ghash_clmulni_intel serio_raw qemu_fw_cfg
[36770.798849] CPU: 0 PID: 1323068 Comm: kworker/u4:11 Tainted: G W 5.19.0-rc8+ #786
[36770.798851] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.13.0-2.fc32 04/01/2014
[36770.798853] Workqueue: btrfs-cache btrfs_work_helper
[36770.798858] RIP: 0010:btrfs_discard_update_discardable+0x98/0xb0
[36770.798861] Code: 17 00 00 48 8b 83 80 00 00 00 48 89 83 88 00 00 00 5b 5d c3 cc cc cc cc 48 8d 7b 18 be ff ff ff ff e8 9c 98 7e 00 85 c0 75 ac <0f> 0b eb a8 c3 cc cc cc cc 66 66 2e 0f 1f 84 00 00 00 00 00 0f 1f
[36770.798863] RSP: 0018:ffffba8a44117ad0 EFLAGS: 00010246
[36770.798866] RAX: 0000000000000000 RBX: ffff987dd5e52000 RCX: 0000000000000001
[36770.798867] RDX: 0000000000000000 RSI: ffffffff90807c93 RDI: ffffffff908a825e
[36770.798869] RBP: ffff987dc67cc000 R08: 0000000000000000 R09: 0000000080270019
[36770.798871] R10: ffff987dfae69018 R11: 0000000000903500 R12: ffff987dd5c15810
[36770.798872] R13: ffff987dc2d404c0 R14: ffff987dc67cc000 R15: ffff987df99f4230
[36770.798874] FS: 0000000000000000(0000) GS:ffff987e3bc00000(0000) knlGS:0000000000000000
[36770.798876] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[36770.798877] CR2: 00007ff679743218 CR3: 000000010380a002 CR4: 0000000000370ef0
[36770.798881] Call Trace:
[36770.798884]
[36770.798889] __btrfs_remove_free_space_cache+0x27/0x30
[36770.798893] load_free_space_cache+0xad2/0xaf0
[36770.798933] caching_thread+0x40b/0x650
[36770.798941] ? lock_release+0x137/0x2d0
[36770.798949] btrfs_work_helper+0xf2/0x3e0
[36770.798951] ? lock_is_held_type+0xe2/0x140
[36770.798959] process_one_work+0x271/0x590
[36770.798967] ? process_one_work+0x590/0x590
[36770.798970] worker_thread+0x52/0x3b0
[36770.798975] ? process_one_work+0x590/0x590
[36770.798978] kthread+0xf0/0x120
[36770.798980] ? kthread_complete_and_exit+0x20/0x20
[36770.798985] ret_from_fork+0x1f/0x30
[36770.798998]
[36770.798999] irq event stamp: 722821
[36770.799001] hardirqs last enabled at (722827): [] __up_console_sem+0x5e/0x70
[36770.799004] hardirqs last disabled at (722832): [] __up_console_sem+0x43/0x70
[36770.799006] softirqs last enabled at (722280): [] __irq_exit_rcu+0xeb/0x160
[36770.799009] softirqs last disabled at (722275): [] __irq_exit_rcu+0xeb/0x160
[36770.799011] ---[ end trace 0000000000000000 ]---
[36770.799014] BTRFS warning (device dm-11): block group 1372585984 has wrong amount of free space
[36770.799031] BTRFS warning (device dm-11): failed to load free space cache for block group 1372585984, rebuilding it now
[36770.882488] BTRFS warning (device dm-11): direct IO failed ino 11887 rw 1,34817 sector 0x459dc8 len 118784 err no 10
[36770.891792] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[36770.893788] BTRFS warning (device dm-11): direct IO failed ino 11433 rw 1,34817 sector 0x4528a0 len 24576 err no 10
[36770.900837] BTRFS: error (device dm-11: state A) in __btrfs_free_extent:3078: errno=-5 IO failure
[36770.901330] BTRFS info (device dm-11: state EA): forced readonly
[36770.901337] BTRFS: error (device dm-11: state EA) in btrfs_run_delayed_refs:2141: errno=-5 IO failure
[36771.416325] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[36771.416333] BTRFS info (device dm-11): use lzo compression, level 0
[36771.416336] BTRFS info (device dm-11): disk space caching is enabled
[36771.420826] BTRFS info (device dm-11): auto enabling async discard
[36773.471721] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[36773.472677] BTRFS warning (device dm-11): direct IO failed ino 12256 rw 1,34817 sector 0x48c4e8 len 49152 err no 10
[36773.474625] BTRFS warning (device dm-11): direct IO failed ino 12172 rw 1,34817 sector 0x1c5a20 len 4096 err no 10
[36773.476797] BTRFS warning (device dm-11): direct IO failed ino 12344 rw 1,34817 sector 0x48c798 len 98304 err no 10
[36773.485899] BTRFS warning (device dm-11): direct IO failed ino 12142 rw 1,34817 sector 0x45a858 len 45056 err no 10
[36773.486794] BTRFS warning (device dm-11): direct IO failed ino 12325 rw 1,34817 sector 0x1cb228 len 8192 err no 10
[36773.488014] BTRFS: error (device dm-11: state A) in btrfs_replace_file_extents:2831: errno=-5 IO failure
[36773.488203] BTRFS warning (device dm-11: state A): direct IO failed ino 11931 rw 1,34817 sector 0x48c798 len 81920 err no 10
[36773.488378] BTRFS info (device dm-11: state EA): forced readonly
[36773.494039] BTRFS: error (device dm-11: state EA) in btrfs_commit_transaction:2496: errno=-5 IO failure (Error while writing out transaction)
[36773.494508] BTRFS warning (device dm-11: state EA): Skipping commit of aborted transaction.
[36773.494513] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[36774.107319] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[36774.107328] BTRFS info (device dm-11): use lzo compression, level 0
[36774.107330] BTRFS info (device dm-11): disk space caching is enabled
[36774.111637] BTRFS info (device dm-11): auto enabling async discard
[36774.123093] BTRFS warning (device dm-11): block group 30408704 has wrong amount of free space
[36774.123112] BTRFS warning (device dm-11): failed to load free space cache for block group 30408704, rebuilding it now
[36774.140540] BTRFS error (device dm-11): error reading free space cache
[36774.140546] BTRFS warning (device dm-11): failed to load free space cache for block group 298844160, rebuilding it now
[36774.144756] BTRFS error (device dm-11): error reading free space cache
[36774.144761] BTRFS warning (device dm-11): failed to load free space cache for block group 1372585984, rebuilding it now
[36774.144902] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[36774.147813] BTRFS warning (device dm-11): direct IO failed ino 12402 rw 1,34817 sector 0x512800 len 4096 err no 10
[36774.150110] BTRFS warning (device dm-11): direct IO failed ino 12404 rw 1,34817 sector 0x512e50 len 65536 err no 10
[36774.151687] BTRFS warning (device dm-11): direct IO failed ino 12404 rw 1,34817 sector 0x512e50 len 102400 err no 10
[36774.185686] BTRFS: error (device dm-11: state A) in __btrfs_free_extent:3078: errno=-5 IO failure
[36774.186056] BTRFS info (device dm-11: state EA): forced readonly
[36774.186062] BTRFS: error (device dm-11: state EA) in btrfs_run_delayed_refs:2141: errno=-5 IO failure
[36774.627587] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[36774.627595] BTRFS info (device dm-11): use lzo compression, level 0
[36774.627597] BTRFS info (device dm-11): disk space caching is enabled
[36774.631900] BTRFS info (device dm-11): auto enabling async discard
[36774.643805] BTRFS warning (device dm-11): block group 30408704 has wrong amount of free space
[36774.643823] BTRFS warning (device dm-11): failed to load free space cache for block group 30408704, rebuilding it now
[36775.669404] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[36775.669411] btrfs_dev_stat_inc_and_print: 193 callbacks suppressed
[36775.669412] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 1, rd 0, flush 0, corrupt 0, gen 0
[36775.669417] BTRFS error (device dm-11): error writing primary super block to device 1
[36775.669419] BTRFS: error (device dm-11) in write_all_supers:4356: errno=-5 IO failure (1 errors while writing supers)
[36775.669837] BTRFS info (device dm-11: state E): forced readonly
[36775.669845] BTRFS: error (device dm-11: state EA) in btrfs_sync_log:3205: errno=-5 IO failure
[36775.671892] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 2, rd 0, flush 0, corrupt 0, gen 0
[36775.672549] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 3, rd 0, flush 0, corrupt 0, gen 0
[36775.672712] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 4, rd 0, flush 0, corrupt 0, gen 0
[36775.673852] BTRFS warning (device dm-11: state EA): Skipping commit of aborted transaction.
[36775.673857] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[36775.679900] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 4, rd 1, flush 0, corrupt 0, gen 0
[36775.680757] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[36775.706940] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 4, rd 2, flush 0, corrupt 0, gen 0
[36775.706961] BTRFS warning (device dm-11: state EA): direct IO failed ino 8860 rw 0,0 sector 0x49b650 len 12288 err no 10
[36776.262679] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[36776.262687] BTRFS info (device dm-11): use lzo compression, level 0
[36776.262690] BTRFS info (device dm-11): disk space caching is enabled
[36776.267367] BTRFS info (device dm-11): auto enabling async discard
[36776.291838] ------------[ cut here ]------------
[36776.291905] WARNING: CPU: 0 PID: 1282941 at fs/btrfs/discard.c:604 btrfs_discard_update_discardable+0x98/0xb0
[36776.291912] Modules linked in: dm_thin_pool dm_persistent_data dm_bio_prison dm_log_writes dm_dust dm_flakey nft_fib_inet nft_fib_ipv4 nft_fib_ipv6 nft_fib nft_reject_inet nf_reject_ipv4 nf_reject_ipv6 nft_reject nft_ct nft_chain_nat nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 ip6_tables nft_compat ip_set rfkill nf_tables nfnetlink snd_hda_codec_generic snd_hda_intel snd_intel_dspcfg iTCO_wdt iTCO_vendor_support intel_rapl_msr snd_hda_codec joydev snd_hwdep intel_rapl_common snd_hda_core virtio_balloon snd_pcm snd_timer snd i2c_i801 soundcore i2c_smbus lpc_ich zram ip_tables xfs crct10dif_pclmul crc32_pclmul crc32c_intel ghash_clmulni_intel serio_raw qemu_fw_cfg
[36776.291973] CPU: 0 PID: 1282941 Comm: kworker/u4:4 Tainted: G W 5.19.0-rc8+ #786
[36776.291976] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.13.0-2.fc32 04/01/2014
[36776.291978] Workqueue: btrfs-cache btrfs_work_helper
[36776.291983] RIP: 0010:btrfs_discard_update_discardable+0x98/0xb0
[36776.291985] Code: 17 00 00 48 8b 83 80 00 00 00 48 89 83 88 00 00 00 5b 5d c3 cc cc cc cc 48 8d 7b 18 be ff ff ff ff e8 9c 98 7e 00 85 c0 75 ac <0f> 0b eb a8 c3 cc cc cc cc 66 66 2e 0f 1f 84 00 00 00 00 00 0f 1f
[36776.291988] RSP: 0018:ffffba8a449b7ad0 EFLAGS: 00010246
[36776.291990] RAX: 0000000000000000 RBX: ffff987dd5e53c00 RCX: 0000000000000001
[36776.291992] RDX: 0000000000000000 RSI: ffffffff90807c93 RDI: ffffffff908a825e
[36776.291994] RBP: ffff987dc3828000 R08: 0000000000000000 R09: 0000000000001000
[36776.291995] R10: 000000000004cb5d R11: 0000000000904100 R12: ffff987dd5c10010
[36776.291997] R13: ffff987dc342cf40 R14: ffff987dc3828000 R15: ffff987dc17eebd0
[36776.291999] FS: 0000000000000000(0000) GS:ffff987e3bc00000(0000) knlGS:0000000000000000
[36776.292001] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[36776.292002] CR2: 00000000019283c8 CR3: 0000000103a4c001 CR4: 0000000000370ef0
[36776.292006] Call Trace:
[36776.292008]
[36776.292012] __btrfs_remove_free_space_cache+0x27/0x30
[36776.292017] load_free_space_cache+0xad2/0xaf0
[36776.292056] caching_thread+0x40b/0x650
[36776.292064] ? lock_release+0x137/0x2d0
[36776.292072] btrfs_work_helper+0xf2/0x3e0
[36776.292074] ? lock_is_held_type+0xe2/0x140
[36776.292081] process_one_work+0x271/0x590
[36776.292091] worker_thread+0x52/0x3b0
[36776.292096] ? process_one_work+0x590/0x590
[36776.292099] kthread+0xf0/0x120
[36776.292101] ? kthread_complete_and_exit+0x20/0x20
[36776.292106] ret_from_fork+0x1f/0x30
[36776.292119]
[36776.292121] irq event stamp: 4780349
[36776.292122] hardirqs last enabled at (4780355): [] __up_console_sem+0x5e/0x70
[36776.292125] hardirqs last disabled at (4780360): [] __up_console_sem+0x43/0x70
[36776.292127] softirqs last enabled at (4779778): [] __irq_exit_rcu+0xeb/0x160
[36776.292130] softirqs last disabled at (4779773): [] __irq_exit_rcu+0xeb/0x160
[36776.292133] ---[ end trace 0000000000000000 ]---
[36776.292136] BTRFS warning (device dm-11): block group 298844160 has wrong amount of free space
[36776.292190] BTRFS warning (device dm-11): failed to load free space cache for block group 298844160, rebuilding it now
[36776.336810] ------------[ cut here ]------------
[36776.336814] WARNING: CPU: 1 PID: 1282941 at fs/btrfs/discard.c:604 btrfs_discard_update_discardable+0x98/0xb0
[36776.336821] Modules linked in: dm_thin_pool dm_persistent_data dm_bio_prison dm_log_writes dm_dust dm_flakey nft_fib_inet nft_fib_ipv4 nft_fib_ipv6 nft_fib nft_reject_inet nf_reject_ipv4 nf_reject_ipv6 nft_reject nft_ct nft_chain_nat nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 ip6_tables nft_compat ip_set rfkill nf_tables nfnetlink snd_hda_codec_generic snd_hda_intel snd_intel_dspcfg iTCO_wdt iTCO_vendor_support intel_rapl_msr snd_hda_codec joydev snd_hwdep intel_rapl_common snd_hda_core virtio_balloon snd_pcm snd_timer snd i2c_i801 soundcore i2c_smbus lpc_ich zram ip_tables xfs crct10dif_pclmul crc32_pclmul crc32c_intel ghash_clmulni_intel serio_raw qemu_fw_cfg
[36776.336886] CPU: 1 PID: 1282941 Comm: kworker/u4:4 Tainted: G W 5.19.0-rc8+ #786
[36776.336888] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.13.0-2.fc32 04/01/2014
[36776.336890] Workqueue: btrfs-cache btrfs_work_helper
[36776.336895] RIP: 0010:btrfs_discard_update_discardable+0x98/0xb0
[36776.336898] Code: 17 00 00 48 8b 83 80 00 00 00 48 89 83 88 00 00 00 5b 5d c3 cc cc cc cc 48 8d 7b 18 be ff ff ff ff e8 9c 98 7e 00 85 c0 75 ac <0f> 0b eb a8 c3 cc cc cc cc 66 66 2e 0f 1f 84 00 00 00 00 00 0f 1f
[36776.336900] RSP: 0018:ffffba8a449b7ad0 EFLAGS: 00010246
[36776.336903] RAX: 0000000000000000 RBX: ffff987dd5e53a00 RCX: 0000000000000001
[36776.336905] RDX: 0000000000000000 RSI: ffffffff90807c93 RDI: ffffffff908a825e
[36776.336906] RBP: ffff987dc3828000 R08: 0000000000000000 R09: 000000008027001f
[36776.336908] R10: 000000000004cb5d R11: 0000000000000000 R12: ffff987dd5c12010
[36776.336910] R13: ffff987dd57b3ca0 R14: ffff987dc3828000 R15: ffff987dc22df1c0
[36776.336911] FS: 0000000000000000(0000) GS:ffff987e3bd00000(0000) knlGS:0000000000000000
[36776.336913] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[36776.336915] CR2: 00007fca8738b000 CR3: 000000014db6a003 CR4: 0000000000370ee0
[36776.336919] Call Trace:
[36776.336921]
[36776.336926] __btrfs_remove_free_space_cache+0x27/0x30
[36776.336930] load_free_space_cache+0xad2/0xaf0
[36776.336970] caching_thread+0x40b/0x650
[36776.336978] ? lock_release+0x137/0x2d0
[36776.336985] btrfs_work_helper+0xf2/0x3e0
[36776.336988] ? lock_is_held_type+0xe2/0x140
[36776.336995] process_one_work+0x271/0x590
[36776.337005] worker_thread+0x52/0x3b0
[36776.337009] ? process_one_work+0x590/0x590
[36776.337012] kthread+0xf0/0x120
[36776.337015] ? kthread_complete_and_exit+0x20/0x20
[36776.337019] ret_from_fork+0x1f/0x30
[36776.337032]
[36776.337034] irq event stamp: 4786921
[36776.337035] hardirqs last enabled at (4786927): [] __up_console_sem+0x5e/0x70
[36776.337038] hardirqs last disabled at (4786932): [] __up_console_sem+0x43/0x70
[36776.337040] softirqs last enabled at (4786316): [] __irq_exit_rcu+0xeb/0x160
[36776.337043] softirqs last disabled at (4786305): [] __irq_exit_rcu+0xeb/0x160
[36776.337046] ---[ end trace 0000000000000000 ]---
[36776.337049] BTRFS warning (device dm-11): block group 1372585984 has wrong amount of free space
[36776.337052] BTRFS warning (device dm-11): failed to load free space cache for block group 1372585984, rebuilding it now
[36778.295779] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 1, rd 0, flush 0, corrupt 0, gen 0
[36778.295787] BTRFS warning (device dm-11): direct IO failed ino 12768 rw 1,34817 sector 0x4ca450 len 86016 err no 10
[36778.295809] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 1, rd 1, flush 0, corrupt 0, gen 0
[36778.295815] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 1, rd 2, flush 0, corrupt 0, gen 0
[36778.295821] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[36778.295824] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 2, rd 2, flush 0, corrupt 0, gen 0
[36778.295953] BTRFS error (device dm-11): error writing primary super block to device 1
[36778.295957] BTRFS: error (device dm-11) in write_all_supers:4356: errno=-5 IO failure (1 errors while writing supers)
[36778.296354] BTRFS info (device dm-11: state E): forced readonly
[36778.296359] BTRFS: error (device dm-11: state EA) in btrfs_sync_log:3205: errno=-5 IO failure
[36778.299593] BTRFS warning (device dm-11: state EA): direct IO failed ino 12686 rw 0,0 sector 0x4a7318 len 69632 err no 10
[36778.299650] BTRFS warning (device dm-11: state EA): direct IO failed ino 12798 rw 0,0 sector 0x4b8740 len 24576 err no 10
[36778.312428] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[36778.330107] BTRFS warning (device dm-11: state EA): direct IO failed ino 13050 rw 0,0 sector 0x4c4618 len 4096 err no 10
[36778.353681] BTRFS warning (device dm-11: state EA): direct IO failed ino 12944 rw 0,0 sector 0x24ed60 len 4096 err no 10
[36778.357442] BTRFS warning (device dm-11: state EA): direct IO failed ino 12797 rw 0,0 sector 0x4bbf80 len 65536 err no 10
[36778.357781] BTRFS warning (device dm-11: state EA): direct IO failed ino 12771 rw 0,0 sector 0x1d2460 len 20480 err no 10
[36778.953186] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[36778.953195] BTRFS info (device dm-11): use lzo compression, level 0
[36778.953198] BTRFS info (device dm-11): disk space caching is enabled
[36778.958408] BTRFS info (device dm-11): auto enabling async discard
[36780.990751] btrfs_dev_stat_inc_and_print: 34 callbacks suppressed
[36780.990754] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 1, rd 0, flush 0, corrupt 0, gen 0
[36780.990867] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 2, rd 0, flush 0, corrupt 0, gen 0
[36780.992463] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 3, rd 0, flush 0, corrupt 0, gen 0
[36780.992468] BTRFS warning (device dm-11): direct IO failed ino 13149 rw 1,34817 sector 0x4f9d20 len 77824 err no 10
[36780.993152] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 4, rd 0, flush 0, corrupt 0, gen 0
[36780.993160] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 5, rd 0, flush 0, corrupt 0, gen 0
[36780.993516] BTRFS: error (device dm-11) in btrfs_commit_transaction:2496: errno=-5 IO failure (Error while writing out transaction)
[36780.993973] BTRFS info (device dm-11: state E): forced readonly
[36780.993977] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[36780.993980] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[36780.994935] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 6, rd 0, flush 0, corrupt 0, gen 0
[36780.995340] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 7, rd 0, flush 0, corrupt 0, gen 0
[36781.005172] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[36781.009278] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 8, rd 0, flush 0, corrupt 0, gen 0
[36781.621241] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[36781.621249] BTRFS info (device dm-11): use lzo compression, level 0
[36781.621252] BTRFS info (device dm-11): disk space caching is enabled
[36781.625105] BTRFS info (device dm-11): auto enabling async discard
[36781.625109] BTRFS info (device dm-11): start tree-log replay
[36781.639925] ------------[ cut here ]------------
[36781.639994] WARNING: CPU: 0 PID: 1270608 at fs/btrfs/discard.c:604 btrfs_discard_update_discardable+0x98/0xb0
[36781.640001] Modules linked in: dm_thin_pool dm_persistent_data dm_bio_prison dm_log_writes dm_dust dm_flakey nft_fib_inet nft_fib_ipv4 nft_fib_ipv6 nft_fib nft_reject_inet nf_reject_ipv4 nf_reject_ipv6 nft_reject nft_ct nft_chain_nat nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 ip6_tables nft_compat ip_set rfkill nf_tables nfnetlink snd_hda_codec_generic snd_hda_intel snd_intel_dspcfg iTCO_wdt iTCO_vendor_support intel_rapl_msr snd_hda_codec joydev snd_hwdep intel_rapl_common snd_hda_core virtio_balloon snd_pcm snd_timer snd i2c_i801 soundcore i2c_smbus lpc_ich zram ip_tables xfs crct10dif_pclmul crc32_pclmul crc32c_intel ghash_clmulni_intel serio_raw qemu_fw_cfg
[36781.640066] CPU: 0 PID: 1270608 Comm: kworker/u4:0 Tainted: G W 5.19.0-rc8+ #786
[36781.640068] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.13.0-2.fc32 04/01/2014
[36781.640070] Workqueue: btrfs-cache btrfs_work_helper
[36781.640075] RIP: 0010:btrfs_discard_update_discardable+0x98/0xb0
[36781.640078] Code: 17 00 00 48 8b 83 80 00 00 00 48 89 83 88 00 00 00 5b 5d c3 cc cc cc cc 48 8d 7b 18 be ff ff ff ff e8 9c 98 7e 00 85 c0 75 ac <0f> 0b eb a8 c3 cc cc cc cc 66 66 2e 0f 1f 84 00 00 00 00 00 0f 1f
[36781.640080] RSP: 0018:ffffba8a461e3ad0 EFLAGS: 00010246
[36781.640083] RAX: 0000000000000000 RBX: ffff987dc3e8e800 RCX: 0000000000000001
[36781.640085] RDX: 0000000000000000 RSI: ffffffff90807c93 RDI: ffffffff908a825e
[36781.640087] RBP: ffff987dd691c000 R08: 0000000000000000 R09: 0000000000000001
[36781.640088] R10: 0000000000065260 R11: 0000000000903601 R12: ffff987dc38d2810
[36781.640090] R13: ffff987dc1fbeb30 R14: ffff987dd691c000 R15: ffff987dc17eed20
[36781.640092] FS: 0000000000000000(0000) GS:ffff987e3bc00000(0000) knlGS:0000000000000000
[36781.640093] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[36781.640095] CR2: 00007ff6833aef60 CR3: 000000010f11e003 CR4: 0000000000370ef0
[36781.640100] Call Trace:
[36781.640103]
[36781.640107] __btrfs_remove_free_space_cache+0x27/0x30
[36781.640112] load_free_space_cache+0xad2/0xaf0
[36781.640152] caching_thread+0x40b/0x650
[36781.640160] ? lock_release+0x137/0x2d0
[36781.640167] btrfs_work_helper+0xf2/0x3e0
[36781.640170] ? lock_is_held_type+0xe2/0x140
[36781.640177] process_one_work+0x271/0x590
[36781.640186] ? process_one_work+0x590/0x590
[36781.640189] worker_thread+0x52/0x3b0
[36781.640194] ? process_one_work+0x590/0x590
[36781.640196] kthread+0xf0/0x120
[36781.640199] ? kthread_complete_and_exit+0x20/0x20
[36781.640204] ret_from_fork+0x1f/0x30
[36781.640224]
[36781.640225] irq event stamp: 7658971
[36781.640227] hardirqs last enabled at (7658977): [] __up_console_sem+0x5e/0x70
[36781.640230] hardirqs last disabled at (7658982): [] __up_console_sem+0x43/0x70
[36781.640255] softirqs last enabled at (7658338): [] __irq_exit_rcu+0xeb/0x160
[36781.640258] softirqs last disabled at (7658331): [] __irq_exit_rcu+0xeb/0x160
[36781.640260] ---[ end trace 0000000000000000 ]---
[36781.640283] BTRFS warning (device dm-11): block group 1372585984 has wrong amount of free space
[36781.640299] BTRFS warning (device dm-11): failed to load free space cache for block group 1372585984, rebuilding it now
[36783.733879] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[36783.733886] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 1, rd 0, flush 0, corrupt 0, gen 0
[36783.733890] BTRFS error (device dm-11): error writing primary super block to device 1
[36783.733892] BTRFS: error (device dm-11) in write_all_supers:4356: errno=-5 IO failure (1 errors while writing supers)
[36783.734287] BTRFS info (device dm-11: state E): forced readonly
[36783.734297] BTRFS: error (device dm-11: state EA) in btrfs_sync_log:3205: errno=-5 IO failure
[36783.735128] BTRFS warning (device dm-11: state EA): Skipping commit of aborted transaction.
[36783.735133] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[36783.739862] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 1, rd 1, flush 0, corrupt 0, gen 0
[36783.747924] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[36783.764206] BTRFS warning (device dm-11: state EA): direct IO failed ino 13662 rw 0,0 sector 0x4a87f8 len 81920 err no 10
[36783.765594] BTRFS warning (device dm-11: state EA): direct IO failed ino 13709 rw 0,0 sector 0x508248 len 8192 err no 10
[36783.766130] BTRFS warning (device dm-11: state EA): direct IO failed ino 13625 rw 0,0 sector 0x4f93a8 len 28672 err no 10
[36783.768787] BTRFS warning (device dm-11: state EA): direct IO failed ino 13665 rw 0,0 sector 0x432030 len 24576 err no 10
[36784.373958] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[36784.373966] BTRFS info (device dm-11): use lzo compression, level 0
[36784.373968] BTRFS info (device dm-11): disk space caching is enabled
[36784.378780] BTRFS info (device dm-11): auto enabling async discard
[36785.409434] BTRFS warning (device dm-11): direct IO failed ino 14301 rw 1,34817 sector 0x49d7d0 len 90112 err no 10
[36785.409452] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[36785.409459] BTRFS error (device dm-11): error writing primary super block to device 1
[36785.409461] BTRFS: error (device dm-11) in write_all_supers:4356: errno=-5 IO failure (1 errors while writing supers)
[36785.409908] BTRFS info (device dm-11: state E): forced readonly
[36785.409912] BTRFS: error (device dm-11: state EA) in btrfs_sync_log:3205: errno=-5 IO failure
[36785.410583] BTRFS warning (device dm-11: state EA): Skipping commit of aborted transaction.
[36785.410587] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[36785.410839] BTRFS warning (device dm-11: state EA): direct IO failed ino 14259 rw 0,0 sector 0x4adae0 len 81920 err no 10
[36785.424293] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[36785.443866] BTRFS warning (device dm-11: state EA): direct IO failed ino 14206 rw 0,0 sector 0x4a3130 len 12288 err no 10
[36785.445144] BTRFS warning (device dm-11: state EA): direct IO failed ino 14180 rw 0,0 sector 0x1f9980 len 12288 err no 10
[36785.445723] BTRFS warning (device dm-11: state EA): direct IO failed ino 14175 rw 0,0 sector 0x4dc550 len 12288 err no 10
[36785.461861] BTRFS warning (device dm-11: state EA): direct IO failed ino 14277 rw 0,0 sector 0x42d4e0 len 8192 err no 10
[36786.034427] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[36786.034435] BTRFS info (device dm-11): use lzo compression, level 0
[36786.034438] BTRFS info (device dm-11): disk space caching is enabled
[36786.039226] BTRFS info (device dm-11): auto enabling async discard
[36786.067431] ------------[ cut here ]------------
[36786.067562] WARNING: CPU: 1 PID: 1190755 at fs/btrfs/discard.c:604 btrfs_discard_update_discardable+0x98/0xb0
[36786.067570] Modules linked in: dm_thin_pool dm_persistent_data dm_bio_prison dm_log_writes dm_dust dm_flakey nft_fib_inet nft_fib_ipv4 nft_fib_ipv6 nft_fib nft_reject_inet nf_reject_ipv4 nf_reject_ipv6 nft_reject nft_ct nft_chain_nat nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 ip6_tables nft_compat ip_set rfkill nf_tables nfnetlink snd_hda_codec_generic snd_hda_intel snd_intel_dspcfg iTCO_wdt iTCO_vendor_support intel_rapl_msr snd_hda_codec joydev snd_hwdep intel_rapl_common snd_hda_core virtio_balloon snd_pcm snd_timer snd i2c_i801 soundcore i2c_smbus lpc_ich zram ip_tables xfs crct10dif_pclmul crc32_pclmul crc32c_intel ghash_clmulni_intel serio_raw qemu_fw_cfg
[36786.067638] CPU: 1 PID: 1190755 Comm: kworker/u4:5 Tainted: G W 5.19.0-rc8+ #786
[36786.067640] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.13.0-2.fc32 04/01/2014
[36786.067642] Workqueue: btrfs-cache btrfs_work_helper
[36786.067648] RIP: 0010:btrfs_discard_update_discardable+0x98/0xb0
[36786.067650] Code: 17 00 00 48 8b 83 80 00 00 00 48 89 83 88 00 00 00 5b 5d c3 cc cc cc cc 48 8d 7b 18 be ff ff ff ff e8 9c 98 7e 00 85 c0 75 ac <0f> 0b eb a8 c3 cc cc cc cc 66 66 2e 0f 1f 84 00 00 00 00 00 0f 1f
[36786.067653] RSP: 0018:ffffba8a466f7ad0 EFLAGS: 00010246
[36786.067656] RAX: 0000000000000000 RBX: ffff987e00139800 RCX: 0000000000000001
[36786.067657] RDX: 0000000000000000 RSI: ffffffff90807c93 RDI: ffffffff908a825e
[36786.067659] RBP: ffff987dc3f84000 R08: 0000000000000000 R09: ffff987dc9272428
[36786.067661] R10: ffff987dc92725c8 R11: 0000000000000001 R12: ffff987dd5c15810
[36786.067662] R13: ffff987dd54fd890 R14: ffff987dc3f84000 R15: ffff987dc8927540
[36786.067664] FS: 0000000000000000(0000) GS:ffff987e3bd00000(0000) knlGS:0000000000000000
[36786.067666] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[36786.067668] CR2: 0000000000495090 CR3: 0000000106dc4006 CR4: 0000000000370ee0
[36786.067672] Call Trace:
[36786.067674]
[36786.067679] __btrfs_remove_free_space_cache+0x27/0x30
[36786.067684] load_free_space_cache+0xad2/0xaf0
[36786.067725] caching_thread+0x40b/0x650
[36786.067734] ? lock_release+0x137/0x2d0
[36786.067741] btrfs_work_helper+0xf2/0x3e0
[36786.067744] ? lock_is_held_type+0xe2/0x140
[36786.067752] process_one_work+0x271/0x590
[36786.067790] ? process_one_work+0x590/0x590
[36786.067793] worker_thread+0x52/0x3b0
[36786.067798] ? process_one_work+0x590/0x590
[36786.067801] kthread+0xf0/0x120
[36786.067803] ? kthread_complete_and_exit+0x20/0x20
[36786.067808] ret_from_fork+0x1f/0x30
[36786.067822]
[36786.067823] irq event stamp: 21611305
[36786.067825] hardirqs last enabled at (21611311): [] __up_console_sem+0x5e/0x70
[36786.067828] hardirqs last disabled at (21611316): [] __up_console_sem+0x43/0x70
[36786.067830] softirqs last enabled at (21610768): [] __irq_exit_rcu+0xeb/0x160
[36786.067833] softirqs last disabled at (21610757): [] __irq_exit_rcu+0xeb/0x160
[36786.067836] ---[ end trace 0000000000000000 ]---
[36786.067839] BTRFS warning (device dm-11): block group 298844160 has wrong amount of free space
[36786.067857] BTRFS warning (device dm-11): failed to load free space cache for block group 298844160, rebuilding it now
[36787.081697] btrfs_dev_stat_inc_and_print: 14 callbacks suppressed
[36787.081701] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 1, rd 0, flush 0, corrupt 0, gen 0
[36787.081769] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[36787.081774] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 2, rd 0, flush 0, corrupt 0, gen 0
[36787.081779] BTRFS error (device dm-11): error writing primary super block to device 1
[36787.081781] BTRFS: error (device dm-11) in write_all_supers:4356: errno=-5 IO failure (1 errors while writing supers)
[36787.082216] BTRFS info (device dm-11: state E): forced readonly
[36787.082224] BTRFS: error (device dm-11: state EA) in btrfs_sync_log:3205: errno=-5 IO failure
[36787.084318] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 3, rd 0, flush 0, corrupt 0, gen 0
[36787.084667] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 4, rd 0, flush 0, corrupt 0, gen 0
[36787.085282] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 5, rd 0, flush 0, corrupt 0, gen 0
[36787.090964] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[36787.092546] BTRFS warning (device dm-11: state EA): Skipping commit of aborted transaction.
[36787.092550] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[36787.097661] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 6, rd 0, flush 0, corrupt 0, gen 0
[36787.097697] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 7, rd 0, flush 0, corrupt 0, gen 0
[36787.098867] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 8, rd 0, flush 0, corrupt 0, gen 0
[36787.099659] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 9, rd 0, flush 0, corrupt 0, gen 0
[36787.100824] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 9, rd 1, flush 0, corrupt 0, gen 0
[36787.100847] BTRFS warning (device dm-11: state EA): direct IO failed ino 14409 rw 0,0 sector 0x4e2b30 len 8192 err no 10
[36787.100920] BTRFS warning (device dm-11: state EA): direct IO failed ino 14409 rw 0,0 sector 0x4e2798 len 20480 err no 10
[36787.100931] BTRFS warning (device dm-11: state EA): direct IO failed ino 14409 rw 0,0 sector 0x4dabc8 len 4096 err no 10
[36787.101222] BTRFS warning (device dm-11: state EA): direct IO failed ino 14381 rw 0,0 sector 0x50bce0 len 36864 err no 10
[36787.697238] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[36787.697246] BTRFS info (device dm-11): use lzo compression, level 0
[36787.697249] BTRFS info (device dm-11): disk space caching is enabled
[36787.700746] BTRFS info (device dm-11): auto enabling async discard
[36787.700750] BTRFS info (device dm-11): start tree-log replay
[36787.714439] BTRFS info (device dm-11): the free space cache file (1372585984) is invalid, skip it
[36789.805018] BTRFS warning (device dm-11): direct IO failed ino 15099 rw 1,34817 sector 0x4f4d20 len 118784 err no 10
[36789.805056] BTRFS warning (device dm-11): direct IO failed ino 14625 rw 1,34817 sector 0x43f210 len 36864 err no 10
[36789.805067] BTRFS warning (device dm-11): direct IO failed ino 15009 rw 1,34817 sector 0x4069b8 len 114688 err no 10
[36789.815627] BTRFS warning (device dm-11): direct IO failed ino 14889 rw 1,34817 sector 0x4f2a38 len 49152 err no 10
[36789.817281] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[36789.818380] BTRFS warning (device dm-11): direct IO failed ino 14667 rw 1,34817 sector 0x4069b8 len 73728 err no 10
[36789.825779] BTRFS warning (device dm-11): direct IO failed ino 14758 rw 1,34817 sector 0x4f4d20 len 110592 err no 10
[36789.826849] BTRFS warning (device dm-11): direct IO failed ino 14736 rw 1,34817 sector 0x3fee90 len 8192 err no 10
[36789.828809] BTRFS warning (device dm-11): direct IO failed ino 10635 rw 1,34817 sector 0x4069b8 len 94208 err no 10
[36789.840205] BTRFS: error (device dm-11: state A) in btrfs_rename_exchange:9254: errno=-5 IO failure
[36789.840574] BTRFS: error (device dm-11: state A) in __btrfs_free_extent:3078: errno=-5 IO failure
[36789.840720] BTRFS info (device dm-11: state EA): forced readonly
[36789.841009] BTRFS: error (device dm-11: state EA) in btrfs_run_delayed_refs:2141: errno=-5 IO failure
[36790.462829] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[36790.462837] BTRFS info (device dm-11): use lzo compression, level 0
[36790.462840] BTRFS info (device dm-11): disk space caching is enabled
[36790.467619] BTRFS info (device dm-11): auto enabling async discard
[36790.467623] BTRFS info (device dm-11): start tree-log replay
[36792.573978] btrfs_dev_stat_inc_and_print: 222 callbacks suppressed
[36792.573982] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 1, rd 0, flush 0, corrupt 0, gen 0
[36792.574035] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 2, rd 0, flush 0, corrupt 0, gen 0
[36792.574138] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 3, rd 0, flush 0, corrupt 0, gen 0
[36792.582577] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[36792.585646] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 4, rd 0, flush 0, corrupt 0, gen 0
[36792.586301] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 4, rd 1, flush 0, corrupt 0, gen 0
[36792.589777] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 4, rd 2, flush 0, corrupt 0, gen 0
[36792.589803] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 5, rd 2, flush 0, corrupt 0, gen 0
[36792.589809] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 6, rd 2, flush 0, corrupt 0, gen 0
[36792.590446] BTRFS: error (device dm-11) in btrfs_commit_transaction:2496: errno=-5 IO failure (Error while writing out transaction)
[36792.590479] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 7, rd 2, flush 0, corrupt 0, gen 0
[36792.590885] BTRFS info (device dm-11: state E): forced readonly
[36792.590887] BTRFS error (device dm-11: state E): bdev /dev/mapper/error-test errs: wr 8, rd 2, flush 0, corrupt 0, gen 0
[36792.590890] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[36792.590893] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[36793.217633] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[36793.217640] BTRFS info (device dm-11): use lzo compression, level 0
[36793.217643] BTRFS info (device dm-11): disk space caching is enabled
[36793.221771] BTRFS info (device dm-11): auto enabling async discard
[36793.221775] BTRFS info (device dm-11): start tree-log replay
[36793.337793] BTRFS warning (device dm-11): direct IO failed ino 15592 rw 1,34817 sector 0x407520 len 49152 err no 10
[36793.340921] BTRFS: error (device dm-11: state A) in __btrfs_free_extent:3078: errno=-5 IO failure
[36793.341255] BTRFS info (device dm-11: state EA): forced readonly
[36793.341260] BTRFS: error (device dm-11: state EA) in btrfs_run_delayed_refs:2141: errno=-5 IO failure
[36793.352735] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[36793.883858] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[36793.883866] BTRFS info (device dm-11): use lzo compression, level 0
[36793.883869] BTRFS info (device dm-11): disk space caching is enabled
[36793.888515] BTRFS info (device dm-11): auto enabling async discard
[36793.920635] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[36793.953614] BTRFS error (device dm-11): error reading free space cache
[36793.953635] BTRFS warning (device dm-11): failed to load free space cache for block group 298844160, rebuilding it now
[36793.954266] BTRFS error (device dm-11): error reading free space cache
[36793.954270] BTRFS warning (device dm-11): failed to load free space cache for block group 1372585984, rebuilding it now
[36793.956031] BTRFS: error (device dm-11: state A) in __btrfs_free_extent:3078: errno=-5 IO failure
[36793.956398] BTRFS info (device dm-11: state EA): forced readonly
[36793.956403] BTRFS: error (device dm-11: state EA) in btrfs_run_delayed_refs:2141: errno=-5 IO failure
[36794.440765] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[36794.440773] BTRFS info (device dm-11): use lzo compression, level 0
[36794.440776] BTRFS info (device dm-11): disk space caching is enabled
[36794.444623] BTRFS info (device dm-11): auto enabling async discard
[36794.481503] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[36794.503054] BTRFS error (device dm-11): error reading free space cache
[36794.503078] BTRFS warning (device dm-11): failed to load free space cache for block group 298844160, rebuilding it now
[36794.503842] BTRFS error (device dm-11): error reading free space cache
[36794.503846] BTRFS warning (device dm-11): failed to load free space cache for block group 1372585984, rebuilding it now
[36794.504943] BTRFS: error (device dm-11: state A) in __btrfs_free_extent:3078: errno=-5 IO failure
[36794.505284] BTRFS info (device dm-11: state EA): forced readonly
[36794.505288] BTRFS: error (device dm-11: state EA) in btrfs_run_delayed_refs:2141: errno=-5 IO failure
[36794.971960] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[36794.971967] BTRFS info (device dm-11): use lzo compression, level 0
[36794.971970] BTRFS info (device dm-11): disk space caching is enabled
[36794.976381] BTRFS info (device dm-11): auto enabling async discard
[36795.014611] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[36795.038971] BTRFS: error (device dm-11: state A) in btrfs_run_delayed_refs:2141: errno=-5 IO failure
[36795.039470] BTRFS info (device dm-11: state EA): forced readonly
[36795.522850] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[36795.522859] BTRFS info (device dm-11): use lzo compression, level 0
[36795.522861] BTRFS info (device dm-11): disk space caching is enabled
[36795.527270] BTRFS info (device dm-11): auto enabling async discard