[39469.670594] run fstests generic/475 at 2022-08-08 07:51:22
[39470.574168] BTRFS: device fsid b400c138-eae3-4794-babe-3bcb52b9ab9e devid 1 transid 6 /dev/mapper/vg0-lv9 scanned by mkfs.btrfs (1353203)
[39470.812613] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[39470.812622] BTRFS info (device dm-11): setting incompat feature flag for COMPRESS_ZSTD (0x10)
[39470.812625] BTRFS info (device dm-11): use zstd compression, level 3
[39470.812628] BTRFS info (device dm-11): turning on async discard
[39470.812629] BTRFS info (device dm-11): disk space caching is enabled
[39470.816010] BTRFS info (device dm-11): checking UUID tree
[39470.846721] btrfs_dev_stat_inc_and_print: 2 callbacks suppressed
[39470.846727] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 1, rd 0, flush 0, corrupt 0, gen 0
[39470.846885] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 2, rd 0, flush 0, corrupt 0, gen 0
[39470.848624] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 3, rd 0, flush 0, corrupt 0, gen 0
[39470.848632] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 4, rd 0, flush 0, corrupt 0, gen 0
[39470.848642] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 5, rd 0, flush 0, corrupt 0, gen 0
[39470.848793] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 6, rd 0, flush 0, corrupt 0, gen 0
[39470.848797] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 7, rd 0, flush 0, corrupt 0, gen 0
[39470.850670] BTRFS: error (device dm-11: state A) in cache_save_setup:2804: errno=-5 IO failure
[39470.851558] BTRFS info (device dm-11: state EA): forced readonly
[39470.851883] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 8, rd 0, flush 0, corrupt 0, gen 0
[39470.856757] BTRFS: error (device dm-11: state EA) in btrfs_start_dirty_block_groups:3051: errno=-5 IO failure
[39470.863017] buffer_io_error: 760 callbacks suppressed
[39470.863046] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[39471.427597] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[39471.427607] BTRFS info (device dm-11): setting incompat feature flag for COMPRESS_ZSTD (0x10)
[39471.427610] BTRFS info (device dm-11): use zstd compression, level 3
[39471.427613] BTRFS info (device dm-11): turning on async discard
[39471.427614] BTRFS info (device dm-11): disk space caching is enabled
[39471.431166] BTRFS info (device dm-11): checking UUID tree
[39473.464411] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 1, rd 0, flush 0, corrupt 0, gen 0
[39473.465393] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 2, rd 0, flush 0, corrupt 0, gen 0
[39473.469570] BTRFS: error (device dm-11) in btrfs_commit_transaction:2496: errno=-5 IO failure (Error while writing out transaction)
[39473.470543] BTRFS info (device dm-11: state E): forced readonly
[39473.470550] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[39473.470554] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[39473.478409] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[39474.153480] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[39474.153489] BTRFS info (device dm-11): use zstd compression, level 3
[39474.153492] BTRFS info (device dm-11): turning on async discard
[39474.153494] BTRFS info (device dm-11): disk space caching is enabled
[39475.200124] BTRFS warning (device dm-11): direct IO failed ino 455 rw 1,34817 sector 0x1480c0 len 20480 err no 10
[39475.200435] BTRFS warning (device dm-11): direct IO failed ino 455 rw 1,34817 sector 0x1155b0 len 36864 err no 10
[39475.200562] BTRFS warning (device dm-11): direct IO failed ino 524 rw 0,0 sector 0x144ae8 len 16384 err no 10
[39475.203781] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[39475.203792] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[39475.203797] BTRFS error (device dm-11): error writing primary super block to device 1
[39475.203800] BTRFS: error (device dm-11) in write_all_supers:4342: errno=-5 IO failure (1 errors while writing supers)
[39475.204491] BTRFS info (device dm-11: state E): forced readonly
[39475.204496] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[39475.204501] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[39475.211076] BTRFS warning (device dm-11: state EA): Skipping commit of aborted transaction.
[39475.211085] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[39475.217479] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[39475.218676] BTRFS warning (device dm-11: state EA): direct IO failed ino 455 rw 0,0 sector 0x132658 len 20480 err no 10
[39475.219003] BTRFS warning (device dm-11: state EA): direct IO failed ino 455 rw 0,0 sector 0x132670 len 8192 err no 10
[39475.238041] BTRFS warning (device dm-11: state EA): direct IO failed ino 266 rw 0,0 sector 0x144f18 len 4096 err no 10
[39475.238391] BTRFS warning (device dm-11: state EA): direct IO failed ino 263 rw 0,0 sector 0x13e660 len 61440 err no 10
[39475.239511] BTRFS warning (device dm-11: state EA): direct IO failed ino 257 rw 0,0 sector 0x13b170 len 102400 err no 10
[39475.833205] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[39475.833214] BTRFS info (device dm-11): use zstd compression, level 3
[39475.833217] BTRFS info (device dm-11): turning on async discard
[39475.833219] BTRFS info (device dm-11): disk space caching is enabled
[39477.877575] btrfs_dev_stat_inc_and_print: 29 callbacks suppressed
[39477.877578] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 1, rd 0, flush 0, corrupt 0, gen 0
[39477.877589] BTRFS warning (device dm-11): direct IO failed ino 257 rw 1,34817 sector 0x169ec8 len 69632 err no 10
[39477.877615] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 2, rd 0, flush 0, corrupt 0, gen 0
[39477.877634] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 3, rd 0, flush 0, corrupt 0, gen 0
[39477.877639] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 4, rd 0, flush 0, corrupt 0, gen 0
[39477.877861] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 5, rd 0, flush 0, corrupt 0, gen 0
[39477.877866] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 6, rd 0, flush 0, corrupt 0, gen 0
[39477.877875] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 7, rd 0, flush 0, corrupt 0, gen 0
[39477.877879] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 8, rd 0, flush 0, corrupt 0, gen 0
[39477.877889] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 9, rd 0, flush 0, corrupt 0, gen 0
[39477.877919] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 10, rd 0, flush 0, corrupt 0, gen 0
[39477.879504] BTRFS: error (device dm-11) in btrfs_commit_transaction:2496: errno=-5 IO failure (Error while writing out transaction)
[39477.880304] BTRFS info (device dm-11: state E): forced readonly
[39477.880315] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[39477.880318] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[39477.882960] BTRFS: error (device dm-11: state EA) in btrfs_sync_log:3192: errno=-5 IO failure
[39477.896101] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[39478.572632] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[39478.572640] BTRFS info (device dm-11): use zstd compression, level 3
[39478.572643] BTRFS info (device dm-11): turning on async discard
[39478.572645] BTRFS info (device dm-11): disk space caching is enabled
[39479.613985] BTRFS warning (device dm-11): direct IO failed ino 797 rw 1,34817 sector 0x17c100 len 81920 err no 10
[39479.614034] BTRFS warning (device dm-11): direct IO failed ino 767 rw 1,34817 sector 0x17c7a0 len 36864 err no 10
[39479.615268] BTRFS warning (device dm-11): direct IO failed ino 703 rw 1,34817 sector 0x17c778 len 73728 err no 10
[39479.622760] BTRFS warning (device dm-11): direct IO failed ino 270 rw 1,34817 sector 0x17cc48 len 4096 err no 10
[39479.624632] BTRFS warning (device dm-11): direct IO failed ino 694 rw 1,34817 sector 0x17d068 len 57344 err no 10
[39479.637905] BTRFS: error (device dm-11: state A) in btrfs_replace_file_extents:2802: errno=-5 IO failure
[39479.638527] BTRFS info (device dm-11: state EA): forced readonly
[39479.643117] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[39479.645567] BTRFS warning (device dm-11: state EA): Skipping commit of aborted transaction.
[39480.285538] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[39480.285547] BTRFS info (device dm-11): use zstd compression, level 3
[39480.285551] BTRFS info (device dm-11): turning on async discard
[39480.285552] BTRFS info (device dm-11): disk space caching is enabled
[39481.324052] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[39481.324067] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[39481.324084] BTRFS error (device dm-11): error writing primary super block to device 1
[39481.324088] BTRFS: error (device dm-11) in write_all_supers:4342: errno=-5 IO failure (1 errors while writing supers)
[39481.324769] BTRFS info (device dm-11: state E): forced readonly
[39481.324774] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[39481.324777] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[39481.326944] BTRFS warning (device dm-11: state EA): Skipping commit of aborted transaction.
[39481.326950] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[39481.331544] BTRFS warning (device dm-11: state EA): direct IO failed ino 264 rw 0,0 sector 0x18ab40 len 57344 err no 10
[39481.346633] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[39481.353409] BTRFS warning (device dm-11: state EA): direct IO failed ino 895 rw 0,0 sector 0x18e348 len 12288 err no 10
[39481.353435] BTRFS warning (device dm-11: state EA): direct IO failed ino 895 rw 0,0 sector 0x18e360 len 28672 err no 10
[39481.385532] BTRFS warning (device dm-11: state EA): direct IO failed ino 827 rw 0,0 sector 0x184098 len 45056 err no 10
[39481.385803] BTRFS warning (device dm-11: state EA): direct IO failed ino 260 rw 0,0 sector 0x188410 len 4096 err no 10
[39481.412253] BTRFS warning (device dm-11: state EA): direct IO failed ino 798 rw 0,0 sector 0x1921f0 len 8192 err no 10
[39481.412824] BTRFS warning (device dm-11: state EA): direct IO failed ino 878 rw 0,0 sector 0x1941b0 len 28672 err no 10
[39481.413768] BTRFS warning (device dm-11: state EA): direct IO failed ino 798 rw 0,0 sector 0x182240 len 24576 err no 10
[39481.414541] BTRFS warning (device dm-11: state EA): direct IO failed ino 828 rw 0,0 sector 0x1873a0 len 36864 err no 10
[39481.414707] BTRFS warning (device dm-11: state EA): direct IO failed ino 260 rw 0,0 sector 0x194540 len 65536 err no 10
[39481.415994] BTRFS warning (device dm-11: state EA): direct IO failed ino 896 rw 0,0 sector 0x192a48 len 4096 err no 10
[39481.416689] BTRFS warning (device dm-11: state EA): direct IO failed ino 260 rw 0,0 sector 0x1945a8 len 12288 err no 10
[39481.417590] BTRFS warning (device dm-11: state EA): direct IO failed ino 828 rw 0,0 sector 0x187488 len 24576 err no 10
[39481.420057] BTRFS warning (device dm-11: state EA): direct IO failed ino 878 rw 0,0 sector 0x194248 len 28672 err no 10
[39482.076241] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[39482.076250] BTRFS info (device dm-11): use zstd compression, level 3
[39482.076253] BTRFS info (device dm-11): turning on async discard
[39482.076254] BTRFS info (device dm-11): disk space caching is enabled
[39482.080986] BTRFS info (device dm-11): start tree-log replay
[39483.160006] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[39483.160013] btrfs_dev_stat_inc_and_print: 100 callbacks suppressed
[39483.160015] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 1, rd 0, flush 0, corrupt 0, gen 0
[39483.160027] BTRFS error (device dm-11): error writing primary super block to device 1
[39483.160030] BTRFS: error (device dm-11) in write_all_supers:4342: errno=-5 IO failure (1 errors while writing supers)
[39483.160866] BTRFS info (device dm-11: state E): forced readonly
[39483.160881] BTRFS: error (device dm-11: state EA) in btrfs_sync_log:3203: errno=-5 IO failure
[39483.161996] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 2, rd 0, flush 0, corrupt 0, gen 0
[39483.162340] BTRFS warning (device dm-11: state EA): Skipping commit of aborted transaction.
[39483.162344] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 3, rd 0, flush 0, corrupt 0, gen 0
[39483.162345] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[39483.163120] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 4, rd 0, flush 0, corrupt 0, gen 0
[39483.163924] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 5, rd 0, flush 0, corrupt 0, gen 0
[39483.164403] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 5, rd 1, flush 0, corrupt 0, gen 0
[39483.164430] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 5, rd 2, flush 0, corrupt 0, gen 0
[39483.164507] BTRFS warning (device dm-11: state EA): direct IO failed ino 1004 rw 0,0 sector 0x19d178 len 40960 err no 10
[39483.167531] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 5, rd 3, flush 0, corrupt 0, gen 0
[39483.167920] BTRFS warning (device dm-11: state EA): direct IO failed ino 1004 rw 0,0 sector 0x19c538 len 4096 err no 10
[39483.168600] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 6, rd 3, flush 0, corrupt 0, gen 0
[39483.169171] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 7, rd 3, flush 0, corrupt 0, gen 0
[39483.179294] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[39483.202514] BTRFS warning (device dm-11: state EA): direct IO failed ino 1056 rw 0,0 sector 0x1a8e10 len 8192 err no 10
[39483.203984] BTRFS warning (device dm-11: state EA): direct IO failed ino 1095 rw 0,0 sector 0x1a6e28 len 12288 err no 10
[39483.879086] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[39483.879105] BTRFS info (device dm-11): use zstd compression, level 3
[39483.879108] BTRFS info (device dm-11): turning on async discard
[39483.879110] BTRFS info (device dm-11): disk space caching is enabled
[39483.905945] BTRFS info (device dm-11): the free space cache file (298844160) is invalid, skip it
[39483.917407] BTRFS warning (device dm-11): direct IO failed ino 1130 rw 1,34817 sector 0x1155b0 len 4096 err no 10
[39483.920484] BTRFS warning (device dm-11): direct IO failed ino 1128 rw 1,34817 sector 0x312800 len 73728 err no 10
[39483.920856] BTRFS: error (device dm-11: state A) in __btrfs_free_extent:3078: errno=-5 IO failure
[39483.921724] BTRFS info (device dm-11: state EA): forced readonly
[39483.921747] BTRFS: error (device dm-11: state EA) in btrfs_run_delayed_refs:2141: errno=-5 IO failure
[39483.935501] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[39484.526331] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[39484.526340] BTRFS info (device dm-11): use zstd compression, level 3
[39484.526344] BTRFS info (device dm-11): turning on async discard
[39484.526346] BTRFS info (device dm-11): disk space caching is enabled
[39484.565789] BTRFS: error (device dm-11: state A) in __btrfs_free_extent:3078: errno=-5 IO failure
[39484.566415] BTRFS info (device dm-11: state EA): forced readonly
[39484.566422] BTRFS: error (device dm-11: state EA) in btrfs_run_delayed_refs:2141: errno=-5 IO failure
[39484.567625] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[39485.097599] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[39485.097611] BTRFS info (device dm-11): use zstd compression, level 3
[39485.097615] BTRFS info (device dm-11): turning on async discard
[39485.097618] BTRFS info (device dm-11): disk space caching is enabled
[39485.123361] BTRFS info (device dm-11): the free space cache file (298844160) is invalid, skip it
[39487.130474] BTRFS warning (device dm-11): direct IO failed ino 257 rw 1,34817 sector 0x1d06f0 len 73728 err no 10
[39487.130489] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[39487.130496] BTRFS error (device dm-11): error writing primary super block to device 1
[39487.130499] BTRFS: error (device dm-11) in write_all_supers:4342: errno=-5 IO failure (1 errors while writing supers)
[39487.131434] BTRFS info (device dm-11: state E): forced readonly
[39487.131438] BTRFS: error (device dm-11: state EA) in btrfs_sync_log:3203: errno=-5 IO failure
[39487.132598] BTRFS warning (device dm-11: state EA): Skipping commit of aborted transaction.
[39487.132604] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[39487.149568] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[39487.160127] BTRFS warning (device dm-11: state EA): direct IO failed ino 260 rw 0,0 sector 0x1c2618 len 4096 err no 10
[39487.162530] BTRFS warning (device dm-11: state EA): direct IO failed ino 268 rw 0,0 sector 0x1cc088 len 65536 err no 10
[39487.170439] BTRFS warning (device dm-11: state EA): direct IO failed ino 257 rw 0,0 sector 0x1c8ba0 len 32768 err no 10
[39487.173569] BTRFS warning (device dm-11: state EA): direct IO failed ino 269 rw 0,0 sector 0x1c9ed0 len 16384 err no 10
[39487.173704] BTRFS warning (device dm-11: state EA): direct IO failed ino 257 rw 0,0 sector 0x1c53d0 len 40960 err no 10
[39487.187782] BTRFS warning (device dm-11: state EA): direct IO failed ino 268 rw 0,0 sector 0x1cc088 len 24576 err no 10
[39487.194363] BTRFS warning (device dm-11: state EA): direct IO failed ino 1221 rw 0,0 sector 0x1c2be8 len 28672 err no 10
[39487.621475] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[39487.621484] BTRFS info (device dm-11): use zstd compression, level 3
[39487.621488] BTRFS info (device dm-11): turning on async discard
[39487.621490] BTRFS info (device dm-11): disk space caching is enabled
[39489.919179] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[39489.919186] btrfs_dev_stat_inc_and_print: 120 callbacks suppressed
[39489.919187] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 1, rd 0, flush 0, corrupt 0, gen 0
[39489.919198] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[39489.919200] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 2, rd 0, flush 0, corrupt 0, gen 0
[39489.919209] BTRFS error (device dm-11): error writing primary super block to device 1
[39489.919212] BTRFS: error (device dm-11) in write_all_supers:4342: errno=-5 IO failure (1 errors while writing supers)
[39489.919793] BTRFS info (device dm-11: state E): forced readonly
[39489.919805] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[39489.919808] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[39489.920463] BTRFS: error (device dm-11: state EA) in btrfs_sync_log:3192: errno=-5 IO failure
[39489.927804] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 3, rd 0, flush 0, corrupt 0, gen 0
[39489.928233] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 4, rd 0, flush 0, corrupt 0, gen 0
[39489.928673] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 5, rd 0, flush 0, corrupt 0, gen 0
[39489.929104] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 6, rd 0, flush 0, corrupt 0, gen 0
[39489.929459] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 6, rd 1, flush 0, corrupt 0, gen 0
[39489.929504] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 7, rd 1, flush 0, corrupt 0, gen 0
[39489.929841] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 8, rd 1, flush 0, corrupt 0, gen 0
[39489.930022] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 9, rd 1, flush 0, corrupt 0, gen 0
[39489.930159] BTRFS warning (device dm-11: state EA): direct IO failed ino 258 rw 0,0 sector 0x1ddbf8 len 8192 err no 10
[39489.930331] BTRFS warning (device dm-11: state EA): Skipping commit of aborted transaction.
[39489.930335] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[39489.933928] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[39489.956406] BTRFS warning (device dm-11: state EA): direct IO failed ino 1307 rw 0,0 sector 0x1dc3e0 len 57344 err no 10
[39489.981183] BTRFS warning (device dm-11: state EA): direct IO failed ino 1283 rw 0,0 sector 0x198cd8 len 4096 err no 10
[39489.988509] BTRFS warning (device dm-11: state EA): direct IO failed ino 1285 rw 0,0 sector 0x1f8be8 len 36864 err no 10
[39490.494229] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[39490.494241] BTRFS info (device dm-11): use zstd compression, level 3
[39490.494246] BTRFS info (device dm-11): turning on async discard
[39490.494248] BTRFS info (device dm-11): disk space caching is enabled
[39491.655778] BTRFS: error (device dm-11) in btrfs_commit_transaction:2496: errno=-5 IO failure (Error while writing out transaction)
[39491.656763] BTRFS info (device dm-11: state E): forced readonly
[39491.656768] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[39491.656771] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[39491.667233] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[39492.263500] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[39492.263509] BTRFS info (device dm-11): use zstd compression, level 3
[39492.263513] BTRFS info (device dm-11): turning on async discard
[39492.263514] BTRFS info (device dm-11): disk space caching is enabled
[39492.303264] BTRFS: error (device dm-11: state A) in __btrfs_free_extent:3078: errno=-5 IO failure
[39492.303835] BTRFS info (device dm-11: state EA): forced readonly
[39492.303841] BTRFS: error (device dm-11: state EA) in btrfs_run_delayed_refs:2141: errno=-5 IO failure
[39492.308708] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[39492.874369] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[39492.874379] BTRFS info (device dm-11): use zstd compression, level 3
[39492.874382] BTRFS info (device dm-11): turning on async discard
[39492.874384] BTRFS info (device dm-11): disk space caching is enabled
[39492.906075] ------------[ cut here ]------------
[39492.906148] WARNING: CPU: 1 PID: 1314576 at fs/btrfs/discard.c:604 btrfs_discard_update_discardable+0x98/0xb0
[39492.906158] Modules linked in: dm_thin_pool dm_persistent_data dm_bio_prison dm_log_writes dm_dust dm_flakey nft_fib_inet nft_fib_ipv4 nft_fib_ipv6 nft_fib nft_reject_inet nf_reject_ipv4 nf_reject_ipv6 nft_reject nft_ct nft_chain_nat nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 ip6_tables nft_compat ip_set rfkill nf_tables nfnetlink intel_rapl_msr iTCO_wdt iTCO_vendor_support snd_hda_codec_generic intel_rapl_common snd_hda_intel snd_intel_dspcfg snd_hda_codec i2c_i801 snd_hwdep i2c_smbus snd_hda_core joydev snd_pcm lpc_ich snd_timer snd soundcore virtio_balloon zram ip_tables xfs crct10dif_pclmul crc32_pclmul crc32c_intel ghash_clmulni_intel serio_raw qemu_fw_cfg
[39492.906223] CPU: 1 PID: 1314576 Comm: kworker/u4:5 Tainted: G        W         5.19.0-rc8+ #790
[39492.906226] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.13.0-2.fc32 04/01/2014
[39492.906231] Workqueue: btrfs-cache btrfs_work_helper
[39492.906240] RIP: 0010:btrfs_discard_update_discardable+0x98/0xb0
[39492.906243] 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
[39492.906245] RSP: 0018:ffffadbfc6debad0 EFLAGS: 00010246
[39492.906248] RAX: 0000000000000000 RBX: ffff9e91fc247200 RCX: 0000000000000001
[39492.906252] RDX: 0000000000000000 RSI: ffffffff8e807c5b RDI: ffffffff8e8a831e
[39492.906254] RBP: ffff9e91c7c94000 R08: 0000000000000000 R09: 0000000000001000
[39492.906255] R10: ffff9e90fe814490 R11: 0000000000991e00 R12: ffff9e91cefc6010
[39492.906257] R13: ffff9e91c3341760 R14: ffff9e91c7c94000 R15: ffff9e91d69921c0
[39492.906259] FS:  0000000000000000(0000) GS:ffff9e923bd00000(0000) knlGS:0000000000000000
[39492.906261] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[39492.906263] CR2: 0000000000464090 CR3: 000000013f8a6004 CR4: 0000000000370ee0
[39492.906267] Call Trace:
[39492.906272]  
[39492.906277]  __btrfs_remove_free_space_cache+0x27/0x30
[39492.906282]  load_free_space_cache+0xad2/0xaf0
[39492.906322]  caching_thread+0x40b/0x650
[39492.906330]  ? lock_release+0x137/0x2d0
[39492.906338]  btrfs_work_helper+0xf2/0x3e0
[39492.906341]  ? lock_is_held_type+0xe2/0x140
[39492.906348]  process_one_work+0x271/0x590
[39492.906357]  ? process_one_work+0x590/0x590
[39492.906360]  worker_thread+0x52/0x3b0
[39492.906365]  ? process_one_work+0x590/0x590
[39492.906367]  kthread+0xf0/0x120
[39492.906370]  ? kthread_complete_and_exit+0x20/0x20
[39492.906374]  ret_from_fork+0x1f/0x30
[39492.906388]  
[39492.906392] irq event stamp: 2903917
[39492.906393] hardirqs last  enabled at (2903923): [] __up_console_sem+0x5e/0x70
[39492.906397] hardirqs last disabled at (2903928): [] __up_console_sem+0x43/0x70
[39492.906399] softirqs last  enabled at (2903320): [] __irq_exit_rcu+0xeb/0x160
[39492.906402] softirqs last disabled at (2903311): [] __irq_exit_rcu+0xeb/0x160
[39492.906405] ---[ end trace 0000000000000000 ]---
[39492.906408] BTRFS warning (device dm-11): block group 298844160 has wrong amount of free space
[39492.906424] BTRFS warning (device dm-11): failed to load free space cache for block group 298844160, rebuilding it now
[39494.923311] btrfs_dev_stat_inc_and_print: 90 callbacks suppressed
[39494.923316] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 1, rd 0, flush 0, corrupt 0, gen 0
[39494.923352] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 2, rd 0, flush 0, corrupt 0, gen 0
[39494.923368] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 3, rd 0, flush 0, corrupt 0, gen 0
[39494.923396] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 4, rd 0, flush 0, corrupt 0, gen 0
[39494.923438] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 5, rd 0, flush 0, corrupt 0, gen 0
[39494.923444] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 6, rd 0, flush 0, corrupt 0, gen 0
[39494.923495] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 7, rd 0, flush 0, corrupt 0, gen 0
[39494.923508] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 8, rd 0, flush 0, corrupt 0, gen 0
[39494.923543] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 9, rd 0, flush 0, corrupt 0, gen 0
[39494.923557] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 10, rd 0, flush 0, corrupt 0, gen 0
[39494.924165] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[39494.924177] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[39494.924207] BTRFS error (device dm-11): error writing primary super block to device 1
[39494.924210] BTRFS: error (device dm-11) in write_all_supers:4342: errno=-5 IO failure (1 errors while writing supers)
[39494.924832] BTRFS info (device dm-11: state E): forced readonly
[39494.924837] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[39494.924840] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[39494.925338] BTRFS warning (device dm-11: state EA): direct IO failed ino 1660 rw 0,0 sector 0x227010 len 40960 err no 10
[39494.925968] BTRFS warning (device dm-11: state EA): direct IO failed ino 1675 rw 0,0 sector 0x228570 len 4096 err no 10
[39494.928037] BTRFS warning (device dm-11: state EA): direct IO failed ino 1642 rw 0,0 sector 0x2245e8 len 61440 err no 10
[39494.932935] BTRFS warning (device dm-11: state EA): direct IO failed ino 257 rw 0,0 sector 0x2361c0 len 36864 err no 10
[39494.933107] BTRFS: error (device dm-11: state EA) in cache_save_setup:2804: errno=-5 IO failure
[39494.935640] BTRFS: error (device dm-11: state EA) in btrfs_start_dirty_block_groups:3051: errno=-5 IO failure
[39494.945437] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[39494.984263] BTRFS warning (device dm-11: state EA): direct IO failed ino 1675 rw 0,0 sector 0x228528 len 40960 err no 10
[39494.987993] BTRFS warning (device dm-11: state EA): direct IO failed ino 263 rw 0,0 sector 0x237c48 len 45056 err no 10
[39495.590817] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[39495.590825] BTRFS info (device dm-11): use zstd compression, level 3
[39495.590828] BTRFS info (device dm-11): turning on async discard
[39495.590830] BTRFS info (device dm-11): disk space caching is enabled
[39495.627897] BTRFS: error (device dm-11: state A) in do_free_extent_accounting:2848: errno=-5 IO failure
[39495.628490] BTRFS info (device dm-11: state EA): forced readonly
[39495.628495] BTRFS: error (device dm-11: state EA) in btrfs_run_delayed_refs:2141: errno=-5 IO failure
[39495.629133] BTRFS warning (device dm-11: state EA): Skipping commit of aborted transaction.
[39495.629137] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[39495.632808] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[39496.167336] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[39496.167345] BTRFS info (device dm-11): use zstd compression, level 3
[39496.167349] BTRFS info (device dm-11): turning on async discard
[39496.167350] BTRFS info (device dm-11): disk space caching is enabled
[39496.214397] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[39496.228148] BTRFS warning (device dm-11): direct IO failed ino 1718 rw 1,34817 sector 0x312800 len 73728 err no 10
[39496.266977] BTRFS: error (device dm-11: state A) in __btrfs_free_extent:3078: errno=-5 IO failure
[39496.266980] BTRFS: error (device dm-11: state A) in __btrfs_run_delayed_items:1182: errno=-5 IO failure
[39496.267596] BTRFS info (device dm-11: state EA): forced readonly
[39496.268368] BTRFS: error (device dm-11: state EA) in btrfs_run_delayed_refs:2141: errno=-5 IO failure
[39496.268376] BTRFS warning (device dm-11: state EA): Skipping commit of aborted transaction.
[39496.269003] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[39496.791169] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[39496.791178] BTRFS info (device dm-11): use zstd compression, level 3
[39496.791182] BTRFS info (device dm-11): turning on async discard
[39496.791184] BTRFS info (device dm-11): disk space caching is enabled
[39496.839196] BTRFS error (device dm-11): error loading props for ino 262 (root 5): -5
[39496.840665] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[39496.854664] BTRFS: error (device dm-11: state A) in do_free_extent_accounting:2848: errno=-5 IO failure
[39496.855501] BTRFS info (device dm-11: state EA): forced readonly
[39496.855508] BTRFS: error (device dm-11: state EA) in btrfs_run_delayed_refs:2141: errno=-5 IO failure
[39497.399004] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[39497.399013] BTRFS info (device dm-11): use zstd compression, level 3
[39497.399016] BTRFS info (device dm-11): turning on async discard
[39497.399017] BTRFS info (device dm-11): disk space caching is enabled
[39498.438649] BTRFS warning (device dm-11): direct IO failed ino 1726 rw 1,34817 sector 0x246330 len 4096 err no 10
[39498.444784] BTRFS: error (device dm-11: state A) in btrfs_run_delayed_refs:2141: errno=-5 IO failure
[39498.445489] BTRFS info (device dm-11: state EA): forced readonly
[39498.458042] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[39499.079061] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[39499.079069] BTRFS info (device dm-11): use zstd compression, level 3
[39499.079073] BTRFS info (device dm-11): turning on async discard
[39499.079074] BTRFS info (device dm-11): disk space caching is enabled
[39499.133253] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[39499.136778] BTRFS: error (device dm-11: state A) in __btrfs_free_extent:3078: errno=-5 IO failure
[39499.137379] BTRFS info (device dm-11: state EA): forced readonly
[39499.137385] BTRFS: error (device dm-11: state EA) in btrfs_run_delayed_refs:2141: errno=-5 IO failure
[39499.682461] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[39499.682471] BTRFS info (device dm-11): use zstd compression, level 3
[39499.682474] BTRFS info (device dm-11): turning on async discard
[39499.682475] BTRFS info (device dm-11): disk space caching is enabled
[39501.722180] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[39501.722187] btrfs_dev_stat_inc_and_print: 185 callbacks suppressed
[39501.722189] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 1, rd 0, flush 0, corrupt 0, gen 0
[39501.722201] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[39501.722204] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 2, rd 0, flush 0, corrupt 0, gen 0
[39501.722214] BTRFS error (device dm-11): error writing primary super block to device 1
[39501.722217] BTRFS: error (device dm-11) in write_all_supers:4342: errno=-5 IO failure (1 errors while writing supers)
[39501.722988] BTRFS info (device dm-11: state E): forced readonly
[39501.722993] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[39501.723000] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[39501.723928] BTRFS warning (device dm-11: state EA): Skipping commit of aborted transaction.
[39501.723933] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[39501.724851] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 3, rd 0, flush 0, corrupt 0, gen 0
[39501.725360] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 4, rd 0, flush 0, corrupt 0, gen 0
[39501.725995] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 5, rd 0, flush 0, corrupt 0, gen 0
[39501.726842] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 6, rd 0, flush 0, corrupt 0, gen 0
[39501.726863] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 7, rd 0, flush 0, corrupt 0, gen 0
[39501.726897] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 8, rd 0, flush 0, corrupt 0, gen 0
[39501.726957] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 9, rd 0, flush 0, corrupt 0, gen 0
[39501.727037] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 10, rd 0, flush 0, corrupt 0, gen 0
[39501.738544] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[39501.754276] BTRFS warning (device dm-11: state EA): direct IO failed ino 1785 rw 0,0 sector 0x246a40 len 8192 err no 10
[39501.755795] BTRFS warning (device dm-11: state EA): direct IO failed ino 263 rw 0,0 sector 0x264ba8 len 45056 err no 10
[39501.755825] BTRFS warning (device dm-11: state EA): direct IO failed ino 263 rw 0,0 sector 0x264ae0 len 16384 err no 10
[39501.758145] BTRFS warning (device dm-11: state EA): direct IO failed ino 1283 rw 0,0 sector 0x249b08 len 28672 err no 10
[39501.764821] BTRFS warning (device dm-11: state EA): direct IO failed ino 1738 rw 0,0 sector 0x2490d0 len 4096 err no 10
[39501.764842] BTRFS warning (device dm-11: state EA): direct IO failed ino 1738 rw 0,0 sector 0x2155c8 len 8192 err no 10
[39502.384828] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[39502.384838] BTRFS info (device dm-11): use zstd compression, level 3
[39502.384841] BTRFS info (device dm-11): turning on async discard
[39502.384843] BTRFS info (device dm-11): disk space caching is enabled
[39504.419965] BTRFS warning (device dm-11): direct IO failed ino 2149 rw 1,34817 sector 0x287228 len 24576 err no 10
[39504.420020] BTRFS warning (device dm-11): direct IO failed ino 259 rw 1,34817 sector 0x28d3b8 len 32768 err no 10
[39504.420449] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[39504.420456] BTRFS error (device dm-11): error writing primary super block to device 1
[39504.420459] BTRFS: error (device dm-11) in write_all_supers:4342: errno=-5 IO failure (1 errors while writing supers)
[39504.421221] BTRFS info (device dm-11: state E): forced readonly
[39504.421226] BTRFS: error (device dm-11: state EA) in btrfs_sync_log:3203: errno=-5 IO failure
[39504.430500] BTRFS warning (device dm-11: state EA): direct IO failed ino 2149 rw 0,0 sector 0x27dff8 len 12288 err no 10
[39504.445203] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[39504.470154] BTRFS warning (device dm-11: state EA): direct IO failed ino 259 rw 0,0 sector 0x27f038 len 20480 err no 10
[39505.067533] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[39505.067544] BTRFS info (device dm-11): use zstd compression, level 3
[39505.067549] BTRFS info (device dm-11): turning on async discard
[39505.067552] BTRFS info (device dm-11): disk space caching is enabled
[39505.102726] ------------[ cut here ]------------
[39505.102794] WARNING: CPU: 0 PID: 1223935 at fs/btrfs/discard.c:604 btrfs_discard_update_discardable+0x98/0xb0
[39505.102801] Modules linked in: dm_thin_pool dm_persistent_data dm_bio_prison dm_log_writes dm_dust dm_flakey nft_fib_inet nft_fib_ipv4 nft_fib_ipv6 nft_fib nft_reject_inet nf_reject_ipv4 nf_reject_ipv6 nft_reject nft_ct nft_chain_nat nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 ip6_tables nft_compat ip_set rfkill nf_tables nfnetlink intel_rapl_msr iTCO_wdt iTCO_vendor_support snd_hda_codec_generic intel_rapl_common snd_hda_intel snd_intel_dspcfg snd_hda_codec i2c_i801 snd_hwdep i2c_smbus snd_hda_core joydev snd_pcm lpc_ich snd_timer snd soundcore virtio_balloon zram ip_tables xfs crct10dif_pclmul crc32_pclmul crc32c_intel ghash_clmulni_intel serio_raw qemu_fw_cfg
[39505.102866] CPU: 0 PID: 1223935 Comm: kworker/u4:11 Tainted: G        W         5.19.0-rc8+ #790
[39505.102873] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.13.0-2.fc32 04/01/2014
[39505.102875] Workqueue: btrfs-cache btrfs_work_helper
[39505.102880] RIP: 0010:btrfs_discard_update_discardable+0x98/0xb0
[39505.102883] 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
[39505.102886] RSP: 0018:ffffadbfc447bad0 EFLAGS: 00010246
[39505.102888] RAX: 0000000000000000 RBX: ffff9e91c6217a00 RCX: 0000000000000001
[39505.102890] RDX: 0000000000000000 RSI: ffffffff8e807c5b RDI: ffffffff8e8a831e
[39505.102892] RBP: ffff9e91ec468000 R08: 0000000000000000 R09: 0000000000001000
[39505.102893] R10: 0000000000077385 R11: 000000000099d600 R12: ffff9e921ee64010
[39505.102895] R13: ffff9e91d4eb1760 R14: ffff9e91ec468000 R15: ffff9e91c45a50e0
[39505.102897] FS:  0000000000000000(0000) GS:ffff9e923bc00000(0000) knlGS:0000000000000000
[39505.102899] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[39505.102900] CR2: 00007fc4aa67c300 CR3: 00000001057b8003 CR4: 0000000000370ef0
[39505.102904] Call Trace:
[39505.102907]  
[39505.102912]  __btrfs_remove_free_space_cache+0x27/0x30
[39505.102916]  load_free_space_cache+0xad2/0xaf0
[39505.102955]  caching_thread+0x40b/0x650
[39505.102963]  ? lock_release+0x137/0x2d0
[39505.102970]  btrfs_work_helper+0xf2/0x3e0
[39505.102974]  ? lock_is_held_type+0xe2/0x140
[39505.102981]  process_one_work+0x271/0x590
[39505.102990]  ? process_one_work+0x590/0x590
[39505.102992]  worker_thread+0x52/0x3b0
[39505.102997]  ? process_one_work+0x590/0x590
[39505.103000]  kthread+0xf0/0x120
[39505.103002]  ? kthread_complete_and_exit+0x20/0x20
[39505.103007]  ret_from_fork+0x1f/0x30
[39505.103021]  
[39505.103022] irq event stamp: 25747095
[39505.103023] hardirqs last  enabled at (25747101): [] __up_console_sem+0x5e/0x70
[39505.103027] hardirqs last disabled at (25747106): [] __up_console_sem+0x43/0x70
[39505.103029] softirqs last  enabled at (25746534): [] __irq_exit_rcu+0xeb/0x160
[39505.103032] softirqs last disabled at (25746525): [] __irq_exit_rcu+0xeb/0x160
[39505.103034] ---[ end trace 0000000000000000 ]---
[39505.103037] BTRFS warning (device dm-11): block group 298844160 has wrong amount of free space
[39505.103052] BTRFS warning (device dm-11): failed to load free space cache for block group 298844160, rebuilding it now
[39506.100150] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[39506.100169] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[39506.100185] BTRFS error (device dm-11): error writing primary super block to device 1
[39506.100191] BTRFS: error (device dm-11) in write_all_supers:4342: errno=-5 IO failure (1 errors while writing supers)
[39506.101114] BTRFS info (device dm-11: state E): forced readonly
[39506.101127] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[39506.101131] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[39506.103169] BTRFS: error (device dm-11: state EA) in btrfs_sync_log:3192: errno=-5 IO failure
[39506.106092] BTRFS warning (device dm-11: state EA): Skipping commit of aborted transaction.
[39506.106097] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[39506.108602] BTRFS warning (device dm-11: state EA): direct IO failed ino 2211 rw 0,0 sector 0x28e5e8 len 20480 err no 10
[39506.109874] BTRFS warning (device dm-11: state EA): direct IO failed ino 2212 rw 0,0 sector 0x28e030 len 77824 err no 10
[39506.111392] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[39506.113902] BTRFS warning (device dm-11: state EA): direct IO failed ino 2212 rw 0,0 sector 0x28e258 len 40960 err no 10
[39506.116729] BTRFS warning (device dm-11: state EA): direct IO failed ino 554 rw 0,0 sector 0x294a70 len 20480 err no 10
[39506.119150] BTRFS warning (device dm-11: state EA): direct IO failed ino 1173 rw 0,0 sector 0x294908 len 24576 err no 10
[39506.119789] BTRFS warning (device dm-11: state EA): direct IO failed ino 1738 rw 0,0 sector 0x28eec0 len 49152 err no 10
[39506.155565] BTRFS warning (device dm-11: state EA): direct IO failed ino 694 rw 0,0 sector 0x2964c0 len 4096 err no 10
[39506.748621] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[39506.748630] BTRFS info (device dm-11): use zstd compression, level 3
[39506.748634] BTRFS info (device dm-11): turning on async discard
[39506.748661] BTRFS info (device dm-11): disk space caching is enabled
[39506.752738] BTRFS info (device dm-11): start tree-log replay
[39506.830072] btrfs_dev_stat_inc_and_print: 56 callbacks suppressed
[39506.830076] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 1, rd 0, flush 0, corrupt 0, gen 0
[39506.830084] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 2, rd 0, flush 0, corrupt 0, gen 0
[39506.830116] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 2, rd 1, flush 0, corrupt 0, gen 0
[39506.830125] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 2, rd 2, flush 0, corrupt 0, gen 0
[39506.830131] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 3, rd 2, flush 0, corrupt 0, gen 0
[39506.830133] BTRFS warning (device dm-11): direct IO failed ino 2325 rw 1,34817 sector 0x29f178 len 69632 err no 10
[39506.832358] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 3, rd 3, flush 0, corrupt 0, gen 0
[39506.832430] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 3, rd 4, flush 0, corrupt 0, gen 0
[39506.833753] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 4, rd 4, flush 0, corrupt 0, gen 0
[39506.833758] BTRFS warning (device dm-11): direct IO failed ino 2325 rw 1,34817 sector 0x29f178 len 12288 err no 10
[39506.834572] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 4, rd 5, flush 0, corrupt 0, gen 0
[39506.835251] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 4, rd 6, flush 0, corrupt 0, gen 0
[39506.837972] BTRFS warning (device dm-11): direct IO failed ino 2325 rw 1,34817 sector 0x29f178 len 4096 err no 10
[39506.838133] BTRFS warning (device dm-11): direct IO failed ino 2325 rw 1,34817 sector 0x29f178 len 98304 err no 10
[39506.842514] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[39506.844367] BTRFS: error (device dm-11: state A) in __btrfs_run_delayed_items:1182: errno=-5 IO failure
[39506.845039] BTRFS info (device dm-11: state EA): forced readonly
[39506.845044] BTRFS warning (device dm-11: state EA): Skipping commit of aborted transaction.
[39506.845047] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[39507.475293] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[39507.475302] BTRFS info (device dm-11): use zstd compression, level 3
[39507.475305] BTRFS info (device dm-11): turning on async discard
[39507.475307] BTRFS info (device dm-11): disk space caching is enabled
[39508.502426] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[39508.502434] BTRFS error (device dm-11): error writing primary super block to device 1
[39508.502436] BTRFS: error (device dm-11) in write_all_supers:4342: errno=-5 IO failure (1 errors while writing supers)
[39508.503334] BTRFS info (device dm-11: state E): forced readonly
[39508.503344] BTRFS: error (device dm-11: state EA) in btrfs_sync_log:3203: errno=-5 IO failure
[39508.513239] BTRFS warning (device dm-11: state EA): direct IO failed ino 2325 rw 0,0 sector 0x2b18c8 len 32768 err no 10
[39508.513286] BTRFS warning (device dm-11: state EA): Skipping commit of aborted transaction.
[39508.513295] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[39508.516468] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[39508.534793] BTRFS warning (device dm-11: state EA): direct IO failed ino 2330 rw 0,0 sector 0x2a7a18 len 8192 err no 10
[39508.535901] BTRFS warning (device dm-11: state EA): direct IO failed ino 1535 rw 0,0 sector 0x294048 len 4096 err no 10
[39508.537972] BTRFS warning (device dm-11: state EA): direct IO failed ino 2325 rw 0,0 sector 0x2a1a50 len 28672 err no 10
[39508.540677] BTRFS warning (device dm-11: state EA): direct IO failed ino 1538 rw 0,0 sector 0x2ab8f8 len 28672 err no 10
[39508.550021] BTRFS warning (device dm-11: state EA): direct IO failed ino 2347 rw 0,0 sector 0x293218 len 4096 err no 10
[39508.550033] BTRFS warning (device dm-11: state EA): direct IO failed ino 2347 rw 0,0 sector 0x2a78a8 len 32768 err no 10
[39508.553791] BTRFS warning (device dm-11: state EA): direct IO failed ino 2402 rw 0,0 sector 0x2b12c8 len 49152 err no 10
[39509.157315] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[39509.157324] BTRFS info (device dm-11): use zstd compression, level 3
[39509.157327] BTRFS info (device dm-11): turning on async discard
[39509.157329] BTRFS info (device dm-11): disk space caching is enabled
[39509.198050] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[39509.230086] BTRFS: error (device dm-11: state A) in btrfs_replace_file_extents:2802: errno=-5 IO failure
[39509.230920] BTRFS info (device dm-11: state EA): forced readonly
[39509.795321] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[39509.795332] BTRFS info (device dm-11): use zstd compression, level 3
[39509.795336] BTRFS info (device dm-11): turning on async discard
[39509.795339] BTRFS info (device dm-11): disk space caching is enabled
[39510.973117] BTRFS warning (device dm-11): direct IO failed ino 2423 rw 1,34817 sector 0x2b3ac0 len 126976 err no 10
[39510.973569] BTRFS: error (device dm-11: state A) in btrfs_add_root_ref:426: errno=-5 IO failure
[39510.974503] BTRFS info (device dm-11: state EA): forced readonly
[39510.974507] BTRFS: error (device dm-11: state EA) in btrfs_rename:9581: errno=-5 IO failure
[39510.975189] BTRFS warning (device dm-11: state EA): Skipping commit of aborted transaction.
[39510.988214] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[39511.541706] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[39511.541714] BTRFS info (device dm-11): use zstd compression, level 3
[39511.541718] BTRFS info (device dm-11): turning on async discard
[39511.541719] BTRFS info (device dm-11): disk space caching is enabled
[39511.546990] BTRFS info (device dm-11): start tree-log replay
[39511.768327] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[39511.785645] BTRFS: error (device dm-11: state A) in __btrfs_run_delayed_items:1182: errno=-5 IO failure
[39511.786223] BTRFS info (device dm-11: state EA): forced readonly
[39511.786226] BTRFS warning (device dm-11: state EA): Skipping commit of aborted transaction.
[39511.786229] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[39512.285954] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[39512.285963] BTRFS info (device dm-11): use zstd compression, level 3
[39512.285966] BTRFS info (device dm-11): turning on async discard
[39512.285968] BTRFS info (device dm-11): disk space caching is enabled
[39512.315735] btrfs_dev_stat_inc_and_print: 155 callbacks suppressed
[39512.315739] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 0, rd 1, flush 0, corrupt 0, gen 0
[39512.315784] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 0, rd 2, flush 0, corrupt 0, gen 0
[39512.318427] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 0, rd 3, flush 0, corrupt 0, gen 0
[39512.318484] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 0, rd 4, flush 0, corrupt 0, gen 0
[39512.318919] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 0, rd 5, flush 0, corrupt 0, gen 0
[39512.319044] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 0, rd 6, flush 0, corrupt 0, gen 0
[39512.319275] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 0, rd 7, flush 0, corrupt 0, gen 0
[39512.319300] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 0, rd 8, flush 0, corrupt 0, gen 0
[39512.321481] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 0, rd 9, flush 0, corrupt 0, gen 0
[39512.321651] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 0, rd 10, flush 0, corrupt 0, gen 0
[39512.326024] BTRFS warning (device dm-11): direct IO failed ino 2440 rw 1,34817 sector 0x312800 len 110592 err no 10
[39512.328705] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[39512.333668] BTRFS warning (device dm-11): direct IO failed ino 2441 rw 1,34817 sector 0x312800 len 73728 err no 10
[39512.337267] BTRFS: error (device dm-11: state A) in __btrfs_free_extent:3078: errno=-5 IO failure
[39512.337948] BTRFS info (device dm-11: state EA): forced readonly
[39512.337953] BTRFS: error (device dm-11: state EA) in btrfs_run_delayed_refs:2141: errno=-5 IO failure
[39512.905712] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[39512.905726] BTRFS info (device dm-11): use zstd compression, level 3
[39512.905729] BTRFS info (device dm-11): turning on async discard
[39512.905731] BTRFS info (device dm-11): disk space caching is enabled
[39514.936876] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[39514.936904] BTRFS error (device dm-11): error writing primary super block to device 1
[39514.936909] BTRFS: error (device dm-11) in write_all_supers:4342: errno=-5 IO failure (1 errors while writing supers)
[39514.937749] BTRFS info (device dm-11: state E): forced readonly
[39514.937762] BTRFS: error (device dm-11: state EA) in btrfs_sync_log:3203: errno=-5 IO failure
[39514.941457] BTRFS warning (device dm-11: state EA): direct IO failed ino 2520 rw 0,0 sector 0x2ca7f8 len 73728 err no 10
[39514.949619] BTRFS warning (device dm-11: state EA): Skipping commit of aborted transaction.
[39514.949625] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[39514.952878] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[39514.971459] BTRFS warning (device dm-11: state EA): direct IO failed ino 2440 rw 0,0 sector 0x2b6288 len 65536 err no 10
[39514.971492] BTRFS warning (device dm-11: state EA): direct IO failed ino 2440 rw 0,0 sector 0x2b6308 len 8192 err no 10
[39514.985681] BTRFS warning (device dm-11: state EA): direct IO failed ino 2209 rw 0,0 sector 0x2bdc18 len 28672 err no 10
[39514.988754] BTRFS warning (device dm-11: state EA): direct IO failed ino 2543 rw 0,0 sector 0x2c8ed8 len 61440 err no 10
[39514.991299] BTRFS warning (device dm-11: state EA): direct IO failed ino 2617 rw 0,0 sector 0x2c9268 len 4096 err no 10
[39515.002753] BTRFS warning (device dm-11: state EA): direct IO failed ino 2487 rw 0,0 sector 0x2bbb38 len 8192 err no 10
[39515.003222] BTRFS warning (device dm-11: state EA): direct IO failed ino 2443 rw 0,0 sector 0x2bbe20 len 40960 err no 10
[39515.514380] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[39515.514388] BTRFS info (device dm-11): use zstd compression, level 3
[39515.514392] BTRFS info (device dm-11): turning on async discard
[39515.514394] BTRFS info (device dm-11): disk space caching is enabled
[39515.557865] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[39515.589054] BTRFS: error (device dm-11: state A) in __btrfs_free_extent:3078: errno=-5 IO failure
[39515.589619] BTRFS info (device dm-11: state EA): forced readonly
[39515.589624] BTRFS: error (device dm-11: state EA) in btrfs_run_delayed_refs:2141: errno=-5 IO failure
[39516.181374] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[39516.181383] BTRFS info (device dm-11): use zstd compression, level 3
[39516.181387] BTRFS info (device dm-11): turning on async discard
[39516.181389] BTRFS info (device dm-11): disk space caching is enabled
[39517.222325] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[39517.222334] BTRFS error (device dm-11): error writing primary super block to device 1
[39517.222337] BTRFS: error (device dm-11) in write_all_supers:4342: errno=-5 IO failure (1 errors while writing supers)
[39517.223319] BTRFS info (device dm-11: state E): forced readonly
[39517.223324] BTRFS: error (device dm-11: state EA) in btrfs_sync_log:3203: errno=-5 IO failure
[39517.234993] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[39517.254299] BTRFS warning (device dm-11: state EA): direct IO failed ino 2687 rw 0,0 sector 0x2d1680 len 98304 err no 10
[39517.902160] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[39517.902169] BTRFS info (device dm-11): use zstd compression, level 3
[39517.902172] BTRFS info (device dm-11): turning on async discard
[39517.902174] BTRFS info (device dm-11): disk space caching is enabled
[39517.934653] ------------[ cut here ]------------
[39517.934740] WARNING: CPU: 1 PID: 1303929 at fs/btrfs/discard.c:604 btrfs_discard_update_discardable+0x98/0xb0
[39517.934747] Modules linked in: dm_thin_pool dm_persistent_data dm_bio_prison dm_log_writes dm_dust dm_flakey nft_fib_inet nft_fib_ipv4 nft_fib_ipv6 nft_fib nft_reject_inet nf_reject_ipv4 nf_reject_ipv6 nft_reject nft_ct nft_chain_nat nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 ip6_tables nft_compat ip_set rfkill nf_tables nfnetlink intel_rapl_msr iTCO_wdt iTCO_vendor_support snd_hda_codec_generic intel_rapl_common snd_hda_intel snd_intel_dspcfg snd_hda_codec i2c_i801 snd_hwdep i2c_smbus snd_hda_core joydev snd_pcm lpc_ich snd_timer snd soundcore virtio_balloon zram ip_tables xfs crct10dif_pclmul crc32_pclmul crc32c_intel ghash_clmulni_intel serio_raw qemu_fw_cfg
[39517.934819] CPU: 1 PID: 1303929 Comm: kworker/u4:3 Tainted: G        W         5.19.0-rc8+ #790
[39517.934822] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.13.0-2.fc32 04/01/2014
[39517.934825] Workqueue: btrfs-cache btrfs_work_helper
[39517.934830] RIP: 0010:btrfs_discard_update_discardable+0x98/0xb0
[39517.934833] 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
[39517.934836] RSP: 0018:ffffadbfc274bad0 EFLAGS: 00010246
[39517.934839] RAX: 0000000000000000 RBX: ffff9e91c6217200 RCX: 0000000000000001
[39517.934841] RDX: 0000000000000000 RSI: ffffffff8e807c5b RDI: ffffffff8e8a831e
[39517.934843] RBP: ffff9e91ecd30000 R08: 0000000000000000 R09: 0000000000001000
[39517.934845] R10: ffff9e923203e1b8 R11: 00000000009a1a00 R12: ffff9e91c4653810
[39517.934846] R13: ffff9e91d5e5f480 R14: ffff9e91ecd30000 R15: ffff9e91c7bf6850
[39517.934848] FS:  0000000000000000(0000) GS:ffff9e923bd00000(0000) knlGS:0000000000000000
[39517.934850] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[39517.934852] CR2: 000000000122ae38 CR3: 000000010e38c004 CR4: 0000000000370ee0
[39517.934856] Call Trace:
[39517.934859]  
[39517.934864]  __btrfs_remove_free_space_cache+0x27/0x30
[39517.934869]  load_free_space_cache+0xad2/0xaf0
[39517.934914]  caching_thread+0x40b/0x650
[39517.934924]  ? lock_release+0x137/0x2d0
[39517.934932]  btrfs_work_helper+0xf2/0x3e0
[39517.934935]  ? lock_is_held_type+0xe2/0x140
[39517.934943]  process_one_work+0x271/0x590
[39517.934952]  ? process_one_work+0x590/0x590
[39517.934955]  worker_thread+0x52/0x3b0
[39517.934961]  ? process_one_work+0x590/0x590
[39517.934964]  kthread+0xf0/0x120
[39517.934967]  ? kthread_complete_and_exit+0x20/0x20
[39517.934972]  ret_from_fork+0x1f/0x30
[39517.934987]  
[39517.934989] irq event stamp: 5488653
[39517.934990] hardirqs last  enabled at (5488659): [] __up_console_sem+0x5e/0x70
[39517.934994] hardirqs last disabled at (5488664): [] __up_console_sem+0x43/0x70
[39517.934996] softirqs last  enabled at (5488092): [] __irq_exit_rcu+0xeb/0x160
[39517.935000] softirqs last disabled at (5488081): [] __irq_exit_rcu+0xeb/0x160
[39517.935002] ---[ end trace 0000000000000000 ]---
[39517.935006] BTRFS warning (device dm-11): block group 298844160 has wrong amount of free space
[39517.935024] BTRFS warning (device dm-11): failed to load free space cache for block group 298844160, rebuilding it now
[39519.935836] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[39519.935843] btrfs_dev_stat_inc_and_print: 84 callbacks suppressed
[39519.935845] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 1, rd 0, flush 0, corrupt 0, gen 0
[39519.935859] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[39519.935861] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 2, rd 0, flush 0, corrupt 0, gen 0
[39519.935913] BTRFS error (device dm-11): error writing primary super block to device 1
[39519.935918] BTRFS: error (device dm-11) in write_all_supers:4342: errno=-5 IO failure (1 errors while writing supers)
[39519.936595] BTRFS info (device dm-11: state E): forced readonly
[39519.936600] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[39519.936611] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[39519.937493] BTRFS warning (device dm-11: state EA): Skipping commit of aborted transaction.
[39519.937500] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[39519.939397] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 2, rd 1, flush 0, corrupt 0, gen 0
[39519.939426] BTRFS warning (device dm-11: state EA): direct IO failed ino 2436 rw 0,0 sector 0x2ddc48 len 20480 err no 10
[39519.943497] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 3, rd 1, flush 0, corrupt 0, gen 0
[39519.943801] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 4, rd 1, flush 0, corrupt 0, gen 0
[39519.944629] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 5, rd 1, flush 0, corrupt 0, gen 0
[39519.944971] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 6, rd 1, flush 0, corrupt 0, gen 0
[39519.945789] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 7, rd 1, flush 0, corrupt 0, gen 0
[39519.945806] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 8, rd 1, flush 0, corrupt 0, gen 0
[39519.945824] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 9, rd 1, flush 0, corrupt 0, gen 0
[39519.950027] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[39519.991157] BTRFS warning (device dm-11: state EA): direct IO failed ino 2737 rw 0,0 sector 0x2e8278 len 24576 err no 10
[39519.991409] BTRFS warning (device dm-11: state EA): direct IO failed ino 257 rw 0,0 sector 0x2f2b60 len 8192 err no 10
[39520.650186] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[39520.650198] BTRFS info (device dm-11): use zstd compression, level 3
[39520.650203] BTRFS info (device dm-11): turning on async discard
[39520.650206] BTRFS info (device dm-11): disk space caching is enabled
[39520.656105] BTRFS info (device dm-11): start tree-log replay
[39520.671357] BTRFS info (device dm-11): the free space cache file (298844160) is invalid, skip it
[39522.743877] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[39522.743895] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[39522.743904] BTRFS error (device dm-11): error writing primary super block to device 1
[39522.743908] BTRFS: error (device dm-11) in write_all_supers:4342: errno=-5 IO failure (1 errors while writing supers)
[39522.744533] BTRFS info (device dm-11: state E): forced readonly
[39522.744538] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[39522.744541] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[39522.751568] BTRFS warning (device dm-11: state EA): Skipping commit of aborted transaction.
[39522.751575] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[39522.754792] BTRFS warning (device dm-11: state EA): direct IO failed ino 2954 rw 0,0 sector 0x25b5d0 len 8192 err no 10
[39522.754980] BTRFS warning (device dm-11: state EA): direct IO failed ino 2977 rw 0,0 sector 0x220018 len 20480 err no 10
[39522.756418] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[39522.794827] BTRFS warning (device dm-11: state EA): direct IO failed ino 271 rw 0,0 sector 0x258f00 len 8192 err no 10
[39523.398185] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[39523.398193] BTRFS info (device dm-11): use zstd compression, level 3
[39523.398196] BTRFS info (device dm-11): turning on async discard
[39523.398198] BTRFS info (device dm-11): disk space caching is enabled
[39523.403080] BTRFS info (device dm-11): start tree-log replay
[39523.497383] BTRFS warning (device dm-11): direct IO failed ino 3022 rw 1,34817 sector 0x25bc20 len 118784 err no 10
[39523.499249] BTRFS warning (device dm-11): direct IO failed ino 3026 rw 1,34817 sector 0x25bc20 len 126976 err no 10
[39523.506577] BTRFS: error (device dm-11: state A) in create_subvol:729: errno=-5 IO failure
[39523.507300] BTRFS info (device dm-11: state EA): forced readonly
[39523.508582] BTRFS: error (device dm-11: state EA) in btrfs_symlink:9897: errno=-5 IO failure
[39523.513225] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[39524.116509] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[39524.116517] BTRFS info (device dm-11): use zstd compression, level 3
[39524.116521] BTRFS info (device dm-11): turning on async discard
[39524.116522] BTRFS info (device dm-11): disk space caching is enabled
[39524.155531] BTRFS: error (device dm-11: state A) in create_subvol:729: errno=-5 IO failure
[39524.156208] BTRFS info (device dm-11: state EA): forced readonly
[39524.165940] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[39524.733363] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[39524.733372] BTRFS info (device dm-11): use zstd compression, level 3
[39524.733376] BTRFS info (device dm-11): turning on async discard
[39524.733378] BTRFS info (device dm-11): disk space caching is enabled
[39526.771843] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[39526.771850] btrfs_dev_stat_inc_and_print: 144 callbacks suppressed
[39526.771851] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 1, rd 0, flush 0, corrupt 0, gen 0
[39526.771863] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[39526.771865] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 2, rd 0, flush 0, corrupt 0, gen 0
[39526.771876] BTRFS error (device dm-11): error writing primary super block to device 1
[39526.771878] BTRFS: error (device dm-11) in write_all_supers:4342: errno=-5 IO failure (1 errors while writing supers)
[39526.772521] BTRFS info (device dm-11: state E): forced readonly
[39526.772527] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[39526.772530] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[39526.774731] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 2, rd 1, flush 0, corrupt 0, gen 0
[39526.774752] BTRFS warning (device dm-11: state EA): direct IO failed ino 3074 rw 0,0 sector 0x29b670 len 20480 err no 10
[39526.777045] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 2, rd 2, flush 0, corrupt 0, gen 0
[39526.777062] BTRFS warning (device dm-11: state EA): direct IO failed ino 3041 rw 0,0 sector 0x3027a8 len 28672 err no 10
[39526.777539] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 3, rd 2, flush 0, corrupt 0, gen 0
[39526.778600] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 4, rd 2, flush 0, corrupt 0, gen 0
[39526.778938] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 5, rd 2, flush 0, corrupt 0, gen 0
[39526.779286] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 6, rd 2, flush 0, corrupt 0, gen 0
[39526.779453] BTRFS warning (device dm-11: state EA): Skipping commit of aborted transaction.
[39526.779458] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[39526.787211] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[39526.821757] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 6, rd 3, flush 0, corrupt 0, gen 0
[39526.828466] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 6, rd 4, flush 0, corrupt 0, gen 0
[39526.830019] BTRFS warning (device dm-11: state EA): direct IO failed ino 3028 rw 0,0 sector 0x1d5208 len 4096 err no 10
[39526.831869] BTRFS warning (device dm-11: state EA): direct IO failed ino 2209 rw 0,0 sector 0x21bb20 len 57344 err no 10
[39526.832037] BTRFS warning (device dm-11: state EA): direct IO failed ino 2209 rw 0,0 sector 0x29c188 len 20480 err no 10
[39526.833097] BTRFS warning (device dm-11: state EA): direct IO failed ino 2209 rw 0,0 sector 0x2a3d70 len 8192 err no 10
[39527.470136] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[39527.470147] BTRFS info (device dm-11): use zstd compression, level 3
[39527.470152] BTRFS info (device dm-11): turning on async discard
[39527.470154] BTRFS info (device dm-11): disk space caching is enabled
[39527.476203] BTRFS info (device dm-11): start tree-log replay
[39528.588857] BTRFS warning (device dm-11): direct IO failed ino 2279 rw 0,0 sector 0x261720 len 24576 err no 10
[39528.588919] BTRFS warning (device dm-11): direct IO failed ino 2279 rw 0,0 sector 0x2592b8 len 20480 err no 10
[39528.591574] BTRFS: error (device dm-11: state A) in cache_save_setup:2804: errno=-5 IO failure
[39528.592213] BTRFS info (device dm-11: state EA): forced readonly
[39528.593815] BTRFS warning (device dm-11: state EA): Skipping commit of aborted transaction.
[39528.596095] BTRFS warning (device dm-11: state EA): Skipping commit of aborted transaction.
[39528.598323] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[39529.201142] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[39529.201151] BTRFS info (device dm-11): use zstd compression, level 3
[39529.201155] BTRFS info (device dm-11): turning on async discard
[39529.201156] BTRFS info (device dm-11): disk space caching is enabled
[39529.206766] BTRFS info (device dm-11): start tree-log replay
[39531.308182] BTRFS warning (device dm-11): direct IO failed ino 278 rw 1,34817 sector 0x267318 len 69632 err no 10
[39531.308209] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[39531.308220] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[39531.308412] BTRFS error (device dm-11): error writing primary super block to device 1
[39531.308415] BTRFS: error (device dm-11) in write_all_supers:4342: errno=-5 IO failure (1 errors while writing supers)
[39531.309315] BTRFS info (device dm-11: state E): forced readonly
[39531.309322] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[39531.309326] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[39531.313725] BTRFS warning (device dm-11: state EA): direct IO failed ino 3267 rw 0,0 sector 0x2af708 len 20480 err no 10
[39531.313758] BTRFS warning (device dm-11: state EA): direct IO failed ino 3267 rw 0,0 sector 0x1a4cc0 len 8192 err no 10
[39531.322324] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[39531.338340] BTRFS warning (device dm-11: state EA): direct IO failed ino 3254 rw 0,0 sector 0x2a2588 len 4096 err no 10
[39531.339895] BTRFS warning (device dm-11: state EA): direct IO failed ino 3280 rw 0,0 sector 0x263a48 len 57344 err no 10
[39531.341993] BTRFS warning (device dm-11: state EA): direct IO failed ino 3273 rw 0,0 sector 0x264890 len 20480 err no 10
[39531.343745] BTRFS warning (device dm-11: state EA): direct IO failed ino 259 rw 0,0 sector 0x305030 len 20480 err no 10
[39531.363665] BTRFS warning (device dm-11: state EA): direct IO failed ino 3254 rw 0,0 sector 0x2a31c8 len 8192 err no 10
[39531.363692] BTRFS warning (device dm-11: state EA): direct IO failed ino 3254 rw 0,0 sector 0x2a7df0 len 40960 err no 10
[39531.363709] BTRFS warning (device dm-11: state EA): direct IO failed ino 3254 rw 0,0 sector 0x1ac3c8 len 61440 err no 10
[39531.364117] BTRFS warning (device dm-11: state EA): direct IO failed ino 3320 rw 0,0 sector 0x1e4d68 len 86016 err no 10
[39531.365034] BTRFS warning (device dm-11: state EA): direct IO failed ino 3273 rw 0,0 sector 0x2d9ac0 len 4096 err no 10
[39532.001101] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[39532.001110] BTRFS info (device dm-11): use zstd compression, level 3
[39532.001114] BTRFS info (device dm-11): turning on async discard
[39532.001116] BTRFS info (device dm-11): disk space caching is enabled
[39532.045948] ------------[ cut here ]------------
[39532.046033] WARNING: CPU: 0 PID: 1303929 at fs/btrfs/discard.c:604 btrfs_discard_update_discardable+0x98/0xb0
[39532.046040] Modules linked in: dm_thin_pool dm_persistent_data dm_bio_prison dm_log_writes dm_dust dm_flakey nft_fib_inet nft_fib_ipv4 nft_fib_ipv6 nft_fib nft_reject_inet nf_reject_ipv4 nf_reject_ipv6 nft_reject nft_ct nft_chain_nat nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 ip6_tables nft_compat ip_set rfkill nf_tables nfnetlink intel_rapl_msr iTCO_wdt iTCO_vendor_support snd_hda_codec_generic intel_rapl_common snd_hda_intel snd_intel_dspcfg snd_hda_codec i2c_i801 snd_hwdep i2c_smbus snd_hda_core joydev snd_pcm lpc_ich snd_timer snd soundcore virtio_balloon zram ip_tables xfs crct10dif_pclmul crc32_pclmul crc32c_intel ghash_clmulni_intel serio_raw qemu_fw_cfg
[39532.046110] CPU: 0 PID: 1303929 Comm: kworker/u4:3 Tainted: G        W         5.19.0-rc8+ #790
[39532.046113] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.13.0-2.fc32 04/01/2014
[39532.046116] Workqueue: btrfs-cache btrfs_work_helper
[39532.046121] RIP: 0010:btrfs_discard_update_discardable+0x98/0xb0
[39532.046124] 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
[39532.046127] RSP: 0018:ffffadbfc274bad0 EFLAGS: 00010246
[39532.046130] RAX: 0000000000000000 RBX: ffff9e9218a09600 RCX: 0000000000000001
[39532.046132] RDX: 0000000000000000 RSI: ffffffff8e807c5b RDI: ffffffff8e8a831e
[39532.046134] RBP: ffff9e9217398000 R08: 0000000000000000 R09: 0000000000001000
[39532.046136] R10: ffff9e90d2045970 R11: 00000000009a2500 R12: ffff9e921ee66810
[39532.046137] R13: ffff9e91c2e561e0 R14: ffff9e9217398000 R15: ffff9e91c7bf6460
[39532.046139] FS:  0000000000000000(0000) GS:ffff9e923bc00000(0000) knlGS:0000000000000000
[39532.046142] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[39532.046143] CR2: 00007f4df42d00b0 CR3: 0000000113c70002 CR4: 0000000000370ef0
[39532.046148] Call Trace:
[39532.046150]  
[39532.046155]  __btrfs_remove_free_space_cache+0x27/0x30
[39532.046159]  load_free_space_cache+0xad2/0xaf0
[39532.046205]  caching_thread+0x40b/0x650
[39532.046214]  ? lock_release+0x137/0x2d0
[39532.046223]  btrfs_work_helper+0xf2/0x3e0
[39532.046226]  ? lock_is_held_type+0xe2/0x140
[39532.046234]  process_one_work+0x271/0x590
[39532.046243]  ? process_one_work+0x590/0x590
[39532.046247]  worker_thread+0x52/0x3b0
[39532.046252]  ? process_one_work+0x590/0x590
[39532.046255]  kthread+0xf0/0x120
[39532.046258]  ? kthread_complete_and_exit+0x20/0x20
[39532.046263]  ret_from_fork+0x1f/0x30
[39532.046278]  
[39532.046280] irq event stamp: 5643769
[39532.046281] hardirqs last  enabled at (5643775): [] __up_console_sem+0x5e/0x70
[39532.046285] hardirqs last disabled at (5643780): [] __up_console_sem+0x43/0x70
[39532.046287] softirqs last  enabled at (5643166): [] __irq_exit_rcu+0xeb/0x160
[39532.046291] softirqs last disabled at (5643153): [] __irq_exit_rcu+0xeb/0x160
[39532.046293] ---[ end trace 0000000000000000 ]---
[39532.046297] BTRFS warning (device dm-11): block group 298844160 has wrong amount of free space
[39532.046334] BTRFS warning (device dm-11): failed to load free space cache for block group 298844160, rebuilding it now
[39533.044753] btrfs_dev_stat_inc_and_print: 39 callbacks suppressed
[39533.044757] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 1, rd 0, flush 0, corrupt 0, gen 0
[39533.044806] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 2, rd 0, flush 0, corrupt 0, gen 0
[39533.046023] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 3, rd 0, flush 0, corrupt 0, gen 0
[39533.046055] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 4, rd 0, flush 0, corrupt 0, gen 0
[39533.046629] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 5, rd 0, flush 0, corrupt 0, gen 0
[39533.046641] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 6, rd 0, flush 0, corrupt 0, gen 0
[39533.047239] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 7, rd 0, flush 0, corrupt 0, gen 0
[39533.047250] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 8, rd 0, flush 0, corrupt 0, gen 0
[39533.047484] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 9, rd 0, flush 0, corrupt 0, gen 0
[39533.047494] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 10, rd 0, flush 0, corrupt 0, gen 0
[39533.048903] BTRFS: error (device dm-11) in btrfs_commit_transaction:2496: errno=-5 IO failure (Error while writing out transaction)
[39533.049844] BTRFS info (device dm-11: state E): forced readonly
[39533.049849] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[39533.049852] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[39533.059027] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[39533.678847] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[39533.678856] BTRFS info (device dm-11): use zstd compression, level 3
[39533.678859] BTRFS info (device dm-11): turning on async discard
[39533.678861] BTRFS info (device dm-11): disk space caching is enabled
[39534.710936] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[39534.710956] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[39534.710966] BTRFS error (device dm-11): error writing primary super block to device 1
[39534.710972] BTRFS: error (device dm-11) in write_all_supers:4342: errno=-5 IO failure (1 errors while writing supers)
[39534.711776] BTRFS info (device dm-11: state E): forced readonly
[39534.711783] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[39534.711789] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[39534.716870] BTRFS warning (device dm-11: state EA): Skipping commit of aborted transaction.
[39534.716877] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[39534.722170] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[39534.739870] BTRFS warning (device dm-11: state EA): direct IO failed ino 3492 rw 0,0 sector 0x2a7ca0 len 32768 err no 10
[39534.741299] BTRFS warning (device dm-11: state EA): direct IO failed ino 3504 rw 0,0 sector 0x25ff10 len 4096 err no 10
[39534.742146] BTRFS warning (device dm-11: state EA): direct IO failed ino 257 rw 0,0 sector 0x1d2e88 len 4096 err no 10
[39534.742197] BTRFS warning (device dm-11: state EA): direct IO failed ino 257 rw 0,0 sector 0x2e0df0 len 40960 err no 10
[39534.745507] BTRFS warning (device dm-11: state EA): direct IO failed ino 3492 rw 0,0 sector 0x2a7c70 len 12288 err no 10
[39534.745753] BTRFS warning (device dm-11: state EA): direct IO failed ino 257 rw 0,0 sector 0x2b14b8 len 4096 err no 10
[39534.745777] BTRFS warning (device dm-11: state EA): direct IO failed ino 257 rw 0,0 sector 0x1d2e88 len 4096 err no 10
[39534.755289] BTRFS warning (device dm-11: state EA): direct IO failed ino 272 rw 0,0 sector 0x30b2f8 len 69632 err no 10
[39534.756194] BTRFS warning (device dm-11: state EA): direct IO failed ino 257 rw 0,0 sector 0x2b1420 len 32768 err no 10
[39534.756956] BTRFS warning (device dm-11: state EA): direct IO failed ino 3504 rw 0,0 sector 0x219bd0 len 12288 err no 10
[39534.757791] BTRFS warning (device dm-11: state EA): direct IO failed ino 3504 rw 0,0 sector 0x25a108 len 12288 err no 10
[39534.757806] BTRFS warning (device dm-11: state EA): direct IO failed ino 3504 rw 0,0 sector 0x19d160 len 4096 err no 10
[39534.758365] BTRFS warning (device dm-11: state EA): direct IO failed ino 257 rw 0,0 sector 0x2b1420 len 20480 err no 10
[39534.760939] BTRFS warning (device dm-11: state EA): direct IO failed ino 257 rw 0,0 sector 0x2e0e28 len 20480 err no 10
[39535.443415] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[39535.443426] BTRFS info (device dm-11): use zstd compression, level 3
[39535.443431] BTRFS info (device dm-11): turning on async discard
[39535.443434] BTRFS info (device dm-11): disk space caching is enabled
[39536.487334] BTRFS warning (device dm-11): direct IO failed ino 261 rw 1,34817 sector 0x1a2668 len 32768 err no 10
[39536.487414] BTRFS warning (device dm-11): direct IO failed ino 294 rw 1,34817 sector 0x213b58 len 8192 err no 10
[39536.487426] BTRFS warning (device dm-11): direct IO failed ino 262 rw 1,34817 sector 0x21c1f8 len 61440 err no 10
[39536.487432] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[39536.487439] BTRFS error (device dm-11): error writing primary super block to device 1
[39536.487447] BTRFS: error (device dm-11) in write_all_supers:4342: errno=-5 IO failure (1 errors while writing supers)
[39536.488389] BTRFS info (device dm-11: state E): forced readonly
[39536.488396] BTRFS: error (device dm-11: state EA) in btrfs_sync_log:3203: errno=-5 IO failure
[39536.496800] BTRFS warning (device dm-11: state EA): direct IO failed ino 3568 rw 0,0 sector 0x193da8 len 28672 err no 10
[39536.507110] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[39536.524488] BTRFS warning (device dm-11: state EA): direct IO failed ino 3534 rw 0,0 sector 0x1d2f78 len 4096 err no 10
[39536.556717] BTRFS warning (device dm-11: state EA): direct IO failed ino 259 rw 0,0 sector 0x2b18e8 len 49152 err no 10
[39537.167372] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[39537.167381] BTRFS info (device dm-11): use zstd compression, level 3
[39537.167385] BTRFS info (device dm-11): turning on async discard
[39537.167387] BTRFS info (device dm-11): disk space caching is enabled
[39539.242809] btrfs_dev_stat_inc_and_print: 66 callbacks suppressed
[39539.242813] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 1, rd 0, flush 0, corrupt 0, gen 0
[39539.242843] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 2, rd 0, flush 0, corrupt 0, gen 0
[39539.242886] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 3, rd 0, flush 0, corrupt 0, gen 0
[39539.242894] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 4, rd 0, flush 0, corrupt 0, gen 0
[39539.242898] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 5, rd 0, flush 0, corrupt 0, gen 0
[39539.242910] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[39539.242913] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 6, rd 0, flush 0, corrupt 0, gen 0
[39539.242922] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[39539.242925] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 7, rd 0, flush 0, corrupt 0, gen 0
[39539.243482] BTRFS error (device dm-11): error writing primary super block to device 1
[39539.243485] BTRFS: error (device dm-11) in write_all_supers:4342: errno=-5 IO failure (1 errors while writing supers)
[39539.244155] BTRFS info (device dm-11: state E): forced readonly
[39539.244165] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[39539.244168] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[39539.246242] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 7, rd 1, flush 0, corrupt 0, gen 0
[39539.246262] BTRFS warning (device dm-11: state EA): direct IO failed ino 261 rw 0,0 sector 0x1b4758 len 12288 err no 10
[39539.247660] BTRFS: error (device dm-11: state EA) in btrfs_sync_log:3192: errno=-5 IO failure
[39539.249663] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 8, rd 1, flush 0, corrupt 0, gen 0
[39539.249729] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 8, rd 2, flush 0, corrupt 0, gen 0
[39539.250440] BTRFS warning (device dm-11: state EA): direct IO failed ino 280 rw 0,0 sector 0x29d258 len 40960 err no 10
[39539.255599] BTRFS warning (device dm-11: state EA): direct IO failed ino 262 rw 0,0 sector 0x26c7a8 len 4096 err no 10
[39539.262132] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[39539.906037] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[39539.906046] BTRFS info (device dm-11): use zstd compression, level 3
[39539.906049] BTRFS info (device dm-11): turning on async discard
[39539.906051] BTRFS info (device dm-11): disk space caching is enabled
[39539.909418] BTRFS info (device dm-11): start tree-log replay
[39542.016446] BTRFS: error (device dm-11: state A) in btrfs_create_new_inode:6432: errno=-5 IO failure
[39542.017171] BTRFS info (device dm-11: state EA): forced readonly
[39542.017673] BTRFS: error (device dm-11: state EA) in btrfs_commit_transaction:2496: errno=-5 IO failure (Error while writing out transaction)
[39542.019352] BTRFS warning (device dm-11: state EA): Skipping commit of aborted transaction.
[39542.019359] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[39542.019745] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[39542.723794] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[39542.723802] BTRFS info (device dm-11): use zstd compression, level 3
[39542.723805] BTRFS info (device dm-11): turning on async discard
[39542.723806] BTRFS info (device dm-11): disk space caching is enabled
[39542.728536] BTRFS info (device dm-11): start tree-log replay
[39542.749548] BTRFS info (device dm-11): the free space cache file (298844160) is invalid, skip it
[39542.828168] BTRFS warning (device dm-11): direct IO failed ino 3675 rw 1,34817 sector 0x1991a8 len 4096 err no 10
[39542.832515] BTRFS warning (device dm-11): direct IO failed ino 3677 rw 1,34817 sector 0x1aa4c0 len 90112 err no 10
[39542.833727] BTRFS warning (device dm-11): direct IO failed ino 3676 rw 1,34817 sector 0x1ab2f0 len 122880 err no 10
[39542.838015] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[39542.842125] BTRFS: error (device dm-11: state A) in __btrfs_free_extent:3078: errno=-5 IO failure
[39542.842734] BTRFS info (device dm-11: state EA): forced readonly
[39542.842739] BTRFS: error (device dm-11: state EA) in btrfs_run_delayed_refs:2141: errno=-5 IO failure
[39543.412962] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[39543.412972] BTRFS info (device dm-11): use zstd compression, level 3
[39543.412975] BTRFS info (device dm-11): turning on async discard
[39543.412977] BTRFS info (device dm-11): disk space caching is enabled
[39545.452888] btrfs_dev_stat_inc_and_print: 113 callbacks suppressed
[39545.452893] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 1, rd 0, flush 0, corrupt 0, gen 0
[39545.452901] BTRFS warning (device dm-11): direct IO failed ino 3767 rw 1,34817 sector 0x27b4b0 len 102400 err no 10
[39545.452930] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 2, rd 0, flush 0, corrupt 0, gen 0
[39545.452939] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 3, rd 0, flush 0, corrupt 0, gen 0
[39545.453181] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 4, rd 0, flush 0, corrupt 0, gen 0
[39545.453189] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 5, rd 0, flush 0, corrupt 0, gen 0
[39545.453447] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 6, rd 0, flush 0, corrupt 0, gen 0
[39545.453456] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 7, rd 0, flush 0, corrupt 0, gen 0
[39545.453506] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 8, rd 0, flush 0, corrupt 0, gen 0
[39545.453514] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 9, rd 0, flush 0, corrupt 0, gen 0
[39545.453557] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 10, rd 0, flush 0, corrupt 0, gen 0
[39545.454700] BTRFS: error (device dm-11: state A) in __btrfs_free_extent:3078: errno=-5 IO failure
[39545.455348] BTRFS info (device dm-11: state EA): forced readonly
[39545.455354] BTRFS: error (device dm-11: state EA) in btrfs_run_delayed_refs:2141: errno=-5 IO failure
[39545.456561] BTRFS: error (device dm-11: state EA) in btrfs_commit_transaction:2496: errno=-5 IO failure (Error while writing out transaction)
[39545.457855] BTRFS warning (device dm-11: state EA): Skipping commit of aborted transaction.
[39545.457860] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[39545.479911] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[39546.211075] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[39546.211084] BTRFS info (device dm-11): use zstd compression, level 3
[39546.211088] BTRFS info (device dm-11): turning on async discard
[39546.211090] BTRFS info (device dm-11): disk space caching is enabled
[39546.257132] BTRFS info (device dm-11): the free space cache file (298844160) is invalid, skip it
[39547.248919] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[39547.248932] BTRFS error (device dm-11): error writing primary super block to device 1
[39547.248936] BTRFS: error (device dm-11) in write_all_supers:4342: errno=-5 IO failure (1 errors while writing supers)
[39547.249751] BTRFS info (device dm-11: state E): forced readonly
[39547.249767] BTRFS: error (device dm-11: state EA) in btrfs_sync_log:3203: errno=-5 IO failure
[39547.251675] BTRFS warning (device dm-11: state EA): Skipping commit of aborted transaction.
[39547.251679] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[39547.254903] BTRFS warning (device dm-11: state EA): direct IO failed ino 257 rw 0,0 sector 0x23adb8 len 28672 err no 10
[39547.256737] BTRFS warning (device dm-11: state EA): direct IO failed ino 3848 rw 0,0 sector 0x21b3f8 len 32768 err no 10
[39547.260325] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[39547.275796] BTRFS warning (device dm-11: state EA): direct IO failed ino 3915 rw 0,0 sector 0x21c2b8 len 8192 err no 10
[39547.275902] BTRFS warning (device dm-11: state EA): direct IO failed ino 3851 rw 0,0 sector 0x27c9b0 len 73728 err no 10
[39547.276395] BTRFS warning (device dm-11: state EA): direct IO failed ino 3402 rw 0,0 sector 0x23a678 len 45056 err no 10
[39547.276826] BTRFS warning (device dm-11: state EA): direct IO failed ino 3851 rw 0,0 sector 0x2a0860 len 4096 err no 10
[39547.277742] BTRFS warning (device dm-11: state EA): direct IO failed ino 3897 rw 0,0 sector 0x1bd700 len 36864 err no 10
[39547.298961] BTRFS warning (device dm-11: state EA): direct IO failed ino 3685 rw 0,0 sector 0x200150 len 8192 err no 10
[39547.301672] BTRFS warning (device dm-11: state EA): direct IO failed ino 261 rw 0,0 sector 0x26bce0 len 12288 err no 10
[39547.862275] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[39547.862284] BTRFS info (device dm-11): use zstd compression, level 3
[39547.862287] BTRFS info (device dm-11): turning on async discard
[39547.862289] BTRFS info (device dm-11): disk space caching is enabled
[39549.921743] BTRFS: error (device dm-11) in btrfs_commit_transaction:2496: errno=-5 IO failure (Error while writing out transaction)
[39549.922788] BTRFS info (device dm-11: state E): forced readonly
[39549.922794] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[39549.922799] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[39549.932799] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[39550.594068] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[39550.594078] BTRFS info (device dm-11): use zstd compression, level 3
[39550.594081] BTRFS info (device dm-11): turning on async discard
[39550.594083] BTRFS info (device dm-11): disk space caching is enabled
[39551.651726] btrfs_dev_stat_inc_and_print: 37 callbacks suppressed
[39551.651731] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 1, rd 0, flush 0, corrupt 0, gen 0
[39551.651777] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 2, rd 0, flush 0, corrupt 0, gen 0
[39551.653220] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 3, rd 0, flush 0, corrupt 0, gen 0
[39551.653229] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 4, rd 0, flush 0, corrupt 0, gen 0
[39551.653320] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 5, rd 0, flush 0, corrupt 0, gen 0
[39551.653326] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 6, rd 0, flush 0, corrupt 0, gen 0
[39551.653460] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 7, rd 0, flush 0, corrupt 0, gen 0
[39551.653467] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 8, rd 0, flush 0, corrupt 0, gen 0
[39551.653572] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 9, rd 0, flush 0, corrupt 0, gen 0
[39551.653578] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 10, rd 0, flush 0, corrupt 0, gen 0
[39551.657794] BTRFS: error (device dm-11: state A) in btrfs_add_root_ref:426: errno=-5 IO failure
[39551.658737] BTRFS info (device dm-11: state EA): forced readonly
[39551.658742] BTRFS: error (device dm-11: state EA) in btrfs_rename:9581: errno=-5 IO failure
[39551.664921] BTRFS warning (device dm-11: state EA): Skipping commit of aborted transaction.
[39551.671143] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[39552.282047] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[39552.282055] BTRFS info (device dm-11): use zstd compression, level 3
[39552.282059] BTRFS info (device dm-11): turning on async discard
[39552.282060] BTRFS info (device dm-11): disk space caching is enabled
[39552.376529] ------------[ cut here ]------------
[39552.376616] WARNING: CPU: 1 PID: 1318381 at fs/btrfs/discard.c:604 btrfs_discard_update_discardable+0x98/0xb0
[39552.376624] Modules linked in: dm_thin_pool dm_persistent_data dm_bio_prison dm_log_writes dm_dust dm_flakey nft_fib_inet nft_fib_ipv4 nft_fib_ipv6 nft_fib nft_reject_inet nf_reject_ipv4 nf_reject_ipv6 nft_reject nft_ct nft_chain_nat nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 ip6_tables nft_compat ip_set rfkill nf_tables nfnetlink intel_rapl_msr iTCO_wdt iTCO_vendor_support snd_hda_codec_generic intel_rapl_common snd_hda_intel snd_intel_dspcfg snd_hda_codec i2c_i801 snd_hwdep i2c_smbus snd_hda_core joydev snd_pcm lpc_ich snd_timer snd soundcore virtio_balloon zram ip_tables xfs crct10dif_pclmul crc32_pclmul crc32c_intel ghash_clmulni_intel serio_raw qemu_fw_cfg
[39552.376733] CPU: 1 PID: 1318381 Comm: kworker/u4:9 Tainted: G        W         5.19.0-rc8+ #790
[39552.376737] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.13.0-2.fc32 04/01/2014
[39552.376740] Workqueue: btrfs-cache btrfs_work_helper
[39552.376747] RIP: 0010:btrfs_discard_update_discardable+0x98/0xb0
[39552.376751] 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
[39552.376755] RSP: 0018:ffffadbfc435bad0 EFLAGS: 00010246
[39552.376759] RAX: 0000000000000000 RBX: ffff9e9218a09000 RCX: 0000000000000001
[39552.376762] RDX: 0000000000000000 RSI: ffffffff8e807c5b RDI: ffffffff8e8a831e
[39552.376765] RBP: ffff9e91f1d80000 R08: 0000000000000000 R09: 0000000000000001
[39552.376768] R10: 0000000000005291 R11: 0000000000000001 R12: ffff9e921ee66010
[39552.376770] R13: ffff9e91c2ff3350 R14: ffff9e91f1d80000 R15: ffff9e91c41eb9a0
[39552.376772] FS:  0000000000000000(0000) GS:ffff9e923bd00000(0000) knlGS:0000000000000000
[39552.376775] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[39552.376778] CR2: 00007ff9048c326c CR3: 0000000102972006 CR4: 0000000000370ee0
[39552.376784] Call Trace:
[39552.376787]  
[39552.376794]  __btrfs_remove_free_space_cache+0x27/0x30
[39552.376800]  load_free_space_cache+0xad2/0xaf0
[39552.376873]  caching_thread+0x40b/0x650
[39552.376887]  ? lock_release+0x137/0x2d0
[39552.376899]  btrfs_work_helper+0xf2/0x3e0
[39552.376904]  ? lock_is_held_type+0xe2/0x140
[39552.376915]  process_one_work+0x271/0x590
[39552.376930]  ? process_one_work+0x590/0x590
[39552.376934]  worker_thread+0x52/0x3b0
[39552.376942]  ? process_one_work+0x590/0x590
[39552.376947]  kthread+0xf0/0x120
[39552.376951]  ? kthread_complete_and_exit+0x20/0x20
[39552.376959]  ret_from_fork+0x1f/0x30
[39552.376982]  
[39552.376985] irq event stamp: 3739567
[39552.376987] hardirqs last  enabled at (3739573): [] __up_console_sem+0x5e/0x70
[39552.376992] hardirqs last disabled at (3739578): [] __up_console_sem+0x43/0x70
[39552.376995] softirqs last  enabled at (3738992): [] __irq_exit_rcu+0xeb/0x160
[39552.377000] softirqs last disabled at (3738979): [] __irq_exit_rcu+0xeb/0x160
[39552.377003] ---[ end trace 0000000000000000 ]---
[39552.377007] BTRFS warning (device dm-11): block group 1372585984 has wrong amount of free space
[39552.377029] BTRFS warning (device dm-11): failed to load free space cache for block group 1372585984, rebuilding it now
[39554.325983] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[39554.325992] BTRFS error (device dm-11): error writing primary super block to device 1
[39554.325994] BTRFS: error (device dm-11) in write_all_supers:4342: errno=-5 IO failure (1 errors while writing supers)
[39554.326693] BTRFS info (device dm-11: state E): forced readonly
[39554.326703] BTRFS: error (device dm-11: state EA) in btrfs_sync_log:3203: errno=-5 IO failure
[39554.329855] BTRFS warning (device dm-11: state EA): direct IO failed ino 257 rw 0,0 sector 0x129488 len 8192 err no 10
[39554.331395] BTRFS warning (device dm-11: state EA): Skipping commit of aborted transaction.
[39554.331400] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[39554.335246] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[39554.335520] BTRFS warning (device dm-11: state EA): direct IO failed ino 4123 rw 0,0 sector 0x23ac08 len 32768 err no 10
[39554.350179] BTRFS warning (device dm-11: state EA): direct IO failed ino 262 rw 0,0 sector 0x161938 len 4096 err no 10
[39554.353695] BTRFS warning (device dm-11: state EA): direct IO failed ino 257 rw 0,0 sector 0x2bb620 len 32768 err no 10
[39554.975907] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[39554.975916] BTRFS info (device dm-11): use zstd compression, level 3
[39554.975919] BTRFS info (device dm-11): turning on async discard
[39554.975921] BTRFS info (device dm-11): disk space caching is enabled
[39555.022769] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[39555.045516] BTRFS: error (device dm-11: state A) in __btrfs_free_extent:3078: errno=-5 IO failure
[39555.046020] BTRFS info (device dm-11: state EA): forced readonly
[39555.046025] BTRFS: error (device dm-11: state EA) in btrfs_run_delayed_refs:2141: errno=-5 IO failure
[39555.663277] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[39555.663287] BTRFS info (device dm-11): use zstd compression, level 3
[39555.663291] BTRFS info (device dm-11): turning on async discard
[39555.663293] BTRFS info (device dm-11): disk space caching is enabled