[39821.846364] run fstests generic/475 at 2022-08-06 07:57:20
[39822.703540] BTRFS: device fsid b50a75a9-9122-4018-a21d-cad5a4b91219 devid 1 transid 6 /dev/mapper/vg0-lv9 scanned by mkfs.btrfs (1333836)
[39822.980755] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[39822.980765] BTRFS info (device dm-11): setting incompat feature flag for COMPRESS_ZSTD (0x10)
[39822.980768] BTRFS info (device dm-11): use zstd compression, level 3
[39822.980771] BTRFS info (device dm-11): turning on async discard
[39822.980773] BTRFS info (device dm-11): disk space caching is enabled
[39822.984847] BTRFS info (device dm-11): checking UUID tree
[39825.028513] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[39825.028536] btrfs_dev_stat_inc_and_print: 2 callbacks suppressed
[39825.028539] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 1, rd 0, flush 0, corrupt 0, gen 0
[39825.029403] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[39825.029438] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 2, rd 0, flush 0, corrupt 0, gen 0
[39825.029453] BTRFS error (device dm-11): error writing primary super block to device 1
[39825.029458] BTRFS: error (device dm-11) in write_all_supers:4342: errno=-5 IO failure (1 errors while writing supers)
[39825.030396] BTRFS info (device dm-11: state E): forced readonly
[39825.030434] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[39825.030442] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[39825.031517] BTRFS: error (device dm-11: state EA) in btrfs_sync_log:3192: errno=-5 IO failure
[39825.036129] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 2, rd 1, flush 0, corrupt 0, gen 0
[39825.036155] BTRFS warning (device dm-11: state EA): direct IO failed ino 309 rw 0,0 sector 0x130b80 len 53248 err no 10
[39825.036435] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 2, rd 2, flush 0, corrupt 0, gen 0
[39825.036457] BTRFS warning (device dm-11: state EA): direct IO failed ino 300 rw 0,0 sector 0x123d58 len 16384 err no 10
[39825.037212] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 3, rd 2, flush 0, corrupt 0, gen 0
[39825.037836] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 4, rd 2, flush 0, corrupt 0, gen 0
[39825.037970] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 5, rd 2, flush 0, corrupt 0, gen 0
[39825.043376] BTRFS warning (device dm-11: state EA): Skipping commit of aborted transaction.
[39825.043382] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[39825.045834] buffer_io_error: 760 callbacks suppressed
[39825.045844] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[39825.048836] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 5, rd 3, flush 0, corrupt 0, gen 0
[39825.048861] BTRFS warning (device dm-11: state EA): direct IO failed ino 389 rw 0,0 sector 0x6838 len 4096 err no 10
[39825.071843] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 5, rd 4, flush 0, corrupt 0, gen 0
[39825.071874] BTRFS warning (device dm-11: state EA): direct IO failed ino 333 rw 0,0 sector 0x128380 len 40960 err no 10
[39825.072108] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 5, rd 5, flush 0, corrupt 0, gen 0
[39825.072128] BTRFS warning (device dm-11: state EA): direct IO failed ino 300 rw 0,0 sector 0x9c18 len 4096 err no 10
[39825.075991] BTRFS warning (device dm-11: state EA): direct IO failed ino 366 rw 0,0 sector 0x11e310 len 28672 err no 10
[39825.077387] BTRFS warning (device dm-11: state EA): direct IO failed ino 366 rw 0,0 sector 0x11e310 len 28672 err no 10
[39825.084194] BTRFS warning (device dm-11: state EA): direct IO failed ino 360 rw 0,0 sector 0x1188c0 len 24576 err no 10
[39825.089024] BTRFS warning (device dm-11: state EA): direct IO failed ino 392 rw 0,0 sector 0x12cf70 len 4096 err no 10
[39825.765446] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[39825.765454] BTRFS info (device dm-11): use zstd compression, level 3
[39825.765458] BTRFS info (device dm-11): turning on async discard
[39825.765460] BTRFS info (device dm-11): disk space caching is enabled
[39827.799459] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[39827.799469] BTRFS error (device dm-11): error writing primary super block to device 1
[39827.799471] BTRFS: error (device dm-11) in write_all_supers:4342: errno=-5 IO failure (1 errors while writing supers)
[39827.800096] BTRFS info (device dm-11: state E): forced readonly
[39827.800106] BTRFS: error (device dm-11: state EA) in btrfs_sync_log:3203: errno=-5 IO failure
[39827.801617] BTRFS warning (device dm-11: state EA): direct IO failed ino 514 rw 0,0 sector 0x1433c8 len 16384 err no 10
[39827.802149] BTRFS warning (device dm-11: state EA): direct IO failed ino 496 rw 0,0 sector 0x14bfc0 len 49152 err no 10
[39827.805627] BTRFS warning (device dm-11: state EA): Skipping commit of aborted transaction.
[39827.805634] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[39827.808741] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[39827.834630] BTRFS warning (device dm-11: state EA): direct IO failed ino 558 rw 0,0 sector 0x1511e8 len 28672 err no 10
[39827.837965] BTRFS warning (device dm-11: state EA): direct IO failed ino 544 rw 0,0 sector 0x148f30 len 4096 err no 10
[39827.841778] BTRFS warning (device dm-11: state EA): direct IO failed ino 259 rw 0,0 sector 0x156320 len 4096 err no 10
[39827.860025] BTRFS warning (device dm-11: state EA): direct IO failed ino 264 rw 0,0 sector 0x11cfb0 len 69632 err no 10
[39828.318813] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[39828.318822] BTRFS info (device dm-11): use zstd compression, level 3
[39828.318826] BTRFS info (device dm-11): turning on async discard
[39828.318828] BTRFS info (device dm-11): disk space caching is enabled
[39829.467150] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[39829.467160] BTRFS error (device dm-11): error writing primary super block to device 1
[39829.467163] BTRFS: error (device dm-11) in write_all_supers:4342: errno=-5 IO failure (1 errors while writing supers)
[39829.467933] BTRFS info (device dm-11: state E): forced readonly
[39829.467945] BTRFS: error (device dm-11: state EA) in btrfs_sync_log:3203: errno=-5 IO failure
[39829.469104] BTRFS warning (device dm-11: state EA): Skipping commit of aborted transaction.
[39829.469108] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[39829.481122] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[39829.508880] BTRFS warning (device dm-11: state EA): direct IO failed ino 611 rw 0,0 sector 0x15a950 len 40960 err no 10
[39829.508912] BTRFS warning (device dm-11: state EA): direct IO failed ino 611 rw 0,0 sector 0x158438 len 36864 err no 10
[39829.509200] BTRFS warning (device dm-11: state EA): direct IO failed ino 277 rw 0,0 sector 0x168ef0 len 20480 err no 10
[39829.511900] BTRFS warning (device dm-11: state EA): direct IO failed ino 265 rw 0,0 sector 0x166368 len 4096 err no 10
[39830.124748] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[39830.124759] BTRFS info (device dm-11): use zstd compression, level 3
[39830.124763] BTRFS info (device dm-11): turning on async discard
[39830.124766] BTRFS info (device dm-11): disk space caching is enabled
[39830.162441] btrfs_dev_stat_inc_and_print: 39 callbacks suppressed
[39830.162445] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 0, rd 1, flush 0, corrupt 0, gen 0
[39830.162780] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 0, rd 2, flush 0, corrupt 0, gen 0
[39830.163437] BTRFS error (device dm-11): error reading free space cache
[39830.163456] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 0, rd 3, flush 0, corrupt 0, gen 0
[39830.163460] BTRFS warning (device dm-11): failed to load free space cache for block group 298844160, rebuilding it now
[39830.164079] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 0, rd 4, flush 0, corrupt 0, gen 0
[39830.164115] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 0, rd 5, flush 0, corrupt 0, gen 0
[39830.164565] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 0, rd 6, flush 0, corrupt 0, gen 0
[39830.164738] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 0, rd 7, flush 0, corrupt 0, gen 0
[39830.164811] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 0, rd 8, flush 0, corrupt 0, gen 0
[39830.166691] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 0, rd 9, flush 0, corrupt 0, gen 0
[39830.166972] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 0, rd 10, flush 0, corrupt 0, gen 0
[39830.169455] BTRFS: error (device dm-11: state A) in do_free_extent_accounting:2848: errno=-5 IO failure
[39830.170180] BTRFS info (device dm-11: state EA): forced readonly
[39830.170187] BTRFS: error (device dm-11: state EA) in btrfs_run_delayed_refs:2141: errno=-5 IO failure
[39830.176211] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[39830.727582] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[39830.727591] BTRFS info (device dm-11): use zstd compression, level 3
[39830.727594] BTRFS info (device dm-11): turning on async discard
[39830.727596] BTRFS info (device dm-11): disk space caching is enabled
[39830.778058] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[39830.795527] BTRFS error (device dm-11): error reading free space cache
[39830.795552] BTRFS warning (device dm-11): failed to load free space cache for block group 298844160, rebuilding it now
[39830.797211] BTRFS: error (device dm-11: state A) in do_free_extent_accounting:2848: errno=-5 IO failure
[39830.798016] BTRFS info (device dm-11: state EA): forced readonly
[39830.798023] BTRFS: error (device dm-11: state EA) in btrfs_run_delayed_refs:2141: errno=-5 IO failure
[39831.401930] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[39831.401938] BTRFS info (device dm-11): use zstd compression, level 3
[39831.401941] BTRFS info (device dm-11): turning on async discard
[39831.401943] BTRFS info (device dm-11): disk space caching is enabled
[39831.442399] BTRFS: error (device dm-11: state A) in do_free_extent_accounting:2848: errno=-5 IO failure
[39831.442942] BTRFS info (device dm-11: state EA): forced readonly
[39831.442948] BTRFS: error (device dm-11: state EA) in btrfs_run_delayed_refs:2141: errno=-5 IO failure
[39831.454003] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[39831.994379] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[39831.994388] BTRFS info (device dm-11): use zstd compression, level 3
[39831.994391] BTRFS info (device dm-11): turning on async discard
[39831.994392] BTRFS info (device dm-11): disk space caching is enabled
[39834.154899] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[39834.154909] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[39834.160940] BTRFS: error (device dm-11: state A) in do_free_extent_accounting:2848: errno=-5 IO failure
[39834.161635] BTRFS info (device dm-11: state EA): forced readonly
[39834.161643] BTRFS: error (device dm-11: state EA) in btrfs_run_delayed_refs:2141: errno=-5 IO failure
[39834.162481] BTRFS error (device dm-11: state EA): error writing primary super block to device 1
[39834.162485] BTRFS: error (device dm-11: state EA) in write_all_supers:4342: errno=-5 IO failure (1 errors while writing supers)
[39834.163398] BTRFS warning (device dm-11: state EA): Skipping commit of aborted transaction.
[39834.163402] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[39834.166030] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[39834.737841] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[39834.737849] BTRFS info (device dm-11): use zstd compression, level 3
[39834.737853] BTRFS info (device dm-11): turning on async discard
[39834.737854] BTRFS info (device dm-11): disk space caching is enabled
[39834.770643] BTRFS error (device dm-11): error reading free space cache
[39834.770672] BTRFS warning (device dm-11): failed to load free space cache for block group 298844160, rebuilding it now
[39834.774994] BTRFS: error (device dm-11: state A) in do_free_extent_accounting:2848: errno=-5 IO failure
[39834.775545] BTRFS info (device dm-11: state EA): forced readonly
[39834.775551] BTRFS: error (device dm-11: state EA) in btrfs_run_delayed_refs:2141: errno=-5 IO failure
[39834.778605] BTRFS warning (device dm-11: state EA): direct IO failed ino 747 rw 1,34817 sector 0x312880 len 61440 err no 10
[39834.781076] BTRFS warning (device dm-11: state EA): Skipping commit of aborted transaction.
[39834.781081] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[39834.783002] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[39835.322343] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[39835.322351] BTRFS info (device dm-11): use zstd compression, level 3
[39835.322355] BTRFS info (device dm-11): turning on async discard
[39835.322356] BTRFS info (device dm-11): disk space caching is enabled
[39835.352559] btrfs_dev_stat_inc_and_print: 90 callbacks suppressed
[39835.352563] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 0, rd 1, flush 0, corrupt 0, gen 0
[39835.352579] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 0, rd 2, flush 0, corrupt 0, gen 0
[39835.352625] BTRFS error (device dm-11): error reading free space cache
[39835.352627] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 0, rd 3, flush 0, corrupt 0, gen 0
[39835.352653] BTRFS warning (device dm-11): failed to load free space cache for block group 298844160, rebuilding it now
[39835.352719] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 0, rd 4, flush 0, corrupt 0, gen 0
[39835.352743] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 0, rd 5, flush 0, corrupt 0, gen 0
[39835.353530] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 0, rd 6, flush 0, corrupt 0, gen 0
[39835.356352] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 0, rd 7, flush 0, corrupt 0, gen 0
[39835.356910] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 1, rd 7, flush 0, corrupt 0, gen 0
[39835.356923] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 2, rd 7, flush 0, corrupt 0, gen 0
[39835.357697] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 3, rd 7, flush 0, corrupt 0, gen 0
[39835.359101] BTRFS: error (device dm-11: state A) in btrfs_start_dirty_block_groups:3051: errno=-5 IO failure
[39835.359686] BTRFS info (device dm-11: state EA): forced readonly
[39835.359702] BTRFS: error (device dm-11: state EA) in btrfs_create_pending_block_groups:2422: errno=-5 IO failure
[39835.364531] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[39835.889817] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[39835.889828] BTRFS info (device dm-11): use zstd compression, level 3
[39835.889833] BTRFS info (device dm-11): turning on async discard
[39835.889836] BTRFS info (device dm-11): disk space caching is enabled
[39838.000939] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[39838.000966] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[39838.000975] BTRFS error (device dm-11): error writing primary super block to device 1
[39838.000979] BTRFS: error (device dm-11) in write_all_supers:4342: errno=-5 IO failure (1 errors while writing supers)
[39838.001805] BTRFS info (device dm-11: state E): forced readonly
[39838.001811] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[39838.001814] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[39838.008534] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[39838.008533] BTRFS warning (device dm-11: state EA): direct IO failed ino 776 rw 0,0 sector 0x176670 len 40960 err no 10
[39838.017863] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[39838.027401] BTRFS warning (device dm-11: state EA): direct IO failed ino 257 rw 0,0 sector 0x18bed8 len 36864 err no 10
[39838.032659] BTRFS warning (device dm-11: state EA): direct IO failed ino 781 rw 0,0 sector 0x181448 len 77824 err no 10
[39838.033079] BTRFS warning (device dm-11: state EA): direct IO failed ino 835 rw 0,0 sector 0x18e7d0 len 45056 err no 10
[39838.035971] BTRFS warning (device dm-11: state EA): direct IO failed ino 781 rw 0,0 sector 0x1756c8 len 4096 err no 10
[39838.036207] BTRFS warning (device dm-11: state EA): direct IO failed ino 257 rw 0,0 sector 0x18bf50 len 57344 err no 10
[39838.037008] BTRFS warning (device dm-11: state EA): direct IO failed ino 258 rw 0,0 sector 0x18f5f8 len 24576 err no 10
[39838.068706] BTRFS warning (device dm-11: state EA): direct IO failed ino 813 rw 0,0 sector 0x1870b0 len 4096 err no 10
[39838.079878] BTRFS warning (device dm-11: state EA): direct IO failed ino 258 rw 0,0 sector 0x178e90 len 8192 err no 10
[39838.745396] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[39838.745404] BTRFS info (device dm-11): use zstd compression, level 3
[39838.745407] BTRFS info (device dm-11): turning on async discard
[39838.745409] BTRFS info (device dm-11): disk space caching is enabled
[39838.786369] BTRFS error (device dm-11): error reading free space cache
[39838.786390] BTRFS warning (device dm-11): failed to load free space cache for block group 298844160, rebuilding it now
[39838.787059] BTRFS warning (device dm-11): direct IO failed ino 921 rw 1,34817 sector 0x312800 len 90112 err no 10
[39838.788137] BTRFS warning (device dm-11): direct IO failed ino 921 rw 1,34817 sector 0x312800 len 65536 err no 10
[39838.789538] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[39838.791938] BTRFS: error (device dm-11: state A) in __btrfs_free_extent:3078: errno=-5 IO failure
[39838.792509] BTRFS info (device dm-11: state EA): forced readonly
[39838.792515] BTRFS: error (device dm-11: state EA) in btrfs_run_delayed_refs:2141: errno=-5 IO failure
[39839.439176] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[39839.439184] BTRFS info (device dm-11): use zstd compression, level 3
[39839.439188] BTRFS info (device dm-11): turning on async discard
[39839.439189] BTRFS info (device dm-11): disk space caching is enabled
[39839.476733] ------------[ cut here ]------------
[39839.476806] WARNING: CPU: 1 PID: 826526 at fs/btrfs/discard.c:604 btrfs_discard_update_discardable+0x98/0xb0
[39839.476815] Modules linked in: dm_thin_pool dm_persistent_data dm_bio_prison dm_log_writes dm_dust dm_flakey nft_fib_inet nft_fib_ipv4 nft_fib_ipv6 nft_fib nft_reject_inet nf_reject_ipv4 nf_reject_ipv6 nft_reject nft_ct nft_chain_nat nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 ip6_tables nft_compat ip_set rfkill nf_tables nfnetlink intel_rapl_msr iTCO_wdt iTCO_vendor_support joydev intel_rapl_common snd_hda_codec_generic snd_hda_intel snd_intel_dspcfg virtio_balloon snd_hda_codec snd_hwdep snd_hda_core snd_pcm snd_timer snd i2c_i801 soundcore lpc_ich i2c_smbus zram ip_tables xfs crct10dif_pclmul crc32_pclmul crc32c_intel ghash_clmulni_intel serio_raw qemu_fw_cfg
[39839.476883] CPU: 1 PID: 826526 Comm: kworker/u4:13 Tainted: G        W         5.19.0-rc8+ #788
[39839.476886] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.13.0-2.fc32 04/01/2014
[39839.476891] Workqueue: btrfs-cache btrfs_work_helper
[39839.476899] RIP: 0010:btrfs_discard_update_discardable+0x98/0xb0
[39839.476902] 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
[39839.476905] RSP: 0018:ffffa83386717ad0 EFLAGS: 00010246
[39839.476908] RAX: 0000000000000000 RBX: ffff88fa08982a00 RCX: 0000000000000001
[39839.476912] RDX: 0000000000000000 RSI: ffffffffb3807c5b RDI: ffffffffb38a831e
[39839.476914] RBP: ffff88f9c5ff4000 R08: 0000000000000000 R09: 0000000000001000
[39839.476916] R10: ffff88f8fe573358 R11: 00000000009f9700 R12: ffff88fa078bc810
[39839.476917] R13: ffff88f9d56220b0 R14: ffff88f9c5ff4000 R15: ffff88f9c60b5150
[39839.476919] FS:  0000000000000000(0000) GS:ffff88fa3bd00000(0000) knlGS:0000000000000000
[39839.476921] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[39839.476923] CR2: 0000000001283000 CR3: 0000000115d38005 CR4: 0000000000370ee0
[39839.476928] Call Trace:
[39839.476931]  
[39839.476935]  __btrfs_remove_free_space_cache+0x27/0x30
[39839.476939]  load_free_space_cache+0xad2/0xaf0
[39839.476980]  caching_thread+0x40b/0x650
[39839.476989]  ? lock_release+0x137/0x2d0
[39839.476996]  btrfs_work_helper+0xf2/0x3e0
[39839.476999]  ? lock_is_held_type+0xe2/0x140
[39839.477006]  process_one_work+0x271/0x590
[39839.477015]  ? process_one_work+0x590/0x590
[39839.477018]  worker_thread+0x52/0x3b0
[39839.477023]  ? process_one_work+0x590/0x590
[39839.477025]  kthread+0xf0/0x120
[39839.477028]  ? kthread_complete_and_exit+0x20/0x20
[39839.477033]  ret_from_fork+0x1f/0x30
[39839.477046]  
[39839.477050] irq event stamp: 23631277
[39839.477052] hardirqs last  enabled at (23631283): [] __up_console_sem+0x5e/0x70
[39839.477056] hardirqs last disabled at (23631288): [] __up_console_sem+0x43/0x70
[39839.477058] softirqs last  enabled at (23630646): [] __irq_exit_rcu+0xeb/0x160
[39839.477061] softirqs last disabled at (23630635): [] __irq_exit_rcu+0xeb/0x160
[39839.477064] ---[ end trace 0000000000000000 ]---
[39839.477067] BTRFS warning (device dm-11): block group 298844160 has wrong amount of free space
[39839.477084] BTRFS warning (device dm-11): failed to load free space cache for block group 298844160, rebuilding it now
[39840.480011] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[39840.480017] btrfs_dev_stat_inc_and_print: 31 callbacks suppressed
[39840.480019] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 1, rd 0, flush 0, corrupt 0, gen 0
[39840.480034] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[39840.480037] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 2, rd 0, flush 0, corrupt 0, gen 0
[39840.480047] BTRFS error (device dm-11): error writing primary super block to device 1
[39840.480052] BTRFS: error (device dm-11) in write_all_supers:4342: errno=-5 IO failure (1 errors while writing supers)
[39840.480783] BTRFS info (device dm-11: state E): forced readonly
[39840.480788] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[39840.480797] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[39840.484483] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 3, rd 0, flush 0, corrupt 0, gen 0
[39840.484690] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 4, rd 0, flush 0, corrupt 0, gen 0
[39840.485606] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 5, rd 0, flush 0, corrupt 0, gen 0
[39840.485850] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 6, rd 0, flush 0, corrupt 0, gen 0
[39840.486035] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 7, rd 0, flush 0, corrupt 0, gen 0
[39840.486534] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 8, rd 0, flush 0, corrupt 0, gen 0
[39840.486645] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 9, rd 0, flush 0, corrupt 0, gen 0
[39840.487527] BTRFS warning (device dm-11: state EA): Skipping commit of aborted transaction.
[39840.487541] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[39840.492555] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 9, rd 1, flush 0, corrupt 0, gen 0
[39840.492586] BTRFS warning (device dm-11: state EA): direct IO failed ino 974 rw 0,0 sector 0x192d50 len 4096 err no 10
[39840.492651] BTRFS warning (device dm-11: state EA): direct IO failed ino 974 rw 0,0 sector 0x1a2db0 len 81920 err no 10
[39840.493375] BTRFS warning (device dm-11: state EA): direct IO failed ino 974 rw 0,0 sector 0x1a2db8 len 69632 err no 10
[39840.494195] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[39841.203302] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[39841.203310] BTRFS info (device dm-11): use zstd compression, level 3
[39841.203314] BTRFS info (device dm-11): turning on async discard
[39841.203316] BTRFS info (device dm-11): disk space caching is enabled
[39842.249210] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[39842.249267] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[39842.249728] BTRFS error (device dm-11): error writing primary super block to device 1
[39842.249733] BTRFS: error (device dm-11) in write_all_supers:4342: errno=-5 IO failure (1 errors while writing supers)
[39842.250634] BTRFS info (device dm-11: state E): forced readonly
[39842.250645] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[39842.250648] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[39842.251849] BTRFS: error (device dm-11: state EA) in btrfs_sync_log:3192: errno=-5 IO failure
[39842.259897] BTRFS warning (device dm-11: state EA): Skipping commit of aborted transaction.
[39842.259903] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[39842.263465] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[39842.280197] BTRFS warning (device dm-11: state EA): direct IO failed ino 258 rw 0,0 sector 0x1a7768 len 24576 err no 10
[39842.302959] BTRFS warning (device dm-11: state EA): direct IO failed ino 1073 rw 0,0 sector 0x1acaf0 len 16384 err no 10
[39842.305309] BTRFS warning (device dm-11: state EA): direct IO failed ino 258 rw 0,0 sector 0x1ac030 len 4096 err no 10
[39842.974785] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[39842.974793] BTRFS info (device dm-11): use zstd compression, level 3
[39842.974796] BTRFS info (device dm-11): turning on async discard
[39842.974797] BTRFS info (device dm-11): disk space caching is enabled
[39843.017719] ------------[ cut here ]------------
[39843.017814] WARNING: CPU: 1 PID: 1299233 at fs/btrfs/discard.c:604 btrfs_discard_update_discardable+0x98/0xb0
[39843.017821] Modules linked in: dm_thin_pool dm_persistent_data dm_bio_prison dm_log_writes dm_dust dm_flakey nft_fib_inet nft_fib_ipv4 nft_fib_ipv6 nft_fib nft_reject_inet nf_reject_ipv4 nf_reject_ipv6 nft_reject nft_ct nft_chain_nat nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 ip6_tables nft_compat ip_set rfkill nf_tables nfnetlink intel_rapl_msr iTCO_wdt iTCO_vendor_support joydev intel_rapl_common snd_hda_codec_generic snd_hda_intel snd_intel_dspcfg virtio_balloon snd_hda_codec snd_hwdep snd_hda_core snd_pcm snd_timer snd i2c_i801 soundcore lpc_ich i2c_smbus zram ip_tables xfs crct10dif_pclmul crc32_pclmul crc32c_intel ghash_clmulni_intel serio_raw qemu_fw_cfg
[39843.017896] CPU: 1 PID: 1299233 Comm: kworker/u4:7 Tainted: G        W         5.19.0-rc8+ #788
[39843.017899] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.13.0-2.fc32 04/01/2014
[39843.017901] Workqueue: btrfs-cache btrfs_work_helper
[39843.017907] RIP: 0010:btrfs_discard_update_discardable+0x98/0xb0
[39843.017910] 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
[39843.017913] RSP: 0018:ffffa83387457ad0 EFLAGS: 00010246
[39843.017916] RAX: 0000000000000000 RBX: ffff88fa380cfa00 RCX: 0000000000000001
[39843.017918] RDX: 0000000000000000 RSI: ffffffffb3807c5b RDI: ffffffffb38a831e
[39843.017920] RBP: ffff88f9c97d0000 R08: 0000000000000000 R09: 0000000000001000
[39843.017922] R10: ffff88f9e473d700 R11: 00000000009fba00 R12: ffff88f9c405c810
[39843.017923] R13: ffff88f9c3456b30 R14: ffff88f9c97d0000 R15: ffff88f9c70b3690
[39843.017925] FS:  0000000000000000(0000) GS:ffff88fa3bd00000(0000) knlGS:0000000000000000
[39843.017927] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[39843.017929] CR2: 00000000006a6000 CR3: 00000001050f8004 CR4: 0000000000370ee0
[39843.017934] Call Trace:
[39843.017937]  
[39843.017943]  __btrfs_remove_free_space_cache+0x27/0x30
[39843.017947]  load_free_space_cache+0xad2/0xaf0
[39843.017992]  caching_thread+0x40b/0x650
[39843.018002]  ? lock_release+0x137/0x2d0
[39843.018010]  btrfs_work_helper+0xf2/0x3e0
[39843.018013]  ? lock_is_held_type+0xe2/0x140
[39843.018021]  process_one_work+0x271/0x590
[39843.018031]  ? process_one_work+0x590/0x590
[39843.018034]  worker_thread+0x52/0x3b0
[39843.018040]  ? process_one_work+0x590/0x590
[39843.018043]  kthread+0xf0/0x120
[39843.018046]  ? kthread_complete_and_exit+0x20/0x20
[39843.018051]  ret_from_fork+0x1f/0x30
[39843.018066]  
[39843.018068] irq event stamp: 3439149
[39843.018070] hardirqs last  enabled at (3439155): [] __up_console_sem+0x5e/0x70
[39843.018073] hardirqs last disabled at (3439160): [] __up_console_sem+0x43/0x70
[39843.018075] softirqs last  enabled at (3438528): [] __irq_exit_rcu+0xeb/0x160
[39843.018079] softirqs last disabled at (3438517): [] __irq_exit_rcu+0xeb/0x160
[39843.018082] ---[ end trace 0000000000000000 ]---
[39843.018085] BTRFS warning (device dm-11): block group 298844160 has wrong amount of free space
[39843.018103] BTRFS warning (device dm-11): failed to load free space cache for block group 298844160, rebuilding it now
[39844.023957] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[39844.023970] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[39844.025377] BTRFS error (device dm-11): error writing primary super block to device 1
[39844.025381] BTRFS: error (device dm-11) in write_all_supers:4342: errno=-5 IO failure (1 errors while writing supers)
[39844.026126] BTRFS info (device dm-11: state E): forced readonly
[39844.026132] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[39844.026142] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[39844.030123] BTRFS warning (device dm-11: state EA): Skipping commit of aborted transaction.
[39844.030132] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[39844.032735] BTRFS warning (device dm-11: state EA): direct IO failed ino 259 rw 0,0 sector 0x1bc6a0 len 24576 err no 10
[39844.033314] BTRFS warning (device dm-11: state EA): direct IO failed ino 267 rw 0,0 sector 0x1be9d8 len 77824 err no 10
[39844.035554] BTRFS warning (device dm-11: state EA): direct IO failed ino 1125 rw 0,0 sector 0x1b6928 len 4096 err no 10
[39844.036781] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[39844.040399] BTRFS warning (device dm-11: state EA): direct IO failed ino 1125 rw 0,0 sector 0x1bc010 len 8192 err no 10
[39844.058295] BTRFS warning (device dm-11: state EA): direct IO failed ino 258 rw 0,0 sector 0x1ba020 len 4096 err no 10
[39844.062004] BTRFS warning (device dm-11: state EA): direct IO failed ino 258 rw 0,0 sector 0x1bf990 len 4096 err no 10
[39844.067137] BTRFS warning (device dm-11: state EA): direct IO failed ino 1183 rw 0,0 sector 0x1c0108 len 4096 err no 10
[39844.069320] BTRFS warning (device dm-11: state EA): direct IO failed ino 1124 rw 0,0 sector 0x1be140 len 28672 err no 10
[39844.678163] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[39844.678171] BTRFS info (device dm-11): use zstd compression, level 3
[39844.678175] BTRFS info (device dm-11): turning on async discard
[39844.678176] BTRFS info (device dm-11): disk space caching is enabled
[39844.725940] BTRFS error (device dm-11): error reading free space cache
[39844.725960] BTRFS warning (device dm-11): failed to load free space cache for block group 298844160, rebuilding it now
[39844.728301] BTRFS warning (device dm-11): direct IO failed ino 1203 rw 1,34817 sector 0x312800 len 98304 err no 10
[39844.730455] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[39844.740966] BTRFS warning (device dm-11): direct IO failed ino 1203 rw 1,34817 sector 0x312800 len 65536 err no 10
[39844.741882] BTRFS warning (device dm-11): direct IO failed ino 1201 rw 1,34817 sector 0x312800 len 73728 err no 10
[39844.742765] BTRFS warning (device dm-11): direct IO failed ino 1205 rw 1,34817 sector 0x312800 len 77824 err no 10
[39844.744683] BTRFS warning (device dm-11): direct IO failed ino 1201 rw 1,34817 sector 0x312f00 len 53248 err no 10
[39844.744917] BTRFS warning (device dm-11): direct IO failed ino 1201 rw 1,34817 sector 0x3133b8 len 77824 err no 10
[39844.746597] BTRFS warning (device dm-11): direct IO failed ino 1203 rw 1,34817 sector 0x313468 len 94208 err no 10
[39844.746753] BTRFS warning (device dm-11): direct IO failed ino 1203 rw 1,34817 sector 0x313468 len 12288 err no 10
[39844.751832] BTRFS warning (device dm-11): direct IO failed ino 1209 rw 1,34817 sector 0x3133b8 len 81920 err no 10
[39844.754888] BTRFS: error (device dm-11: state A) in __btrfs_free_extent:3078: errno=-5 IO failure
[39844.755507] BTRFS info (device dm-11: state EA): forced readonly
[39844.755514] BTRFS: error (device dm-11: state EA) in btrfs_run_delayed_refs:2141: errno=-5 IO failure
[39845.319899] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[39845.319909] BTRFS info (device dm-11): use zstd compression, level 3
[39845.319914] BTRFS info (device dm-11): turning on async discard
[39845.319916] BTRFS info (device dm-11): disk space caching is enabled
[39847.386662] btrfs_dev_stat_inc_and_print: 93 callbacks suppressed
[39847.386666] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 1, rd 0, flush 0, corrupt 0, gen 0
[39847.386712] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 2, rd 0, flush 0, corrupt 0, gen 0
[39847.389822] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 3, rd 0, flush 0, corrupt 0, gen 0
[39847.390970] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 4, rd 0, flush 0, corrupt 0, gen 0
[39847.396451] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 5, rd 0, flush 0, corrupt 0, gen 0
[39847.398688] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[39847.398949] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 6, rd 0, flush 0, corrupt 0, gen 0
[39847.398958] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 7, rd 0, flush 0, corrupt 0, gen 0
[39847.399803] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 8, rd 0, flush 0, corrupt 0, gen 0
[39847.399815] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 9, rd 0, flush 0, corrupt 0, gen 0
[39847.400004] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 10, rd 0, flush 0, corrupt 0, gen 0
[39847.400189] BTRFS: error (device dm-11) in btrfs_commit_transaction:2496: errno=-5 IO failure (Error while writing out transaction)
[39847.401154] BTRFS info (device dm-11: state E): forced readonly
[39847.401160] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[39847.401166] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[39848.089024] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[39848.089032] BTRFS info (device dm-11): use zstd compression, level 3
[39848.089036] BTRFS info (device dm-11): turning on async discard
[39848.089038] BTRFS info (device dm-11): disk space caching is enabled
[39849.134183] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[39849.134204] BTRFS warning (device dm-11): direct IO failed ino 1435 rw 1,34817 sector 0x1f7308 len 90112 err no 10
[39849.134221] BTRFS error (device dm-11): error writing primary super block to device 1
[39849.134275] BTRFS: error (device dm-11) in write_all_supers:4342: errno=-5 IO failure (1 errors while writing supers)
[39849.135156] BTRFS info (device dm-11: state E): forced readonly
[39849.135195] BTRFS: error (device dm-11: state EA) in btrfs_sync_log:3203: errno=-5 IO failure
[39849.135361] BTRFS warning (device dm-11: state EA): direct IO failed ino 271 rw 0,0 sector 0x1f6c00 len 4096 err no 10
[39849.138761] BTRFS warning (device dm-11: state EA): direct IO failed ino 1418 rw 0,0 sector 0x1f0698 len 4096 err no 10
[39849.140471] BTRFS warning (device dm-11: state EA): direct IO failed ino 261 rw 0,0 sector 0x1f1ec8 len 16384 err no 10
[39849.141289] BTRFS warning (device dm-11: state EA): direct IO failed ino 1418 rw 0,0 sector 0x1f0660 len 65536 err no 10
[39849.143363] BTRFS warning (device dm-11: state EA): direct IO failed ino 1401 rw 0,0 sector 0x1ed2c0 len 32768 err no 10
[39849.146552] BTRFS warning (device dm-11: state EA): direct IO failed ino 1435 rw 0,0 sector 0x1f4910 len 45056 err no 10
[39849.154737] BTRFS warning (device dm-11: state EA): direct IO failed ino 261 rw 0,0 sector 0x1f1f00 len 8192 err no 10
[39849.157678] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[39849.169972] BTRFS warning (device dm-11: state EA): direct IO failed ino 1427 rw 0,0 sector 0x1efa98 len 8192 err no 10
[39849.170522] BTRFS warning (device dm-11: state EA): direct IO failed ino 259 rw 0,0 sector 0x1f4cc8 len 12288 err no 10
[39849.171362] BTRFS warning (device dm-11: state EA): direct IO failed ino 1417 rw 0,0 sector 0x1f7188 len 45056 err no 10
[39849.187423] BTRFS warning (device dm-11: state EA): direct IO failed ino 262 rw 0,0 sector 0x1f4520 len 69632 err no 10
[39849.201776] BTRFS warning (device dm-11: state EA): direct IO failed ino 259 rw 0,0 sector 0x1f4cd0 len 45056 err no 10
[39849.767121] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[39849.767132] BTRFS info (device dm-11): use zstd compression, level 3
[39849.767138] BTRFS info (device dm-11): turning on async discard
[39849.767140] BTRFS info (device dm-11): disk space caching is enabled
[39849.774063] BTRFS info (device dm-11): start tree-log replay
[39850.864639] BTRFS: error (device dm-11) in btrfs_commit_transaction:2496: errno=-5 IO failure (Error while writing out transaction)
[39850.865293] BTRFS: error (device dm-11: state A) in btrfs_replace_file_extents:2802: errno=-5 IO failure
[39850.865451] BTRFS info (device dm-11: state EA): forced readonly
[39850.866124] BTRFS warning (device dm-11: state EA): Skipping commit of aborted transaction.
[39850.866127] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[39850.883928] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[39851.522868] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[39851.522876] BTRFS info (device dm-11): use zstd compression, level 3
[39851.522879] BTRFS info (device dm-11): turning on async discard
[39851.522881] BTRFS info (device dm-11): disk space caching is enabled
[39851.527082] BTRFS info (device dm-11): start tree-log replay
[39851.618969] BTRFS: error (device dm-11: state A) in __btrfs_run_delayed_items:1182: errno=-5 IO failure
[39851.619721] BTRFS info (device dm-11: state EA): forced readonly
[39851.619726] BTRFS warning (device dm-11: state EA): Skipping commit of aborted transaction.
[39851.619729] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[39851.625040] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[39852.201538] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[39852.201546] BTRFS info (device dm-11): use zstd compression, level 3
[39852.201549] BTRFS info (device dm-11): turning on async discard
[39852.201551] BTRFS info (device dm-11): disk space caching is enabled
[39854.248759] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[39854.248767] btrfs_dev_stat_inc_and_print: 102 callbacks suppressed
[39854.248770] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 1, rd 0, flush 0, corrupt 0, gen 0
[39854.248789] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[39854.248794] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 2, rd 0, flush 0, corrupt 0, gen 0
[39854.248800] BTRFS error (device dm-11): error writing primary super block to device 1
[39854.248805] BTRFS: error (device dm-11) in write_all_supers:4342: errno=-5 IO failure (1 errors while writing supers)
[39854.249447] BTRFS info (device dm-11: state E): forced readonly
[39854.249452] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[39854.249461] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[39854.251928] BTRFS warning (device dm-11: state EA): Skipping commit of aborted transaction.
[39854.251936] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[39854.254171] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 3, rd 0, flush 0, corrupt 0, gen 0
[39854.254628] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 4, rd 0, flush 0, corrupt 0, gen 0
[39854.255392] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 5, rd 0, flush 0, corrupt 0, gen 0
[39854.255431] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 6, rd 0, flush 0, corrupt 0, gen 0
[39854.255447] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 7, rd 0, flush 0, corrupt 0, gen 0
[39854.255457] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 8, rd 0, flush 0, corrupt 0, gen 0
[39854.255984] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 9, rd 0, flush 0, corrupt 0, gen 0
[39854.256154] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 10, rd 0, flush 0, corrupt 0, gen 0
[39854.263800] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[39854.269798] BTRFS warning (device dm-11: state EA): direct IO failed ino 259 rw 0,0 sector 0x226348 len 20480 err no 10
[39854.283636] BTRFS warning (device dm-11: state EA): direct IO failed ino 294 rw 0,0 sector 0x22a440 len 36864 err no 10
[39854.290979] BTRFS warning (device dm-11: state EA): direct IO failed ino 284 rw 0,0 sector 0x22d0f0 len 36864 err no 10
[39854.940621] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[39854.940630] BTRFS info (device dm-11): use zstd compression, level 3
[39854.940633] BTRFS info (device dm-11): turning on async discard
[39854.940635] BTRFS info (device dm-11): disk space caching is enabled
[39854.945221] BTRFS info (device dm-11): start tree-log replay
[39856.039738] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[39856.039746] BTRFS error (device dm-11): error writing primary super block to device 1
[39856.039749] BTRFS: error (device dm-11) in write_all_supers:4342: errno=-5 IO failure (1 errors while writing supers)
[39856.040466] BTRFS info (device dm-11: state E): forced readonly
[39856.040488] BTRFS: error (device dm-11: state EA) in btrfs_sync_log:3203: errno=-5 IO failure
[39856.041126] BTRFS warning (device dm-11: state EA): Skipping commit of aborted transaction.
[39856.041130] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[39856.052795] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[39856.067360] BTRFS warning (device dm-11: state EA): direct IO failed ino 1416 rw 0,0 sector 0x2315e8 len 28672 err no 10
[39856.096595] BTRFS warning (device dm-11: state EA): direct IO failed ino 1809 rw 0,0 sector 0x2392f0 len 20480 err no 10
[39856.096825] BTRFS warning (device dm-11: state EA): direct IO failed ino 259 rw 0,0 sector 0x23f910 len 8192 err no 10
[39856.774676] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[39856.774684] BTRFS info (device dm-11): use zstd compression, level 3
[39856.774688] BTRFS info (device dm-11): turning on async discard
[39856.774690] BTRFS info (device dm-11): disk space caching is enabled
[39856.809826] ------------[ cut here ]------------
[39856.809909] WARNING: CPU: 1 PID: 759508 at fs/btrfs/discard.c:604 btrfs_discard_update_discardable+0x98/0xb0
[39856.809916] Modules linked in: dm_thin_pool dm_persistent_data dm_bio_prison dm_log_writes dm_dust dm_flakey nft_fib_inet nft_fib_ipv4 nft_fib_ipv6 nft_fib nft_reject_inet nf_reject_ipv4 nf_reject_ipv6 nft_reject nft_ct nft_chain_nat nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 ip6_tables nft_compat ip_set rfkill nf_tables nfnetlink intel_rapl_msr iTCO_wdt iTCO_vendor_support joydev intel_rapl_common snd_hda_codec_generic snd_hda_intel snd_intel_dspcfg virtio_balloon snd_hda_codec snd_hwdep snd_hda_core snd_pcm snd_timer snd i2c_i801 soundcore lpc_ich i2c_smbus zram ip_tables xfs crct10dif_pclmul crc32_pclmul crc32c_intel ghash_clmulni_intel serio_raw qemu_fw_cfg
[39856.809991] CPU: 1 PID: 759508 Comm: kworker/u4:3 Tainted: G        W         5.19.0-rc8+ #788
[39856.809994] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.13.0-2.fc32 04/01/2014
[39856.809996] Workqueue: btrfs-cache btrfs_work_helper
[39856.810002] RIP: 0010:btrfs_discard_update_discardable+0x98/0xb0
[39856.810005] 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
[39856.810007] RSP: 0018:ffffa83382f77ad0 EFLAGS: 00010246
[39856.810011] RAX: 0000000000000000 RBX: ffff88fa380cf000 RCX: 0000000000000001
[39856.810013] RDX: 0000000000000000 RSI: ffffffffb3807c5b RDI: ffffffffb38a831e
[39856.810014] RBP: ffff88fa30324000 R08: 0000000000000000 R09: 0000000000001000
[39856.810016] R10: ffff88f9097fede8 R11: 00000000009fb400 R12: ffff88f9c405a810
[39856.810018] R13: ffff88f9d573b350 R14: ffff88fa30324000 R15: ffff88f9c60b5150
[39856.810020] FS:  0000000000000000(0000) GS:ffff88fa3bd00000(0000) knlGS:0000000000000000
[39856.810022] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[39856.810024] CR2: 00007f8504d46300 CR3: 0000000148a0e004 CR4: 0000000000370ee0
[39856.810029] Call Trace:
[39856.810032]  
[39856.810036]  __btrfs_remove_free_space_cache+0x27/0x30
[39856.810041]  load_free_space_cache+0xad2/0xaf0
[39856.810122]  caching_thread+0x40b/0x650
[39856.810132]  ? lock_release+0x137/0x2d0
[39856.810141]  btrfs_work_helper+0xf2/0x3e0
[39856.810144]  ? lock_is_held_type+0xe2/0x140
[39856.810152]  process_one_work+0x271/0x590
[39856.810164]  worker_thread+0x52/0x3b0
[39856.810169]  ? process_one_work+0x590/0x590
[39856.810173]  kthread+0xf0/0x120
[39856.810175]  ? kthread_complete_and_exit+0x20/0x20
[39856.810181]  ret_from_fork+0x1f/0x30
[39856.810197]  
[39856.810198] irq event stamp: 17976123
[39856.810200] hardirqs last  enabled at (17976129): [] __up_console_sem+0x5e/0x70
[39856.810203] hardirqs last disabled at (17976134): [] __up_console_sem+0x43/0x70
[39856.810206] softirqs last  enabled at (17976056): [] __irq_exit_rcu+0xeb/0x160
[39856.810209] softirqs last disabled at (17976045): [] __irq_exit_rcu+0xeb/0x160
[39856.810212] ---[ end trace 0000000000000000 ]---
[39856.810216] BTRFS warning (device dm-11): block group 298844160 has wrong amount of free space
[39856.810235] BTRFS warning (device dm-11): failed to load free space cache for block group 298844160, rebuilding it now
[39857.815601] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[39857.815616] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[39857.815626] BTRFS error (device dm-11): error writing primary super block to device 1
[39857.815628] BTRFS: error (device dm-11) in write_all_supers:4342: errno=-5 IO failure (1 errors while writing supers)
[39857.816317] BTRFS info (device dm-11: state E): forced readonly
[39857.816323] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[39857.816328] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[39857.817157] BTRFS warning (device dm-11: state EA): Skipping commit of aborted transaction.
[39857.817163] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[39857.821652] BTRFS warning (device dm-11: state EA): direct IO failed ino 1897 rw 0,0 sector 0x244998 len 20480 err no 10
[39857.822810] BTRFS warning (device dm-11: state EA): direct IO failed ino 2059 rw 0,0 sector 0x253a70 len 12288 err no 10
[39857.829799] BTRFS warning (device dm-11: state EA): direct IO failed ino 1965 rw 0,0 sector 0x24fe48 len 16384 err no 10
[39857.830894] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[39857.866983] BTRFS warning (device dm-11: state EA): direct IO failed ino 1955 rw 0,0 sector 0x247cb8 len 45056 err no 10
[39857.867013] BTRFS warning (device dm-11: state EA): direct IO failed ino 1955 rw 0,0 sector 0x213d20 len 4096 err no 10
[39857.868200] BTRFS warning (device dm-11: state EA): direct IO failed ino 1965 rw 0,0 sector 0x24feb8 len 20480 err no 10
[39858.485059] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[39858.485067] BTRFS info (device dm-11): use zstd compression, level 3
[39858.485070] BTRFS info (device dm-11): turning on async discard
[39858.485071] BTRFS info (device dm-11): disk space caching is enabled
[39858.528951] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[39858.561668] BTRFS error (device dm-11): error reading free space cache
[39858.561688] BTRFS warning (device dm-11): failed to load free space cache for block group 298844160, rebuilding it now
[39858.564618] BTRFS: error (device dm-11: state A) in __btrfs_free_extent:3078: errno=-5 IO failure
[39858.565309] BTRFS info (device dm-11: state EA): forced readonly
[39858.565315] BTRFS: error (device dm-11: state EA) in btrfs_run_delayed_refs:2141: errno=-5 IO failure
[39859.139741] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[39859.139749] BTRFS info (device dm-11): use zstd compression, level 3
[39859.139771] BTRFS info (device dm-11): turning on async discard
[39859.139773] BTRFS info (device dm-11): disk space caching is enabled
[39859.172995] ------------[ cut here ]------------
[39859.173099] WARNING: CPU: 0 PID: 1299234 at fs/btrfs/discard.c:604 btrfs_discard_update_discardable+0x98/0xb0
[39859.173105] Modules linked in: dm_thin_pool dm_persistent_data dm_bio_prison dm_log_writes dm_dust dm_flakey nft_fib_inet nft_fib_ipv4 nft_fib_ipv6 nft_fib nft_reject_inet nf_reject_ipv4 nf_reject_ipv6 nft_reject nft_ct nft_chain_nat nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 ip6_tables nft_compat ip_set rfkill nf_tables nfnetlink intel_rapl_msr iTCO_wdt iTCO_vendor_support joydev intel_rapl_common snd_hda_codec_generic snd_hda_intel snd_intel_dspcfg virtio_balloon snd_hda_codec snd_hwdep snd_hda_core snd_pcm snd_timer snd i2c_i801 soundcore lpc_ich i2c_smbus zram ip_tables xfs crct10dif_pclmul crc32_pclmul crc32c_intel ghash_clmulni_intel serio_raw qemu_fw_cfg
[39859.173194] CPU: 0 PID: 1299234 Comm: kworker/u4:8 Tainted: G        W         5.19.0-rc8+ #788
[39859.173197] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.13.0-2.fc32 04/01/2014
[39859.173199] Workqueue: btrfs-cache btrfs_work_helper
[39859.173203] RIP: 0010:btrfs_discard_update_discardable+0x98/0xb0
[39859.173206] 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
[39859.173208] RSP: 0018:ffffa8338746fad0 EFLAGS: 00010246
[39859.173211] RAX: 0000000000000000 RBX: ffff88fa380cfa00 RCX: 0000000000000001
[39859.173213] RDX: 0000000000000000 RSI: ffffffffb3807c5b RDI: ffffffffb38a831e
[39859.173215] RBP: ffff88f9d6648000 R08: 0000000000000000 R09: 0000000000001000
[39859.173216] R10: ffff88f9d5c80080 R11: 0000000000000000 R12: ffff88f9c7305810
[39859.173218] R13: ffff88f9c3137480 R14: ffff88f9d6648000 R15: ffff88f9e72004d0
[39859.173220] FS:  0000000000000000(0000) GS:ffff88fa3bc00000(0000) knlGS:0000000000000000
[39859.173222] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[39859.173223] CR2: 00007fa5b9236202 CR3: 0000000126122002 CR4: 0000000000370ef0
[39859.173228] Call Trace:
[39859.173230]  
[39859.173240]  __btrfs_remove_free_space_cache+0x27/0x30
[39859.173244]  load_free_space_cache+0xad2/0xaf0
[39859.173286]  caching_thread+0x40b/0x650
[39859.173294]  ? lock_release+0x137/0x2d0
[39859.173302]  btrfs_work_helper+0xf2/0x3e0
[39859.173305]  ? lock_is_held_type+0xe2/0x140
[39859.173312]  process_one_work+0x271/0x590
[39859.173320]  ? process_one_work+0x590/0x590
[39859.173323]  worker_thread+0x52/0x3b0
[39859.173328]  ? process_one_work+0x590/0x590
[39859.173331]  kthread+0xf0/0x120
[39859.173334]  ? kthread_complete_and_exit+0x20/0x20
[39859.173339]  ret_from_fork+0x1f/0x30
[39859.173353]  
[39859.173354] irq event stamp: 3015661
[39859.173355] hardirqs last  enabled at (3015667): [] __up_console_sem+0x5e/0x70
[39859.173359] hardirqs last disabled at (3015672): [] __up_console_sem+0x43/0x70
[39859.173361] softirqs last  enabled at (3015122): [] __irq_exit_rcu+0xeb/0x160
[39859.173364] softirqs last disabled at (3015085): [] __irq_exit_rcu+0xeb/0x160
[39859.173367] ---[ end trace 0000000000000000 ]---
[39859.173370] BTRFS warning (device dm-11): block group 298844160 has wrong amount of free space
[39859.173387] BTRFS warning (device dm-11): failed to load free space cache for block group 298844160, rebuilding it now
[39861.183398] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[39861.183404] btrfs_dev_stat_inc_and_print: 88 callbacks suppressed
[39861.183406] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 1, rd 0, flush 0, corrupt 0, gen 0
[39861.183422] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[39861.183425] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 2, rd 0, flush 0, corrupt 0, gen 0
[39861.183436] BTRFS error (device dm-11): error writing primary super block to device 1
[39861.183440] BTRFS: error (device dm-11) in write_all_supers:4342: errno=-5 IO failure (1 errors while writing supers)
[39861.184136] BTRFS info (device dm-11: state E): forced readonly
[39861.184142] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[39861.184150] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[39861.186301] BTRFS warning (device dm-11: state EA): Skipping commit of aborted transaction.
[39861.186354] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[39861.187960] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 3, rd 0, flush 0, corrupt 0, gen 0
[39861.188703] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 4, rd 0, flush 0, corrupt 0, gen 0
[39861.193507] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 4, rd 1, flush 0, corrupt 0, gen 0
[39861.200432] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[39861.217165] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 4, rd 2, flush 0, corrupt 0, gen 0
[39861.217186] BTRFS warning (device dm-11: state EA): direct IO failed ino 1549 rw 0,0 sector 0x26bc60 len 69632 err no 10
[39861.241640] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 4, rd 3, flush 0, corrupt 0, gen 0
[39861.243354] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 4, rd 4, flush 0, corrupt 0, gen 0
[39861.243374] BTRFS warning (device dm-11: state EA): direct IO failed ino 259 rw 0,0 sector 0x25cc40 len 20480 err no 10
[39861.245200] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 4, rd 5, flush 0, corrupt 0, gen 0
[39861.924195] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[39861.924202] BTRFS info (device dm-11): use zstd compression, level 3
[39861.924212] BTRFS info (device dm-11): turning on async discard
[39861.924214] BTRFS info (device dm-11): disk space caching is enabled
[39862.965902] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 1, rd 0, flush 0, corrupt 0, gen 0
[39862.966118] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[39862.966129] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[39862.966212] BTRFS error (device dm-11): error writing primary super block to device 1
[39862.966215] BTRFS: error (device dm-11) in write_all_supers:4342: errno=-5 IO failure (1 errors while writing supers)
[39862.966978] BTRFS info (device dm-11: state E): forced readonly
[39862.966986] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[39862.966990] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[39862.975037] BTRFS warning (device dm-11: state EA): Skipping commit of aborted transaction.
[39862.978763] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[39862.983877] BTRFS warning (device dm-11: state EA): direct IO failed ino 260 rw 0,0 sector 0x283a70 len 36864 err no 10
[39862.989152] BTRFS warning (device dm-11: state EA): direct IO failed ino 257 rw 0,0 sector 0x278c70 len 61440 err no 10
[39862.995618] BTRFS warning (device dm-11: state EA): direct IO failed ino 260 rw 0,0 sector 0x27d840 len 65536 err no 10
[39862.999133] BTRFS warning (device dm-11: state EA): direct IO failed ino 257 rw 0,0 sector 0x27c330 len 53248 err no 10
[39863.022373] BTRFS warning (device dm-11: state EA): direct IO failed ino 262 rw 0,0 sector 0x281620 len 90112 err no 10
[39863.025940] BTRFS warning (device dm-11: state EA): direct IO failed ino 258 rw 0,0 sector 0x27fb48 len 12288 err no 10
[39863.660848] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[39863.660859] BTRFS info (device dm-11): use zstd compression, level 3
[39863.660863] BTRFS info (device dm-11): turning on async discard
[39863.660866] BTRFS info (device dm-11): disk space caching is enabled
[39863.713018] BTRFS error (device dm-11): error reading free space cache
[39863.713044] BTRFS warning (device dm-11): failed to load free space cache for block group 298844160, rebuilding it now
[39863.716221] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[39863.761542] BTRFS: error (device dm-11: state A) in __btrfs_free_extent:3078: errno=-5 IO failure
[39863.762325] BTRFS info (device dm-11: state EA): forced readonly
[39863.762336] BTRFS: error (device dm-11: state EA) in btrfs_run_delayed_refs:2141: errno=-5 IO failure
[39864.385811] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[39864.385820] BTRFS info (device dm-11): use zstd compression, level 3
[39864.385824] BTRFS info (device dm-11): turning on async discard
[39864.385826] BTRFS info (device dm-11): disk space caching is enabled
[39866.425347] btrfs_dev_stat_inc_and_print: 57 callbacks suppressed
[39866.425351] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 1, rd 0, flush 0, corrupt 0, gen 0
[39866.425359] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 2, rd 0, flush 0, corrupt 0, gen 0
[39866.425444] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 3, rd 0, flush 0, corrupt 0, gen 0
[39866.425449] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 4, rd 0, flush 0, corrupt 0, gen 0
[39866.425514] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 5, rd 0, flush 0, corrupt 0, gen 0
[39866.425520] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 6, rd 0, flush 0, corrupt 0, gen 0
[39866.425524] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 7, rd 0, flush 0, corrupt 0, gen 0
[39866.425584] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 8, rd 0, flush 0, corrupt 0, gen 0
[39866.425588] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 9, rd 0, flush 0, corrupt 0, gen 0
[39866.425668] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 10, rd 0, flush 0, corrupt 0, gen 0
[39866.425700] BTRFS: error (device dm-11) in btrfs_commit_transaction:2496: errno=-5 IO failure (Error while writing out transaction)
[39866.425724] BTRFS warning (device dm-11): direct IO failed ino 258 rw 1,34817 sector 0x2a4a38 len 4096 err no 10
[39866.426480] BTRFS info (device dm-11: state E): forced readonly
[39866.426491] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[39866.426495] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[39866.426884] BTRFS: error (device dm-11: state EA) in __btrfs_free_extent:3078: errno=-5 IO failure
[39866.427658] BTRFS: error (device dm-11: state EA) in btrfs_run_delayed_refs:2141: errno=-5 IO failure
[39866.444875] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[39866.474412] BTRFS warning (device dm-11: state EA): direct IO failed ino 1409 rw 0,0 sector 0x259430 len 16384 err no 10
[39866.479892] BTRFS warning (device dm-11: state EA): direct IO failed ino 1409 rw 0,0 sector 0x298218 len 8192 err no 10
[39866.481122] BTRFS warning (device dm-11: state EA): direct IO failed ino 270 rw 0,0 sector 0x29ee00 len 32768 err no 10
[39867.147263] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[39867.147270] BTRFS info (device dm-11): use zstd compression, level 3
[39867.147273] BTRFS info (device dm-11): turning on async discard
[39867.147275] BTRFS info (device dm-11): disk space caching is enabled
[39867.195262] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[39867.211190] BTRFS error (device dm-11): error reading free space cache
[39867.211217] BTRFS warning (device dm-11): failed to load free space cache for block group 298844160, rebuilding it now
[39867.213273] BTRFS: error (device dm-11: state A) in __btrfs_free_extent:3078: errno=-5 IO failure
[39867.214286] BTRFS info (device dm-11: state EA): forced readonly
[39867.214294] BTRFS: error (device dm-11: state EA) in btrfs_run_delayed_refs:2141: errno=-5 IO failure
[39867.870478] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[39867.870487] BTRFS info (device dm-11): use zstd compression, level 3
[39867.870490] BTRFS info (device dm-11): turning on async discard
[39867.870492] BTRFS info (device dm-11): disk space caching is enabled
[39868.908614] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[39868.908638] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[39868.908652] BTRFS error (device dm-11): error writing primary super block to device 1
[39868.908656] BTRFS: error (device dm-11) in write_all_supers:4342: errno=-5 IO failure (1 errors while writing supers)
[39868.909600] BTRFS info (device dm-11: state E): forced readonly
[39868.909630] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[39868.909633] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[39868.910476] BTRFS: error (device dm-11: state EA) in btrfs_sync_log:3192: errno=-5 IO failure
[39868.911672] BTRFS warning (device dm-11: state EA): direct IO failed ino 274 rw 0,0 sector 0x2b4950 len 24576 err no 10
[39868.911888] BTRFS warning (device dm-11: state EA): direct IO failed ino 2394 rw 0,0 sector 0x2b02c0 len 8192 err no 10
[39868.913973] BTRFS warning (device dm-11: state EA): direct IO failed ino 1713 rw 0,0 sector 0x2aabb0 len 69632 err no 10
[39868.919569] BTRFS warning (device dm-11: state EA): Skipping commit of aborted transaction.
[39868.919576] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[39868.922421] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[39868.949406] BTRFS warning (device dm-11: state EA): direct IO failed ino 2522 rw 0,0 sector 0x2b4d18 len 45056 err no 10
[39868.950507] BTRFS warning (device dm-11: state EA): direct IO failed ino 2428 rw 0,0 sector 0x2ad6a8 len 40960 err no 10
[39869.589537] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[39869.589545] BTRFS info (device dm-11): use zstd compression, level 3
[39869.589548] BTRFS info (device dm-11): turning on async discard
[39869.589550] BTRFS info (device dm-11): disk space caching is enabled
[39869.594713] BTRFS info (device dm-11): start tree-log replay
[39869.611879] ------------[ cut here ]------------
[39869.612009] WARNING: CPU: 1 PID: 1280725 at fs/btrfs/discard.c:604 btrfs_discard_update_discardable+0x98/0xb0
[39869.612016] Modules linked in: dm_thin_pool dm_persistent_data dm_bio_prison dm_log_writes dm_dust dm_flakey nft_fib_inet nft_fib_ipv4 nft_fib_ipv6 nft_fib nft_reject_inet nf_reject_ipv4 nf_reject_ipv6 nft_reject nft_ct nft_chain_nat nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 ip6_tables nft_compat ip_set rfkill nf_tables nfnetlink intel_rapl_msr iTCO_wdt iTCO_vendor_support joydev intel_rapl_common snd_hda_codec_generic snd_hda_intel snd_intel_dspcfg virtio_balloon snd_hda_codec snd_hwdep snd_hda_core snd_pcm snd_timer snd i2c_i801 soundcore lpc_ich i2c_smbus zram ip_tables xfs crct10dif_pclmul crc32_pclmul crc32c_intel ghash_clmulni_intel serio_raw qemu_fw_cfg
[39869.612082] CPU: 1 PID: 1280725 Comm: kworker/u4:0 Tainted: G        W         5.19.0-rc8+ #788
[39869.612085] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.13.0-2.fc32 04/01/2014
[39869.612087] Workqueue: btrfs-cache btrfs_work_helper
[39869.612092] RIP: 0010:btrfs_discard_update_discardable+0x98/0xb0
[39869.612095] 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
[39869.612097] RSP: 0018:ffffa83383947ad0 EFLAGS: 00010246
[39869.612100] RAX: 0000000000000000 RBX: ffff88fa380cf200 RCX: 0000000000000001
[39869.612102] RDX: 0000000000000000 RSI: ffffffffb3807c5b RDI: ffffffffb38a831e
[39869.612103] RBP: ffff88f9ff388000 R08: 0000000000000000 R09: 0000000000001000
[39869.612105] R10: ffff88f8d1fc6e50 R11: 0000000000000000 R12: ffff88f8cbc10810
[39869.612106] R13: ffff88f9c436a0b0 R14: ffff88f9ff388000 R15: ffff88f9e1d3b0e0
[39869.612108] FS:  0000000000000000(0000) GS:ffff88fa3bd00000(0000) knlGS:0000000000000000
[39869.612110] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[39869.612112] CR2: 000055640983b080 CR3: 0000000115d14005 CR4: 0000000000370ee0
[39869.612116] Call Trace:
[39869.612119]  
[39869.612125]  __btrfs_remove_free_space_cache+0x27/0x30
[39869.612136]  load_free_space_cache+0xad2/0xaf0
[39869.612176]  caching_thread+0x40b/0x650
[39869.612185]  ? lock_release+0x137/0x2d0
[39869.612192]  btrfs_work_helper+0xf2/0x3e0
[39869.612195]  ? lock_is_held_type+0xe2/0x140
[39869.612202]  process_one_work+0x271/0x590
[39869.612211]  ? process_one_work+0x590/0x590
[39869.612214]  worker_thread+0x52/0x3b0
[39869.612218]  ? process_one_work+0x590/0x590
[39869.612221]  kthread+0xf0/0x120
[39869.612224]  ? kthread_complete_and_exit+0x20/0x20
[39869.612228]  ret_from_fork+0x1f/0x30
[39869.612242]  
[39869.612243] irq event stamp: 6659479
[39869.612245] hardirqs last  enabled at (6659485): [] __up_console_sem+0x5e/0x70
[39869.612249] hardirqs last disabled at (6659490): [] __up_console_sem+0x43/0x70
[39869.612252] softirqs last  enabled at (6658942): [] __irq_exit_rcu+0xeb/0x160
[39869.612257] softirqs last disabled at (6658931): [] __irq_exit_rcu+0xeb/0x160
[39869.612260] ---[ end trace 0000000000000000 ]---
[39869.612264] BTRFS warning (device dm-11): block group 298844160 has wrong amount of free space
[39869.612283] BTRFS warning (device dm-11): failed to load free space cache for block group 298844160, rebuilding it now
[39869.715283] BTRFS: error (device dm-11: state A) in __btrfs_run_delayed_items:1182: errno=-5 IO failure
[39869.716198] BTRFS info (device dm-11: state EA): forced readonly
[39869.725910] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[39870.286411] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[39870.286418] BTRFS info (device dm-11): use zstd compression, level 3
[39870.286422] BTRFS info (device dm-11): turning on async discard
[39870.286424] BTRFS info (device dm-11): disk space caching is enabled
[39870.341677] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[39870.358087] BTRFS error (device dm-11): error reading free space cache
[39870.358109] BTRFS warning (device dm-11): failed to load free space cache for block group 298844160, rebuilding it now
[39870.361046] BTRFS: error (device dm-11: state A) in __btrfs_free_extent:3078: errno=-5 IO failure
[39870.361829] BTRFS info (device dm-11: state EA): forced readonly
[39870.361837] BTRFS: error (device dm-11: state EA) in btrfs_run_delayed_refs:2141: errno=-5 IO failure
[39870.947403] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[39870.947411] BTRFS info (device dm-11): use zstd compression, level 3
[39870.947415] BTRFS info (device dm-11): turning on async discard
[39870.947417] BTRFS info (device dm-11): disk space caching is enabled
[39873.021532] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[39873.021538] btrfs_dev_stat_inc_and_print: 214 callbacks suppressed
[39873.021540] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 1, rd 0, flush 0, corrupt 0, gen 0
[39873.021552] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[39873.021555] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 2, rd 0, flush 0, corrupt 0, gen 0
[39873.021624] BTRFS error (device dm-11): error writing primary super block to device 1
[39873.021628] BTRFS: error (device dm-11) in write_all_supers:4342: errno=-5 IO failure (1 errors while writing supers)
[39873.022372] BTRFS info (device dm-11: state E): forced readonly
[39873.022378] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[39873.022381] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[39873.025107] BTRFS warning (device dm-11: state EA): Skipping commit of aborted transaction.
[39873.025114] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[39873.029645] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 3, rd 0, flush 0, corrupt 0, gen 0
[39873.029794] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 4, rd 0, flush 0, corrupt 0, gen 0
[39873.030754] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 5, rd 0, flush 0, corrupt 0, gen 0
[39873.031695] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 6, rd 0, flush 0, corrupt 0, gen 0
[39873.032193] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 7, rd 0, flush 0, corrupt 0, gen 0
[39873.032464] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 8, rd 0, flush 0, corrupt 0, gen 0
[39873.032851] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 8, rd 1, flush 0, corrupt 0, gen 0
[39873.033191] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 9, rd 1, flush 0, corrupt 0, gen 0
[39873.033371] BTRFS warning (device dm-11: state EA): direct IO failed ino 270 rw 0,0 sector 0x2cf430 len 20480 err no 10
[39873.037582] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[39873.056330] BTRFS warning (device dm-11: state EA): direct IO failed ino 307 rw 0,0 sector 0x2d1d30 len 8192 err no 10
[39873.057643] BTRFS warning (device dm-11: state EA): direct IO failed ino 1070 rw 0,0 sector 0x2b5d60 len 49152 err no 10
[39873.058609] BTRFS warning (device dm-11: state EA): direct IO failed ino 307 rw 0,0 sector 0x2d1d30 len 8192 err no 10
[39873.059559] BTRFS warning (device dm-11: state EA): direct IO failed ino 2531 rw 0,0 sector 0x134f28 len 24576 err no 10
[39873.716752] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[39873.716760] BTRFS info (device dm-11): use zstd compression, level 3
[39873.716763] BTRFS info (device dm-11): turning on async discard
[39873.716765] BTRFS info (device dm-11): disk space caching is enabled
[39873.749334] BTRFS error (device dm-11): error reading free space cache
[39873.749366] BTRFS warning (device dm-11): failed to load free space cache for block group 298844160, rebuilding it now
[39873.757752] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[39873.774583] BTRFS warning (device dm-11): direct IO failed ino 2610 rw 1,34817 sector 0x312800 len 81920 err no 10
[39873.774729] BTRFS warning (device dm-11): direct IO failed ino 2610 rw 1,34817 sector 0x312800 len 73728 err no 10
[39873.775739] BTRFS warning (device dm-11): direct IO failed ino 2610 rw 1,34817 sector 0x312a48 len 81920 err no 10
[39873.776734] BTRFS warning (device dm-11): direct IO failed ino 2610 rw 1,34817 sector 0x312ea0 len 8192 err no 10
[39873.779729] BTRFS: error (device dm-11: state A) in create_subvol:729: errno=-5 IO failure
[39873.780265] BTRFS info (device dm-11: state EA): forced readonly
[39874.386426] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[39874.386434] BTRFS info (device dm-11): use zstd compression, level 3
[39874.386438] BTRFS info (device dm-11): turning on async discard
[39874.386440] BTRFS info (device dm-11): disk space caching is enabled
[39876.425259] BTRFS warning (device dm-11): direct IO failed ino 259 rw 1,34817 sector 0x2f0500 len 16384 err no 10
[39876.425289] BTRFS warning (device dm-11): direct IO failed ino 259 rw 1,34817 sector 0x2f0520 len 69632 err no 10
[39876.425812] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[39876.425844] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[39876.425853] BTRFS error (device dm-11): error writing primary super block to device 1
[39876.425857] BTRFS: error (device dm-11) in write_all_supers:4342: errno=-5 IO failure (1 errors while writing supers)
[39876.426775] BTRFS info (device dm-11: state E): forced readonly
[39876.426782] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[39876.426787] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[39876.440511] BTRFS warning (device dm-11: state EA): direct IO failed ino 260 rw 0,0 sector 0x2eaea8 len 45056 err no 10
[39876.454150] BTRFS warning (device dm-11: state EA): direct IO failed ino 2649 rw 0,0 sector 0x2e09b0 len 4096 err no 10
[39876.456705] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[39876.487809] BTRFS warning (device dm-11: state EA): direct IO failed ino 265 rw 0,0 sector 0x2ec070 len 16384 err no 10
[39876.488453] BTRFS warning (device dm-11: state EA): direct IO failed ino 2641 rw 0,0 sector 0x2e9e10 len 4096 err no 10
[39876.491938] BTRFS warning (device dm-11: state EA): direct IO failed ino 260 rw 0,0 sector 0x2eaeb0 len 40960 err no 10
[39876.493383] BTRFS warning (device dm-11: state EA): direct IO failed ino 260 rw 0,0 sector 0x2eaed8 len 4096 err no 10
[39877.175013] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[39877.175022] BTRFS info (device dm-11): use zstd compression, level 3
[39877.175026] BTRFS info (device dm-11): turning on async discard
[39877.175027] BTRFS info (device dm-11): disk space caching is enabled
[39877.219965] BTRFS error (device dm-11): error reading free space cache
[39877.219985] BTRFS warning (device dm-11): failed to load free space cache for block group 298844160, rebuilding it now
[39877.226684] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[39877.228862] BTRFS: error (device dm-11: state A) in __btrfs_free_extent:3078: errno=-5 IO failure
[39877.229511] BTRFS info (device dm-11: state EA): forced readonly
[39877.229517] BTRFS: error (device dm-11: state EA) in btrfs_run_delayed_refs:2141: errno=-5 IO failure
[39877.828206] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[39877.828214] BTRFS info (device dm-11): use zstd compression, level 3
[39877.828217] BTRFS info (device dm-11): turning on async discard
[39877.828219] BTRFS info (device dm-11): disk space caching is enabled
[39878.863665] btrfs_dev_stat_inc_and_print: 132 callbacks suppressed
[39878.863668] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 1, rd 0, flush 0, corrupt 0, gen 0
[39878.863711] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 2, rd 0, flush 0, corrupt 0, gen 0
[39878.867614] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 3, rd 0, flush 0, corrupt 0, gen 0
[39878.868486] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 4, rd 0, flush 0, corrupt 0, gen 0
[39878.869807] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 4, rd 1, flush 0, corrupt 0, gen 0
[39878.870018] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 4, rd 2, flush 0, corrupt 0, gen 0
[39878.872928] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 4, rd 3, flush 0, corrupt 0, gen 0
[39878.872958] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 5, rd 3, flush 0, corrupt 0, gen 0
[39878.873598] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 6, rd 3, flush 0, corrupt 0, gen 0
[39878.873606] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 7, rd 3, flush 0, corrupt 0, gen 0
[39878.874405] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[39878.875769] BTRFS: error (device dm-11) in btrfs_commit_transaction:2496: errno=-5 IO failure (Error while writing out transaction)
[39878.876573] BTRFS info (device dm-11: state E): forced readonly
[39878.876578] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[39878.876581] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[39879.549107] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[39879.549115] BTRFS info (device dm-11): use zstd compression, level 3
[39879.549117] BTRFS info (device dm-11): turning on async discard
[39879.549119] BTRFS info (device dm-11): disk space caching is enabled
[39881.583771] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[39881.583783] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[39881.583789] BTRFS error (device dm-11): error writing primary super block to device 1
[39881.583791] BTRFS: error (device dm-11) in write_all_supers:4342: errno=-5 IO failure (1 errors while writing supers)
[39881.583858] BTRFS warning (device dm-11): direct IO failed ino 2816 rw 1,34817 sector 0x25b1f8 len 49152 err no 10
[39881.584417] BTRFS info (device dm-11: state E): forced readonly
[39881.584423] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[39881.584426] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[39881.586976] BTRFS warning (device dm-11: state EA): direct IO failed ino 2792 rw 0,0 sector 0x2d66a8 len 4096 err no 10
[39881.587014] BTRFS warning (device dm-11: state EA): direct IO failed ino 2792 rw 0,0 sector 0x29f140 len 28672 err no 10
[39881.587038] BTRFS warning (device dm-11: state EA): direct IO failed ino 2792 rw 0,0 sector 0x195610 len 20480 err no 10
[39881.590664] BTRFS warning (device dm-11: state EA): direct IO failed ino 2792 rw 0,0 sector 0x213e10 len 24576 err no 10
[39881.603957] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[39881.620203] BTRFS warning (device dm-11: state EA): direct IO failed ino 2794 rw 0,0 sector 0x1d69c0 len 36864 err no 10
[39881.622995] BTRFS warning (device dm-11: state EA): direct IO failed ino 2811 rw 0,0 sector 0x2a0ba8 len 4096 err no 10
[39881.627534] BTRFS warning (device dm-11: state EA): direct IO failed ino 257 rw 0,0 sector 0x2fccb8 len 20480 err no 10
[39882.285870] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[39882.285879] BTRFS info (device dm-11): use zstd compression, level 3
[39882.285882] BTRFS info (device dm-11): turning on async discard
[39882.285884] BTRFS info (device dm-11): disk space caching is enabled
[39883.321612] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[39883.321626] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[39883.322444] BTRFS warning (device dm-11): direct IO failed ino 272 rw 1,34817 sector 0x215b78 len 57344 err no 10
[39883.322455] BTRFS error (device dm-11): error writing primary super block to device 1
[39883.322468] BTRFS: error (device dm-11) in write_all_supers:4342: errno=-5 IO failure (1 errors while writing supers)
[39883.323194] BTRFS info (device dm-11: state E): forced readonly
[39883.323199] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[39883.323202] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[39883.346549] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[39883.356158] BTRFS warning (device dm-11: state EA): direct IO failed ino 2951 rw 0,0 sector 0x1944c8 len 12288 err no 10
[39883.357479] BTRFS warning (device dm-11: state EA): Skipping commit of aborted transaction.
[39883.362822] BTRFS warning (device dm-11: state EA): direct IO failed ino 265 rw 0,0 sector 0x2137b8 len 4096 err no 10
[39883.373662] BTRFS warning (device dm-11: state EA): direct IO failed ino 2953 rw 0,0 sector 0x19e9e0 len 57344 err no 10
[39883.392362] BTRFS warning (device dm-11: state EA): direct IO failed ino 258 rw 0,0 sector 0x1daa50 len 32768 err no 10
[39883.980112] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[39883.980121] BTRFS info (device dm-11): use zstd compression, level 3
[39883.980124] BTRFS info (device dm-11): turning on async discard
[39883.980126] BTRFS info (device dm-11): disk space caching is enabled
[39885.041606] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[39885.041613] btrfs_dev_stat_inc_and_print: 79 callbacks suppressed
[39885.041614] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 1, rd 0, flush 0, corrupt 0, gen 0
[39885.041626] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[39885.041628] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 2, rd 0, flush 0, corrupt 0, gen 0
[39885.041639] BTRFS error (device dm-11): error writing primary super block to device 1
[39885.041641] BTRFS: error (device dm-11) in write_all_supers:4342: errno=-5 IO failure (1 errors while writing supers)
[39885.042368] BTRFS info (device dm-11: state E): forced readonly
[39885.042375] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[39885.042384] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[39885.045737] BTRFS warning (device dm-11: state EA): Skipping commit of aborted transaction.
[39885.045743] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[39885.049889] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 3, rd 0, flush 0, corrupt 0, gen 0
[39885.050471] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 4, rd 0, flush 0, corrupt 0, gen 0
[39885.051319] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 5, rd 0, flush 0, corrupt 0, gen 0
[39885.051387] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 5, rd 1, flush 0, corrupt 0, gen 0
[39885.051504] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 6, rd 1, flush 0, corrupt 0, gen 0
[39885.051876] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 7, rd 1, flush 0, corrupt 0, gen 0
[39885.057627] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[39885.073063] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 7, rd 2, flush 0, corrupt 0, gen 0
[39885.073080] BTRFS warning (device dm-11: state EA): direct IO failed ino 2975 rw 0,0 sector 0x215878 len 20480 err no 10
[39885.073336] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 7, rd 3, flush 0, corrupt 0, gen 0
[39885.073349] BTRFS warning (device dm-11: state EA): direct IO failed ino 2981 rw 0,0 sector 0x300b58 len 28672 err no 10
[39885.074060] BTRFS warning (device dm-11: state EA): direct IO failed ino 257 rw 0,0 sector 0x301ab0 len 4096 err no 10
[39885.091031] BTRFS warning (device dm-11: state EA): direct IO failed ino 2985 rw 0,0 sector 0x25fd68 len 65536 err no 10
[39885.092225] BTRFS warning (device dm-11: state EA): direct IO failed ino 2979 rw 0,0 sector 0x216640 len 12288 err no 10
[39885.095185] BTRFS warning (device dm-11: state EA): direct IO failed ino 259 rw 0,0 sector 0x301b88 len 45056 err no 10
[39885.098145] BTRFS warning (device dm-11: state EA): direct IO failed ino 258 rw 0,0 sector 0x25f8b8 len 12288 err no 10
[39885.706927] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[39885.706937] BTRFS info (device dm-11): use zstd compression, level 3
[39885.706942] BTRFS info (device dm-11): turning on async discard
[39885.706944] BTRFS info (device dm-11): disk space caching is enabled
[39885.712971] BTRFS info (device dm-11): start tree-log replay
[39886.815386] BTRFS: error (device dm-11) in btrfs_commit_transaction:2496: errno=-5 IO failure (Error while writing out transaction)
[39886.816116] BTRFS info (device dm-11: state E): forced readonly
[39886.816122] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[39886.816126] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[39886.821628] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[39887.512026] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[39887.512035] BTRFS info (device dm-11): use zstd compression, level 3
[39887.512039] BTRFS info (device dm-11): turning on async discard
[39887.512040] BTRFS info (device dm-11): disk space caching is enabled
[39889.559714] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[39889.559768] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[39889.559775] BTRFS error (device dm-11): error writing primary super block to device 1
[39889.559780] BTRFS: error (device dm-11) in write_all_supers:4342: errno=-5 IO failure (1 errors while writing supers)
[39889.560659] BTRFS info (device dm-11: state E): forced readonly
[39889.560664] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[39889.560668] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[39889.562291] BTRFS warning (device dm-11: state EA): direct IO failed ino 263 rw 0,0 sector 0x1accd8 len 20480 err no 10
[39889.562413] BTRFS warning (device dm-11: state EA): direct IO failed ino 257 rw 0,0 sector 0x2222d8 len 57344 err no 10
[39889.575228] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[39889.615726] BTRFS warning (device dm-11: state EA): direct IO failed ino 3167 rw 0,0 sector 0x19ed00 len 12288 err no 10
[39890.299021] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[39890.299029] BTRFS info (device dm-11): use zstd compression, level 3
[39890.299033] BTRFS info (device dm-11): turning on async discard
[39890.299035] BTRFS info (device dm-11): disk space caching is enabled
[39890.335652] btrfs_dev_stat_inc_and_print: 65 callbacks suppressed
[39890.335655] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 0, rd 1, flush 0, corrupt 0, gen 0
[39890.335696] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 0, rd 2, flush 0, corrupt 0, gen 0
[39890.336836] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 0, rd 3, flush 0, corrupt 0, gen 0
[39890.336865] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 0, rd 4, flush 0, corrupt 0, gen 0
[39890.337067] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 0, rd 5, flush 0, corrupt 0, gen 0
[39890.337093] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 0, rd 6, flush 0, corrupt 0, gen 0
[39890.337161] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 0, rd 7, flush 0, corrupt 0, gen 0
[39890.337189] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 0, rd 8, flush 0, corrupt 0, gen 0
[39890.337447] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 0, rd 9, flush 0, corrupt 0, gen 0
[39890.338921] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 0, rd 10, flush 0, corrupt 0, gen 0
[39890.346867] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[39890.369569] BTRFS: error (device dm-11: state A) in __btrfs_free_extent:3078: errno=-5 IO failure
[39890.370235] BTRFS info (device dm-11: state EA): forced readonly
[39890.370242] BTRFS: error (device dm-11: state EA) in btrfs_run_delayed_refs:2141: errno=-5 IO failure
[39890.943559] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[39890.943568] BTRFS info (device dm-11): use zstd compression, level 3
[39890.943571] BTRFS info (device dm-11): turning on async discard
[39890.943573] BTRFS info (device dm-11): disk space caching is enabled
[39890.989373] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[39891.009382] BTRFS: error (device dm-11: state A) in __btrfs_free_extent:3078: errno=-5 IO failure
[39891.009957] BTRFS info (device dm-11: state EA): forced readonly
[39891.009963] BTRFS: error (device dm-11: state EA) in btrfs_run_delayed_refs:2141: errno=-5 IO failure
[39891.547040] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[39891.547048] BTRFS info (device dm-11): use zstd compression, level 3
[39891.547052] BTRFS info (device dm-11): turning on async discard
[39891.547054] BTRFS info (device dm-11): disk space caching is enabled
[39891.584819] ------------[ cut here ]------------
[39891.584892] WARNING: CPU: 1 PID: 826526 at fs/btrfs/discard.c:604 btrfs_discard_update_discardable+0x98/0xb0
[39891.584905] Modules linked in: dm_thin_pool dm_persistent_data dm_bio_prison dm_log_writes dm_dust dm_flakey nft_fib_inet nft_fib_ipv4 nft_fib_ipv6 nft_fib nft_reject_inet nf_reject_ipv4 nf_reject_ipv6 nft_reject nft_ct nft_chain_nat nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 ip6_tables nft_compat ip_set rfkill nf_tables nfnetlink intel_rapl_msr iTCO_wdt iTCO_vendor_support joydev intel_rapl_common snd_hda_codec_generic snd_hda_intel snd_intel_dspcfg virtio_balloon snd_hda_codec snd_hwdep snd_hda_core snd_pcm snd_timer snd i2c_i801 soundcore lpc_ich i2c_smbus zram ip_tables xfs crct10dif_pclmul crc32_pclmul crc32c_intel ghash_clmulni_intel serio_raw qemu_fw_cfg
[39891.584971] CPU: 1 PID: 826526 Comm: kworker/u4:13 Tainted: G        W         5.19.0-rc8+ #788
[39891.584973] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.13.0-2.fc32 04/01/2014
[39891.584975] Workqueue: btrfs-cache btrfs_work_helper
[39891.584980] RIP: 0010:btrfs_discard_update_discardable+0x98/0xb0
[39891.584983] 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
[39891.584985] RSP: 0018:ffffa83386717ad0 EFLAGS: 00010246
[39891.584988] RAX: 0000000000000000 RBX: ffff88f9eaa47800 RCX: 0000000000000001
[39891.584990] RDX: 0000000000000000 RSI: ffffffffb3807c5b RDI: ffffffffb38a831e
[39891.584991] RBP: ffff88f9e6130000 R08: 0000000000000000 R09: 0000000000001000
[39891.584993] R10: ffff88f8c531d838 R11: 0000000000a04900 R12: ffff88f9cf827010
[39891.584995] R13: ffff88f9d5b18e10 R14: ffff88f9e6130000 R15: ffff88f9d3aca150
[39891.584996] FS:  0000000000000000(0000) GS:ffff88fa3bd00000(0000) knlGS:0000000000000000
[39891.584998] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[39891.585000] CR2: 00007fefc1cef490 CR3: 000000015f73e005 CR4: 0000000000370ee0
[39891.585004] Call Trace:
[39891.585006]  
[39891.585011]  __btrfs_remove_free_space_cache+0x27/0x30
[39891.585015]  load_free_space_cache+0xad2/0xaf0
[39891.585054]  caching_thread+0x40b/0x650
[39891.585063]  ? lock_release+0x137/0x2d0
[39891.585070]  btrfs_work_helper+0xf2/0x3e0
[39891.585073]  ? lock_is_held_type+0xe2/0x140
[39891.585080]  process_one_work+0x271/0x590
[39891.585089]  ? process_one_work+0x590/0x590
[39891.585092]  worker_thread+0x52/0x3b0
[39891.585096]  ? process_one_work+0x590/0x590
[39891.585099]  kthread+0xf0/0x120
[39891.585102]  ? kthread_complete_and_exit+0x20/0x20
[39891.585106]  ret_from_fork+0x1f/0x30
[39891.585120]  
[39891.585121] irq event stamp: 23959427
[39891.585123] hardirqs last  enabled at (23959433): [] __up_console_sem+0x5e/0x70
[39891.585126] hardirqs last disabled at (23959438): [] __up_console_sem+0x43/0x70
[39891.585128] softirqs last  enabled at (23958866): [] __irq_exit_rcu+0xeb/0x160
[39891.585131] softirqs last disabled at (23958857): [] __irq_exit_rcu+0xeb/0x160
[39891.585133] ---[ end trace 0000000000000000 ]---
[39891.585137] BTRFS warning (device dm-11): block group 298844160 has wrong amount of free space
[39891.585153] BTRFS warning (device dm-11): failed to load free space cache for block group 298844160, rebuilding it now
[39892.591073] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[39892.591086] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[39892.591099] BTRFS error (device dm-11): error writing primary super block to device 1
[39892.591110] BTRFS: error (device dm-11) in write_all_supers:4342: errno=-5 IO failure (1 errors while writing supers)
[39892.591853] BTRFS info (device dm-11: state E): forced readonly
[39892.591864] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[39892.591867] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[39892.592747] BTRFS: error (device dm-11: state EA) in btrfs_sync_log:3192: errno=-5 IO failure
[39892.602387] BTRFS warning (device dm-11: state EA): direct IO failed ino 2978 rw 0,0 sector 0x2d96e0 len 32768 err no 10
[39892.615212] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[39892.641956] BTRFS warning (device dm-11: state EA): direct IO failed ino 1549 rw 0,0 sector 0x2cfeb0 len 49152 err no 10
[39892.649370] BTRFS warning (device dm-11: state EA): direct IO failed ino 3258 rw 0,0 sector 0x3098b0 len 28672 err no 10
[39892.649412] BTRFS warning (device dm-11: state EA): direct IO failed ino 3258 rw 0,0 sector 0x2d5c70 len 4096 err no 10
[39892.652210] BTRFS warning (device dm-11: state EA): direct IO failed ino 3266 rw 0,0 sector 0x264b28 len 32768 err no 10
[39892.655184] BTRFS warning (device dm-11: state EA): direct IO failed ino 3251 rw 0,0 sector 0x2ac678 len 65536 err no 10
[39893.274833] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[39893.274841] BTRFS info (device dm-11): use zstd compression, level 3
[39893.274844] BTRFS info (device dm-11): turning on async discard
[39893.274846] BTRFS info (device dm-11): disk space caching is enabled
[39895.335157] BTRFS: error (device dm-11) in btrfs_commit_transaction:2496: errno=-5 IO failure (Error while writing out transaction)
[39895.336158] BTRFS info (device dm-11: state E): forced readonly
[39895.336165] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[39895.336170] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[39895.340529] btrfs_dev_stat_inc_and_print: 111 callbacks suppressed
[39895.340535] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 18, rd 4, flush 0, corrupt 0, gen 0
[39895.340639] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 19, rd 4, flush 0, corrupt 0, gen 0
[39895.341502] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 20, rd 4, flush 0, corrupt 0, gen 0
[39895.348204] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[39896.044125] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[39896.044134] BTRFS info (device dm-11): use zstd compression, level 3
[39896.044137] BTRFS info (device dm-11): turning on async discard
[39896.044139] BTRFS info (device dm-11): disk space caching is enabled
[39896.077393] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 0, rd 1, flush 0, corrupt 0, gen 0
[39896.077409] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 0, rd 2, flush 0, corrupt 0, gen 0
[39896.078760] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 0, rd 3, flush 0, corrupt 0, gen 0
[39896.078860] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 0, rd 4, flush 0, corrupt 0, gen 0
[39896.079025] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 0, rd 5, flush 0, corrupt 0, gen 0
[39896.079052] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 0, rd 6, flush 0, corrupt 0, gen 0
[39896.079139] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 0, rd 7, flush 0, corrupt 0, gen 0
[39896.087077] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[39896.119435] BTRFS: error (device dm-11: state A) in __btrfs_free_extent:3078: errno=-5 IO failure
[39896.119986] BTRFS info (device dm-11: state EA): forced readonly
[39896.119992] BTRFS: error (device dm-11: state EA) in btrfs_run_delayed_refs:2141: errno=-5 IO failure
[39896.719516] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[39896.719525] BTRFS info (device dm-11): use zstd compression, level 3
[39896.719529] BTRFS info (device dm-11): turning on async discard
[39896.719531] BTRFS info (device dm-11): disk space caching is enabled
[39898.793297] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[39898.793312] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[39898.793322] BTRFS error (device dm-11): error writing primary super block to device 1
[39898.793325] BTRFS: error (device dm-11) in write_all_supers:4342: errno=-5 IO failure (1 errors while writing supers)
[39898.794027] BTRFS info (device dm-11: state E): forced readonly
[39898.794032] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[39898.794039] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[39898.794980] BTRFS warning (device dm-11: state EA): Skipping commit of aborted transaction.
[39898.794987] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[39898.805667] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[39898.816113] BTRFS warning (device dm-11: state EA): direct IO failed ino 3464 rw 0,0 sector 0x25e8c0 len 4096 err no 10
[39899.474427] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[39899.474435] BTRFS info (device dm-11): use zstd compression, level 3
[39899.474439] BTRFS info (device dm-11): turning on async discard
[39899.474440] BTRFS info (device dm-11): disk space caching is enabled
[39901.517890] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[39901.517897] btrfs_dev_stat_inc_and_print: 36 callbacks suppressed
[39901.517899] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 1, rd 0, flush 0, corrupt 0, gen 0
[39901.517910] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[39901.517912] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 2, rd 0, flush 0, corrupt 0, gen 0
[39901.517922] BTRFS error (device dm-11): error writing primary super block to device 1
[39901.517925] BTRFS: error (device dm-11) in write_all_supers:4342: errno=-5 IO failure (1 errors while writing supers)
[39901.518524] BTRFS info (device dm-11: state E): forced readonly
[39901.518529] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[39901.518532] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[39901.523414] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 3, rd 0, flush 0, corrupt 0, gen 0
[39901.523831] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 4, rd 0, flush 0, corrupt 0, gen 0
[39901.524323] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 5, rd 0, flush 0, corrupt 0, gen 0
[39901.524389] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 6, rd 0, flush 0, corrupt 0, gen 0
[39901.524659] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 7, rd 0, flush 0, corrupt 0, gen 0
[39901.525008] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 8, rd 0, flush 0, corrupt 0, gen 0
[39901.525417] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 9, rd 0, flush 0, corrupt 0, gen 0
[39901.525652] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 10, rd 0, flush 0, corrupt 0, gen 0
[39901.537130] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[39901.580961] BTRFS warning (device dm-11: state EA): direct IO failed ino 284 rw 0,0 sector 0x1f4670 len 16384 err no 10
[39901.584022] BTRFS warning (device dm-11: state EA): direct IO failed ino 271 rw 0,0 sector 0x1b9d50 len 57344 err no 10
[39901.586236] BTRFS warning (device dm-11: state EA): direct IO failed ino 262 rw 0,0 sector 0x2a6158 len 32768 err no 10
[39902.233676] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[39902.233683] BTRFS info (device dm-11): use zstd compression, level 3
[39902.233687] BTRFS info (device dm-11): turning on async discard
[39902.233689] BTRFS info (device dm-11): disk space caching is enabled
[39902.238730] BTRFS info (device dm-11): start tree-log replay
[39903.345140] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[39903.345163] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[39903.345179] BTRFS error (device dm-11): error writing primary super block to device 1
[39903.345184] BTRFS: error (device dm-11) in write_all_supers:4342: errno=-5 IO failure (1 errors while writing supers)
[39903.346067] BTRFS info (device dm-11: state E): forced readonly
[39903.346080] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[39903.346085] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[39903.347707] BTRFS warning (device dm-11: state EA): Skipping commit of aborted transaction.
[39903.347713] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[39903.348808] BTRFS: error (device dm-11: state EA) in btrfs_sync_log:3192: errno=-5 IO failure
[39903.349096] BTRFS warning (device dm-11: state EA): direct IO failed ino 3259 rw 0,0 sector 0x290e08 len 36864 err no 10
[39903.369037] BTRFS warning (device dm-11: state EA): direct IO failed ino 264 rw 0,0 sector 0x1e8f90 len 4096 err no 10
[39903.370474] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[39904.002161] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[39904.002169] BTRFS info (device dm-11): use zstd compression, level 3
[39904.002172] BTRFS info (device dm-11): turning on async discard
[39904.002174] BTRFS info (device dm-11): disk space caching is enabled
[39904.007036] BTRFS info (device dm-11): start tree-log replay
[39904.113310] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[39904.113341] BTRFS error (device dm-11): error writing primary super block to device 1
[39904.113346] BTRFS: error (device dm-11) in write_all_supers:4342: errno=-5 IO failure (1 errors while writing supers)
[39904.114025] BTRFS info (device dm-11: state E): forced readonly
[39904.114029] BTRFS: error (device dm-11: state EA) in btrfs_sync_log:3203: errno=-5 IO failure
[39904.123098] BTRFS warning (device dm-11: state EA): direct IO failed ino 3728 rw 0,0 sector 0x1f82e0 len 12288 err no 10
[39904.128594] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[39904.753297] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[39904.753322] BTRFS info (device dm-11): use zstd compression, level 3
[39904.753325] BTRFS info (device dm-11): turning on async discard
[39904.753326] BTRFS info (device dm-11): disk space caching is enabled