[39404.428174] run fstests generic/475 at 2022-08-11 07:50:14
[39405.281705] BTRFS: device fsid 6eaead5a-c924-4b5a-b680-fa906b65cde3 devid 1 transid 6 /dev/mapper/vg0-lv9 scanned by mkfs.btrfs (1364853)
[39405.501975] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[39405.501984] BTRFS info (device dm-11): setting incompat feature flag for COMPRESS_ZSTD (0x10)
[39405.501986] BTRFS info (device dm-11): use zstd compression, level 3
[39405.501989] BTRFS info (device dm-11): turning on async discard
[39405.501991] BTRFS info (device dm-11): disk space caching is enabled
[39405.505955] BTRFS info (device dm-11): checking UUID tree
[39405.570159] btrfs_dev_stat_inc_and_print: 2 callbacks suppressed
[39405.570170] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 1, rd 0, flush 0, corrupt 0, gen 0
[39405.571577] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[39405.571582] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 2, rd 0, flush 0, corrupt 0, gen 0
[39405.571664] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[39405.571668] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 3, rd 0, flush 0, corrupt 0, gen 0
[39405.571826] BTRFS error (device dm-11): error writing primary super block to device 1
[39405.571830] BTRFS: error (device dm-11) in write_all_supers:4342: errno=-5 IO failure (1 errors while writing supers)
[39405.572770] BTRFS info (device dm-11: state E): forced readonly
[39405.572777] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[39405.572788] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[39405.575633] BTRFS warning (device dm-11: state EA): Skipping commit of aborted transaction.
[39405.576271] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[39405.578364] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 4, rd 0, flush 0, corrupt 0, gen 0
[39405.580118] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 4, rd 1, flush 0, corrupt 0, gen 0
[39405.580653] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 4, rd 2, flush 0, corrupt 0, gen 0
[39405.591462] buffer_io_error: 760 callbacks suppressed
[39405.591465] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[39405.638815] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 4, rd 3, flush 0, corrupt 0, gen 0
[39405.640905] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 4, rd 4, flush 0, corrupt 0, gen 0
[39405.640959] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 4, rd 5, flush 0, corrupt 0, gen 0
[39406.158286] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[39406.158296] BTRFS info (device dm-11): setting incompat feature flag for COMPRESS_ZSTD (0x10)
[39406.158299] BTRFS info (device dm-11): use zstd compression, level 3
[39406.158302] BTRFS info (device dm-11): turning on async discard
[39406.158303] BTRFS info (device dm-11): disk space caching is enabled
[39406.162153] BTRFS info (device dm-11): checking UUID tree
[39406.189662] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 1, rd 0, flush 0, corrupt 0, gen 0
[39406.190747] BTRFS warning (device dm-11): direct IO failed ino 270 rw 1,34817 sector 0x6888 len 32768 err no 10
[39406.195673] BTRFS: error (device dm-11) in btrfs_commit_transaction:2496: errno=-5 IO failure (Error while writing out transaction)
[39406.196454] BTRFS info (device dm-11: state E): forced readonly
[39406.196458] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[39406.196461] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[39406.203794] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[39406.754704] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[39406.754713] BTRFS info (device dm-11): setting incompat feature flag for COMPRESS_ZSTD (0x10)
[39406.754716] BTRFS info (device dm-11): use zstd compression, level 3
[39406.754719] BTRFS info (device dm-11): turning on async discard
[39406.754720] BTRFS info (device dm-11): disk space caching is enabled
[39406.758823] BTRFS info (device dm-11): checking UUID tree
[39407.790469] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[39407.790491] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[39407.790506] BTRFS error (device dm-11): error writing primary super block to device 1
[39407.790510] BTRFS: error (device dm-11) in write_all_supers:4342: errno=-5 IO failure (1 errors while writing supers)
[39407.791373] BTRFS info (device dm-11: state E): forced readonly
[39407.791380] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[39407.791395] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[39407.797913] BTRFS warning (device dm-11: state EA): Skipping commit of aborted transaction.
[39407.797926] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[39407.800218] BTRFS warning (device dm-11: state EA): direct IO failed ino 258 rw 0,0 sector 0x8f40 len 32768 err no 10
[39407.800555] BTRFS warning (device dm-11: state EA): direct IO failed ino 267 rw 0,0 sector 0x119628 len 12288 err no 10
[39407.801653] BTRFS warning (device dm-11: state EA): direct IO failed ino 288 rw 0,0 sector 0x1197d8 len 106496 err no 10
[39407.802974] BTRFS warning (device dm-11: state EA): direct IO failed ino 307 rw 0,0 sector 0x9618 len 53248 err no 10
[39407.803382] BTRFS warning (device dm-11: state EA): direct IO failed ino 290 rw 0,0 sector 0x9c88 len 4096 err no 10
[39407.804196] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[39407.832308] BTRFS warning (device dm-11: state EA): direct IO failed ino 304 rw 0,0 sector 0x8140 len 16384 err no 10
[39407.856498] BTRFS warning (device dm-11: state EA): direct IO failed ino 261 rw 0,0 sector 0x116af0 len 61440 err no 10
[39408.433498] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[39408.433506] BTRFS info (device dm-11): use zstd compression, level 3
[39408.433510] BTRFS info (device dm-11): turning on async discard
[39408.433511] BTRFS info (device dm-11): disk space caching is enabled
[39408.445906] BTRFS warning (device dm-11): block group 30408704 has wrong amount of free space
[39408.445922] BTRFS warning (device dm-11): failed to load free space cache for block group 30408704, rebuilding it now
[39409.457218] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[39409.457233] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[39409.457252] BTRFS error (device dm-11): error writing primary super block to device 1
[39409.457255] BTRFS: error (device dm-11) in write_all_supers:4342: errno=-5 IO failure (1 errors while writing supers)
[39409.457857] BTRFS info (device dm-11: state E): forced readonly
[39409.457869] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[39409.457871] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[39409.459570] BTRFS warning (device dm-11: state EA): direct IO failed ino 385 rw 0,0 sector 0x9918 len 4096 err no 10
[39409.459586] BTRFS: error (device dm-11: state EA) in btrfs_sync_log:3192: errno=-5 IO failure
[39409.460259] BTRFS warning (device dm-11: state EA): Skipping commit of aborted transaction.
[39409.460263] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[39409.461809] BTRFS warning (device dm-11: state EA): direct IO failed ino 260 rw 0,0 sector 0x12d548 len 12288 err no 10
[39409.475670] BTRFS warning (device dm-11: state EA): direct IO failed ino 416 rw 0,0 sector 0x12adc8 len 20480 err no 10
[39409.478213] BTRFS warning (device dm-11: state EA): direct IO failed ino 362 rw 0,0 sector 0x94e8 len 4096 err no 10
[39409.479489] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[39409.482458] BTRFS warning (device dm-11: state EA): direct IO failed ino 343 rw 0,0 sector 0x113680 len 36864 err no 10
[39409.484654] BTRFS warning (device dm-11: state EA): direct IO failed ino 259 rw 0,0 sector 0x1285d8 len 12288 err no 10
[39409.485514] BTRFS warning (device dm-11: state EA): direct IO failed ino 421 rw 0,0 sector 0x12c250 len 12288 err no 10
[39409.491898] BTRFS warning (device dm-11: state EA): direct IO failed ino 362 rw 0,0 sector 0x12d7d8 len 4096 err no 10
[39409.493440] BTRFS warning (device dm-11: state EA): direct IO failed ino 343 rw 0,0 sector 0x11fcc0 len 16384 err no 10
[39409.504655] BTRFS warning (device dm-11: state EA): direct IO failed ino 266 rw 0,0 sector 0x1285d8 len 12288 err no 10
[39409.505274] BTRFS warning (device dm-11: state EA): direct IO failed ino 259 rw 0,0 sector 0x127120 len 28672 err no 10
[39409.508108] BTRFS warning (device dm-11: state EA): direct IO failed ino 266 rw 0,0 sector 0x1285d8 len 4096 err no 10
[39409.508265] BTRFS warning (device dm-11: state EA): direct IO failed ino 260 rw 0,0 sector 0x12dc28 len 24576 err no 10
[39409.508744] BTRFS warning (device dm-11: state EA): direct IO failed ino 342 rw 0,0 sector 0x11ec10 len 61440 err no 10
[39409.509120] BTRFS warning (device dm-11: state EA): direct IO failed ino 267 rw 0,0 sector 0x1291e8 len 73728 err no 10
[39409.520924] BTRFS warning (device dm-11: state EA): direct IO failed ino 266 rw 0,0 sector 0x1285d8 len 12288 err no 10
[39410.119929] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[39410.119938] BTRFS info (device dm-11): use zstd compression, level 3
[39410.119941] BTRFS info (device dm-11): turning on async discard
[39410.119942] BTRFS info (device dm-11): disk space caching is enabled
[39410.143661] ------------[ cut here ]------------
[39410.143747] WARNING: CPU: 1 PID: 1312773 at fs/btrfs/discard.c:604 btrfs_discard_update_discardable+0x98/0xb0
[39410.143761] Modules linked in: dm_thin_pool dm_persistent_data dm_bio_prison dm_log_writes dm_dust dm_flakey nft_fib_inet nft_fib_ipv4 nft_fib_ipv6 nft_fib nft_reject_inet nf_reject_ipv4 nf_reject_ipv6 nft_reject nft_ct nft_chain_nat nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 ip6_tables nft_compat ip_set rfkill nf_tables nfnetlink intel_rapl_msr snd_hda_codec_generic iTCO_wdt snd_hda_intel iTCO_vendor_support snd_intel_dspcfg snd_hda_codec snd_hwdep snd_hda_core snd_pcm joydev snd_timer intel_rapl_common snd virtio_balloon i2c_i801 i2c_smbus soundcore lpc_ich zram ip_tables crct10dif_pclmul xfs crc32_pclmul crc32c_intel ghash_clmulni_intel serio_raw qemu_fw_cfg
[39410.143872] CPU: 1 PID: 1312773 Comm: kworker/u4:1 Tainted: G        W         5.19.0-rc8+ #793
[39410.143876] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.13.0-2.fc32 04/01/2014
[39410.143881] Workqueue: btrfs-cache btrfs_work_helper
[39410.143891] RIP: 0010:btrfs_discard_update_discardable+0x98/0xb0
[39410.143895] Code: 17 00 00 48 8b 83 80 00 00 00 48 89 83 88 00 00 00 5b 5d c3 cc cc cc cc 48 8d 7b 18 be ff ff ff ff e8 2c 9a 7e 00 85 c0 75 ac <0f> 0b eb a8 c3 cc cc cc cc 66 66 2e 0f 1f 84 00 00 00 00 00 0f 1f
[39410.143898] RSP: 0018:ffff9dd6c263bad0 EFLAGS: 00010246
[39410.143902] RAX: 0000000000000000 RBX: ffff8c68c03b3400 RCX: 0000000000000001
[39410.143909] RDX: 0000000000000000 RSI: ffffffff9b807c5b RDI: ffffffff9b8a831e
[39410.143912] RBP: ffff8c68c5d58000 R08: 0000000000000000 R09: 0000000080270025
[39410.143914] R10: 0000000000062a01 R11: 00000000009cb800 R12: ffff8c693128e810
[39410.143917] R13: ffff8c68dd969760 R14: ffff8c68c5d58000 R15: ffff8c68d66e9af0
[39410.143919] FS:  0000000000000000(0000) GS:ffff8c693bd00000(0000) knlGS:0000000000000000
[39410.143922] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[39410.143925] CR2: 00007f952aa99000 CR3: 0000000107132003 CR4: 0000000000370ee0
[39410.143933] Call Trace:
[39410.143936]  
[39410.143942]  __btrfs_remove_free_space_cache+0x27/0x30
[39410.143948]  load_free_space_cache+0xad2/0xaf0
[39410.144053]  caching_thread+0x40b/0x650
[39410.144068]  ? lock_release+0x137/0x2d0
[39410.144081]  btrfs_work_helper+0xf2/0x3e0
[39410.144085]  ? lock_is_held_type+0xe2/0x140
[39410.144097]  process_one_work+0x271/0x590
[39410.144114]  worker_thread+0x52/0x3b0
[39410.144122]  ? process_one_work+0x590/0x590
[39410.144127]  kthread+0xf0/0x120
[39410.144131]  ? kthread_complete_and_exit+0x20/0x20
[39410.144139]  ret_from_fork+0x1f/0x30
[39410.144162]  
[39410.144169] irq event stamp: 7015993
[39410.144172] hardirqs last  enabled at (7015999): [] __up_console_sem+0x5e/0x70
[39410.144179] hardirqs last disabled at (7016004): [] __up_console_sem+0x43/0x70
[39410.144183] softirqs last  enabled at (7015926): [] __irq_exit_rcu+0xeb/0x160
[39410.144187] softirqs last disabled at (7015921): [] __irq_exit_rcu+0xeb/0x160
[39410.144191] ---[ end trace 0000000000000000 ]---
[39410.144195] BTRFS warning (device dm-11): block group 298844160 has wrong amount of free space
[39410.144336] BTRFS warning (device dm-11): failed to load free space cache for block group 298844160, rebuilding it now
[39412.150486] btrfs_dev_stat_inc_and_print: 60 callbacks suppressed
[39412.150490] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 1, rd 0, flush 0, corrupt 0, gen 0
[39412.150496] BTRFS warning (device dm-11): direct IO failed ino 259 rw 1,34817 sector 0x14e0e8 len 12288 err no 10
[39412.150516] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 2, rd 0, flush 0, corrupt 0, gen 0
[39412.153009] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 3, rd 0, flush 0, corrupt 0, gen 0
[39412.153017] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 4, rd 0, flush 0, corrupt 0, gen 0
[39412.153351] BTRFS: error (device dm-11) in btrfs_commit_transaction:2496: errno=-5 IO failure (Error while writing out transaction)
[39412.154145] BTRFS info (device dm-11: state E): forced readonly
[39412.154149] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[39412.154152] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[39412.156938] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 5, rd 0, flush 0, corrupt 0, gen 0
[39412.161085] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[39412.783865] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[39412.783876] BTRFS info (device dm-11): use zstd compression, level 3
[39412.783881] BTRFS info (device dm-11): turning on async discard
[39412.783884] BTRFS info (device dm-11): disk space caching is enabled
[39412.789240] BTRFS info (device dm-11): start tree-log replay
[39412.796574] BTRFS info (device dm-11): the free space cache file (298844160) is invalid, skip it
[39413.857644] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[39413.857651] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 1, rd 0, flush 0, corrupt 0, gen 0
[39413.857666] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[39413.857669] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 2, rd 0, flush 0, corrupt 0, gen 0
[39413.857679] BTRFS error (device dm-11): error writing primary super block to device 1
[39413.857683] BTRFS: error (device dm-11) in write_all_supers:4342: errno=-5 IO failure (1 errors while writing supers)
[39413.858608] BTRFS info (device dm-11: state E): forced readonly
[39413.858613] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[39413.858621] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[39413.863645] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 3, rd 0, flush 0, corrupt 0, gen 0
[39413.865384] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 4, rd 0, flush 0, corrupt 0, gen 0
[39413.865831] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 5, rd 0, flush 0, corrupt 0, gen 0
[39413.866226] BTRFS warning (device dm-11: state EA): Skipping commit of aborted transaction.
[39413.866230] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[39413.866581] BTRFS warning (device dm-11: state EA): direct IO failed ino 267 rw 0,0 sector 0x155840 len 40960 err no 10
[39413.871403] BTRFS warning (device dm-11: state EA): direct IO failed ino 272 rw 0,0 sector 0x15a6d8 len 57344 err no 10
[39413.873362] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[39413.910548] BTRFS warning (device dm-11: state EA): direct IO failed ino 580 rw 0,0 sector 0x155cc0 len 24576 err no 10
[39414.462311] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[39414.462319] BTRFS info (device dm-11): use zstd compression, level 3
[39414.462322] BTRFS info (device dm-11): turning on async discard
[39414.462324] BTRFS info (device dm-11): disk space caching is enabled
[39415.491486] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[39415.491505] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[39415.491514] BTRFS error (device dm-11): error writing primary super block to device 1
[39415.491518] BTRFS: error (device dm-11) in write_all_supers:4342: errno=-5 IO failure (1 errors while writing supers)
[39415.492132] BTRFS info (device dm-11: state E): forced readonly
[39415.492138] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[39415.492147] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[39415.493408] BTRFS warning (device dm-11: state EA): direct IO failed ino 260 rw 0,0 sector 0x16afc8 len 77824 err no 10
[39415.496487] BTRFS warning (device dm-11: state EA): Skipping commit of aborted transaction.
[39415.496495] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[39415.498172] BTRFS warning (device dm-11: state EA): direct IO failed ino 257 rw 0,0 sector 0x1696f8 len 73728 err no 10
[39415.498223] BTRFS warning (device dm-11: state EA): direct IO failed ino 257 rw 0,0 sector 0x166d28 len 4096 err no 10
[39415.498898] BTRFS warning (device dm-11: state EA): direct IO failed ino 443 rw 0,0 sector 0x1663e8 len 4096 err no 10
[39415.500749] BTRFS warning (device dm-11: state EA): direct IO failed ino 626 rw 0,0 sector 0x1613b8 len 45056 err no 10
[39415.501735] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[39416.086821] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[39416.086829] BTRFS info (device dm-11): use zstd compression, level 3
[39416.086832] BTRFS info (device dm-11): turning on async discard
[39416.086834] BTRFS info (device dm-11): disk space caching is enabled
[39416.090496] BTRFS info (device dm-11): start tree-log replay
[39418.176313] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[39418.176320] btrfs_dev_stat_inc_and_print: 46 callbacks suppressed
[39418.176322] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 1, rd 0, flush 0, corrupt 0, gen 0
[39418.176335] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[39418.176338] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 2, rd 0, flush 0, corrupt 0, gen 0
[39418.176345] BTRFS error (device dm-11): error writing primary super block to device 1
[39418.176350] BTRFS: error (device dm-11) in write_all_supers:4342: errno=-5 IO failure (1 errors while writing supers)
[39418.177026] BTRFS info (device dm-11: state E): forced readonly
[39418.177032] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[39418.177035] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[39418.178087] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 2, rd 1, flush 0, corrupt 0, gen 0
[39418.179669] BTRFS warning (device dm-11: state EA): direct IO failed ino 258 rw 0,0 sector 0x185590 len 24576 err no 10
[39418.180134] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 2, rd 2, flush 0, corrupt 0, gen 0
[39418.180302] BTRFS warning (device dm-11: state EA): direct IO failed ino 257 rw 0,0 sector 0x186458 len 4096 err no 10
[39418.181148] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 3, rd 2, flush 0, corrupt 0, gen 0
[39418.181824] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 4, rd 2, flush 0, corrupt 0, gen 0
[39418.183001] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 4, rd 3, flush 0, corrupt 0, gen 0
[39418.183017] BTRFS warning (device dm-11: state EA): direct IO failed ino 701 rw 0,0 sector 0x186330 len 8192 err no 10
[39418.185551] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 4, rd 4, flush 0, corrupt 0, gen 0
[39418.185567] BTRFS warning (device dm-11: state EA): direct IO failed ino 261 rw 0,0 sector 0x18b9c8 len 45056 err no 10
[39418.187287] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 4, rd 5, flush 0, corrupt 0, gen 0
[39418.187302] BTRFS warning (device dm-11: state EA): direct IO failed ino 257 rw 0,0 sector 0x18bc10 len 8192 err no 10
[39418.187710] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[39418.819935] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[39418.819944] BTRFS info (device dm-11): use zstd compression, level 3
[39418.819946] BTRFS info (device dm-11): turning on async discard
[39418.819948] BTRFS info (device dm-11): disk space caching is enabled
[39418.850778] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 0, rd 1, flush 0, corrupt 0, gen 0
[39418.854518] BTRFS: error (device dm-11: state A) in create_subvol:735: errno=-5 IO failure
[39418.855038] BTRFS info (device dm-11: state EA): forced readonly
[39418.861342] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[39419.401223] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[39419.401250] BTRFS info (device dm-11): use zstd compression, level 3
[39419.401253] BTRFS info (device dm-11): turning on async discard
[39419.401255] BTRFS info (device dm-11): disk space caching is enabled
[39420.438020] BTRFS: error (device dm-11) in btrfs_commit_transaction:2496: errno=-5 IO failure (Error while writing out transaction)
[39420.438661] BTRFS info (device dm-11: state E): forced readonly
[39420.438666] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[39420.438669] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[39420.443541] BTRFS warning (device dm-11: state EA): Skipping commit of aborted transaction.
[39420.443547] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[39420.450472] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[39421.056191] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[39421.056199] BTRFS info (device dm-11): use zstd compression, level 3
[39421.056202] BTRFS info (device dm-11): turning on async discard
[39421.056204] BTRFS info (device dm-11): disk space caching is enabled
[39423.093674] BTRFS: error (device dm-11) in btrfs_commit_transaction:2496: errno=-5 IO failure (Error while writing out transaction)
[39423.094438] BTRFS info (device dm-11: state E): forced readonly
[39423.094443] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[39423.094446] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[39423.102652] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[39423.737664] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[39423.737672] BTRFS info (device dm-11): use zstd compression, level 3
[39423.737675] BTRFS info (device dm-11): turning on async discard
[39423.737677] BTRFS info (device dm-11): disk space caching is enabled
[39423.773981] btrfs_dev_stat_inc_and_print: 132 callbacks suppressed
[39423.773985] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 0, rd 1, flush 0, corrupt 0, gen 0
[39423.774045] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 0, rd 2, flush 0, corrupt 0, gen 0
[39423.777066] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 0, rd 3, flush 0, corrupt 0, gen 0
[39423.777275] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 0, rd 4, flush 0, corrupt 0, gen 0
[39423.777281] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 1, rd 4, flush 0, corrupt 0, gen 0
[39423.777350] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 2, rd 4, flush 0, corrupt 0, gen 0
[39423.777421] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 3, rd 4, flush 0, corrupt 0, gen 0
[39423.777431] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 4, rd 4, flush 0, corrupt 0, gen 0
[39423.777531] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 4, rd 5, flush 0, corrupt 0, gen 0
[39423.777571] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 4, rd 6, flush 0, corrupt 0, gen 0
[39423.779637] BTRFS: error (device dm-11: state A) in __btrfs_free_extent:3078: errno=-5 IO failure
[39423.780326] BTRFS info (device dm-11: state EA): forced readonly
[39423.780334] BTRFS: error (device dm-11: state EA) in btrfs_run_delayed_refs:2141: errno=-5 IO failure
[39423.787329] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[39424.349709] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[39424.349718] BTRFS info (device dm-11): use zstd compression, level 3
[39424.349721] BTRFS info (device dm-11): turning on async discard
[39424.349723] BTRFS info (device dm-11): disk space caching is enabled
[39426.386089] BTRFS: error (device dm-11) in btrfs_commit_transaction:2496: errno=-5 IO failure (Error while writing out transaction)
[39426.386771] BTRFS info (device dm-11: state E): forced readonly
[39426.386775] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[39426.386778] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[39426.395608] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[39427.044637] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[39427.044646] BTRFS info (device dm-11): use zstd compression, level 3
[39427.044649] BTRFS info (device dm-11): turning on async discard
[39427.044650] BTRFS info (device dm-11): disk space caching is enabled
[39427.086295] BTRFS: error (device dm-11: state A) in btrfs_create_pending_block_groups:2422: errno=-5 IO failure
[39427.087106] BTRFS info (device dm-11: state EA): forced readonly
[39427.087750] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[39427.087756] BTRFS: error (device dm-11: state EA) in btrfs_start_dirty_block_groups:3051: errno=-5 IO failure
[39427.091174] BTRFS warning (device dm-11: state EA): direct IO failed ino 1333 rw 1,34817 sector 0x312800 len 24576 err no 10
[39427.567141] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[39427.567152] BTRFS info (device dm-11): use zstd compression, level 3
[39427.567156] BTRFS info (device dm-11): turning on async discard
[39427.567158] BTRFS info (device dm-11): disk space caching is enabled
[39427.615564] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[39427.631447] BTRFS: error (device dm-11: state A) in __btrfs_run_delayed_items:1182: errno=-5 IO failure
[39427.631975] BTRFS info (device dm-11: state EA): forced readonly
[39427.631979] BTRFS warning (device dm-11: state EA): Skipping commit of aborted transaction.
[39427.631982] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[39427.636386] BTRFS: error (device dm-11: state EA) in do_free_extent_accounting:2848: errno=-5 IO failure
[39427.637250] BTRFS: error (device dm-11: state EA) in btrfs_run_delayed_refs:2141: errno=-5 IO failure
[39428.163685] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[39428.163693] BTRFS info (device dm-11): use zstd compression, level 3
[39428.163696] BTRFS info (device dm-11): turning on async discard
[39428.163698] BTRFS info (device dm-11): disk space caching is enabled
[39428.190545] ------------[ cut here ]------------
[39428.190619] WARNING: CPU: 1 PID: 1327700 at fs/btrfs/discard.c:604 btrfs_discard_update_discardable+0x98/0xb0
[39428.190626] Modules linked in: dm_thin_pool dm_persistent_data dm_bio_prison dm_log_writes dm_dust dm_flakey nft_fib_inet nft_fib_ipv4 nft_fib_ipv6 nft_fib nft_reject_inet nf_reject_ipv4 nf_reject_ipv6 nft_reject nft_ct nft_chain_nat nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 ip6_tables nft_compat ip_set rfkill nf_tables nfnetlink intel_rapl_msr snd_hda_codec_generic iTCO_wdt snd_hda_intel iTCO_vendor_support snd_intel_dspcfg snd_hda_codec snd_hwdep snd_hda_core snd_pcm joydev snd_timer intel_rapl_common snd virtio_balloon i2c_i801 i2c_smbus soundcore lpc_ich zram ip_tables crct10dif_pclmul xfs crc32_pclmul crc32c_intel ghash_clmulni_intel serio_raw qemu_fw_cfg
[39428.190692] CPU: 1 PID: 1327700 Comm: kworker/u4:5 Tainted: G        W         5.19.0-rc8+ #793
[39428.190694] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.13.0-2.fc32 04/01/2014
[39428.190696] Workqueue: btrfs-cache btrfs_work_helper
[39428.190701] RIP: 0010:btrfs_discard_update_discardable+0x98/0xb0
[39428.190704] Code: 17 00 00 48 8b 83 80 00 00 00 48 89 83 88 00 00 00 5b 5d c3 cc cc cc cc 48 8d 7b 18 be ff ff ff ff e8 2c 9a 7e 00 85 c0 75 ac <0f> 0b eb a8 c3 cc cc cc cc 66 66 2e 0f 1f 84 00 00 00 00 00 0f 1f
[39428.190706] RSP: 0018:ffff9dd6c4c63ad0 EFLAGS: 00010246
[39428.190709] RAX: 0000000000000000 RBX: ffff8c68d8f99e00 RCX: 0000000000000001
[39428.190711] RDX: 0000000000000000 RSI: ffffffff9b807c5b RDI: ffffffff9b8a831e
[39428.190712] RBP: ffff8c68c30cc000 R08: 0000000000000000 R09: 0000000000001000
[39428.190714] R10: 000000000005e1ae R11: 00000000009c0700 R12: ffff8c6904a31010
[39428.190716] R13: ffff8c68dde620b0 R14: ffff8c68c30cc000 R15: ffff8c68c53c6230
[39428.190718] FS:  0000000000000000(0000) GS:ffff8c693bd00000(0000) knlGS:0000000000000000
[39428.190720] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[39428.190721] CR2: 00007ffd96da7e40 CR3: 00000001371f0002 CR4: 0000000000370ee0
[39428.190725] Call Trace:
[39428.190727]  
[39428.190732]  __btrfs_remove_free_space_cache+0x27/0x30
[39428.190737]  load_free_space_cache+0xad2/0xaf0
[39428.190776]  caching_thread+0x40b/0x650
[39428.190785]  ? lock_release+0x137/0x2d0
[39428.190792]  btrfs_work_helper+0xf2/0x3e0
[39428.190820]  ? lock_is_held_type+0xe2/0x140
[39428.190828]  process_one_work+0x271/0x590
[39428.190838]  worker_thread+0x52/0x3b0
[39428.190842]  ? process_one_work+0x590/0x590
[39428.190845]  kthread+0xf0/0x120
[39428.190848]  ? kthread_complete_and_exit+0x20/0x20
[39428.190852]  ret_from_fork+0x1f/0x30
[39428.190866]  
[39428.190867] irq event stamp: 2793449
[39428.190869] hardirqs last  enabled at (2793455): [] __up_console_sem+0x5e/0x70
[39428.190872] hardirqs last disabled at (2793460): [] __up_console_sem+0x43/0x70
[39428.190875] softirqs last  enabled at (2793400): [] __irq_exit_rcu+0xeb/0x160
[39428.190878] softirqs last disabled at (2793389): [] __irq_exit_rcu+0xeb/0x160
[39428.190880] ---[ end trace 0000000000000000 ]---
[39428.190884] BTRFS warning (device dm-11): block group 298844160 has wrong amount of free space
[39428.190900] BTRFS warning (device dm-11): failed to load free space cache for block group 298844160, rebuilding it now
[39430.194039] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[39430.194046] btrfs_dev_stat_inc_and_print: 125 callbacks suppressed
[39430.194048] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 1, rd 0, flush 0, corrupt 0, gen 0
[39430.194060] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[39430.194063] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 2, rd 0, flush 0, corrupt 0, gen 0
[39430.194072] BTRFS error (device dm-11): error writing primary super block to device 1
[39430.194078] BTRFS: error (device dm-11) in write_all_supers:4342: errno=-5 IO failure (1 errors while writing supers)
[39430.194854] BTRFS info (device dm-11: state E): forced readonly
[39430.194869] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[39430.194874] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[39430.196667] BTRFS: error (device dm-11: state EA) in btrfs_sync_log:3192: errno=-5 IO failure
[39430.200760] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 2, rd 1, flush 0, corrupt 0, gen 0
[39430.200854] BTRFS warning (device dm-11: state EA): direct IO failed ino 267 rw 0,0 sector 0x1f3588 len 36864 err no 10
[39430.202027] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 3, rd 1, flush 0, corrupt 0, gen 0
[39430.202986] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 4, rd 1, flush 0, corrupt 0, gen 0
[39430.203134] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 5, rd 1, flush 0, corrupt 0, gen 0
[39430.204151] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 6, rd 1, flush 0, corrupt 0, gen 0
[39430.204518] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 7, rd 1, flush 0, corrupt 0, gen 0
[39430.204750] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 7, rd 2, flush 0, corrupt 0, gen 0
[39430.204981] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 8, rd 2, flush 0, corrupt 0, gen 0
[39430.205043] BTRFS warning (device dm-11: state EA): direct IO failed ino 1395 rw 0,0 sector 0x1e74f0 len 12288 err no 10
[39430.206281] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[39430.211474] BTRFS warning (device dm-11: state EA): Skipping commit of aborted transaction.
[39430.211481] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[39430.227163] BTRFS warning (device dm-11: state EA): direct IO failed ino 1332 rw 0,0 sector 0x1db278 len 45056 err no 10
[39430.232702] BTRFS warning (device dm-11: state EA): direct IO failed ino 257 rw 0,0 sector 0x1ebf58 len 49152 err no 10
[39430.244027] BTRFS warning (device dm-11: state EA): direct IO failed ino 1411 rw 0,0 sector 0x1efa60 len 12288 err no 10
[39430.244052] BTRFS warning (device dm-11: state EA): direct IO failed ino 1411 rw 0,0 sector 0x1efe58 len 4096 err no 10
[39430.246030] BTRFS warning (device dm-11: state EA): direct IO failed ino 1411 rw 0,0 sector 0x1e9ee8 len 12288 err no 10
[39430.246200] BTRFS warning (device dm-11: state EA): direct IO failed ino 1395 rw 0,0 sector 0x1e74f0 len 45056 err no 10
[39430.859260] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[39430.859269] BTRFS info (device dm-11): use zstd compression, level 3
[39430.859272] BTRFS info (device dm-11): turning on async discard
[39430.859273] BTRFS info (device dm-11): disk space caching is enabled
[39430.904681] BTRFS warning (device dm-11): direct IO failed ino 1491 rw 1,34817 sector 0x312800 len 32768 err no 10
[39430.907576] BTRFS: error (device dm-11: state A) in btrfs_orphan_add:3648: errno=-5 IO failure
[39430.908451] BTRFS info (device dm-11: state EA): forced readonly
[39430.910551] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[39431.467944] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[39431.467953] BTRFS info (device dm-11): use zstd compression, level 3
[39431.467956] BTRFS info (device dm-11): turning on async discard
[39431.467957] BTRFS info (device dm-11): disk space caching is enabled
[39431.518597] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[39431.526938] BTRFS: error (device dm-11: state A) in __btrfs_free_extent:3078: errno=-5 IO failure
[39431.527478] BTRFS info (device dm-11: state EA): forced readonly
[39431.527484] BTRFS: error (device dm-11: state EA) in btrfs_run_delayed_refs:2141: errno=-5 IO failure
[39432.093073] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[39432.093084] BTRFS info (device dm-11): use zstd compression, level 3
[39432.093088] BTRFS info (device dm-11): turning on async discard
[39432.093091] BTRFS info (device dm-11): disk space caching is enabled
[39432.142447] BTRFS: error (device dm-11: state A) in btrfs_start_dirty_block_groups:3051: errno=-5 IO failure
[39432.143264] BTRFS info (device dm-11: state EA): forced readonly
[39432.153745] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[39432.694871] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[39432.694879] BTRFS info (device dm-11): use zstd compression, level 3
[39432.694882] BTRFS info (device dm-11): turning on async discard
[39432.694884] BTRFS info (device dm-11): disk space caching is enabled
[39432.725181] ------------[ cut here ]------------
[39432.725259] WARNING: CPU: 1 PID: 805064 at fs/btrfs/discard.c:604 btrfs_discard_update_discardable+0x98/0xb0
[39432.725266] Modules linked in: dm_thin_pool dm_persistent_data dm_bio_prison dm_log_writes dm_dust dm_flakey nft_fib_inet nft_fib_ipv4 nft_fib_ipv6 nft_fib nft_reject_inet nf_reject_ipv4 nf_reject_ipv6 nft_reject nft_ct nft_chain_nat nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 ip6_tables nft_compat ip_set rfkill nf_tables nfnetlink intel_rapl_msr snd_hda_codec_generic iTCO_wdt snd_hda_intel iTCO_vendor_support snd_intel_dspcfg snd_hda_codec snd_hwdep snd_hda_core snd_pcm joydev snd_timer intel_rapl_common snd virtio_balloon i2c_i801 i2c_smbus soundcore lpc_ich zram ip_tables crct10dif_pclmul xfs crc32_pclmul crc32c_intel ghash_clmulni_intel serio_raw qemu_fw_cfg
[39432.725332] CPU: 1 PID: 805064 Comm: kworker/u4:8 Tainted: G        W         5.19.0-rc8+ #793
[39432.725335] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.13.0-2.fc32 04/01/2014
[39432.725337] Workqueue: btrfs-cache btrfs_work_helper
[39432.725342] RIP: 0010:btrfs_discard_update_discardable+0x98/0xb0
[39432.725344] Code: 17 00 00 48 8b 83 80 00 00 00 48 89 83 88 00 00 00 5b 5d c3 cc cc cc cc 48 8d 7b 18 be ff ff ff ff e8 2c 9a 7e 00 85 c0 75 ac <0f> 0b eb a8 c3 cc cc cc cc 66 66 2e 0f 1f 84 00 00 00 00 00 0f 1f
[39432.725347] RSP: 0018:ffff9dd6c1a0bad0 EFLAGS: 00010246
[39432.725349] RAX: 0000000000000000 RBX: ffff8c68c395d600 RCX: 0000000000000001
[39432.725351] RDX: 0000000000000000 RSI: ffffffff9b807c5b RDI: ffffffff9b8a831e
[39432.725353] RBP: ffff8c6912564000 R08: 0000000000000000 R09: 0000000000001000
[39432.725354] R10: ffff8c6921dae220 R11: 00000000009c0800 R12: ffff8c693128d810
[39432.725356] R13: ffff8c68c36861e0 R14: ffff8c6912564000 R15: ffff8c68f8a6c380
[39432.725357] FS:  0000000000000000(0000) GS:ffff8c693bd00000(0000) knlGS:0000000000000000
[39432.725359] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[39432.725361] CR2: 00007f24758e2203 CR3: 0000000116054001 CR4: 0000000000370ee0
[39432.725365] Call Trace:
[39432.725369]  
[39432.725373]  __btrfs_remove_free_space_cache+0x27/0x30
[39432.725377]  load_free_space_cache+0xad2/0xaf0
[39432.725417]  caching_thread+0x40b/0x650
[39432.725425]  ? lock_release+0x137/0x2d0
[39432.725433]  btrfs_work_helper+0xf2/0x3e0
[39432.725436]  ? lock_is_held_type+0xe2/0x140
[39432.725443]  process_one_work+0x271/0x590
[39432.725452]  worker_thread+0x52/0x3b0
[39432.725457]  ? process_one_work+0x590/0x590
[39432.725460]  kthread+0xf0/0x120
[39432.725462]  ? kthread_complete_and_exit+0x20/0x20
[39432.725467]  ret_from_fork+0x1f/0x30
[39432.725480]  
[39432.725482] irq event stamp: 35844603
[39432.725483] hardirqs last  enabled at (35844609): [] __up_console_sem+0x5e/0x70
[39432.725486] hardirqs last disabled at (35844614): [] __up_console_sem+0x43/0x70
[39432.725488] softirqs last  enabled at (35843952): [] __irq_exit_rcu+0xeb/0x160
[39432.725491] softirqs last disabled at (35843931): [] __irq_exit_rcu+0xeb/0x160
[39432.725494] ---[ end trace 0000000000000000 ]---
[39432.725497] BTRFS warning (device dm-11): block group 298844160 has wrong amount of free space
[39432.725512] BTRFS warning (device dm-11): failed to load free space cache for block group 298844160, rebuilding it now
[39434.735921] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[39434.735937] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[39434.735945] BTRFS error (device dm-11): error writing primary super block to device 1
[39434.735949] BTRFS: error (device dm-11) in write_all_supers:4342: errno=-5 IO failure (1 errors while writing supers)
[39434.736529] BTRFS info (device dm-11: state E): forced readonly
[39434.736542] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[39434.736546] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[39434.736595] BTRFS: error (device dm-11: state EA) in btrfs_sync_log:3192: errno=-5 IO failure
[39434.746626] BTRFS warning (device dm-11: state EA): direct IO failed ino 552 rw 0,0 sector 0x1fcc30 len 16384 err no 10
[39434.748977] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[39434.767139] BTRFS warning (device dm-11: state EA): direct IO failed ino 271 rw 0,0 sector 0x208e80 len 16384 err no 10
[39434.784453] BTRFS warning (device dm-11: state EA): direct IO failed ino 263 rw 0,0 sector 0x202d28 len 28672 err no 10
[39435.403389] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[39435.403400] BTRFS info (device dm-11): use zstd compression, level 3
[39435.403404] BTRFS info (device dm-11): turning on async discard
[39435.403406] BTRFS info (device dm-11): disk space caching is enabled
[39435.408940] BTRFS info (device dm-11): start tree-log replay
[39435.507343] btrfs_dev_stat_inc_and_print: 120 callbacks suppressed
[39435.507346] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 1, rd 0, flush 0, corrupt 0, gen 0
[39435.507401] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 2, rd 0, flush 0, corrupt 0, gen 0
[39435.508746] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 2, rd 1, flush 0, corrupt 0, gen 0
[39435.509116] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 3, rd 1, flush 0, corrupt 0, gen 0
[39435.509124] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 4, rd 1, flush 0, corrupt 0, gen 0
[39435.509213] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 5, rd 1, flush 0, corrupt 0, gen 0
[39435.509219] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 6, rd 1, flush 0, corrupt 0, gen 0
[39435.509270] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 7, rd 1, flush 0, corrupt 0, gen 0
[39435.509275] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 8, rd 1, flush 0, corrupt 0, gen 0
[39435.509371] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 9, rd 1, flush 0, corrupt 0, gen 0
[39435.509633] BTRFS: error (device dm-11) in btrfs_commit_transaction:2496: errno=-5 IO failure (Error while writing out transaction)
[39435.510428] BTRFS info (device dm-11: state E): forced readonly
[39435.510432] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[39435.510435] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[39435.519231] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[39436.032012] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[39436.032020] BTRFS info (device dm-11): use zstd compression, level 3
[39436.032023] BTRFS info (device dm-11): turning on async discard
[39436.032025] BTRFS info (device dm-11): disk space caching is enabled
[39437.067880] BTRFS warning (device dm-11): direct IO failed ino 259 rw 1,34817 sector 0x223b80 len 126976 err no 10
[39437.068956] BTRFS warning (device dm-11): direct IO failed ino 1652 rw 1,34817 sector 0x223fc8 len 65536 err no 10
[39437.069033] BTRFS: error (device dm-11) in btrfs_commit_transaction:2496: errno=-5 IO failure (Error while writing out transaction)
[39437.070670] BTRFS info (device dm-11: state E): forced readonly
[39437.070675] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[39437.070678] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[39437.071784] BTRFS: error (device dm-11: state EA) in cache_save_setup:2804: errno=-5 IO failure
[39437.072268] BTRFS: error (device dm-11: state EA) in btrfs_start_dirty_block_groups:3051: errno=-5 IO failure
[39437.081097] BTRFS warning (device dm-11: state EA): direct IO failed ino 257 rw 0,0 sector 0x223700 len 4096 err no 10
[39437.081940] BTRFS warning (device dm-11: state EA): direct IO failed ino 257 rw 0,0 sector 0x221988 len 8192 err no 10
[39437.083038] BTRFS warning (device dm-11: state EA): direct IO failed ino 1556 rw 0,0 sector 0x213790 len 20480 err no 10
[39437.083079] BTRFS warning (device dm-11: state EA): direct IO failed ino 1556 rw 0,0 sector 0x2199e8 len 81920 err no 10
[39437.092171] BTRFS warning (device dm-11: state EA): direct IO failed ino 257 rw 0,0 sector 0x220828 len 20480 err no 10
[39437.092866] BTRFS warning (device dm-11: state EA): direct IO failed ino 1557 rw 0,0 sector 0x2186c8 len 8192 err no 10
[39437.093093] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[39437.112570] BTRFS warning (device dm-11: state EA): direct IO failed ino 909 rw 0,0 sector 0x223578 len 28672 err no 10
[39437.112932] BTRFS warning (device dm-11: state EA): direct IO failed ino 1630 rw 0,0 sector 0x213078 len 4096 err no 10
[39437.127985] BTRFS warning (device dm-11: state EA): direct IO failed ino 1559 rw 0,0 sector 0x218568 len 49152 err no 10
[39437.689885] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[39437.689894] BTRFS info (device dm-11): use zstd compression, level 3
[39437.689897] BTRFS info (device dm-11): turning on async discard
[39437.689899] BTRFS info (device dm-11): disk space caching is enabled
[39437.718502] BTRFS info (device dm-11): the free space cache file (298844160) is invalid, skip it
[39439.729180] BTRFS warning (device dm-11): direct IO failed ino 1553 rw 1,34817 sector 0x23e9b0 len 49152 err no 10
[39439.732078] BTRFS: error (device dm-11: state A) in __btrfs_free_extent:3078: errno=-5 IO failure
[39439.732804] BTRFS info (device dm-11: state EA): forced readonly
[39439.732812] BTRFS: error (device dm-11: state EA) in btrfs_run_delayed_refs:2141: errno=-5 IO failure
[39439.733208] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[39439.737858] BTRFS: error (device dm-11: state EA) in btrfs_commit_transaction:2496: errno=-5 IO failure (Error while writing out transaction)
[39439.738754] BTRFS warning (device dm-11: state EA): Skipping commit of aborted transaction.
[39439.738758] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[39440.369835] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[39440.369844] BTRFS info (device dm-11): use zstd compression, level 3
[39440.369847] BTRFS info (device dm-11): turning on async discard
[39440.369848] BTRFS info (device dm-11): disk space caching is enabled
[39440.404718] BTRFS info (device dm-11): the free space cache file (298844160) is invalid, skip it
[39442.421978] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[39442.421984] btrfs_dev_stat_inc_and_print: 47 callbacks suppressed
[39442.421986] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 1, rd 0, flush 0, corrupt 0, gen 0
[39442.421999] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[39442.422002] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 2, rd 0, flush 0, corrupt 0, gen 0
[39442.422013] BTRFS error (device dm-11): error writing primary super block to device 1
[39442.422016] BTRFS: error (device dm-11) in write_all_supers:4342: errno=-5 IO failure (1 errors while writing supers)
[39442.422696] BTRFS info (device dm-11: state E): forced readonly
[39442.422702] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[39442.422710] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[39442.424021] BTRFS warning (device dm-11: state EA): Skipping commit of aborted transaction.
[39442.424033] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[39442.425307] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 2, rd 1, flush 0, corrupt 0, gen 0
[39442.425550] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 2, rd 2, flush 0, corrupt 0, gen 0
[39442.427161] BTRFS warning (device dm-11: state EA): direct IO failed ino 1959 rw 0,0 sector 0x260d48 len 65536 err no 10
[39442.427238] BTRFS warning (device dm-11: state EA): direct IO failed ino 1989 rw 0,0 sector 0x253418 len 73728 err no 10
[39442.430417] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 3, rd 2, flush 0, corrupt 0, gen 0
[39442.431027] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 4, rd 2, flush 0, corrupt 0, gen 0
[39442.431667] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 5, rd 2, flush 0, corrupt 0, gen 0
[39442.431727] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 6, rd 2, flush 0, corrupt 0, gen 0
[39442.432200] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 7, rd 2, flush 0, corrupt 0, gen 0
[39442.432336] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 8, rd 2, flush 0, corrupt 0, gen 0
[39442.435039] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[39442.439013] BTRFS warning (device dm-11: state EA): direct IO failed ino 1966 rw 0,0 sector 0x219fa8 len 4096 err no 10
[39442.454990] BTRFS warning (device dm-11: state EA): direct IO failed ino 260 rw 0,0 sector 0x252cd8 len 36864 err no 10
[39442.455253] BTRFS warning (device dm-11: state EA): direct IO failed ino 1895 rw 0,0 sector 0x246e50 len 4096 err no 10
[39442.455806] BTRFS warning (device dm-11: state EA): direct IO failed ino 261 rw 0,0 sector 0x258260 len 16384 err no 10
[39442.485572] BTRFS warning (device dm-11: state EA): direct IO failed ino 1884 rw 0,0 sector 0x245560 len 86016 err no 10
[39442.487180] BTRFS warning (device dm-11: state EA): direct IO failed ino 257 rw 0,0 sector 0x25fdd8 len 8192 err no 10
[39443.158316] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[39443.158325] BTRFS info (device dm-11): use zstd compression, level 3
[39443.158328] BTRFS info (device dm-11): turning on async discard
[39443.158329] BTRFS info (device dm-11): disk space caching is enabled
[39443.162409] BTRFS info (device dm-11): start tree-log replay
[39443.265597] BTRFS warning (device dm-11): direct IO failed ino 2076 rw 1,34817 sector 0x262270 len 12288 err no 10
[39443.268225] BTRFS: error (device dm-11: state A) in maybe_insert_hole:5022: errno=-5 IO failure
[39443.268784] BTRFS info (device dm-11: state EA): forced readonly
[39443.269080] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[39443.271387] BTRFS warning (device dm-11: state EA): Skipping commit of aborted transaction.
[39443.818415] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[39443.818425] BTRFS info (device dm-11): use zstd compression, level 3
[39443.818429] BTRFS info (device dm-11): turning on async discard
[39443.818432] BTRFS info (device dm-11): disk space caching is enabled
[39445.872223] BTRFS: error (device dm-11) in btrfs_commit_transaction:2496: errno=-5 IO failure (Error while writing out transaction)
[39445.873177] BTRFS info (device dm-11: state E): forced readonly
[39445.873184] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[39445.873189] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[39445.886045] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[39446.549246] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[39446.549255] BTRFS info (device dm-11): use zstd compression, level 3
[39446.549258] BTRFS info (device dm-11): turning on async discard
[39446.549259] BTRFS info (device dm-11): disk space caching is enabled
[39448.606238] btrfs_dev_stat_inc_and_print: 68 callbacks suppressed
[39448.606242] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 1, rd 0, flush 0, corrupt 0, gen 0
[39448.606308] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 2, rd 0, flush 0, corrupt 0, gen 0
[39448.606327] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 3, rd 0, flush 0, corrupt 0, gen 0
[39448.606430] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 4, rd 0, flush 0, corrupt 0, gen 0
[39448.606446] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 5, rd 0, flush 0, corrupt 0, gen 0
[39448.606468] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 6, rd 0, flush 0, corrupt 0, gen 0
[39448.606476] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 7, rd 0, flush 0, corrupt 0, gen 0
[39448.606484] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 8, rd 0, flush 0, corrupt 0, gen 0
[39448.606491] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 9, rd 0, flush 0, corrupt 0, gen 0
[39448.606554] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 10, rd 0, flush 0, corrupt 0, gen 0
[39448.606784] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[39448.606800] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[39448.607262] BTRFS warning (device dm-11): direct IO failed ino 2404 rw 1,34817 sector 0x2579a0 len 90112 err no 10
[39448.608595] BTRFS: error (device dm-11: state A) in __btrfs_update_delayed_inode:1089: errno=-5 IO failure
[39448.609844] BTRFS info (device dm-11: state EA): forced readonly
[39448.609887] BTRFS: error (device dm-11: state EA) in __btrfs_run_delayed_items:1182: errno=-5 IO failure
[39448.611841] BTRFS error (device dm-11: state EA): error writing primary super block to device 1
[39448.611847] BTRFS: error (device dm-11: state EA) in write_all_supers:4342: errno=-5 IO failure (1 errors while writing supers)
[39448.612836] BTRFS warning (device dm-11: state EA): Skipping commit of aborted transaction.
[39448.612842] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[39448.629144] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[39449.298446] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[39449.298457] BTRFS info (device dm-11): use zstd compression, level 3
[39449.298460] BTRFS info (device dm-11): turning on async discard
[39449.298462] BTRFS info (device dm-11): disk space caching is enabled
[39449.302253] BTRFS info (device dm-11): start tree-log replay
[39449.318540] ------------[ cut here ]------------
[39449.318637] WARNING: CPU: 0 PID: 1323389 at fs/btrfs/discard.c:604 btrfs_discard_update_discardable+0x98/0xb0
[39449.318643] Modules linked in: dm_thin_pool dm_persistent_data dm_bio_prison dm_log_writes dm_dust dm_flakey nft_fib_inet nft_fib_ipv4 nft_fib_ipv6 nft_fib nft_reject_inet nf_reject_ipv4 nf_reject_ipv6 nft_reject nft_ct nft_chain_nat nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 ip6_tables nft_compat ip_set rfkill nf_tables nfnetlink intel_rapl_msr snd_hda_codec_generic iTCO_wdt snd_hda_intel iTCO_vendor_support snd_intel_dspcfg snd_hda_codec snd_hwdep snd_hda_core snd_pcm joydev snd_timer intel_rapl_common snd virtio_balloon i2c_i801 i2c_smbus soundcore lpc_ich zram ip_tables crct10dif_pclmul xfs crc32_pclmul crc32c_intel ghash_clmulni_intel serio_raw qemu_fw_cfg
[39449.318710] CPU: 0 PID: 1323389 Comm: kworker/u4:2 Tainted: G        W         5.19.0-rc8+ #793
[39449.318730] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.13.0-2.fc32 04/01/2014
[39449.318732] Workqueue: btrfs-cache btrfs_work_helper
[39449.318737] RIP: 0010:btrfs_discard_update_discardable+0x98/0xb0
[39449.318740] Code: 17 00 00 48 8b 83 80 00 00 00 48 89 83 88 00 00 00 5b 5d c3 cc cc cc cc 48 8d 7b 18 be ff ff ff ff e8 2c 9a 7e 00 85 c0 75 ac <0f> 0b eb a8 c3 cc cc cc cc 66 66 2e 0f 1f 84 00 00 00 00 00 0f 1f
[39449.318742] RSP: 0018:ffff9dd6c6e2bad0 EFLAGS: 00010246
[39449.318745] RAX: 0000000000000000 RBX: ffff8c68ece95200 RCX: 0000000000000001
[39449.318747] RDX: 0000000000000000 RSI: ffffffff9b807c5b RDI: ffffffff9b8a831e
[39449.318748] RBP: ffff8c690c878000 R08: 0000000000000000 R09: 0000000000001000
[39449.318750] R10: ffff8c692ba4c490 R11: 00000000009db100 R12: ffff8c68c085b810
[39449.318751] R13: ffff8c68dfa845f0 R14: ffff8c690c878000 R15: ffff8c68c53c6b60
[39449.318753] FS:  0000000000000000(0000) GS:ffff8c693bc00000(0000) knlGS:0000000000000000
[39449.318755] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[39449.318757] CR2: 00007f9fe7806688 CR3: 0000000120570003 CR4: 0000000000370ef0
[39449.318760] Call Trace:
[39449.318763]  
[39449.318767]  __btrfs_remove_free_space_cache+0x27/0x30
[39449.318771]  load_free_space_cache+0xad2/0xaf0
[39449.318811]  caching_thread+0x40b/0x650
[39449.318820]  ? lock_release+0x137/0x2d0
[39449.318827]  btrfs_work_helper+0xf2/0x3e0
[39449.318830]  ? lock_is_held_type+0xe2/0x140
[39449.318862]  process_one_work+0x271/0x590
[39449.318872]  worker_thread+0x52/0x3b0
[39449.318877]  ? process_one_work+0x590/0x590
[39449.318880]  kthread+0xf0/0x120
[39449.318883]  ? kthread_complete_and_exit+0x20/0x20
[39449.318887]  ret_from_fork+0x1f/0x30
[39449.318901]  
[39449.318903] irq event stamp: 490253
[39449.318904] hardirqs last  enabled at (490259): [] __up_console_sem+0x5e/0x70
[39449.318907] hardirqs last disabled at (490264): [] __up_console_sem+0x43/0x70
[39449.318909] softirqs last  enabled at (489722): [] __irq_exit_rcu+0xeb/0x160
[39449.318913] softirqs last disabled at (489713): [] __irq_exit_rcu+0xeb/0x160
[39449.318915] ---[ end trace 0000000000000000 ]---
[39449.318918] BTRFS warning (device dm-11): block group 298844160 has wrong amount of free space
[39449.318935] BTRFS warning (device dm-11): failed to load free space cache for block group 298844160, rebuilding it now
[39450.400951] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[39450.400986] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[39450.400997] BTRFS error (device dm-11): error writing primary super block to device 1
[39450.401000] BTRFS: error (device dm-11) in write_all_supers:4342: errno=-5 IO failure (1 errors while writing supers)
[39450.401750] BTRFS info (device dm-11: state E): forced readonly
[39450.401763] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[39450.401767] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[39450.403723] BTRFS: error (device dm-11: state EA) in btrfs_sync_log:3192: errno=-5 IO failure
[39450.403739] BTRFS warning (device dm-11: state EA): direct IO failed ino 2536 rw 0,0 sector 0x2b79a8 len 4096 err no 10
[39450.410929] BTRFS warning (device dm-11: state EA): direct IO failed ino 2509 rw 0,0 sector 0x2b8b58 len 4096 err no 10
[39450.421171] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[39450.453194] BTRFS warning (device dm-11: state EA): direct IO failed ino 2463 rw 0,0 sector 0x2a7038 len 4096 err no 10
[39451.020859] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[39451.020870] BTRFS info (device dm-11): use zstd compression, level 3
[39451.020874] BTRFS info (device dm-11): turning on async discard
[39451.020876] BTRFS info (device dm-11): disk space caching is enabled
[39451.025008] BTRFS info (device dm-11): start tree-log replay
[39451.113910] BTRFS error (device dm-11): error loading props for ino 263 (root 5): -5
[39451.119488] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[39451.148134] BTRFS: error (device dm-11: state A) in __btrfs_run_delayed_items:1182: errno=-5 IO failure
[39451.148811] BTRFS info (device dm-11: state EA): forced readonly
[39451.148815] BTRFS warning (device dm-11: state EA): Skipping commit of aborted transaction.
[39451.148819] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[39451.673129] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[39451.673138] BTRFS info (device dm-11): use zstd compression, level 3
[39451.673142] BTRFS info (device dm-11): turning on async discard
[39451.673143] BTRFS info (device dm-11): disk space caching is enabled
[39453.701917] btrfs_dev_stat_inc_and_print: 81 callbacks suppressed
[39453.701921] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 1, rd 0, flush 0, corrupt 0, gen 0
[39453.705345] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 2, rd 0, flush 0, corrupt 0, gen 0
[39453.706512] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 3, rd 0, flush 0, corrupt 0, gen 0
[39453.706520] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 4, rd 0, flush 0, corrupt 0, gen 0
[39453.707063] BTRFS: error (device dm-11: state A) in btrfs_start_dirty_block_groups:3051: errno=-5 IO failure
[39453.707866] BTRFS info (device dm-11: state EA): forced readonly
[39453.709005] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 5, rd 0, flush 0, corrupt 0, gen 0
[39453.709013] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 6, rd 0, flush 0, corrupt 0, gen 0
[39453.709058] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 7, rd 0, flush 0, corrupt 0, gen 0
[39453.709064] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 8, rd 0, flush 0, corrupt 0, gen 0
[39453.709990] BTRFS warning (device dm-11: state EA): Skipping commit of aborted transaction.
[39453.711752] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 9, rd 0, flush 0, corrupt 0, gen 0
[39453.712595] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 10, rd 0, flush 0, corrupt 0, gen 0
[39453.718088] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[39454.424125] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[39454.424133] BTRFS info (device dm-11): use zstd compression, level 3
[39454.424136] BTRFS info (device dm-11): turning on async discard
[39454.424138] BTRFS info (device dm-11): disk space caching is enabled
[39454.478127] BTRFS: error (device dm-11: state A) in create_subvol:729: errno=-5 IO failure
[39454.478929] BTRFS info (device dm-11: state EA): forced readonly
[39454.490084] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[39455.067267] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[39455.067276] BTRFS info (device dm-11): use zstd compression, level 3
[39455.067279] BTRFS info (device dm-11): turning on async discard
[39455.067281] BTRFS info (device dm-11): disk space caching is enabled
[39455.114733] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[39455.129696] BTRFS: error (device dm-11: state A) in btrfs_run_delayed_refs:2141: errno=-5 IO failure
[39455.130288] BTRFS info (device dm-11: state EA): forced readonly
[39455.733368] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[39455.733377] BTRFS info (device dm-11): use zstd compression, level 3
[39455.733381] BTRFS info (device dm-11): turning on async discard
[39455.733383] BTRFS info (device dm-11): disk space caching is enabled
[39456.765284] BTRFS warning (device dm-11): direct IO failed ino 2689 rw 1,34817 sector 0x2f5228 len 4096 err no 10
[39456.765346] BTRFS warning (device dm-11): direct IO failed ino 2709 rw 1,34817 sector 0x2f5390 len 98304 err no 10
[39456.765365] BTRFS warning (device dm-11): direct IO failed ino 259 rw 0,0 sector 0x2ee488 len 16384 err no 10
[39456.766059] BTRFS warning (device dm-11): direct IO failed ino 263 rw 1,34817 sector 0x2f5390 len 53248 err no 10
[39456.774899] BTRFS: error (device dm-11) in btrfs_commit_transaction:2496: errno=-5 IO failure (Error while writing out transaction)
[39456.775834] BTRFS info (device dm-11: state E): forced readonly
[39456.775840] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[39456.775845] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[39456.782181] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[39457.406891] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[39457.406900] BTRFS info (device dm-11): use zstd compression, level 3
[39457.406903] BTRFS info (device dm-11): turning on async discard
[39457.406905] BTRFS info (device dm-11): disk space caching is enabled
[39459.469800] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[39459.469806] btrfs_dev_stat_inc_and_print: 146 callbacks suppressed
[39459.469808] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 1, rd 0, flush 0, corrupt 0, gen 0
[39459.469820] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[39459.469822] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 2, rd 0, flush 0, corrupt 0, gen 0
[39459.469832] BTRFS error (device dm-11): error writing primary super block to device 1
[39459.469835] BTRFS: error (device dm-11) in write_all_supers:4342: errno=-5 IO failure (1 errors while writing supers)
[39459.470574] BTRFS info (device dm-11: state E): forced readonly
[39459.470580] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[39459.470585] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[39459.473396] BTRFS warning (device dm-11: state EA): Skipping commit of aborted transaction.
[39459.473403] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[39459.474543] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 3, rd 0, flush 0, corrupt 0, gen 0
[39459.474872] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 4, rd 0, flush 0, corrupt 0, gen 0
[39459.477390] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 4, rd 1, flush 0, corrupt 0, gen 0
[39459.477408] BTRFS warning (device dm-11: state EA): direct IO failed ino 2557 rw 0,0 sector 0x2d7b40 len 8192 err no 10
[39459.477711] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 4, rd 2, flush 0, corrupt 0, gen 0
[39459.477724] BTRFS warning (device dm-11: state EA): direct IO failed ino 260 rw 0,0 sector 0x284050 len 53248 err no 10
[39459.478881] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 4, rd 3, flush 0, corrupt 0, gen 0
[39459.478896] BTRFS warning (device dm-11: state EA): direct IO failed ino 2753 rw 0,0 sector 0x1dbed8 len 28672 err no 10
[39459.482647] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[39459.499756] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 4, rd 4, flush 0, corrupt 0, gen 0
[39459.499773] BTRFS warning (device dm-11: state EA): direct IO failed ino 259 rw 0,0 sector 0x242950 len 4096 err no 10
[39459.501833] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 4, rd 5, flush 0, corrupt 0, gen 0
[39459.509533] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 4, rd 6, flush 0, corrupt 0, gen 0
[39459.509551] BTRFS warning (device dm-11: state EA): direct IO failed ino 2839 rw 0,0 sector 0x300468 len 86016 err no 10
[39459.510137] BTRFS warning (device dm-11: state EA): direct IO failed ino 2801 rw 0,0 sector 0x1dd960 len 4096 err no 10
[39459.520063] BTRFS warning (device dm-11: state EA): direct IO failed ino 2754 rw 0,0 sector 0x2d7c68 len 77824 err no 10
[39459.521999] BTRFS warning (device dm-11: state EA): direct IO failed ino 2765 rw 0,0 sector 0x2fcf88 len 4096 err no 10
[39459.522402] BTRFS warning (device dm-11: state EA): direct IO failed ino 2823 rw 0,0 sector 0x1d52d0 len 4096 err no 10
[39459.524343] BTRFS warning (device dm-11: state EA): direct IO failed ino 913 rw 0,0 sector 0x2f66f0 len 16384 err no 10
[39459.526630] BTRFS warning (device dm-11: state EA): direct IO failed ino 2777 rw 0,0 sector 0x2f88d0 len 4096 err no 10
[39459.528023] BTRFS warning (device dm-11: state EA): direct IO failed ino 2777 rw 0,0 sector 0x2d5190 len 24576 err no 10
[39460.233657] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[39460.233666] BTRFS info (device dm-11): use zstd compression, level 3
[39460.233669] BTRFS info (device dm-11): turning on async discard
[39460.233671] BTRFS info (device dm-11): disk space caching is enabled
[39460.271966] BTRFS error (device dm-11): error reading free space cache
[39460.271993] BTRFS warning (device dm-11): failed to load free space cache for block group 30408704, rebuilding it now
[39460.284727] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[39460.307092] BTRFS: error (device dm-11: state A) in __btrfs_free_extent:3078: errno=-5 IO failure
[39460.307661] BTRFS info (device dm-11: state EA): forced readonly
[39460.307668] BTRFS: error (device dm-11: state EA) in btrfs_run_delayed_refs:2141: errno=-5 IO failure
[39460.812354] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[39460.812362] BTRFS info (device dm-11): use zstd compression, level 3
[39460.812365] BTRFS info (device dm-11): turning on async discard
[39460.812367] BTRFS info (device dm-11): disk space caching is enabled
[39462.873080] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[39462.878255] BTRFS: error (device dm-11) in btrfs_commit_transaction:2496: errno=-5 IO failure (Error while writing out transaction)
[39462.879119] BTRFS info (device dm-11: state E): forced readonly
[39462.879125] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[39462.879128] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[39463.537972] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[39463.537980] BTRFS info (device dm-11): use zstd compression, level 3
[39463.537983] BTRFS info (device dm-11): turning on async discard
[39463.537985] BTRFS info (device dm-11): disk space caching is enabled
[39463.543597] BTRFS info (device dm-11): start tree-log replay
[39463.684068] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[39463.684087] BTRFS error (device dm-11): error writing primary super block to device 1
[39463.684090] BTRFS: error (device dm-11) in write_all_supers:4342: errno=-5 IO failure (1 errors while writing supers)
[39463.684793] BTRFS info (device dm-11: state E): forced readonly
[39463.684804] BTRFS: error (device dm-11: state EA) in btrfs_sync_log:3203: errno=-5 IO failure
[39463.692102] BTRFS warning (device dm-11: state EA): direct IO failed ino 3096 rw 0,0 sector 0x1a18c8 len 65536 err no 10
[39463.694315] BTRFS warning (device dm-11: state EA): Skipping commit of aborted transaction.
[39463.694322] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[39463.698263] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[39463.721666] BTRFS warning (device dm-11: state EA): direct IO failed ino 3096 rw 0,0 sector 0x1a18c8 len 45056 err no 10
[39463.740792] BTRFS warning (device dm-11: state EA): direct IO failed ino 3096 rw 0,0 sector 0x1a1930 len 8192 err no 10
[39463.741101] BTRFS warning (device dm-11: state EA): direct IO failed ino 3096 rw 0,0 sector 0x1a1948 len 4096 err no 10
[39463.742894] BTRFS warning (device dm-11: state EA): direct IO failed ino 3096 rw 0,0 sector 0x1a18f0 len 20480 err no 10
[39463.743126] BTRFS warning (device dm-11: state EA): direct IO failed ino 3096 rw 0,0 sector 0x1a1948 len 4096 err no 10
[39463.743267] BTRFS warning (device dm-11: state EA): direct IO failed ino 3096 rw 0,0 sector 0x1a1930 len 16384 err no 10
[39463.743979] BTRFS warning (device dm-11: state EA): direct IO failed ino 3096 rw 0,0 sector 0x1a18c8 len 69632 err no 10
[39463.744167] BTRFS warning (device dm-11: state EA): direct IO failed ino 3096 rw 0,0 sector 0x1a18c8 len 69632 err no 10
[39464.287033] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[39464.287041] BTRFS info (device dm-11): use zstd compression, level 3
[39464.287044] BTRFS info (device dm-11): turning on async discard
[39464.287046] BTRFS info (device dm-11): disk space caching is enabled
[39465.331871] btrfs_dev_stat_inc_and_print: 135 callbacks suppressed
[39465.331875] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 1, rd 0, flush 0, corrupt 0, gen 0
[39465.331882] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 2, rd 0, flush 0, corrupt 0, gen 0
[39465.331906] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 3, rd 0, flush 0, corrupt 0, gen 0
[39465.331929] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 4, rd 0, flush 0, corrupt 0, gen 0
[39465.331941] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 5, rd 0, flush 0, corrupt 0, gen 0
[39465.331960] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 6, rd 0, flush 0, corrupt 0, gen 0
[39465.331997] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 7, rd 0, flush 0, corrupt 0, gen 0
[39465.332005] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 8, rd 0, flush 0, corrupt 0, gen 0
[39465.332010] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 9, rd 0, flush 0, corrupt 0, gen 0
[39465.332013] BTRFS warning (device dm-11): direct IO failed ino 274 rw 1,34817 sector 0x222420 len 40960 err no 10
[39465.335028] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 10, rd 0, flush 0, corrupt 0, gen 0
[39465.340847] BTRFS: error (device dm-11: state A) in __btrfs_free_extent:3078: errno=-5 IO failure
[39465.341413] BTRFS: error (device dm-11: state A) in btrfs_commit_transaction:2496: errno=-5 IO failure (Error while writing out transaction)
[39465.341561] BTRFS info (device dm-11: state EA): forced readonly
[39465.342259] BTRFS warning (device dm-11: state EA): Skipping commit of aborted transaction.
[39465.342261] BTRFS: error (device dm-11: state EA) in btrfs_run_delayed_refs:2141: errno=-5 IO failure
[39465.342264] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[39465.343581] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[39466.002278] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[39466.002316] BTRFS info (device dm-11): use zstd compression, level 3
[39466.002319] BTRFS info (device dm-11): turning on async discard
[39466.002321] BTRFS info (device dm-11): disk space caching is enabled
[39466.053650] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[39466.059061] BTRFS warning (device dm-11): direct IO failed ino 3145 rw 1,34817 sector 0x312800 len 77824 err no 10
[39466.061105] BTRFS: error (device dm-11: state A) in create_subvol:729: errno=-5 IO failure
[39466.062203] BTRFS info (device dm-11: state EA): forced readonly
[39466.599599] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[39466.599626] BTRFS info (device dm-11): use zstd compression, level 3
[39466.599629] BTRFS info (device dm-11): turning on async discard
[39466.599631] BTRFS info (device dm-11): disk space caching is enabled
[39468.664612] BTRFS: error (device dm-11) in btrfs_commit_transaction:2496: errno=-5 IO failure (Error while writing out transaction)
[39468.665400] BTRFS info (device dm-11: state E): forced readonly
[39468.665404] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[39468.665408] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[39468.670168] BTRFS warning (device dm-11: state EA): direct IO failed ino 3233 rw 0,0 sector 0x2dd920 len 36864 err no 10
[39468.670357] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[39468.672917] BTRFS warning (device dm-11: state EA): direct IO failed ino 3152 rw 0,0 sector 0x29c388 len 4096 err no 10
[39468.695086] BTRFS warning (device dm-11: state EA): direct IO failed ino 3270 rw 0,0 sector 0x2d5128 len 20480 err no 10
[39468.695109] BTRFS warning (device dm-11: state EA): direct IO failed ino 3270 rw 0,0 sector 0x2d5778 len 12288 err no 10
[39468.697639] BTRFS warning (device dm-11: state EA): direct IO failed ino 3242 rw 0,0 sector 0x22e078 len 4096 err no 10
[39468.714534] BTRFS warning (device dm-11: state EA): direct IO failed ino 3198 rw 0,0 sector 0x1ea260 len 24576 err no 10
[39468.715849] BTRFS warning (device dm-11: state EA): direct IO failed ino 3208 rw 0,0 sector 0x1a5300 len 8192 err no 10
[39468.718896] BTRFS warning (device dm-11: state EA): direct IO failed ino 3152 rw 0,0 sector 0x29c540 len 4096 err no 10
[39469.336198] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[39469.336207] BTRFS info (device dm-11): use zstd compression, level 3
[39469.336210] BTRFS info (device dm-11): turning on async discard
[39469.336212] BTRFS info (device dm-11): disk space caching is enabled
[39469.372598] ------------[ cut here ]------------
[39469.372690] WARNING: CPU: 0 PID: 805064 at fs/btrfs/discard.c:604 btrfs_discard_update_discardable+0x98/0xb0
[39469.372697] Modules linked in: dm_thin_pool dm_persistent_data dm_bio_prison dm_log_writes dm_dust dm_flakey nft_fib_inet nft_fib_ipv4 nft_fib_ipv6 nft_fib nft_reject_inet nf_reject_ipv4 nf_reject_ipv6 nft_reject nft_ct nft_chain_nat nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 ip6_tables nft_compat ip_set rfkill nf_tables nfnetlink intel_rapl_msr snd_hda_codec_generic iTCO_wdt snd_hda_intel iTCO_vendor_support snd_intel_dspcfg snd_hda_codec snd_hwdep snd_hda_core snd_pcm joydev snd_timer intel_rapl_common snd virtio_balloon i2c_i801 i2c_smbus soundcore lpc_ich zram ip_tables crct10dif_pclmul xfs crc32_pclmul crc32c_intel ghash_clmulni_intel serio_raw qemu_fw_cfg
[39469.372762] CPU: 0 PID: 805064 Comm: kworker/u4:8 Tainted: G        W         5.19.0-rc8+ #793
[39469.372765] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.13.0-2.fc32 04/01/2014
[39469.372766] Workqueue: btrfs-cache btrfs_work_helper
[39469.372772] RIP: 0010:btrfs_discard_update_discardable+0x98/0xb0
[39469.372774] Code: 17 00 00 48 8b 83 80 00 00 00 48 89 83 88 00 00 00 5b 5d c3 cc cc cc cc 48 8d 7b 18 be ff ff ff ff e8 2c 9a 7e 00 85 c0 75 ac <0f> 0b eb a8 c3 cc cc cc cc 66 66 2e 0f 1f 84 00 00 00 00 00 0f 1f
[39469.372776] RSP: 0018:ffff9dd6c1a0bad0 EFLAGS: 00010246
[39469.372779] RAX: 0000000000000000 RBX: ffff8c68e0561200 RCX: 0000000000000001
[39469.372781] RDX: 0000000000000000 RSI: ffffffff9b807c5b RDI: ffffffff9b8a831e
[39469.372782] RBP: ffff8c68ff2c4000 R08: 0000000000000000 R09: 0000000000001000
[39469.372784] R10: ffff8c683a3539d8 R11: 0000000000000000 R12: ffff8c68c133c010
[39469.372786] R13: ffff8c68c364cf40 R14: ffff8c68ff2c4000 R15: ffff8c68c30c9380
[39469.372787] FS:  0000000000000000(0000) GS:ffff8c693bc00000(0000) knlGS:0000000000000000
[39469.372789] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[39469.372791] CR2: 00007fc924450000 CR3: 000000013a58a001 CR4: 0000000000370ef0
[39469.372794] Call Trace:
[39469.372797]  
[39469.372801]  __btrfs_remove_free_space_cache+0x27/0x30
[39469.372805]  load_free_space_cache+0xad2/0xaf0
[39469.372845]  caching_thread+0x40b/0x650
[39469.372853]  ? lock_release+0x137/0x2d0
[39469.372860]  btrfs_work_helper+0xf2/0x3e0
[39469.372863]  ? lock_is_held_type+0xe2/0x140
[39469.372870]  process_one_work+0x271/0x590
[39469.372879]  worker_thread+0x52/0x3b0
[39469.372884]  ? process_one_work+0x590/0x590
[39469.372887]  kthread+0xf0/0x120
[39469.372889]  ? kthread_complete_and_exit+0x20/0x20
[39469.372894]  ret_from_fork+0x1f/0x30
[39469.372908]  
[39469.372909] irq event stamp: 36043443
[39469.372910] hardirqs last  enabled at (36043449): [] __up_console_sem+0x5e/0x70
[39469.372913] hardirqs last disabled at (36043454): [] __up_console_sem+0x43/0x70
[39469.372915] softirqs last  enabled at (36042852): [] __irq_exit_rcu+0xeb/0x160
[39469.372918] softirqs last disabled at (36042843): [] __irq_exit_rcu+0xeb/0x160
[39469.372921] ---[ end trace 0000000000000000 ]---
[39469.372923] BTRFS warning (device dm-11): block group 298844160 has wrong amount of free space
[39469.372939] BTRFS warning (device dm-11): failed to load free space cache for block group 298844160, rebuilding it now
[39470.369034] btrfs_dev_stat_inc_and_print: 170 callbacks suppressed
[39470.369039] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 1, rd 0, flush 0, corrupt 0, gen 0
[39470.369046] BTRFS warning (device dm-11): direct IO failed ino 3362 rw 1,34817 sector 0x29f280 len 12288 err no 10
[39470.369059] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[39470.369063] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 2, rd 0, flush 0, corrupt 0, gen 0
[39470.369066] BTRFS warning (device dm-11): direct IO failed ino 3362 rw 1,34817 sector 0x134cb8 len 32768 err no 10
[39470.369069] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 3, rd 0, flush 0, corrupt 0, gen 0
[39470.369074] BTRFS error (device dm-11): error writing primary super block to device 1
[39470.369077] BTRFS: error (device dm-11) in write_all_supers:4342: errno=-5 IO failure (1 errors while writing supers)
[39470.369787] BTRFS info (device dm-11: state E): forced readonly
[39470.369799] BTRFS: error (device dm-11: state EA) in btrfs_sync_log:3203: errno=-5 IO failure
[39470.372209] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 4, rd 0, flush 0, corrupt 0, gen 0
[39470.373057] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 5, rd 0, flush 0, corrupt 0, gen 0
[39470.373098] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 6, rd 0, flush 0, corrupt 0, gen 0
[39470.373124] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 7, rd 0, flush 0, corrupt 0, gen 0
[39470.373325] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 8, rd 0, flush 0, corrupt 0, gen 0
[39470.373441] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 9, rd 0, flush 0, corrupt 0, gen 0
[39470.377206] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 9, rd 1, flush 0, corrupt 0, gen 0
[39470.377230] BTRFS warning (device dm-11: state EA): direct IO failed ino 3362 rw 0,0 sector 0x15ed08 len 4096 err no 10
[39470.380339] BTRFS warning (device dm-11: state EA): Skipping commit of aborted transaction.
[39470.380346] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[39470.380977] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[39470.392698] BTRFS warning (device dm-11: state EA): direct IO failed ino 260 rw 0,0 sector 0x2d60f8 len 4096 err no 10
[39470.392866] BTRFS warning (device dm-11: state EA): direct IO failed ino 429 rw 0,0 sector 0x310558 len 69632 err no 10
[39470.395797] BTRFS warning (device dm-11: state EA): direct IO failed ino 919 rw 0,0 sector 0x22ef10 len 32768 err no 10
[39470.421006] BTRFS warning (device dm-11: state EA): direct IO failed ino 3448 rw 0,0 sector 0x2c4c38 len 4096 err no 10
[39470.421428] BTRFS warning (device dm-11: state EA): direct IO failed ino 3445 rw 0,0 sector 0x18d780 len 12288 err no 10
[39471.044551] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[39471.044560] BTRFS info (device dm-11): use zstd compression, level 3
[39471.044564] BTRFS info (device dm-11): turning on async discard
[39471.044566] BTRFS info (device dm-11): disk space caching is enabled
[39473.124859] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[39473.128482] BTRFS: error (device dm-11) in btrfs_commit_transaction:2496: errno=-5 IO failure (Error while writing out transaction)
[39473.129272] BTRFS info (device dm-11: state E): forced readonly
[39473.129279] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[39473.129284] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[39473.131893] BTRFS: error (device dm-11: state EA) in btrfs_start_dirty_block_groups:3051: errno=-5 IO failure
[39473.142547] BTRFS warning (device dm-11: state EA): Skipping commit of aborted transaction.
[39473.142566] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[39473.866198] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[39473.866206] BTRFS info (device dm-11): use zstd compression, level 3
[39473.866209] BTRFS info (device dm-11): turning on async discard
[39473.866211] BTRFS info (device dm-11): disk space caching is enabled
[39473.871654] BTRFS info (device dm-11): start tree-log replay
[39475.981652] btrfs_dev_stat_inc_and_print: 54 callbacks suppressed
[39475.981656] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 1, rd 0, flush 0, corrupt 0, gen 0
[39475.981664] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 2, rd 0, flush 0, corrupt 0, gen 0
[39475.981927] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 3, rd 0, flush 0, corrupt 0, gen 0
[39475.983186] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[39475.983200] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 4, rd 0, flush 0, corrupt 0, gen 0
[39475.983211] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[39475.983215] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 5, rd 0, flush 0, corrupt 0, gen 0
[39475.983220] BTRFS error (device dm-11): error writing primary super block to device 1
[39475.983222] BTRFS: error (device dm-11) in write_all_supers:4342: errno=-5 IO failure (1 errors while writing supers)
[39475.984096] BTRFS info (device dm-11: state E): forced readonly
[39475.984101] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[39475.984110] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[39475.985785] BTRFS warning (device dm-11: state EA): Skipping commit of aborted transaction.
[39475.985790] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[39475.997867] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[39476.653896] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[39476.653905] BTRFS info (device dm-11): use zstd compression, level 3
[39476.653908] BTRFS info (device dm-11): turning on async discard
[39476.653910] BTRFS info (device dm-11): disk space caching is enabled
[39478.705347] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[39478.705354] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 1, rd 0, flush 0, corrupt 0, gen 0
[39478.705366] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[39478.705369] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 2, rd 0, flush 0, corrupt 0, gen 0
[39478.705378] BTRFS error (device dm-11): error writing primary super block to device 1
[39478.705383] BTRFS: error (device dm-11) in write_all_supers:4342: errno=-5 IO failure (1 errors while writing supers)
[39478.705976] BTRFS info (device dm-11: state E): forced readonly
[39478.705981] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[39478.705984] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[39478.712926] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 2, rd 1, flush 0, corrupt 0, gen 0
[39478.712962] BTRFS warning (device dm-11: state EA): direct IO failed ino 3679 rw 0,0 sector 0x2ed0e0 len 8192 err no 10
[39478.713842] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 2, rd 2, flush 0, corrupt 0, gen 0
[39478.714951] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 2, rd 3, flush 0, corrupt 0, gen 0
[39478.714972] BTRFS warning (device dm-11: state EA): direct IO failed ino 259 rw 0,0 sector 0x2b7198 len 57344 err no 10
[39478.715919] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[39479.517153] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[39479.517162] BTRFS info (device dm-11): use zstd compression, level 3
[39479.517165] BTRFS info (device dm-11): turning on async discard
[39479.517167] BTRFS info (device dm-11): disk space caching is enabled
[39479.521058] BTRFS info (device dm-11): start tree-log replay
[39479.542974] BTRFS info (device dm-11): the free space cache file (298844160) is invalid, skip it
[39481.594903] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[39481.594911] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 1, rd 0, flush 0, corrupt 0, gen 0
[39481.594924] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[39481.594927] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 2, rd 0, flush 0, corrupt 0, gen 0
[39481.594938] BTRFS error (device dm-11): error writing primary super block to device 1
[39481.594941] BTRFS: error (device dm-11) in write_all_supers:4342: errno=-5 IO failure (1 errors while writing supers)
[39481.595719] BTRFS info (device dm-11: state E): forced readonly
[39481.595731] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[39481.595734] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[39481.596369] BTRFS: error (device dm-11: state EA) in btrfs_sync_log:3192: errno=-5 IO failure
[39481.598629] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 2, rd 1, flush 0, corrupt 0, gen 0
[39481.598660] BTRFS warning (device dm-11: state EA): Skipping commit of aborted transaction.
[39481.598663] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[39481.600575] BTRFS warning (device dm-11: state EA): direct IO failed ino 3842 rw 0,0 sector 0x2ef4f0 len 8192 err no 10
[39481.600910] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 2, rd 2, flush 0, corrupt 0, gen 0
[39481.600928] BTRFS warning (device dm-11: state EA): direct IO failed ino 268 rw 0,0 sector 0x2bd6d8 len 90112 err no 10
[39481.602069] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 3, rd 2, flush 0, corrupt 0, gen 0
[39481.602649] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 4, rd 2, flush 0, corrupt 0, gen 0
[39481.603105] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 5, rd 2, flush 0, corrupt 0, gen 0
[39481.603850] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 6, rd 2, flush 0, corrupt 0, gen 0
[39481.604959] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 6, rd 3, flush 0, corrupt 0, gen 0
[39481.604988] BTRFS warning (device dm-11: state EA): direct IO failed ino 3841 rw 0,0 sector 0x2b1c10 len 4096 err no 10
[39481.604990] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 6, rd 4, flush 0, corrupt 0, gen 0
[39481.605018] BTRFS warning (device dm-11: state EA): direct IO failed ino 3841 rw 0,0 sector 0x2a2eb0 len 4096 err no 10
[39481.612225] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[39481.637903] BTRFS warning (device dm-11: state EA): direct IO failed ino 3880 rw 0,0 sector 0x1e5cf8 len 20480 err no 10
[39481.640550] BTRFS warning (device dm-11: state EA): direct IO failed ino 269 rw 0,0 sector 0x2812f0 len 77824 err no 10
[39482.291084] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[39482.291092] BTRFS info (device dm-11): use zstd compression, level 3
[39482.291096] BTRFS info (device dm-11): turning on async discard
[39482.291097] BTRFS info (device dm-11): disk space caching is enabled
[39482.295218] BTRFS info (device dm-11): start tree-log replay
[39483.393451] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[39483.393466] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[39483.393545] BTRFS error (device dm-11): error writing primary super block to device 1
[39483.393549] BTRFS: error (device dm-11) in write_all_supers:4342: errno=-5 IO failure (1 errors while writing supers)
[39483.394289] BTRFS info (device dm-11: state E): forced readonly
[39483.394298] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[39483.394301] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[39483.394904] BTRFS: error (device dm-11: state EA) in btrfs_sync_log:3192: errno=-5 IO failure
[39483.399204] BTRFS warning (device dm-11: state EA): Skipping commit of aborted transaction.
[39483.399211] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[39483.413830] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[39483.418901] BTRFS warning (device dm-11: state EA): direct IO failed ino 4000 rw 0,0 sector 0x234720 len 4096 err no 10
[39483.448122] BTRFS warning (device dm-11: state EA): direct IO failed ino 4000 rw 0,0 sector 0x234720 len 49152 err no 10
[39483.451939] BTRFS warning (device dm-11: state EA): direct IO failed ino 3934 rw 0,0 sector 0x27fcd8 len 20480 err no 10
[39484.051556] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[39484.051564] BTRFS info (device dm-11): use zstd compression, level 3
[39484.051568] BTRFS info (device dm-11): turning on async discard
[39484.051569] BTRFS info (device dm-11): disk space caching is enabled
[39484.056370] BTRFS info (device dm-11): start tree-log replay
[39485.167358] BTRFS: error (device dm-11: state A) in btrfs_replace_file_extents:2802: errno=-5 IO failure
[39485.168487] BTRFS info (device dm-11: state EA): forced readonly
[39485.172787] BTRFS: error (device dm-11: state EA) in btrfs_commit_transaction:2496: errno=-5 IO failure (Error while writing out transaction)
[39485.173964] BTRFS warning (device dm-11: state EA): Skipping commit of aborted transaction.
[39485.173969] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[39485.179725] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[39485.822805] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[39485.822814] BTRFS info (device dm-11): use zstd compression, level 3
[39485.822818] BTRFS info (device dm-11): turning on async discard
[39485.822819] BTRFS info (device dm-11): disk space caching is enabled
[39486.874764] btrfs_dev_stat_inc_and_print: 43 callbacks suppressed
[39486.874768] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 1, rd 0, flush 0, corrupt 0, gen 0
[39486.874774] BTRFS warning (device dm-11): direct IO failed ino 4163 rw 1,34817 sector 0x2d69e8 len 49152 err no 10
[39486.874797] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 1, rd 1, flush 0, corrupt 0, gen 0
[39486.874806] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 2, rd 1, flush 0, corrupt 0, gen 0
[39486.875271] BTRFS warning (device dm-11): direct IO failed ino 3957 rw 0,0 sector 0x291ac0 len 4096 err no 10
[39486.875577] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 3, rd 1, flush 0, corrupt 0, gen 0
[39486.878823] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 4, rd 1, flush 0, corrupt 0, gen 0
[39486.880845] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 5, rd 1, flush 0, corrupt 0, gen 0
[39486.882297] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 6, rd 1, flush 0, corrupt 0, gen 0
[39486.883016] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 7, rd 1, flush 0, corrupt 0, gen 0
[39486.883021] BTRFS warning (device dm-11): direct IO failed ino 3493 rw 1,34817 sector 0x271d48 len 49152 err no 10
[39486.883722] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 8, rd 1, flush 0, corrupt 0, gen 0
[39486.885532] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 9, rd 1, flush 0, corrupt 0, gen 0
[39486.885596] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[39486.887961] BTRFS: error (device dm-11) in btrfs_commit_transaction:2496: errno=-5 IO failure (Error while writing out transaction)
[39486.888817] BTRFS info (device dm-11: state E): forced readonly
[39486.888822] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[39486.888825] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[39486.889041] BTRFS: error (device dm-11: state EA) in maybe_insert_hole:5022: errno=-5 IO failure
[39487.532884] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[39487.532892] BTRFS info (device dm-11): use zstd compression, level 3
[39487.532895] BTRFS info (device dm-11): turning on async discard
[39487.532897] BTRFS info (device dm-11): disk space caching is enabled
[39487.537803] BTRFS info (device dm-11): start tree-log replay
[39487.640762] BTRFS warning (device dm-11): direct IO failed ino 4279 rw 1,34817 sector 0x262580 len 12288 err no 10
[39487.652169] BTRFS: error (device dm-11: state A) in btrfs_replace_file_extents:2802: errno=-5 IO failure
[39487.652704] BTRFS info (device dm-11: state EA): forced readonly
[39487.655712] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[39488.228207] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[39488.228215] BTRFS info (device dm-11): use zstd compression, level 3
[39488.228218] BTRFS info (device dm-11): turning on async discard
[39488.228220] BTRFS info (device dm-11): disk space caching is enabled
[39488.263837] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[39488.296527] BTRFS: error (device dm-11: state A) in __btrfs_free_extent:3078: errno=-5 IO failure
[39488.297005] BTRFS info (device dm-11: state EA): forced readonly
[39488.297010] BTRFS: error (device dm-11: state EA) in btrfs_run_delayed_refs:2141: errno=-5 IO failure
[39488.874372] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[39488.874381] BTRFS info (device dm-11): use zstd compression, level 3
[39488.874385] BTRFS info (device dm-11): turning on async discard
[39488.874387] BTRFS info (device dm-11): disk space caching is enabled