[16707.543423] run fstests generic/475 at 2022-08-13 01:32:01
[16708.721651] BTRFS: device fsid 26d2326e-1a2f-4c70-a41b-f414219cc275 devid 1 transid 6 /dev/mapper/vg0-lv9 scanned by mkfs.btrfs (2223982)
[16708.953404] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[16708.953413] BTRFS info (device dm-11): turning on async discard
[16708.953414] BTRFS info (device dm-11): disk space caching is enabled
[16708.956666] BTRFS info (device dm-11): checking UUID tree
[16708.986270] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 1, rd 0, flush 0, corrupt 0, gen 0
[16708.987759] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 2, rd 0, flush 0, corrupt 0, gen 0
[16708.988542] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 3, rd 0, flush 0, corrupt 0, gen 0
[16708.988552] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 4, rd 0, flush 0, corrupt 0, gen 0
[16708.988557] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 5, rd 0, flush 0, corrupt 0, gen 0
[16708.988588] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 6, rd 0, flush 0, corrupt 0, gen 0
[16708.988592] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 7, rd 0, flush 0, corrupt 0, gen 0
[16708.988607] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 8, rd 0, flush 0, corrupt 0, gen 0
[16708.989603] BTRFS: error (device dm-11: state A) in __btrfs_run_delayed_items:1182: errno=-5 IO failure
[16708.990270] BTRFS info (device dm-11: state EA): forced readonly
[16708.990274] BTRFS warning (device dm-11: state EA): Skipping commit of aborted transaction.
[16708.990292] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[16708.993447] BTRFS: error (device dm-11: state EA) in cache_save_setup:2804: errno=-5 IO failure
[16709.001255] buffer_io_error: 760 callbacks suppressed
[16709.001261] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[16709.496054] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[16709.496061] BTRFS info (device dm-11): turning on async discard
[16709.496063] BTRFS info (device dm-11): disk space caching is enabled
[16709.499626] BTRFS info (device dm-11): checking UUID tree
[16709.526044] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 1, rd 0, flush 0, corrupt 0, gen 0
[16709.526085] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 2, rd 0, flush 0, corrupt 0, gen 0
[16709.533693] BTRFS: error (device dm-11) in btrfs_commit_transaction:2496: errno=-5 IO failure (Error while writing out transaction)
[16709.534671] BTRFS info (device dm-11: state E): forced readonly
[16709.534690] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[16709.534694] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[16709.537342] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[16710.041427] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[16710.041437] BTRFS info (device dm-11): turning on async discard
[16710.041440] BTRFS info (device dm-11): disk space caching is enabled
[16710.045725] BTRFS info (device dm-11): checking UUID tree
[16711.225120] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[16711.225139] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[16711.225156] BTRFS error (device dm-11): error writing primary super block to device 1
[16711.225161] BTRFS: error (device dm-11) in write_all_supers:4342: errno=-5 IO failure (1 errors while writing supers)
[16711.226102] BTRFS info (device dm-11: state E): forced readonly
[16711.226109] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[16711.227034] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[16711.231710] BTRFS warning (device dm-11: state EA): direct IO failed ino 297 rw 0,0 sector 0x7d00 len 24576 err no 10
[16711.232551] BTRFS warning (device dm-11: state EA): direct IO failed ino 297 rw 0,0 sector 0x9e18 len 36864 err no 10
[16711.235534] BTRFS warning (device dm-11: state EA): Skipping commit of aborted transaction.
[16711.235614] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[16711.240001] BTRFS warning (device dm-11: state EA): direct IO failed ino 275 rw 0,0 sector 0x8760 len 28672 err no 10
[16711.241141] BTRFS warning (device dm-11: state EA): direct IO failed ino 278 rw 0,0 sector 0x89f0 len 28672 err no 10
[16711.244695] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[16711.253124] BTRFS warning (device dm-11: state EA): direct IO failed ino 297 rw 0,0 sector 0x9e30 len 24576 err no 10
[16711.254069] BTRFS warning (device dm-11: state EA): direct IO failed ino 297 rw 0,0 sector 0x9e18 len 8192 err no 10
[16711.254949] BTRFS warning (device dm-11: state EA): direct IO failed ino 290 rw 0,0 sector 0xa5d8 len 28672 err no 10
[16711.258131] BTRFS warning (device dm-11: state EA): direct IO failed ino 259 rw 0,0 sector 0xa298 len 4096 err no 10
[16711.273591] BTRFS warning (device dm-11: state EA): direct IO failed ino 297 rw 0,0 sector 0x7d20 len 8192 err no 10
[16711.275823] BTRFS warning (device dm-11: state EA): direct IO failed ino 290 rw 0,0 sector 0xa5d8 len 8192 err no 10
[16711.276716] BTRFS warning (device dm-11: state EA): direct IO failed ino 300 rw 0,0 sector 0x7850 len 45056 err no 10
[16711.277510] BTRFS warning (device dm-11: state EA): direct IO failed ino 265 rw 0,0 sector 0x6a18 len 16384 err no 10
[16711.277525] BTRFS warning (device dm-11: state EA): direct IO failed ino 265 rw 0,0 sector 0x6a40 len 4096 err no 10
[16711.278886] BTRFS warning (device dm-11: state EA): direct IO failed ino 293 rw 0,0 sector 0x97d8 len 16384 err no 10
[16711.278908] BTRFS warning (device dm-11: state EA): direct IO failed ino 293 rw 0,0 sector 0x97f8 len 4096 err no 10
[16711.281015] BTRFS warning (device dm-11: state EA): direct IO failed ino 297 rw 0,0 sector 0x9e18 len 45056 err no 10
[16711.285772] BTRFS warning (device dm-11: state EA): direct IO failed ino 300 rw 0,0 sector 0x7850 len 57344 err no 10
[16711.787293] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[16711.787301] BTRFS info (device dm-11): turning on async discard
[16711.787303] BTRFS info (device dm-11): disk space caching is enabled
[16711.818328] BTRFS warning (device dm-11): direct IO failed ino 301 rw 1,34817 sector 0xa650 len 106496 err no 10
[16711.826731] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[16711.828644] BTRFS warning (device dm-11): direct IO failed ino 308 rw 1,34817 sector 0x8230 len 28672 err no 10
[16711.831667] BTRFS: error (device dm-11) in btrfs_commit_transaction:2496: errno=-5 IO failure (Error while writing out transaction)
[16711.832660] BTRFS info (device dm-11: state E): forced readonly
[16711.832683] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[16711.832687] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[16712.356919] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[16712.356927] BTRFS info (device dm-11): turning on async discard
[16712.356929] BTRFS info (device dm-11): disk space caching is enabled
[16712.389029] BTRFS warning (device dm-11): direct IO failed ino 301 rw 1,34817 sector 0xa590 len 61440 err no 10
[16712.399028] BTRFS warning (device dm-11): direct IO failed ino 307 rw 1,34817 sector 0x8230 len 118784 err no 10
[16712.401819] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[16712.409291] BTRFS: error (device dm-11: state A) in __btrfs_run_delayed_items:1182: errno=-5 IO failure
[16712.410154] BTRFS info (device dm-11: state EA): forced readonly
[16712.410159] BTRFS warning (device dm-11: state EA): Skipping commit of aborted transaction.
[16712.410163] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[16712.891128] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[16712.891144] BTRFS info (device dm-11): turning on async discard
[16712.891146] BTRFS info (device dm-11): disk space caching is enabled
[16713.947007] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[16713.947024] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[16713.947039] BTRFS error (device dm-11): error writing primary super block to device 1
[16713.947045] BTRFS: error (device dm-11) in write_all_supers:4342: errno=-5 IO failure (1 errors while writing supers)
[16713.947987] BTRFS info (device dm-11: state E): forced readonly
[16713.948002] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[16713.948007] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[16713.951703] BTRFS: error (device dm-11: state EA) in btrfs_sync_log:3192: errno=-5 IO failure
[16713.955737] BTRFS warning (device dm-11: state EA): direct IO failed ino 258 rw 0,0 sector 0x7840 len 20480 err no 10
[16713.956440] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[16713.959693] BTRFS warning (device dm-11: state EA): Skipping commit of aborted transaction.
[16713.959699] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[16713.960079] BTRFS warning (device dm-11: state EA): direct IO failed ino 304 rw 0,0 sector 0x1138e0 len 4096 err no 10
[16713.963061] BTRFS warning (device dm-11: state EA): direct IO failed ino 363 rw 0,0 sector 0x11a1e8 len 24576 err no 10
[16713.969743] BTRFS warning (device dm-11: state EA): direct IO failed ino 360 rw 0,0 sector 0x119b80 len 86016 err no 10
[16713.970184] BTRFS warning (device dm-11: state EA): direct IO failed ino 360 rw 0,0 sector 0x119d60 len 61440 err no 10
[16713.970315] BTRFS warning (device dm-11: state EA): direct IO failed ino 363 rw 0,0 sector 0x11a1e8 len 49152 err no 10
[16713.970560] BTRFS warning (device dm-11: state EA): direct IO failed ino 302 rw 0,0 sector 0x11a250 len 12288 err no 10
[16713.970735] BTRFS warning (device dm-11: state EA): direct IO failed ino 360 rw 0,0 sector 0x119d28 len 8192 err no 10
[16713.977056] BTRFS warning (device dm-11: state EA): direct IO failed ino 258 rw 0,0 sector 0xa1e0 len 8192 err no 10
[16713.977078] BTRFS warning (device dm-11: state EA): direct IO failed ino 258 rw 0,0 sector 0x6b90 len 4096 err no 10
[16713.978207] BTRFS warning (device dm-11: state EA): direct IO failed ino 258 rw 0,0 sector 0x7890 len 12288 err no 10
[16713.978591] BTRFS warning (device dm-11: state EA): direct IO failed ino 258 rw 0,0 sector 0xa1e8 len 4096 err no 10
[16713.978608] BTRFS warning (device dm-11: state EA): direct IO failed ino 258 rw 0,0 sector 0x6b90 len 4096 err no 10
[16713.978983] BTRFS warning (device dm-11: state EA): direct IO failed ino 258 rw 0,0 sector 0xa1e0 len 8192 err no 10
[16713.979002] BTRFS warning (device dm-11: state EA): direct IO failed ino 258 rw 0,0 sector 0x6b90 len 4096 err no 10
[16713.979089] BTRFS warning (device dm-11: state EA): direct IO failed ino 258 rw 0,0 sector 0x118200 len 4096 err no 10
[16713.982863] BTRFS warning (device dm-11: state EA): direct IO failed ino 360 rw 0,0 sector 0x119ba8 len 65536 err no 10
[16713.986555] btrfs_dev_stat_inc_and_print: 99 callbacks suppressed
[16713.986560] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 2, rd 22, flush 0, corrupt 0, gen 0
[16713.986601] BTRFS warning (device dm-11: state EA): direct IO failed ino 257 rw 0,0 sector 0x116d80 len 16384 err no 10
[16713.987856] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 2, rd 23, flush 0, corrupt 0, gen 0
[16713.987875] BTRFS warning (device dm-11: state EA): direct IO failed ino 313 rw 0,0 sector 0x112800 len 28672 err no 10
[16714.008114] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 2, rd 24, flush 0, corrupt 0, gen 0
[16714.581601] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[16714.581609] BTRFS info (device dm-11): turning on async discard
[16714.581611] BTRFS info (device dm-11): disk space caching is enabled
[16716.621397] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 1, rd 0, flush 0, corrupt 0, gen 0
[16716.625375] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 2, rd 0, flush 0, corrupt 0, gen 0
[16716.626238] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 3, rd 0, flush 0, corrupt 0, gen 0
[16716.627043] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 4, rd 0, flush 0, corrupt 0, gen 0
[16716.627062] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 5, rd 0, flush 0, corrupt 0, gen 0
[16716.629416] BTRFS: error (device dm-11) in btrfs_commit_transaction:2496: errno=-5 IO failure (Error while writing out transaction)
[16716.630422] BTRFS info (device dm-11: state E): forced readonly
[16716.630428] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[16716.630430] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[16716.630904] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[16716.631666] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 6, rd 0, flush 0, corrupt 0, gen 0
[16716.632060] BTRFS warning (device dm-11: state EA): Skipping commit of aborted transaction.
[16716.632914] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 6, rd 1, flush 0, corrupt 0, gen 0
[16716.632931] BTRFS warning (device dm-11: state EA): direct IO failed ino 263 rw 0,0 sector 0x12de10 len 32768 err no 10
[16716.655206] BTRFS warning (device dm-11: state EA): direct IO failed ino 440 rw 0,0 sector 0x130730 len 8192 err no 10
[16716.678554] BTRFS warning (device dm-11: state EA): direct IO failed ino 270 rw 0,0 sector 0x128270 len 8192 err no 10
[16716.680295] BTRFS warning (device dm-11: state EA): direct IO failed ino 412 rw 0,0 sector 0x1291a8 len 53248 err no 10
[16717.229872] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[16717.229880] BTRFS info (device dm-11): turning on async discard
[16717.229882] BTRFS info (device dm-11): disk space caching is enabled
[16718.264592] BTRFS warning (device dm-11): direct IO failed ino 537 rw 1,34817 sector 0x1420c8 len 36864 err no 10
[16718.264641] BTRFS warning (device dm-11): direct IO failed ino 468 rw 1,34817 sector 0x142390 len 94208 err no 10
[16718.269729] BTRFS warning (device dm-11): direct IO failed ino 562 rw 1,34817 sector 0x142808 len 94208 err no 10
[16718.270993] BTRFS warning (device dm-11): direct IO failed ino 501 rw 0,0 sector 0x137d08 len 8192 err no 10
[16718.274549] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[16718.280407] BTRFS: error (device dm-11) in btrfs_commit_transaction:2496: errno=-5 IO failure (Error while writing out transaction)
[16718.281134] BTRFS info (device dm-11: state E): forced readonly
[16718.281141] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[16718.281145] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[16718.284897] BTRFS warning (device dm-11: state EA): direct IO failed ino 266 rw 0,0 sector 0x13a238 len 8192 err no 10
[16718.285058] BTRFS warning (device dm-11: state EA): direct IO failed ino 468 rw 0,0 sector 0x139bc0 len 8192 err no 10
[16718.287312] BTRFS warning (device dm-11: state EA): Skipping commit of aborted transaction.
[16718.294450] BTRFS warning (device dm-11: state EA): direct IO failed ino 258 rw 0,0 sector 0x141c58 len 4096 err no 10
[16718.295302] BTRFS warning (device dm-11: state EA): direct IO failed ino 466 rw 0,0 sector 0x134218 len 12288 err no 10
[16718.307205] BTRFS warning (device dm-11: state EA): direct IO failed ino 261 rw 0,0 sector 0x13a358 len 28672 err no 10
[16718.307674] BTRFS warning (device dm-11: state EA): direct IO failed ino 478 rw 0,0 sector 0x136d50 len 12288 err no 10
[16718.309815] BTRFS warning (device dm-11: state EA): direct IO failed ino 553 rw 0,0 sector 0x141660 len 20480 err no 10
[16718.310759] BTRFS warning (device dm-11: state EA): direct IO failed ino 265 rw 0,0 sector 0x112c98 len 4096 err no 10
[16718.852098] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[16718.852107] BTRFS info (device dm-11): turning on async discard
[16718.852109] BTRFS info (device dm-11): disk space caching is enabled
[16718.883557] BTRFS error (device dm-11): error loading props for ino 270 (root 1): -5
[16718.884781] BTRFS error (device dm-11): error reading free space cache
[16718.884786] BTRFS warning (device dm-11): failed to load free space cache for block group 298844160, rebuilding it now
[16718.886587] BTRFS warning (device dm-11): direct IO failed ino 561 rw 1,34817 sector 0x312800 len 77824 err no 10
[16718.890982] BTRFS warning (device dm-11): direct IO failed ino 563 rw 1,34817 sector 0x312800 len 20480 err no 10
[16718.891300] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[16718.892143] BTRFS warning (device dm-11): direct IO failed ino 564 rw 1,34817 sector 0x312890 len 28672 err no 10
[16718.899480] BTRFS warning (device dm-11): direct IO failed ino 564 rw 1,34817 sector 0x312828 len 20480 err no 10
[16718.901986] BTRFS warning (device dm-11): direct IO failed ino 562 rw 1,34817 sector 0x7900 len 4096 err no 10
[16718.904790] BTRFS: error (device dm-11: state A) in __btrfs_free_extent:3078: errno=-5 IO failure
[16718.905624] BTRFS info (device dm-11: state EA): forced readonly
[16718.905645] BTRFS: error (device dm-11: state EA) in btrfs_run_delayed_refs:2141: errno=-5 IO failure
[16719.450835] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[16719.450844] BTRFS info (device dm-11): turning on async discard
[16719.450846] BTRFS info (device dm-11): disk space caching is enabled
[16721.517412] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[16721.517418] btrfs_dev_stat_inc_and_print: 80 callbacks suppressed
[16721.517420] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 1, rd 0, flush 0, corrupt 0, gen 0
[16721.517451] BTRFS error (device dm-11): error writing primary super block to device 1
[16721.517455] BTRFS: error (device dm-11) in write_all_supers:4342: errno=-5 IO failure (1 errors while writing supers)
[16721.518212] BTRFS info (device dm-11: state E): forced readonly
[16721.518216] BTRFS: error (device dm-11: state EA) in btrfs_sync_log:3203: errno=-5 IO failure
[16721.523806] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 1, rd 1, flush 0, corrupt 0, gen 0
[16721.523838] BTRFS warning (device dm-11: state EA): direct IO failed ino 260 rw 0,0 sector 0x14b088 len 45056 err no 10
[16721.523853] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 1, rd 2, flush 0, corrupt 0, gen 0
[16721.523869] BTRFS warning (device dm-11: state EA): direct IO failed ino 260 rw 0,0 sector 0x6b60 len 4096 err no 10
[16721.526873] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 2, rd 2, flush 0, corrupt 0, gen 0
[16721.528214] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 3, rd 2, flush 0, corrupt 0, gen 0
[16721.528896] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 4, rd 2, flush 0, corrupt 0, gen 0
[16721.529128] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 5, rd 2, flush 0, corrupt 0, gen 0
[16721.529148] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 6, rd 2, flush 0, corrupt 0, gen 0
[16721.529166] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 7, rd 2, flush 0, corrupt 0, gen 0
[16721.531415] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 8, rd 2, flush 0, corrupt 0, gen 0
[16721.533730] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[16721.536904] BTRFS warning (device dm-11: state EA): direct IO failed ino 263 rw 0,0 sector 0x14b268 len 81920 err no 10
[16721.542097] BTRFS warning (device dm-11: state EA): direct IO failed ino 579 rw 0,0 sector 0x96b0 len 16384 err no 10
[16721.551841] BTRFS warning (device dm-11: state EA): direct IO failed ino 575 rw 0,0 sector 0x14a620 len 40960 err no 10
[16721.559224] BTRFS warning (device dm-11: state EA): direct IO failed ino 623 rw 0,0 sector 0x14f270 len 90112 err no 10
[16721.563504] BTRFS warning (device dm-11: state EA): direct IO failed ino 561 rw 0,0 sector 0x142230 len 65536 err no 10
[16721.564568] BTRFS warning (device dm-11: state EA): direct IO failed ino 263 rw 0,0 sector 0x14b2e8 len 16384 err no 10
[16721.567092] BTRFS warning (device dm-11: state EA): direct IO failed ino 579 rw 0,0 sector 0x118a88 len 20480 err no 10
[16721.572537] BTRFS warning (device dm-11: state EA): direct IO failed ino 567 rw 0,0 sector 0x14c758 len 36864 err no 10
[16721.574433] BTRFS warning (device dm-11: state EA): direct IO failed ino 258 rw 0,0 sector 0x14d370 len 28672 err no 10
[16721.581079] BTRFS warning (device dm-11: state EA): direct IO failed ino 567 rw 0,0 sector 0x14c2b0 len 24576 err no 10
[16721.582670] BTRFS warning (device dm-11: state EA): direct IO failed ino 262 rw 0,0 sector 0x14c0a0 len 24576 err no 10
[16721.590536] BTRFS warning (device dm-11: state EA): direct IO failed ino 578 rw 0,0 sector 0x14b708 len 4096 err no 10
[16721.591135] BTRFS warning (device dm-11: state EA): direct IO failed ino 579 rw 0,0 sector 0x9680 len 32768 err no 10
[16722.155789] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[16722.155797] BTRFS info (device dm-11): turning on async discard
[16722.155799] BTRFS info (device dm-11): disk space caching is enabled
[16722.181321] ------------[ cut here ]------------
[16722.181631] WARNING: CPU: 0 PID: 2164542 at fs/btrfs/discard.c:604 btrfs_discard_update_discardable+0x98/0xb0
[16722.181649] Modules linked in: dm_thin_pool dm_persistent_data dm_bio_prison dm_log_writes dm_dust dm_flakey nft_fib_inet nft_fib_ipv4 nft_fib_ipv6 nft_fib nft_reject_inet nf_reject_ipv4 nf_reject_ipv6 nft_reject nft_ct nft_chain_nat nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 ip6_tables nft_compat rfkill ip_set nf_tables nfnetlink intel_rapl_msr iTCO_wdt iTCO_vendor_support intel_rapl_common snd_hda_codec_generic joydev snd_hda_intel snd_intel_dspcfg snd_hda_codec snd_hwdep virtio_balloon snd_hda_core snd_pcm i2c_i801 snd_timer snd soundcore lpc_ich i2c_smbus zram ip_tables xfs crct10dif_pclmul crc32_pclmul crc32c_intel ghash_clmulni_intel serio_raw qemu_fw_cfg
[16722.181775] CPU: 0 PID: 2164542 Comm: kworker/u4:0 Not tainted 5.19.0-rc8+ #795
[16722.181778] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.13.0-2.fc32 04/01/2014
[16722.181785] Workqueue: btrfs-cache btrfs_work_helper
[16722.181799] RIP: 0010:btrfs_discard_update_discardable+0x98/0xb0
[16722.181804] 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
[16722.181807] RSP: 0018:ffffbd1d41ebfad0 EFLAGS: 00010246
[16722.181811] RAX: 0000000000000000 RBX: ffff9903832e6c00 RCX: 0000000000000001
[16722.181814] RDX: 0000000000000000 RSI: ffffffff89807c5b RDI: ffffffff898a831e
[16722.181816] RBP: ffff99035430c000 R08: 0000000000000000 R09: 0000000080270013
[16722.181819] R10: ffff99025b6d9de8 R11: 0000000000833a00 R12: ffff9903703fc810
[16722.181822] R13: ffff990341f8cf40 R14: ffff99035430c000 R15: ffff99037b9a02a0
[16722.181825] FS:  0000000000000000(0000) GS:ffff9903bbc00000(0000) knlGS:0000000000000000
[16722.181828] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[16722.181830] CR2: 00007f351523d268 CR3: 000000010ea7e003 CR4: 0000000000370ef0
[16722.181839] Call Trace:
[16722.181842]  
[16722.181848]  __btrfs_remove_free_space_cache+0x27/0x30
[16722.181857]  load_free_space_cache+0xad2/0xaf0
[16722.181935]  caching_thread+0x40b/0x650
[16722.181949]  ? lock_release+0x137/0x2d0
[16722.181966]  btrfs_work_helper+0xf2/0x3e0
[16722.181970]  ? lock_is_held_type+0xe2/0x140
[16722.181987]  process_one_work+0x271/0x590
[16722.182007]  worker_thread+0x52/0x3b0
[16722.182015]  ? process_one_work+0x590/0x590
[16722.182020]  kthread+0xf0/0x120
[16722.182023]  ? kthread_complete_and_exit+0x20/0x20
[16722.182031]  ret_from_fork+0x1f/0x30
[16722.182062]  
[16722.182067] irq event stamp: 396859
[16722.182069] hardirqs last  enabled at (396865): [] __up_console_sem+0x5e/0x70
[16722.182076] hardirqs last disabled at (396870): [] __up_console_sem+0x43/0x70
[16722.182080] softirqs last  enabled at (395776): [] __irq_exit_rcu+0xeb/0x160
[16722.182084] softirqs last disabled at (395761): [] __irq_exit_rcu+0xeb/0x160
[16722.182088] ---[ end trace 0000000000000000 ]---
[16722.182093] BTRFS warning (device dm-11): block group 298844160 has wrong amount of free space
[16722.182116] BTRFS warning (device dm-11): failed to load free space cache for block group 298844160, rebuilding it now
[16724.368961] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[16724.368995] BTRFS error (device dm-11): error writing primary super block to device 1
[16724.369000] BTRFS: error (device dm-11) in write_all_supers:4342: errno=-5 IO failure (1 errors while writing supers)
[16724.370287] BTRFS info (device dm-11: state E): forced readonly
[16724.370472] BTRFS: error (device dm-11: state EA) in btrfs_sync_log:3203: errno=-5 IO failure
[16724.372519] BTRFS warning (device dm-11: state EA): Skipping commit of aborted transaction.
[16724.372524] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[16724.376187] BTRFS warning (device dm-11: state EA): direct IO failed ino 650 rw 0,0 sector 0x152a08 len 65536 err no 10
[16724.384097] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[16724.399146] BTRFS warning (device dm-11: state EA): direct IO failed ino 264 rw 0,0 sector 0x153ae8 len 16384 err no 10
[16724.401446] BTRFS warning (device dm-11: state EA): direct IO failed ino 648 rw 0,0 sector 0xa530 len 8192 err no 10
[16724.929057] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[16724.929065] BTRFS info (device dm-11): turning on async discard
[16724.929067] BTRFS info (device dm-11): disk space caching is enabled
[16724.933488] BTRFS info (device dm-11): start tree-log replay
[16727.149272] btrfs_dev_stat_inc_and_print: 39 callbacks suppressed
[16727.149279] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 1, rd 0, flush 0, corrupt 0, gen 0
[16727.149342] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[16727.149350] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 2, rd 0, flush 0, corrupt 0, gen 0
[16727.149359] BTRFS error (device dm-11): error writing primary super block to device 1
[16727.149364] BTRFS: error (device dm-11) in write_all_supers:4342: errno=-5 IO failure (1 errors while writing supers)
[16727.150508] BTRFS info (device dm-11: state E): forced readonly
[16727.151114] BTRFS: error (device dm-11: state EA) in btrfs_sync_log:3203: errno=-5 IO failure
[16727.153502] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 3, rd 0, flush 0, corrupt 0, gen 0
[16727.154032] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 4, rd 0, flush 0, corrupt 0, gen 0
[16727.154059] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 5, rd 0, flush 0, corrupt 0, gen 0
[16727.154249] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 6, rd 0, flush 0, corrupt 0, gen 0
[16727.154374] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 7, rd 0, flush 0, corrupt 0, gen 0
[16727.154465] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 8, rd 0, flush 0, corrupt 0, gen 0
[16727.154514] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 9, rd 0, flush 0, corrupt 0, gen 0
[16727.154524] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 10, rd 0, flush 0, corrupt 0, gen 0
[16727.157366] BTRFS warning (device dm-11: state EA): direct IO failed ino 725 rw 0,0 sector 0x15b8f0 len 36864 err no 10
[16727.159305] BTRFS warning (device dm-11: state EA): Skipping commit of aborted transaction.
[16727.159310] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[16727.161440] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[16727.180431] BTRFS warning (device dm-11: state EA): direct IO failed ino 670 rw 0,0 sector 0x155c20 len 45056 err no 10
[16727.183694] BTRFS warning (device dm-11: state EA): direct IO failed ino 665 rw 0,0 sector 0x15a658 len 8192 err no 10
[16727.184609] BTRFS warning (device dm-11: state EA): direct IO failed ino 670 rw 0,0 sector 0x155c18 len 4096 err no 10
[16727.184808] BTRFS warning (device dm-11: state EA): direct IO failed ino 670 rw 0,0 sector 0x152d80 len 53248 err no 10
[16727.185050] BTRFS warning (device dm-11: state EA): direct IO failed ino 670 rw 0,0 sector 0x155c98 len 4096 err no 10
[16727.743599] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[16727.743607] BTRFS info (device dm-11): turning on async discard
[16727.743609] BTRFS info (device dm-11): disk space caching is enabled
[16727.763103] BTRFS info (device dm-11): the free space cache file (298844160) is invalid, skip it
[16728.779890] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[16728.779904] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[16728.779912] BTRFS error (device dm-11): error writing primary super block to device 1
[16728.779914] BTRFS: error (device dm-11) in write_all_supers:4342: errno=-5 IO failure (1 errors while writing supers)
[16728.780490] BTRFS info (device dm-11: state E): forced readonly
[16728.780495] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[16728.780963] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[16728.782150] BTRFS warning (device dm-11: state EA): Skipping commit of aborted transaction.
[16728.782760] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[16728.791840] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[16728.807032] BTRFS warning (device dm-11: state EA): direct IO failed ino 748 rw 0,0 sector 0x160828 len 40960 err no 10
[16728.807397] BTRFS warning (device dm-11: state EA): direct IO failed ino 735 rw 0,0 sector 0x15ca78 len 86016 err no 10
[16728.827204] BTRFS warning (device dm-11: state EA): direct IO failed ino 768 rw 0,0 sector 0x160ae8 len 16384 err no 10
[16728.828817] BTRFS warning (device dm-11: state EA): direct IO failed ino 748 rw 0,0 sector 0x160730 len 12288 err no 10
[16728.832599] BTRFS warning (device dm-11: state EA): direct IO failed ino 748 rw 0,0 sector 0x1606f0 len 53248 err no 10
[16729.378554] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[16729.378563] BTRFS info (device dm-11): turning on async discard
[16729.378565] BTRFS info (device dm-11): disk space caching is enabled
[16730.472454] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[16730.472470] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[16730.472480] BTRFS error (device dm-11): error writing primary super block to device 1
[16730.472510] BTRFS: error (device dm-11) in write_all_supers:4342: errno=-5 IO failure (1 errors while writing supers)
[16730.473301] BTRFS info (device dm-11: state E): forced readonly
[16730.473312] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[16730.473315] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[16730.476775] BTRFS: error (device dm-11: state EA) in btrfs_sync_log:3192: errno=-5 IO failure
[16730.479514] BTRFS warning (device dm-11: state EA): direct IO failed ino 754 rw 0,0 sector 0x1625e0 len 4096 err no 10
[16730.480618] BTRFS warning (device dm-11: state EA): Skipping commit of aborted transaction.
[16730.480622] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[16730.482967] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[16730.498842] BTRFS warning (device dm-11: state EA): direct IO failed ino 304 rw 0,0 sector 0x162860 len 53248 err no 10
[16730.500150] BTRFS warning (device dm-11: state EA): direct IO failed ino 757 rw 0,0 sector 0x161918 len 69632 err no 10
[16730.500437] BTRFS warning (device dm-11: state EA): direct IO failed ino 753 rw 0,0 sector 0x161f70 len 20480 err no 10
[16730.501773] BTRFS warning (device dm-11: state EA): direct IO failed ino 755 rw 0,0 sector 0x161b60 len 86016 err no 10
[16730.505251] BTRFS warning (device dm-11: state EA): direct IO failed ino 755 rw 0,0 sector 0x8418 len 4096 err no 10
[16730.505267] BTRFS warning (device dm-11: state EA): direct IO failed ino 755 rw 0,0 sector 0x7900 len 4096 err no 10
[16730.516083] BTRFS warning (device dm-11: state EA): direct IO failed ino 304 rw 0,0 sector 0x162648 len 12288 err no 10
[16730.518601] BTRFS warning (device dm-11: state EA): direct IO failed ino 753 rw 0,0 sector 0x161ff0 len 102400 err no 10
[16730.519872] BTRFS warning (device dm-11: state EA): direct IO failed ino 755 rw 0,0 sector 0x161be8 len 20480 err no 10
[16730.519893] BTRFS warning (device dm-11: state EA): direct IO failed ino 755 rw 0,0 sector 0x161c10 len 24576 err no 10
[16730.990657] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[16730.990665] BTRFS info (device dm-11): turning on async discard
[16730.990667] BTRFS info (device dm-11): disk space caching is enabled
[16731.013590] ------------[ cut here ]------------
[16731.013657] WARNING: CPU: 0 PID: 2164543 at fs/btrfs/discard.c:604 btrfs_discard_update_discardable+0x98/0xb0
[16731.013664] Modules linked in: dm_thin_pool dm_persistent_data dm_bio_prison dm_log_writes dm_dust dm_flakey nft_fib_inet nft_fib_ipv4 nft_fib_ipv6 nft_fib nft_reject_inet nf_reject_ipv4 nf_reject_ipv6 nft_reject nft_ct nft_chain_nat nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 ip6_tables nft_compat rfkill ip_set nf_tables nfnetlink intel_rapl_msr iTCO_wdt iTCO_vendor_support intel_rapl_common snd_hda_codec_generic joydev snd_hda_intel snd_intel_dspcfg snd_hda_codec snd_hwdep virtio_balloon snd_hda_core snd_pcm i2c_i801 snd_timer snd soundcore lpc_ich i2c_smbus zram ip_tables xfs crct10dif_pclmul crc32_pclmul crc32c_intel ghash_clmulni_intel serio_raw qemu_fw_cfg
[16731.013728] CPU: 0 PID: 2164543 Comm: kworker/u4:1 Tainted: G        W         5.19.0-rc8+ #795
[16731.013730] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.13.0-2.fc32 04/01/2014
[16731.013732] Workqueue: btrfs-cache btrfs_work_helper
[16731.013736] RIP: 0010:btrfs_discard_update_discardable+0x98/0xb0
[16731.013739] 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
[16731.013741] RSP: 0018:ffffbd1d41ed7ad0 EFLAGS: 00010246
[16731.013744] RAX: 0000000000000000 RBX: ffff990340939c00 RCX: 0000000000000001
[16731.013746] RDX: 0000000000000000 RSI: ffffffff89807c5b RDI: ffffffff898a831e
[16731.013747] RBP: ffff99035430c000 R08: 0000000000000000 R09: 0000000000001000
[16731.013749] R10: ffff99024d357f88 R11: 0000000000835d00 R12: ffff99035688b810
[16731.013751] R13: ffff9903405a4f40 R14: ffff99035430c000 R15: ffff99037b9a02a0
[16731.013752] FS:  0000000000000000(0000) GS:ffff9903bbc00000(0000) knlGS:0000000000000000
[16731.013754] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[16731.013756] CR2: 0000000000778438 CR3: 00000001142a8005 CR4: 0000000000370ef0
[16731.013760] Call Trace:
[16731.013762]  
[16731.013766]  __btrfs_remove_free_space_cache+0x27/0x30
[16731.013770]  load_free_space_cache+0xad2/0xaf0
[16731.013810]  caching_thread+0x40b/0x650
[16731.013818]  ? lock_release+0x137/0x2d0
[16731.013826]  btrfs_work_helper+0xf2/0x3e0
[16731.013828]  ? lock_is_held_type+0xe2/0x140
[16731.013835]  process_one_work+0x271/0x590
[16731.013844]  ? process_one_work+0x590/0x590
[16731.013847]  worker_thread+0x52/0x3b0
[16731.013852]  ? process_one_work+0x590/0x590
[16731.013854]  kthread+0xf0/0x120
[16731.013857]  ? kthread_complete_and_exit+0x20/0x20
[16731.013861]  ret_from_fork+0x1f/0x30
[16731.013875]  
[16731.013876] irq event stamp: 2821501
[16731.013877] hardirqs last  enabled at (2821507): [] __up_console_sem+0x5e/0x70
[16731.013881] hardirqs last disabled at (2821512): [] __up_console_sem+0x43/0x70
[16731.013883] softirqs last  enabled at (2820866): [] __irq_exit_rcu+0xeb/0x160
[16731.013886] softirqs last disabled at (2820857): [] __irq_exit_rcu+0xeb/0x160
[16731.013888] ---[ end trace 0000000000000000 ]---
[16731.013891] BTRFS warning (device dm-11): block group 298844160 has wrong amount of free space
[16731.013906] BTRFS warning (device dm-11): failed to load free space cache for block group 298844160, rebuilding it now
[16733.102573] btrfs_dev_stat_inc_and_print: 28 callbacks suppressed
[16733.102578] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 1, rd 0, flush 0, corrupt 0, gen 0
[16733.102630] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 2, rd 0, flush 0, corrupt 0, gen 0
[16733.103892] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 3, rd 0, flush 0, corrupt 0, gen 0
[16733.103918] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 4, rd 0, flush 0, corrupt 0, gen 0
[16733.103986] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 5, rd 0, flush 0, corrupt 0, gen 0
[16733.103994] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 6, rd 0, flush 0, corrupt 0, gen 0
[16733.104063] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 7, rd 0, flush 0, corrupt 0, gen 0
[16733.104070] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 8, rd 0, flush 0, corrupt 0, gen 0
[16733.104587] BTRFS: error (device dm-11: state A) in btrfs_replace_file_extents:2802: errno=-5 IO failure
[16733.105334] BTRFS info (device dm-11: state EA): forced readonly
[16733.108979] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 9, rd 0, flush 0, corrupt 0, gen 0
[16733.110170] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 10, rd 0, flush 0, corrupt 0, gen 0
[16733.114367] BTRFS warning (device dm-11: state EA): Skipping commit of aborted transaction.
[16733.121443] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[16733.670846] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[16733.670854] BTRFS info (device dm-11): turning on async discard
[16733.670856] BTRFS info (device dm-11): disk space caching is enabled
[16733.675364] BTRFS info (device dm-11): start tree-log replay
[16734.783116] BTRFS: error (device dm-11) in btrfs_commit_transaction:2496: errno=-5 IO failure (Error while writing out transaction)
[16734.783839] BTRFS info (device dm-11: state E): forced readonly
[16734.783844] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[16734.783846] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[16734.794084] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[16735.332363] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[16735.332371] BTRFS info (device dm-11): turning on async discard
[16735.332373] BTRFS info (device dm-11): disk space caching is enabled
[16735.336308] BTRFS info (device dm-11): start tree-log replay
[16735.345012] ------------[ cut here ]------------
[16735.345079] WARNING: CPU: 0 PID: 2178146 at fs/btrfs/discard.c:604 btrfs_discard_update_discardable+0x98/0xb0
[16735.345085] Modules linked in: dm_thin_pool dm_persistent_data dm_bio_prison dm_log_writes dm_dust dm_flakey nft_fib_inet nft_fib_ipv4 nft_fib_ipv6 nft_fib nft_reject_inet nf_reject_ipv4 nf_reject_ipv6 nft_reject nft_ct nft_chain_nat nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 ip6_tables nft_compat rfkill ip_set nf_tables nfnetlink intel_rapl_msr iTCO_wdt iTCO_vendor_support intel_rapl_common snd_hda_codec_generic joydev snd_hda_intel snd_intel_dspcfg snd_hda_codec snd_hwdep virtio_balloon snd_hda_core snd_pcm i2c_i801 snd_timer snd soundcore lpc_ich i2c_smbus zram ip_tables xfs crct10dif_pclmul crc32_pclmul crc32c_intel ghash_clmulni_intel serio_raw qemu_fw_cfg
[16735.345170] CPU: 0 PID: 2178146 Comm: kworker/u4:7 Tainted: G        W         5.19.0-rc8+ #795
[16735.345173] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.13.0-2.fc32 04/01/2014
[16735.345175] Workqueue: btrfs-cache btrfs_work_helper
[16735.345180] RIP: 0010:btrfs_discard_update_discardable+0x98/0xb0
[16735.345183] 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
[16735.345185] RSP: 0018:ffffbd1d46ddfad0 EFLAGS: 00010246
[16735.345188] RAX: 0000000000000000 RBX: ffff9903832e6400 RCX: 0000000000000001
[16735.345190] RDX: 0000000000000000 RSI: ffffffff89807c5b RDI: ffffffff898a831e
[16735.345191] RBP: ffff99037e508000 R08: 0000000000000000 R09: 0000000000001000
[16735.345193] R10: 000000000006a132 R11: 0000000000836f00 R12: ffff9903703fd010
[16735.345194] R13: ffff99034345aa00 R14: ffff99037e508000 R15: ffff9903523f81c0
[16735.345196] FS:  0000000000000000(0000) GS:ffff9903bbc00000(0000) knlGS:0000000000000000
[16735.345198] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[16735.345200] CR2: 000055617afa0820 CR3: 0000000112040004 CR4: 0000000000370ef0
[16735.345204] Call Trace:
[16735.345206]  
[16735.345211]  __btrfs_remove_free_space_cache+0x27/0x30
[16735.345215]  load_free_space_cache+0xad2/0xaf0
[16735.345255]  caching_thread+0x40b/0x650
[16735.345264]  ? lock_release+0x137/0x2d0
[16735.345271]  btrfs_work_helper+0xf2/0x3e0
[16735.345274]  ? lock_is_held_type+0xe2/0x140
[16735.345281]  process_one_work+0x271/0x590
[16735.345290]  ? process_one_work+0x590/0x590
[16735.345293]  worker_thread+0x52/0x3b0
[16735.345297]  ? process_one_work+0x590/0x590
[16735.345300]  kthread+0xf0/0x120
[16735.345303]  ? kthread_complete_and_exit+0x20/0x20
[16735.345307]  ret_from_fork+0x1f/0x30
[16735.345320]  
[16735.345322] irq event stamp: 298833
[16735.345323] hardirqs last  enabled at (298839): [] __up_console_sem+0x5e/0x70
[16735.345326] hardirqs last disabled at (298844): [] __up_console_sem+0x43/0x70
[16735.345329] softirqs last  enabled at (298430): [] __irq_exit_rcu+0xeb/0x160
[16735.345332] softirqs last disabled at (298421): [] __irq_exit_rcu+0xeb/0x160
[16735.345334] ---[ end trace 0000000000000000 ]---
[16735.345337] BTRFS warning (device dm-11): block group 298844160 has wrong amount of free space
[16735.345351] BTRFS warning (device dm-11): failed to load free space cache for block group 298844160, rebuilding it now
[16736.534645] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[16736.534664] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[16736.534676] BTRFS error (device dm-11): error writing primary super block to device 1
[16736.534680] BTRFS: error (device dm-11) in write_all_supers:4342: errno=-5 IO failure (1 errors while writing supers)
[16736.535381] BTRFS info (device dm-11: state E): forced readonly
[16736.535390] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[16736.535393] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[16736.537303] BTRFS warning (device dm-11: state EA): Skipping commit of aborted transaction.
[16736.537311] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[16736.537340] BTRFS warning (device dm-11: state EA): direct IO failed ino 927 rw 0,0 sector 0x153298 len 4096 err no 10
[16736.538000] BTRFS: error (device dm-11: state EA) in btrfs_sync_log:3192: errno=-5 IO failure
[16736.541982] BTRFS warning (device dm-11: state EA): direct IO failed ino 931 rw 0,0 sector 0x17a5c8 len 16384 err no 10
[16736.545262] BTRFS warning (device dm-11: state EA): direct IO failed ino 931 rw 0,0 sector 0x17a6c8 len 36864 err no 10
[16736.547780] BTRFS warning (device dm-11: state EA): direct IO failed ino 927 rw 0,0 sector 0x153298 len 4096 err no 10
[16736.547946] BTRFS warning (device dm-11: state EA): direct IO failed ino 931 rw 0,0 sector 0x17a5c8 len 4096 err no 10
[16736.550254] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[16736.563579] BTRFS warning (device dm-11: state EA): direct IO failed ino 275 rw 0,0 sector 0x1776f8 len 12288 err no 10
[16736.563599] BTRFS warning (device dm-11: state EA): direct IO failed ino 275 rw 0,0 sector 0x177558 len 12288 err no 10
[16736.567119] BTRFS warning (device dm-11: state EA): direct IO failed ino 637 rw 0,0 sector 0x178f08 len 4096 err no 10
[16736.581631] BTRFS warning (device dm-11: state EA): direct IO failed ino 275 rw 0,0 sector 0x1776e0 len 24576 err no 10
[16736.596620] BTRFS warning (device dm-11: state EA): direct IO failed ino 260 rw 0,0 sector 0xa3b0 len 4096 err no 10
[16736.596785] BTRFS warning (device dm-11: state EA): direct IO failed ino 260 rw 0,0 sector 0x179978 len 8192 err no 10
[16736.597976] BTRFS warning (device dm-11: state EA): direct IO failed ino 260 rw 0,0 sector 0x87d0 len 8192 err no 10
[16737.090705] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[16737.090713] BTRFS info (device dm-11): turning on async discard
[16737.090715] BTRFS info (device dm-11): disk space caching is enabled
[16737.095185] BTRFS info (device dm-11): start tree-log replay
[16737.206275] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[16737.211230] BTRFS: error (device dm-11: state A) in __btrfs_free_extent:3078: errno=-5 IO failure
[16737.211715] BTRFS info (device dm-11: state EA): forced readonly
[16737.211720] BTRFS: error (device dm-11: state EA) in btrfs_run_delayed_refs:2141: errno=-5 IO failure
[16737.214933] BTRFS error (device dm-11: state EA): error loading props for ino 262 (root 5): -5
[16737.751633] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[16737.751641] BTRFS info (device dm-11): turning on async discard
[16737.751643] BTRFS info (device dm-11): disk space caching is enabled
[16739.783140] btrfs_dev_stat_inc_and_print: 58 callbacks suppressed
[16739.783144] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 1, rd 0, flush 0, corrupt 0, gen 0
[16739.783262] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 2, rd 0, flush 0, corrupt 0, gen 0
[16739.784626] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 3, rd 0, flush 0, corrupt 0, gen 0
[16739.784634] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 4, rd 0, flush 0, corrupt 0, gen 0
[16739.784772] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 5, rd 0, flush 0, corrupt 0, gen 0
[16739.784778] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 6, rd 0, flush 0, corrupt 0, gen 0
[16739.784879] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 7, rd 0, flush 0, corrupt 0, gen 0
[16739.784884] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 8, rd 0, flush 0, corrupt 0, gen 0
[16739.784941] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 9, rd 0, flush 0, corrupt 0, gen 0
[16739.784946] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 10, rd 0, flush 0, corrupt 0, gen 0
[16739.785035] BTRFS: error (device dm-11) in btrfs_commit_transaction:2496: errno=-5 IO failure (Error while writing out transaction)
[16739.785859] BTRFS info (device dm-11: state E): forced readonly
[16739.785865] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[16739.785869] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[16739.795016] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[16740.338136] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[16740.338144] BTRFS info (device dm-11): turning on async discard
[16740.338146] BTRFS info (device dm-11): disk space caching is enabled
[16740.369255] BTRFS error (device dm-11): error reading free space cache
[16740.369296] BTRFS warning (device dm-11): failed to load free space cache for block group 30408704, rebuilding it now
[16740.374447] BTRFS error (device dm-11): error loading props for ino 262 (root 5): -5
[16740.376107] BTRFS error (device dm-11): error loading props for ino 270 (root 1): -5
[16740.376612] BTRFS error (device dm-11): error reading free space cache
[16740.376616] BTRFS warning (device dm-11): failed to load free space cache for block group 298844160, rebuilding it now
[16740.378150] BTRFS: error (device dm-11: state A) in btrfs_replace_file_extents:2802: errno=-5 IO failure
[16740.378758] BTRFS info (device dm-11: state EA): forced readonly
[16740.383033] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[16740.894107] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[16740.894115] BTRFS info (device dm-11): turning on async discard
[16740.894117] BTRFS info (device dm-11): disk space caching is enabled
[16740.915687] ------------[ cut here ]------------
[16740.915751] WARNING: CPU: 0 PID: 2164542 at fs/btrfs/discard.c:604 btrfs_discard_update_discardable+0x98/0xb0
[16740.915759] Modules linked in: dm_thin_pool dm_persistent_data dm_bio_prison dm_log_writes dm_dust dm_flakey nft_fib_inet nft_fib_ipv4 nft_fib_ipv6 nft_fib nft_reject_inet nf_reject_ipv4 nf_reject_ipv6 nft_reject nft_ct nft_chain_nat nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 ip6_tables nft_compat rfkill ip_set nf_tables nfnetlink intel_rapl_msr iTCO_wdt iTCO_vendor_support intel_rapl_common snd_hda_codec_generic joydev snd_hda_intel snd_intel_dspcfg snd_hda_codec snd_hwdep virtio_balloon snd_hda_core snd_pcm i2c_i801 snd_timer snd soundcore lpc_ich i2c_smbus zram ip_tables xfs crct10dif_pclmul crc32_pclmul crc32c_intel ghash_clmulni_intel serio_raw qemu_fw_cfg
[16740.915823] CPU: 0 PID: 2164542 Comm: kworker/u4:0 Tainted: G        W         5.19.0-rc8+ #795
[16740.915825] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.13.0-2.fc32 04/01/2014
[16740.915827] Workqueue: btrfs-cache btrfs_work_helper
[16740.915832] RIP: 0010:btrfs_discard_update_discardable+0x98/0xb0
[16740.915835] 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
[16740.915837] RSP: 0018:ffffbd1d41ebfad0 EFLAGS: 00010246
[16740.915839] RAX: 0000000000000000 RBX: ffff990340939400 RCX: 0000000000000001
[16740.915841] RDX: 0000000000000000 RSI: ffffffff89807c5b RDI: ffffffff898a831e
[16740.915843] RBP: ffff990342a40000 R08: 0000000000000000 R09: 0000000000001000
[16740.915844] R10: ffff990246b10630 R11: 0000000000836b00 R12: ffff99035688f010
[16740.915846] R13: ffff990355f161e0 R14: ffff990342a40000 R15: ffff9903523f89a0
[16740.915848] FS:  0000000000000000(0000) GS:ffff9903bbc00000(0000) knlGS:0000000000000000
[16740.915849] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[16740.915851] CR2: 0000000000f37438 CR3: 000000010559e004 CR4: 0000000000370ef0
[16740.915855] Call Trace:
[16740.915857]  
[16740.915861]  __btrfs_remove_free_space_cache+0x27/0x30
[16740.915865]  load_free_space_cache+0xad2/0xaf0
[16740.915912]  caching_thread+0x40b/0x650
[16740.915920]  ? lock_release+0x137/0x2d0
[16740.915928]  btrfs_work_helper+0xf2/0x3e0
[16740.915931]  ? lock_is_held_type+0xe2/0x140
[16740.915938]  process_one_work+0x271/0x590
[16740.915947]  worker_thread+0x52/0x3b0
[16740.915952]  ? process_one_work+0x590/0x590
[16740.915955]  kthread+0xf0/0x120
[16740.915957]  ? kthread_complete_and_exit+0x20/0x20
[16740.915962]  ret_from_fork+0x1f/0x30
[16740.915976]  
[16740.915977] irq event stamp: 451771
[16740.915979] hardirqs last  enabled at (451777): [] __up_console_sem+0x5e/0x70
[16740.915982] hardirqs last disabled at (451782): [] __up_console_sem+0x43/0x70
[16740.915984] softirqs last  enabled at (450552): [] __irq_exit_rcu+0xeb/0x160
[16740.915987] softirqs last disabled at (450539): [] __irq_exit_rcu+0xeb/0x160
[16740.915989] ---[ end trace 0000000000000000 ]---
[16740.915992] BTRFS warning (device dm-11): block group 298844160 has wrong amount of free space
[16740.916007] BTRFS warning (device dm-11): failed to load free space cache for block group 298844160, rebuilding it now
[16741.952708] BTRFS: error (device dm-11) in btrfs_commit_transaction:2496: errno=-5 IO failure (Error while writing out transaction)
[16741.953587] BTRFS info (device dm-11: state E): forced readonly
[16741.953592] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[16741.953596] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[16741.962995] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[16742.501008] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[16742.501016] BTRFS info (device dm-11): turning on async discard
[16742.501018] BTRFS info (device dm-11): disk space caching is enabled
[16742.505866] BTRFS info (device dm-11): start tree-log replay
[16744.753635] BTRFS warning (device dm-11): direct IO failed ino 1085 rw 1,34817 sector 0x195f50 len 126976 err no 10
[16744.753869] BTRFS warning (device dm-11): direct IO failed ino 1069 rw 1,34817 sector 0x192c70 len 28672 err no 10
[16744.753886] BTRFS warning (device dm-11): direct IO failed ino 1069 rw 1,34817 sector 0x192b58 len 8192 err no 10
[16744.753895] BTRFS warning (device dm-11): direct IO failed ino 1069 rw 1,34817 sector 0x196048 len 77824 err no 10
[16744.755806] BTRFS: error (device dm-11) in btrfs_commit_transaction:2496: errno=-5 IO failure (Error while writing out transaction)
[16744.756496] BTRFS info (device dm-11: state E): forced readonly
[16744.756500] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[16744.756503] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[16744.768745] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[16745.341769] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[16745.341777] BTRFS info (device dm-11): turning on async discard
[16745.341780] BTRFS info (device dm-11): disk space caching is enabled
[16745.371396] btrfs_dev_stat_inc_and_print: 71 callbacks suppressed
[16745.371400] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 0, rd 1, flush 0, corrupt 0, gen 0
[16745.371415] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 0, rd 2, flush 0, corrupt 0, gen 0
[16745.372060] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 0, rd 3, flush 0, corrupt 0, gen 0
[16745.372719] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 0, rd 4, flush 0, corrupt 0, gen 0
[16745.372904] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 0, rd 5, flush 0, corrupt 0, gen 0
[16745.372908] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 0, rd 6, flush 0, corrupt 0, gen 0
[16745.372985] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 0, rd 7, flush 0, corrupt 0, gen 0
[16745.373322] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 0, rd 8, flush 0, corrupt 0, gen 0
[16745.373476] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 0, rd 9, flush 0, corrupt 0, gen 0
[16745.373513] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 0, rd 10, flush 0, corrupt 0, gen 0
[16745.379178] BTRFS: error (device dm-11: state A) in create_subvol:735: errno=-5 IO failure
[16745.379714] BTRFS info (device dm-11: state EA): forced readonly
[16745.381610] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[16745.890262] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[16745.890271] BTRFS info (device dm-11): turning on async discard
[16745.890273] BTRFS info (device dm-11): disk space caching is enabled
[16747.931178] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[16747.931195] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[16747.931252] BTRFS error (device dm-11): error writing primary super block to device 1
[16747.931257] BTRFS: error (device dm-11) in write_all_supers:4342: errno=-5 IO failure (1 errors while writing supers)
[16747.931864] BTRFS info (device dm-11: state E): forced readonly
[16747.931869] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[16747.931900] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[16747.934647] BTRFS warning (device dm-11: state EA): Skipping commit of aborted transaction.
[16747.934652] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[16747.937752] BTRFS warning (device dm-11: state EA): direct IO failed ino 262 rw 0,0 sector 0x19b768 len 12288 err no 10
[16747.942950] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[16747.956736] BTRFS warning (device dm-11: state EA): direct IO failed ino 1142 rw 0,0 sector 0x196800 len 69632 err no 10
[16747.957073] BTRFS warning (device dm-11: state EA): direct IO failed ino 1159 rw 0,0 sector 0x1990a8 len 8192 err no 10
[16747.958672] BTRFS warning (device dm-11: state EA): direct IO failed ino 262 rw 0,0 sector 0x19b830 len 4096 err no 10
[16748.509441] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[16748.509450] BTRFS info (device dm-11): turning on async discard
[16748.509452] BTRFS info (device dm-11): disk space caching is enabled
[16749.717591] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[16749.717614] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[16749.717674] BTRFS error (device dm-11): error writing primary super block to device 1
[16749.717679] BTRFS: error (device dm-11) in write_all_supers:4342: errno=-5 IO failure (1 errors while writing supers)
[16749.718482] BTRFS info (device dm-11: state E): forced readonly
[16749.718490] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[16749.718500] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[16749.722013] BTRFS warning (device dm-11: state EA): Skipping commit of aborted transaction.
[16749.722019] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[16749.724179] BTRFS warning (device dm-11: state EA): direct IO failed ino 894 rw 0,0 sector 0x1a1618 len 45056 err no 10
[16749.730086] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[16749.744865] BTRFS warning (device dm-11: state EA): direct IO failed ino 894 rw 0,0 sector 0x1a1848 len 53248 err no 10
[16749.747701] BTRFS warning (device dm-11: state EA): direct IO failed ino 471 rw 0,0 sector 0x15d428 len 73728 err no 10
[16749.764368] BTRFS warning (device dm-11: state EA): direct IO failed ino 1035 rw 0,0 sector 0x1a0460 len 12288 err no 10
[16749.765474] BTRFS warning (device dm-11: state EA): direct IO failed ino 894 rw 0,0 sector 0x1a1610 len 49152 err no 10
[16749.768581] BTRFS warning (device dm-11: state EA): direct IO failed ino 575 rw 0,0 sector 0x1a0830 len 53248 err no 10
[16749.769780] BTRFS warning (device dm-11: state EA): direct IO failed ino 471 rw 0,0 sector 0x15ce78 len 114688 err no 10
[16749.770383] BTRFS warning (device dm-11: state EA): direct IO failed ino 471 rw 0,0 sector 0x19e4e8 len 8192 err no 10
[16749.770399] BTRFS warning (device dm-11: state EA): direct IO failed ino 471 rw 0,0 sector 0x192808 len 4096 err no 10
[16750.288561] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[16750.288570] BTRFS info (device dm-11): turning on async discard
[16750.288572] BTRFS info (device dm-11): disk space caching is enabled
[16750.320355] BTRFS error (device dm-11): error reading free space cache
[16750.320384] BTRFS warning (device dm-11): failed to load free space cache for block group 30408704, rebuilding it now
[16750.333041] BTRFS: error (device dm-11: state A) in btrfs_add_link:6588: errno=-5 IO failure
[16750.333625] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[16750.333740] BTRFS info (device dm-11: state EA): forced readonly
[16750.333745] BTRFS: error (device dm-11: state EA) in btrfs_create_new_inode:6528: errno=-5 IO failure
[16750.831855] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[16750.831865] BTRFS info (device dm-11): turning on async discard
[16750.831867] BTRFS info (device dm-11): disk space caching is enabled
[16750.864766] btrfs_dev_stat_inc_and_print: 176 callbacks suppressed
[16750.864771] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 0, rd 1, flush 0, corrupt 0, gen 0
[16750.864784] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 0, rd 2, flush 0, corrupt 0, gen 0
[16750.864789] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 0, rd 3, flush 0, corrupt 0, gen 0
[16750.865390] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 0, rd 4, flush 0, corrupt 0, gen 0
[16750.865933] BTRFS error (device dm-11): error loading props for ino 270 (root 1): -5
[16750.866975] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 0, rd 5, flush 0, corrupt 0, gen 0
[16750.866994] BTRFS error (device dm-11): error reading free space cache
[16750.866997] BTRFS warning (device dm-11): failed to load free space cache for block group 298844160, rebuilding it now
[16750.867585] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 0, rd 6, flush 0, corrupt 0, gen 0
[16750.867612] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 0, rd 7, flush 0, corrupt 0, gen 0
[16750.867638] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 0, rd 8, flush 0, corrupt 0, gen 0
[16750.867668] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 0, rd 9, flush 0, corrupt 0, gen 0
[16750.870510] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 0, rd 10, flush 0, corrupt 0, gen 0
[16750.875815] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[16750.887093] BTRFS: error (device dm-11: state A) in create_subvol:735: errno=-5 IO failure
[16750.887729] BTRFS info (device dm-11: state EA): forced readonly
[16750.891615] BTRFS: error (device dm-11: state EA) in do_free_extent_accounting:2848: errno=-5 IO failure
[16750.892508] BTRFS: error (device dm-11: state EA) in btrfs_run_delayed_refs:2141: errno=-5 IO failure
[16751.358932] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[16751.358940] BTRFS info (device dm-11): turning on async discard
[16751.358942] BTRFS info (device dm-11): disk space caching is enabled
[16751.388838] BTRFS error (device dm-11): error loading props for ino 270 (root 1): -5
[16751.390134] BTRFS error (device dm-11): error reading free space cache
[16751.390139] BTRFS warning (device dm-11): failed to load free space cache for block group 298844160, rebuilding it now
[16751.399654] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[16751.400431] BTRFS: error (device dm-11: state A) in maybe_insert_hole:5022: errno=-5 IO failure
[16751.401158] BTRFS info (device dm-11: state EA): forced readonly
[16751.872618] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[16751.872626] BTRFS info (device dm-11): turning on async discard
[16751.872628] BTRFS info (device dm-11): disk space caching is enabled
[16752.905949] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[16752.905966] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[16752.905977] BTRFS error (device dm-11): error writing primary super block to device 1
[16752.905980] BTRFS: error (device dm-11) in write_all_supers:4342: errno=-5 IO failure (1 errors while writing supers)
[16752.906638] BTRFS info (device dm-11: state E): forced readonly
[16752.906643] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[16752.906647] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[16752.909077] BTRFS warning (device dm-11: state EA): direct IO failed ino 1219 rw 0,0 sector 0x193870 len 4096 err no 10
[16752.912419] BTRFS warning (device dm-11: state EA): direct IO failed ino 1271 rw 0,0 sector 0x1a4b90 len 28672 err no 10
[16752.912444] BTRFS warning (device dm-11: state EA): direct IO failed ino 1271 rw 0,0 sector 0x192828 len 4096 err no 10
[16752.912518] BTRFS warning (device dm-11: state EA): direct IO failed ino 1259 rw 0,0 sector 0x1a9398 len 40960 err no 10
[16752.915363] BTRFS warning (device dm-11: state EA): direct IO failed ino 1302 rw 0,0 sector 0x1ac1e0 len 4096 err no 10
[16752.915872] BTRFS warning (device dm-11: state EA): direct IO failed ino 1275 rw 0,0 sector 0x1aa328 len 20480 err no 10
[16752.917042] BTRFS warning (device dm-11: state EA): direct IO failed ino 1271 rw 0,0 sector 0x1a4bb8 len 8192 err no 10
[16752.926871] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[16752.938522] BTRFS warning (device dm-11: state EA): direct IO failed ino 1259 rw 0,0 sector 0x1a80f0 len 65536 err no 10
[16752.939613] BTRFS warning (device dm-11: state EA): direct IO failed ino 1267 rw 0,0 sector 0x1ab158 len 16384 err no 10
[16752.943557] BTRFS warning (device dm-11: state EA): direct IO failed ino 1243 rw 0,0 sector 0x1a3f58 len 4096 err no 10
[16752.977233] BTRFS warning (device dm-11: state EA): direct IO failed ino 1243 rw 0,0 sector 0x192ee0 len 4096 err no 10
[16752.977761] BTRFS warning (device dm-11: state EA): direct IO failed ino 1244 rw 0,0 sector 0x1a2380 len 49152 err no 10
[16752.979295] BTRFS warning (device dm-11: state EA): direct IO failed ino 259 rw 0,0 sector 0x1aa270 len 49152 err no 10
[16752.979724] BTRFS warning (device dm-11: state EA): direct IO failed ino 1262 rw 0,0 sector 0x1a4a38 len 4096 err no 10
[16752.980841] BTRFS warning (device dm-11: state EA): direct IO failed ino 1241 rw 0,0 sector 0x6c48 len 4096 err no 10
[16752.982576] BTRFS warning (device dm-11: state EA): direct IO failed ino 259 rw 0,0 sector 0x1a8418 len 8192 err no 10
[16752.984747] BTRFS warning (device dm-11: state EA): direct IO failed ino 259 rw 0,0 sector 0x1a83f8 len 24576 err no 10
[16753.506309] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[16753.506318] BTRFS info (device dm-11): turning on async discard
[16753.506320] BTRFS info (device dm-11): disk space caching is enabled
[16753.527105] ------------[ cut here ]------------
[16753.527174] WARNING: CPU: 1 PID: 1466621 at fs/btrfs/discard.c:604 btrfs_discard_update_discardable+0x98/0xb0
[16753.527181] Modules linked in: dm_thin_pool dm_persistent_data dm_bio_prison dm_log_writes dm_dust dm_flakey nft_fib_inet nft_fib_ipv4 nft_fib_ipv6 nft_fib nft_reject_inet nf_reject_ipv4 nf_reject_ipv6 nft_reject nft_ct nft_chain_nat nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 ip6_tables nft_compat rfkill ip_set nf_tables nfnetlink intel_rapl_msr iTCO_wdt iTCO_vendor_support intel_rapl_common snd_hda_codec_generic joydev snd_hda_intel snd_intel_dspcfg snd_hda_codec snd_hwdep virtio_balloon snd_hda_core snd_pcm i2c_i801 snd_timer snd soundcore lpc_ich i2c_smbus zram ip_tables xfs crct10dif_pclmul crc32_pclmul crc32c_intel ghash_clmulni_intel serio_raw qemu_fw_cfg
[16753.527248] CPU: 1 PID: 1466621 Comm: kworker/u4:4 Tainted: G        W         5.19.0-rc8+ #795
[16753.527250] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.13.0-2.fc32 04/01/2014
[16753.527252] Workqueue: btrfs-cache btrfs_work_helper
[16753.527257] RIP: 0010:btrfs_discard_update_discardable+0x98/0xb0
[16753.527260] 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
[16753.527262] RSP: 0018:ffffbd1d41be7ad0 EFLAGS: 00010246
[16753.527265] RAX: 0000000000000000 RBX: ffff990340939c00 RCX: 0000000000000001
[16753.527267] RDX: 0000000000000000 RSI: ffffffff89807c5b RDI: ffffffff898a831e
[16753.527268] RBP: ffff990356990000 R08: 0000000000000000 R09: 0000000000001000
[16753.527270] R10: ffff990243ae89d8 R11: 000000000083c100 R12: ffff99034e912810
[16753.527271] R13: ffff9903434c45f0 R14: ffff990356990000 R15: ffff990344f4e070
[16753.527273] FS:  0000000000000000(0000) GS:ffff9903bbd00000(0000) knlGS:0000000000000000
[16753.527275] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[16753.527277] CR2: 00007fd604764202 CR3: 000000014b554006 CR4: 0000000000370ee0
[16753.527281] Call Trace:
[16753.527283]  
[16753.527287]  __btrfs_remove_free_space_cache+0x27/0x30
[16753.527292]  load_free_space_cache+0xad2/0xaf0
[16753.527331]  caching_thread+0x40b/0x650
[16753.527339]  ? lock_release+0x137/0x2d0
[16753.527347]  btrfs_work_helper+0xf2/0x3e0
[16753.527350]  ? lock_is_held_type+0xe2/0x140
[16753.527357]  process_one_work+0x271/0x590
[16753.527367]  worker_thread+0x52/0x3b0
[16753.527372]  ? process_one_work+0x590/0x590
[16753.527375]  kthread+0xf0/0x120
[16753.527377]  ? kthread_complete_and_exit+0x20/0x20
[16753.527382]  ret_from_fork+0x1f/0x30
[16753.527395]  
[16753.527397] irq event stamp: 74096933
[16753.527398] hardirqs last  enabled at (74096939): [] __up_console_sem+0x5e/0x70
[16753.527401] hardirqs last disabled at (74096944): [] __up_console_sem+0x43/0x70
[16753.527403] softirqs last  enabled at (74095638): [] __irq_exit_rcu+0xeb/0x160
[16753.527406] softirqs last disabled at (74095605): [] __irq_exit_rcu+0xeb/0x160
[16753.527409] ---[ end trace 0000000000000000 ]---
[16753.527412] BTRFS warning (device dm-11): block group 298844160 has wrong amount of free space
[16753.527427] BTRFS warning (device dm-11): failed to load free space cache for block group 298844160, rebuilding it now
[16755.572484] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[16755.572504] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[16755.572517] BTRFS error (device dm-11): error writing primary super block to device 1
[16755.572521] BTRFS: error (device dm-11) in write_all_supers:4342: errno=-5 IO failure (1 errors while writing supers)
[16755.573455] BTRFS info (device dm-11: state E): forced readonly
[16755.573467] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[16755.573471] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[16755.575312] BTRFS: error (device dm-11: state EA) in btrfs_sync_log:3192: errno=-5 IO failure
[16755.578808] BTRFS warning (device dm-11: state EA): direct IO failed ino 1318 rw 0,0 sector 0x1b6cc8 len 40960 err no 10
[16755.578895] BTRFS warning (device dm-11: state EA): direct IO failed ino 1318 rw 0,0 sector 0x1b88d0 len 24576 err no 10
[16755.586940] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[16755.598967] BTRFS warning (device dm-11: state EA): direct IO failed ino 1332 rw 0,0 sector 0x1b25c8 len 20480 err no 10
[16755.620312] BTRFS warning (device dm-11: state EA): direct IO failed ino 1331 rw 0,0 sector 0x1b6c10 len 65536 err no 10
[16755.621385] BTRFS warning (device dm-11: state EA): direct IO failed ino 625 rw 0,0 sector 0x1ba518 len 8192 err no 10
[16755.627383] BTRFS warning (device dm-11: state EA): direct IO failed ino 258 rw 0,0 sector 0x1c3918 len 57344 err no 10
[16755.649169] BTRFS warning (device dm-11: state EA): direct IO failed ino 257 rw 0,0 sector 0x1b64f0 len 16384 err no 10
[16755.651811] BTRFS warning (device dm-11: state EA): direct IO failed ino 264 rw 0,0 sector 0x193ff8 len 8192 err no 10
[16755.653513] BTRFS warning (device dm-11: state EA): direct IO failed ino 264 rw 0,0 sector 0x1c6988 len 57344 err no 10
[16756.299372] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[16756.299380] BTRFS info (device dm-11): turning on async discard
[16756.299382] BTRFS info (device dm-11): disk space caching is enabled
[16756.305335] BTRFS info (device dm-11): start tree-log replay
[16757.398459] btrfs_dev_stat_inc_and_print: 148 callbacks suppressed
[16757.398463] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 1, rd 0, flush 0, corrupt 0, gen 0
[16757.398505] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 2, rd 0, flush 0, corrupt 0, gen 0
[16757.401716] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 3, rd 0, flush 0, corrupt 0, gen 0
[16757.402797] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 4, rd 0, flush 0, corrupt 0, gen 0
[16757.405456] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 5, rd 0, flush 0, corrupt 0, gen 0
[16757.406917] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 6, rd 0, flush 0, corrupt 0, gen 0
[16757.406949] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 7, rd 0, flush 0, corrupt 0, gen 0
[16757.407667] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 8, rd 0, flush 0, corrupt 0, gen 0
[16757.407679] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 9, rd 0, flush 0, corrupt 0, gen 0
[16757.408378] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 10, rd 0, flush 0, corrupt 0, gen 0
[16757.408598] BTRFS: error (device dm-11) in btrfs_commit_transaction:2496: errno=-5 IO failure (Error while writing out transaction)
[16757.409516] BTRFS info (device dm-11: state E): forced readonly
[16757.409523] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[16757.409528] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[16757.417714] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[16757.974051] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[16757.974063] BTRFS info (device dm-11): turning on async discard
[16757.974065] BTRFS info (device dm-11): disk space caching is enabled
[16758.020618] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[16758.033961] BTRFS: error (device dm-11: state A) in __btrfs_run_delayed_items:1182: errno=-5 IO failure
[16758.034705] BTRFS info (device dm-11: state EA): forced readonly
[16758.034711] BTRFS warning (device dm-11: state EA): Skipping commit of aborted transaction.
[16758.034716] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[16758.037376] BTRFS: error (device dm-11: state EA) in __btrfs_free_extent:3078: errno=-5 IO failure
[16758.038426] BTRFS: error (device dm-11: state EA) in btrfs_run_delayed_refs:2141: errno=-5 IO failure
[16758.504582] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[16758.504590] BTRFS info (device dm-11): turning on async discard
[16758.504592] BTRFS info (device dm-11): disk space caching is enabled
[16758.561023] BTRFS: error (device dm-11: state A) in btrfs_finish_ordered_io:3318: errno=-5 IO failure
[16758.562220] BTRFS info (device dm-11: state EA): forced readonly
[16758.562719] BTRFS: error (device dm-11: state EA) in btrfs_finish_ordered_io:3318: errno=-5 IO failure
[16758.567947] BTRFS warning (device dm-11: state EA): direct IO failed ino 1444 rw 1,34817 sector 0x1cf980 len 28672 err no 10
[16758.577499] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[16759.153366] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[16759.153375] BTRFS info (device dm-11): turning on async discard
[16759.153377] BTRFS info (device dm-11): disk space caching is enabled
[16760.187479] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[16760.187491] BTRFS error (device dm-11): error writing primary super block to device 1
[16760.187495] BTRFS: error (device dm-11) in write_all_supers:4342: errno=-5 IO failure (1 errors while writing supers)
[16760.188266] BTRFS info (device dm-11: state E): forced readonly
[16760.188270] BTRFS: error (device dm-11: state EA) in btrfs_sync_log:3203: errno=-5 IO failure
[16760.200160] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[16760.208742] BTRFS warning (device dm-11: state EA): direct IO failed ino 1446 rw 0,0 sector 0x1d67a8 len 4096 err no 10
[16760.234295] BTRFS warning (device dm-11: state EA): direct IO failed ino 259 rw 0,0 sector 0x1da580 len 16384 err no 10
[16760.236681] BTRFS warning (device dm-11: state EA): direct IO failed ino 259 rw 0,0 sector 0x1da578 len 20480 err no 10
[16760.246847] BTRFS warning (device dm-11: state EA): direct IO failed ino 1446 rw 0,0 sector 0x1d7670 len 4096 err no 10
[16760.265278] BTRFS warning (device dm-11: state EA): direct IO failed ino 1456 rw 0,0 sector 0x1d3c98 len 8192 err no 10
[16760.269633] BTRFS warning (device dm-11: state EA): direct IO failed ino 259 rw 0,0 sector 0x1da460 len 49152 err no 10
[16760.270720] BTRFS warning (device dm-11: state EA): direct IO failed ino 1241 rw 0,0 sector 0x195a90 len 32768 err no 10
[16760.271210] BTRFS warning (device dm-11: state EA): direct IO failed ino 259 rw 0,0 sector 0x1da4d0 len 8192 err no 10
[16760.780914] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[16760.780922] BTRFS info (device dm-11): turning on async discard
[16760.780924] BTRFS info (device dm-11): disk space caching is enabled
[16761.894158] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[16761.894212] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[16761.894343] BTRFS error (device dm-11): error writing primary super block to device 1
[16761.894356] BTRFS: error (device dm-11) in write_all_supers:4342: errno=-5 IO failure (1 errors while writing supers)
[16761.896576] BTRFS info (device dm-11: state E): forced readonly
[16761.896598] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[16761.896611] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[16761.899291] BTRFS: error (device dm-11: state EA) in btrfs_sync_log:3192: errno=-5 IO failure
[16761.902197] BTRFS warning (device dm-11: state EA): direct IO failed ino 261 rw 0,0 sector 0x1e3830 len 49152 err no 10
[16761.903094] BTRFS warning (device dm-11: state EA): direct IO failed ino 262 rw 0,0 sector 0x1e3bb0 len 24576 err no 10
[16761.903123] BTRFS warning (device dm-11: state EA): Skipping commit of aborted transaction.
[16761.903128] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[16761.906496] BTRFS warning (device dm-11: state EA): direct IO failed ino 263 rw 0,0 sector 0x1e2558 len 61440 err no 10
[16761.907388] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[16761.922178] BTRFS warning (device dm-11: state EA): direct IO failed ino 263 rw 0,0 sector 0x1e0af8 len 12288 err no 10
[16761.941429] BTRFS warning (device dm-11: state EA): direct IO failed ino 263 rw 0,0 sector 0x1e0ab8 len 16384 err no 10
[16761.941665] BTRFS warning (device dm-11: state EA): direct IO failed ino 259 rw 0,0 sector 0x1e36b0 len 49152 err no 10
[16761.943579] BTRFS warning (device dm-11: state EA): direct IO failed ino 259 rw 0,0 sector 0x1e4870 len 20480 err no 10
[16761.945005] BTRFS warning (device dm-11: state EA): direct IO failed ino 1538 rw 0,0 sector 0x1e3b58 len 32768 err no 10
[16761.947604] BTRFS warning (device dm-11: state EA): direct IO failed ino 1538 rw 0,0 sector 0x1e3cc0 len 16384 err no 10
[16761.950510] BTRFS warning (device dm-11: state EA): direct IO failed ino 1534 rw 0,0 sector 0x1e2b98 len 4096 err no 10
[16762.466482] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[16762.466492] BTRFS info (device dm-11): turning on async discard
[16762.466495] BTRFS info (device dm-11): disk space caching is enabled
[16762.471634] BTRFS info (device dm-11): start tree-log replay
[16763.714348] btrfs_dev_stat_inc_and_print: 185 callbacks suppressed
[16763.714352] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 1, rd 0, flush 0, corrupt 0, gen 0
[16763.714357] BTRFS warning (device dm-11): direct IO failed ino 1602 rw 1,34817 sector 0x1f1fb0 len 114688 err no 10
[16763.714374] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 2, rd 0, flush 0, corrupt 0, gen 0
[16763.714458] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 3, rd 0, flush 0, corrupt 0, gen 0
[16763.714493] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 3, rd 1, flush 0, corrupt 0, gen 0
[16763.714498] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 4, rd 1, flush 0, corrupt 0, gen 0
[16763.714500] BTRFS warning (device dm-11): direct IO failed ino 1374 rw 1,34817 sector 0x1f22e8 len 28672 err no 10
[16763.715243] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 5, rd 1, flush 0, corrupt 0, gen 0
[16763.715688] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 6, rd 1, flush 0, corrupt 0, gen 0
[16763.718535] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 7, rd 1, flush 0, corrupt 0, gen 0
[16763.719942] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 8, rd 1, flush 0, corrupt 0, gen 0
[16763.719999] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 9, rd 1, flush 0, corrupt 0, gen 0
[16763.729030] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[16763.737167] BTRFS warning (device dm-11): direct IO failed ino 1576 rw 1,34817 sector 0x1f2470 len 90112 err no 10
[16763.742632] BTRFS warning (device dm-11): direct IO failed ino 1596 rw 1,34817 sector 0x1d2e38 len 118784 err no 10
[16763.742783] BTRFS warning (device dm-11): direct IO failed ino 1594 rw 1,34817 sector 0x1f2470 len 53248 err no 10
[16763.746221] BTRFS warning (device dm-11): direct IO failed ino 1572 rw 1,34817 sector 0x1f2470 len 12288 err no 10
[16763.753263] BTRFS warning (device dm-11): direct IO failed ino 1628 rw 1,34817 sector 0x1f2470 len 69632 err no 10
[16763.753645] BTRFS warning (device dm-11): direct IO failed ino 1264 rw 1,34817 sector 0x1f2470 len 20480 err no 10
[16763.754504] BTRFS warning (device dm-11): direct IO failed ino 1602 rw 1,34817 sector 0x1f2470 len 94208 err no 10
[16763.754623] BTRFS warning (device dm-11): direct IO failed ino 1627 rw 1,34817 sector 0x1f2470 len 28672 err no 10
[16763.754740] BTRFS warning (device dm-11): direct IO failed ino 1593 rw 1,34817 sector 0x1f2470 len 32768 err no 10
[16763.759579] BTRFS warning (device dm-11): direct IO failed ino 1570 rw 1,34817 sector 0x1f2588 len 4096 err no 10
[16763.761056] BTRFS: error (device dm-11) in btrfs_commit_transaction:2496: errno=-5 IO failure (Error while writing out transaction)
[16763.761760] BTRFS info (device dm-11: state E): forced readonly
[16763.761764] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[16763.761767] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[16764.276376] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[16764.276385] BTRFS info (device dm-11): turning on async discard
[16764.276387] BTRFS info (device dm-11): disk space caching is enabled
[16764.279638] BTRFS info (device dm-11): start tree-log replay
[16764.288477] ------------[ cut here ]------------
[16764.288541] WARNING: CPU: 0 PID: 2178041 at fs/btrfs/discard.c:604 btrfs_discard_update_discardable+0x98/0xb0
[16764.288547] Modules linked in: dm_thin_pool dm_persistent_data dm_bio_prison dm_log_writes dm_dust dm_flakey nft_fib_inet nft_fib_ipv4 nft_fib_ipv6 nft_fib nft_reject_inet nf_reject_ipv4 nf_reject_ipv6 nft_reject nft_ct nft_chain_nat nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 ip6_tables nft_compat rfkill ip_set nf_tables nfnetlink intel_rapl_msr iTCO_wdt iTCO_vendor_support intel_rapl_common snd_hda_codec_generic joydev snd_hda_intel snd_intel_dspcfg snd_hda_codec snd_hwdep virtio_balloon snd_hda_core snd_pcm i2c_i801 snd_timer snd soundcore lpc_ich i2c_smbus zram ip_tables xfs crct10dif_pclmul crc32_pclmul crc32c_intel ghash_clmulni_intel serio_raw qemu_fw_cfg
[16764.288613] CPU: 0 PID: 2178041 Comm: kworker/u4:3 Tainted: G        W         5.19.0-rc8+ #795
[16764.288616] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.13.0-2.fc32 04/01/2014
[16764.288618] Workqueue: btrfs-cache btrfs_work_helper
[16764.288623] RIP: 0010:btrfs_discard_update_discardable+0x98/0xb0
[16764.288626] 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
[16764.288628] RSP: 0018:ffffbd1d46cd7ad0 EFLAGS: 00010246
[16764.288631] RAX: 0000000000000000 RBX: ffff990342a46600 RCX: 0000000000000001
[16764.288632] RDX: 0000000000000000 RSI: ffffffff89807c5b RDI: ffffffff898a831e
[16764.288634] RBP: ffff99037ed88000 R08: 0000000000000000 R09: 0000000000001000
[16764.288636] R10: 000000000006a132 R11: 000000000083f100 R12: ffff9903703fc810
[16764.288637] R13: ffff9903434e04c0 R14: ffff99037ed88000 R15: ffff9903523f8b60
[16764.288639] FS:  0000000000000000(0000) GS:ffff9903bbc00000(0000) knlGS:0000000000000000
[16764.288641] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[16764.288642] CR2: 00007f3901200b68 CR3: 0000000106030006 CR4: 0000000000370ef0
[16764.288646] Call Trace:
[16764.288648]  
[16764.288653]  __btrfs_remove_free_space_cache+0x27/0x30
[16764.288657]  load_free_space_cache+0xad2/0xaf0
[16764.288704]  caching_thread+0x40b/0x650
[16764.288713]  ? lock_release+0x137/0x2d0
[16764.288720]  btrfs_work_helper+0xf2/0x3e0
[16764.288723]  ? lock_is_held_type+0xe2/0x140
[16764.288730]  process_one_work+0x271/0x590
[16764.288739]  ? process_one_work+0x590/0x590
[16764.288741]  worker_thread+0x52/0x3b0
[16764.288746]  ? process_one_work+0x590/0x590
[16764.288749]  kthread+0xf0/0x120
[16764.288751]  ? kthread_complete_and_exit+0x20/0x20
[16764.288756]  ret_from_fork+0x1f/0x30
[16764.288770]  
[16764.288771] irq event stamp: 1061103
[16764.288772] hardirqs last  enabled at (1061109): [] __up_console_sem+0x5e/0x70
[16764.288775] hardirqs last disabled at (1061114): [] __up_console_sem+0x43/0x70
[16764.288778] softirqs last  enabled at (1059824): [] __irq_exit_rcu+0xeb/0x160
[16764.288780] softirqs last disabled at (1059815): [] __irq_exit_rcu+0xeb/0x160
[16764.288783] ---[ end trace 0000000000000000 ]---
[16764.288786] BTRFS warning (device dm-11): block group 298844160 has wrong amount of free space
[16764.288800] BTRFS warning (device dm-11): failed to load free space cache for block group 298844160, rebuilding it now
[16764.453327] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[16764.456519] BTRFS: error (device dm-11: state A) in do_free_extent_accounting:2848: errno=-5 IO failure
[16764.457257] BTRFS info (device dm-11: state EA): forced readonly
[16764.457262] BTRFS: error (device dm-11: state EA) in btrfs_run_delayed_refs:2141: errno=-5 IO failure
[16764.950370] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[16764.950378] BTRFS info (device dm-11): turning on async discard
[16764.950381] BTRFS info (device dm-11): disk space caching is enabled
[16764.994086] BTRFS: error (device dm-11: state A) in create_subvol:735: errno=-5 IO failure
[16764.994684] BTRFS info (device dm-11: state EA): forced readonly
[16764.995647] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[16765.495239] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[16765.495247] BTRFS info (device dm-11): turning on async discard
[16765.495249] BTRFS info (device dm-11): disk space caching is enabled
[16767.584259] BTRFS: error (device dm-11) in btrfs_commit_transaction:2496: errno=-5 IO failure (Error while writing out transaction)
[16767.585027] BTRFS info (device dm-11: state E): forced readonly
[16767.585032] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[16767.585036] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[16767.593389] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[16768.214145] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[16768.214153] BTRFS info (device dm-11): turning on async discard
[16768.214155] BTRFS info (device dm-11): disk space caching is enabled
[16770.269999] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[16770.270005] btrfs_dev_stat_inc_and_print: 272 callbacks suppressed
[16770.270007] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 1, rd 0, flush 0, corrupt 0, gen 0
[16770.270019] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[16770.270021] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 2, rd 0, flush 0, corrupt 0, gen 0
[16770.270030] BTRFS error (device dm-11): error writing primary super block to device 1
[16770.270033] BTRFS: error (device dm-11) in write_all_supers:4342: errno=-5 IO failure (1 errors while writing supers)
[16770.270837] BTRFS info (device dm-11: state E): forced readonly
[16770.270842] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[16770.270845] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[16770.274714] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 3, rd 0, flush 0, corrupt 0, gen 0
[16770.275386] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 4, rd 0, flush 0, corrupt 0, gen 0
[16770.275506] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 5, rd 0, flush 0, corrupt 0, gen 0
[16770.275664] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 6, rd 0, flush 0, corrupt 0, gen 0
[16770.276042] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 7, rd 0, flush 0, corrupt 0, gen 0
[16770.276116] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 8, rd 0, flush 0, corrupt 0, gen 0
[16770.276177] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 9, rd 0, flush 0, corrupt 0, gen 0
[16770.276257] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 10, rd 0, flush 0, corrupt 0, gen 0
[16770.283138] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[16770.299180] BTRFS warning (device dm-11: state EA): direct IO failed ino 1742 rw 0,0 sector 0x2123a0 len 8192 err no 10
[16770.300512] BTRFS warning (device dm-11: state EA): direct IO failed ino 258 rw 0,0 sector 0x210020 len 4096 err no 10
[16770.319190] BTRFS warning (device dm-11: state EA): direct IO failed ino 1736 rw 0,0 sector 0x214a78 len 4096 err no 10
[16770.871800] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[16770.871810] BTRFS info (device dm-11): turning on async discard
[16770.871813] BTRFS info (device dm-11): disk space caching is enabled
[16770.908186] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[16770.931135] BTRFS: error (device dm-11: state A) in __btrfs_free_extent:3078: errno=-5 IO failure
[16770.931627] BTRFS info (device dm-11: state EA): forced readonly
[16770.931632] BTRFS: error (device dm-11: state EA) in btrfs_run_delayed_refs:2141: errno=-5 IO failure
[16771.398030] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[16771.398039] BTRFS info (device dm-11): turning on async discard
[16771.398041] BTRFS info (device dm-11): disk space caching is enabled
[16772.438704] BTRFS: error (device dm-11) in btrfs_commit_transaction:2496: errno=-5 IO failure (Error while writing out transaction)
[16772.439353] BTRFS info (device dm-11: state E): forced readonly
[16772.439357] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[16772.439360] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[16772.446219] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[16772.979709] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[16772.979717] BTRFS info (device dm-11): turning on async discard
[16772.979719] BTRFS info (device dm-11): disk space caching is enabled
[16773.015036] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[16773.036252] BTRFS error (device dm-11): error loading props for ino 270 (root 1): -5
[16773.037590] BTRFS error (device dm-11): error reading free space cache
[16773.037603] BTRFS warning (device dm-11): failed to load free space cache for block group 298844160, rebuilding it now
[16773.042276] BTRFS: error (device dm-11: state A) in do_free_extent_accounting:2848: errno=-5 IO failure
[16773.043056] BTRFS info (device dm-11: state EA): forced readonly
[16773.043063] BTRFS: error (device dm-11: state EA) in btrfs_run_delayed_refs:2141: errno=-5 IO failure
[16773.529721] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[16773.529751] BTRFS info (device dm-11): turning on async discard
[16773.529754] BTRFS info (device dm-11): disk space caching is enabled
[16775.581789] btrfs_dev_stat_inc_and_print: 122 callbacks suppressed
[16775.581794] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 1, rd 0, flush 0, corrupt 0, gen 0
[16775.581863] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 2, rd 0, flush 0, corrupt 0, gen 0
[16775.583453] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 3, rd 0, flush 0, corrupt 0, gen 0
[16775.585359] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 4, rd 0, flush 0, corrupt 0, gen 0
[16775.586376] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 5, rd 0, flush 0, corrupt 0, gen 0
[16775.589604] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 6, rd 0, flush 0, corrupt 0, gen 0
[16775.590822] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 7, rd 0, flush 0, corrupt 0, gen 0
[16775.590828] BTRFS warning (device dm-11): direct IO failed ino 1819 rw 1,34817 sector 0x23a7a8 len 126976 err no 10
[16775.590920] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 8, rd 0, flush 0, corrupt 0, gen 0
[16775.591386] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 9, rd 0, flush 0, corrupt 0, gen 0
[16775.594417] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 10, rd 0, flush 0, corrupt 0, gen 0
[16775.594422] BTRFS warning (device dm-11): direct IO failed ino 262 rw 1,34817 sector 0x23a7c0 len 4096 err no 10
[16775.595049] BTRFS warning (device dm-11): direct IO failed ino 1805 rw 1,34817 sector 0x23a7c0 len 12288 err no 10
[16775.595231] BTRFS warning (device dm-11): direct IO failed ino 1802 rw 1,34817 sector 0x23a7c0 len 4096 err no 10
[16775.595378] BTRFS: error (device dm-11) in btrfs_commit_transaction:2496: errno=-5 IO failure (Error while writing out transaction)
[16775.596338] BTRFS info (device dm-11: state E): forced readonly
[16775.596343] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[16775.596346] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[16775.598815] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[16776.193755] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[16776.193763] BTRFS info (device dm-11): turning on async discard
[16776.193765] BTRFS info (device dm-11): disk space caching is enabled
[16778.252924] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[16778.252947] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[16778.253043] BTRFS error (device dm-11): error writing primary super block to device 1
[16778.253047] BTRFS: error (device dm-11) in write_all_supers:4342: errno=-5 IO failure (1 errors while writing supers)
[16778.253913] BTRFS info (device dm-11: state E): forced readonly
[16778.253920] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[16778.253925] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[16778.262633] BTRFS warning (device dm-11: state EA): direct IO failed ino 1870 rw 0,0 sector 0x23ec30 len 12288 err no 10
[16778.262659] BTRFS warning (device dm-11: state EA): direct IO failed ino 1870 rw 0,0 sector 0x212eb0 len 4096 err no 10
[16778.263547] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[16778.266256] BTRFS warning (device dm-11: state EA): direct IO failed ino 258 rw 0,0 sector 0x246e80 len 20480 err no 10
[16778.281308] BTRFS warning (device dm-11: state EA): direct IO failed ino 1241 rw 0,0 sector 0x2447c0 len 49152 err no 10
[16778.283070] BTRFS warning (device dm-11: state EA): direct IO failed ino 1911 rw 0,0 sector 0x244048 len 16384 err no 10
[16778.284279] BTRFS warning (device dm-11: state EA): direct IO failed ino 1911 rw 0,0 sector 0x246bd0 len 12288 err no 10
[16778.313640] BTRFS warning (device dm-11: state EA): direct IO failed ino 1884 rw 0,0 sector 0x2450e0 len 8192 err no 10
[16778.314136] BTRFS warning (device dm-11: state EA): direct IO failed ino 1874 rw 0,0 sector 0x241770 len 4096 err no 10
[16778.314767] BTRFS warning (device dm-11: state EA): direct IO failed ino 274 rw 0,0 sector 0x245f20 len 28672 err no 10
[16778.315341] BTRFS warning (device dm-11: state EA): direct IO failed ino 1548 rw 0,0 sector 0x247978 len 36864 err no 10
[16778.886226] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[16778.886237] BTRFS info (device dm-11): turning on async discard
[16778.886240] BTRFS info (device dm-11): disk space caching is enabled
[16778.918338] ------------[ cut here ]------------
[16778.918403] WARNING: CPU: 0 PID: 2164543 at fs/btrfs/discard.c:604 btrfs_discard_update_discardable+0x98/0xb0
[16778.918410] Modules linked in: dm_thin_pool dm_persistent_data dm_bio_prison dm_log_writes dm_dust dm_flakey nft_fib_inet nft_fib_ipv4 nft_fib_ipv6 nft_fib nft_reject_inet nf_reject_ipv4 nf_reject_ipv6 nft_reject nft_ct nft_chain_nat nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 ip6_tables nft_compat rfkill ip_set nf_tables nfnetlink intel_rapl_msr iTCO_wdt iTCO_vendor_support intel_rapl_common snd_hda_codec_generic joydev snd_hda_intel snd_intel_dspcfg snd_hda_codec snd_hwdep virtio_balloon snd_hda_core snd_pcm i2c_i801 snd_timer snd soundcore lpc_ich i2c_smbus zram ip_tables xfs crct10dif_pclmul crc32_pclmul crc32c_intel ghash_clmulni_intel serio_raw qemu_fw_cfg
[16778.918472] CPU: 0 PID: 2164543 Comm: kworker/u4:1 Tainted: G        W         5.19.0-rc8+ #795
[16778.918475] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.13.0-2.fc32 04/01/2014
[16778.918477] Workqueue: btrfs-cache btrfs_work_helper
[16778.918482] RIP: 0010:btrfs_discard_update_discardable+0x98/0xb0
[16778.918484] 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
[16778.918487] RSP: 0018:ffffbd1d41ed7ad0 EFLAGS: 00010246
[16778.918489] RAX: 0000000000000000 RBX: ffff990342c03e00 RCX: 0000000000000001
[16778.918491] RDX: 0000000000000000 RSI: ffffffff89807c5b RDI: ffffffff898a831e
[16778.918492] RBP: ffff99038b514000 R08: 0000000000000000 R09: 0000000000001000
[16778.918494] R10: ffff990269fc0c48 R11: 0000000000840700 R12: ffff9903703ff010
[16778.918496] R13: ffff990343445890 R14: ffff99038b514000 R15: ffff9903455e1380
[16778.918497] FS:  0000000000000000(0000) GS:ffff9903bbc00000(0000) knlGS:0000000000000000
[16778.918499] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[16778.918501] CR2: 00000000019d75d8 CR3: 00000001063a0002 CR4: 0000000000370ef0
[16778.918505] Call Trace:
[16778.918507]  
[16778.918511]  __btrfs_remove_free_space_cache+0x27/0x30
[16778.918515]  load_free_space_cache+0xad2/0xaf0
[16778.918581]  caching_thread+0x40b/0x650
[16778.918608]  ? lock_release+0x137/0x2d0
[16778.918615]  btrfs_work_helper+0xf2/0x3e0
[16778.918618]  ? lock_is_held_type+0xe2/0x140
[16778.918625]  process_one_work+0x271/0x590
[16778.918634]  ? process_one_work+0x590/0x590
[16778.918637]  worker_thread+0x52/0x3b0
[16778.918642]  ? process_one_work+0x590/0x590
[16778.918645]  kthread+0xf0/0x120
[16778.918647]  ? kthread_complete_and_exit+0x20/0x20
[16778.918652]  ret_from_fork+0x1f/0x30
[16778.918665]  
[16778.918666] irq event stamp: 3040149
[16778.918668] hardirqs last  enabled at (3040155): [] __up_console_sem+0x5e/0x70
[16778.918671] hardirqs last disabled at (3040160): [] __up_console_sem+0x43/0x70
[16778.918673] softirqs last  enabled at (3039044): [] __irq_exit_rcu+0xeb/0x160
[16778.918676] softirqs last disabled at (3038951): [] __irq_exit_rcu+0xeb/0x160
[16778.918678] ---[ end trace 0000000000000000 ]---
[16778.918681] BTRFS warning (device dm-11): block group 298844160 has wrong amount of free space
[16778.918696] BTRFS warning (device dm-11): failed to load free space cache for block group 298844160, rebuilding it now
[16780.953278] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[16780.953285] btrfs_dev_stat_inc_and_print: 54 callbacks suppressed
[16780.953288] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 1, rd 0, flush 0, corrupt 0, gen 0
[16780.953301] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[16780.953304] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 2, rd 0, flush 0, corrupt 0, gen 0
[16780.953315] BTRFS error (device dm-11): error writing primary super block to device 1
[16780.953318] BTRFS: error (device dm-11) in write_all_supers:4342: errno=-5 IO failure (1 errors while writing supers)
[16780.954047] BTRFS info (device dm-11: state E): forced readonly
[16780.954054] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[16780.954057] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[16780.955415] BTRFS warning (device dm-11: state EA): Skipping commit of aborted transaction.
[16780.955420] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[16780.958643] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 2, rd 1, flush 0, corrupt 0, gen 0
[16780.958697] BTRFS warning (device dm-11: state EA): direct IO failed ino 2113 rw 0,0 sector 0x25c998 len 20480 err no 10
[16780.958832] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 2, rd 2, flush 0, corrupt 0, gen 0
[16780.958846] BTRFS warning (device dm-11: state EA): direct IO failed ino 2132 rw 0,0 sector 0x261310 len 77824 err no 10
[16780.959290] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 2, rd 3, flush 0, corrupt 0, gen 0
[16780.959472] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 2, rd 4, flush 0, corrupt 0, gen 0
[16780.959499] BTRFS warning (device dm-11: state EA): direct IO failed ino 2093 rw 0,0 sector 0x25e320 len 24576 err no 10
[16780.959501] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 2, rd 5, flush 0, corrupt 0, gen 0
[16780.959522] BTRFS warning (device dm-11: state EA): direct IO failed ino 2093 rw 0,0 sector 0x252d88 len 4096 err no 10
[16780.961849] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 2, rd 6, flush 0, corrupt 0, gen 0
[16780.970311] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[16780.979478] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 2, rd 7, flush 0, corrupt 0, gen 0
[16780.979501] BTRFS warning (device dm-11: state EA): direct IO failed ino 1995 rw 0,0 sector 0x25b270 len 4096 err no 10
[16780.979993] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 2, rd 8, flush 0, corrupt 0, gen 0
[16780.980014] BTRFS warning (device dm-11: state EA): direct IO failed ino 2051 rw 0,0 sector 0x2532a0 len 65536 err no 10
[16780.980312] BTRFS warning (device dm-11: state EA): direct IO failed ino 1977 rw 0,0 sector 0x251890 len 12288 err no 10
[16780.980333] BTRFS warning (device dm-11: state EA): direct IO failed ino 1977 rw 0,0 sector 0x214608 len 4096 err no 10
[16780.983438] BTRFS warning (device dm-11: state EA): direct IO failed ino 2091 rw 0,0 sector 0x25da58 len 36864 err no 10
[16780.983452] BTRFS warning (device dm-11: state EA): direct IO failed ino 2113 rw 0,0 sector 0x25e820 len 20480 err no 10
[16780.986512] BTRFS warning (device dm-11: state EA): direct IO failed ino 2120 rw 0,0 sector 0x25bee0 len 45056 err no 10
[16780.989930] BTRFS warning (device dm-11: state EA): direct IO failed ino 2172 rw 0,0 sector 0x25ec88 len 40960 err no 10
[16781.023056] BTRFS warning (device dm-11: state EA): direct IO failed ino 2091 rw 0,0 sector 0x25daa8 len 4096 err no 10
[16781.025989] BTRFS warning (device dm-11: state EA): direct IO failed ino 1769 rw 0,0 sector 0x253100 len 4096 err no 10
[16781.026969] BTRFS warning (device dm-11: state EA): direct IO failed ino 2175 rw 0,0 sector 0x25e8c0 len 28672 err no 10
[16781.029144] BTRFS warning (device dm-11: state EA): direct IO failed ino 1561 rw 0,0 sector 0x254870 len 4096 err no 10
[16781.029751] BTRFS warning (device dm-11: state EA): direct IO failed ino 2172 rw 0,0 sector 0x25e5b8 len 8192 err no 10
[16781.030279] BTRFS warning (device dm-11: state EA): direct IO failed ino 2066 rw 0,0 sector 0x25ea58 len 32768 err no 10
[16781.567892] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[16781.567902] BTRFS info (device dm-11): turning on async discard
[16781.567904] BTRFS info (device dm-11): disk space caching is enabled
[16781.592676] BTRFS info (device dm-11): the free space cache file (298844160) is invalid, skip it
[16782.611220] BTRFS: error (device dm-11) in btrfs_commit_transaction:2496: errno=-5 IO failure (Error while writing out transaction)
[16782.612184] BTRFS info (device dm-11: state E): forced readonly
[16782.612191] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[16782.612196] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[16782.630848] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[16783.266897] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[16783.266906] BTRFS info (device dm-11): turning on async discard
[16783.266908] BTRFS info (device dm-11): disk space caching is enabled
[16783.271623] BTRFS info (device dm-11): start tree-log replay
[16783.280236] BTRFS info (device dm-11): the free space cache file (298844160) is invalid, skip it
[16783.396065] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[16783.399379] BTRFS: error (device dm-11) in btrfs_commit_transaction:2496: errno=-5 IO failure (Error while writing out transaction)
[16783.400035] BTRFS info (device dm-11: state E): forced readonly
[16783.400040] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[16783.400043] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[16783.944491] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[16783.944499] BTRFS info (device dm-11): turning on async discard
[16783.944508] BTRFS info (device dm-11): disk space caching is enabled
[16785.006721] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[16785.006737] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[16785.006748] BTRFS error (device dm-11): error writing primary super block to device 1
[16785.006751] BTRFS: error (device dm-11) in write_all_supers:4342: errno=-5 IO failure (1 errors while writing supers)
[16785.007424] BTRFS info (device dm-11: state E): forced readonly
[16785.007436] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[16785.007439] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[16785.007456] BTRFS: error (device dm-11: state EA) in btrfs_sync_log:3192: errno=-5 IO failure
[16785.021550] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[16785.050045] BTRFS warning (device dm-11: state EA): direct IO failed ino 2219 rw 0,0 sector 0x26e048 len 8192 err no 10
[16785.050108] BTRFS warning (device dm-11: state EA): direct IO failed ino 2219 rw 0,0 sector 0x252f38 len 4096 err no 10
[16785.050973] BTRFS warning (device dm-11: state EA): direct IO failed ino 2219 rw 0,0 sector 0x269f80 len 8192 err no 10
[16785.052462] BTRFS warning (device dm-11: state EA): direct IO failed ino 257 rw 0,0 sector 0x26f3c8 len 69632 err no 10
[16785.055914] BTRFS warning (device dm-11: state EA): direct IO failed ino 266 rw 0,0 sector 0x271900 len 8192 err no 10
[16785.056853] BTRFS warning (device dm-11: state EA): direct IO failed ino 257 rw 0,0 sector 0x26ed40 len 40960 err no 10
[16785.057362] BTRFS warning (device dm-11: state EA): direct IO failed ino 257 rw 0,0 sector 0x270df0 len 12288 err no 10
[16785.595147] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[16785.595155] BTRFS info (device dm-11): turning on async discard
[16785.595157] BTRFS info (device dm-11): disk space caching is enabled
[16785.610287] BTRFS warning (device dm-11): block group 30408704 has wrong amount of free space
[16785.610304] BTRFS warning (device dm-11): failed to load free space cache for block group 30408704, rebuilding it now
[16785.633215] BTRFS error (device dm-11): error loading props for ino 270 (root 1): -5
[16785.634664] BTRFS error (device dm-11): error reading free space cache
[16785.634670] BTRFS warning (device dm-11): failed to load free space cache for block group 298844160, rebuilding it now
[16785.637369] BTRFS warning (device dm-11): direct IO failed ino 2238 rw 1,34817 sector 0x312e80 len 102400 err no 10
[16785.639017] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[16785.640340] BTRFS warning (device dm-11): direct IO failed ino 2240 rw 1,34817 sector 0x313428 len 57344 err no 10
[16785.643033] BTRFS warning (device dm-11): direct IO failed ino 2242 rw 1,34817 sector 0x313428 len 126976 err no 10
[16785.644218] BTRFS: error (device dm-11: state A) in do_free_extent_accounting:2848: errno=-5 IO failure
[16785.644915] BTRFS info (device dm-11: state EA): forced readonly
[16785.644920] BTRFS: error (device dm-11: state EA) in btrfs_run_delayed_refs:2141: errno=-5 IO failure
[16786.164508] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[16786.164515] BTRFS info (device dm-11): turning on async discard
[16786.164517] BTRFS info (device dm-11): disk space caching is enabled
[16786.194988] BTRFS warning (device dm-11): block group 30408704 has wrong amount of free space
[16786.195005] BTRFS warning (device dm-11): failed to load free space cache for block group 30408704, rebuilding it now
[16786.200457] ------------[ cut here ]------------
[16786.200535] WARNING: CPU: 1 PID: 2178041 at fs/btrfs/discard.c:604 btrfs_discard_update_discardable+0x98/0xb0
[16786.200543] Modules linked in: dm_thin_pool dm_persistent_data dm_bio_prison dm_log_writes dm_dust dm_flakey nft_fib_inet nft_fib_ipv4 nft_fib_ipv6 nft_fib nft_reject_inet nf_reject_ipv4 nf_reject_ipv6 nft_reject nft_ct nft_chain_nat nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 ip6_tables nft_compat rfkill ip_set nf_tables nfnetlink intel_rapl_msr iTCO_wdt iTCO_vendor_support intel_rapl_common snd_hda_codec_generic joydev snd_hda_intel snd_intel_dspcfg snd_hda_codec snd_hwdep virtio_balloon snd_hda_core snd_pcm i2c_i801 snd_timer snd soundcore lpc_ich i2c_smbus zram ip_tables xfs crct10dif_pclmul crc32_pclmul crc32c_intel ghash_clmulni_intel serio_raw qemu_fw_cfg
[16786.200657] CPU: 1 PID: 2178041 Comm: kworker/u4:3 Tainted: G        W         5.19.0-rc8+ #795
[16786.200659] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.13.0-2.fc32 04/01/2014
[16786.200661] Workqueue: btrfs-cache btrfs_work_helper
[16786.200666] RIP: 0010:btrfs_discard_update_discardable+0x98/0xb0
[16786.200669] 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
[16786.200671] RSP: 0018:ffffbd1d46cd7ad0 EFLAGS: 00010246
[16786.200674] RAX: 0000000000000000 RBX: ffff990340939400 RCX: 0000000000000001
[16786.200676] RDX: 0000000000000000 RSI: ffffffff89807c5b RDI: ffffffff898a831e
[16786.200678] RBP: ffff9903429e8000 R08: 0000000000000000 R09: 0000000000001000
[16786.200679] R10: ffff990343352b78 R11: 0000000000000000 R12: ffff99035688f010
[16786.200681] R13: ffff990355b2cf40 R14: ffff9903429e8000 R15: ffff99037b9a0540
[16786.200683] FS:  0000000000000000(0000) GS:ffff9903bbd00000(0000) knlGS:0000000000000000
[16786.200685] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[16786.200686] CR2: 00007f38fc3fce88 CR3: 0000000106030001 CR4: 0000000000370ee0
[16786.200690] Call Trace:
[16786.200693]  
[16786.200697]  __btrfs_remove_free_space_cache+0x27/0x30
[16786.200701]  load_free_space_cache+0xad2/0xaf0
[16786.200741]  caching_thread+0x40b/0x650
[16786.200749]  ? lock_release+0x137/0x2d0
[16786.200756]  btrfs_work_helper+0xf2/0x3e0
[16786.200759]  ? lock_is_held_type+0xe2/0x140
[16786.200766]  process_one_work+0x271/0x590
[16786.200775]  ? process_one_work+0x590/0x590
[16786.200777]  worker_thread+0x52/0x3b0
[16786.200782]  ? process_one_work+0x590/0x590
[16786.200785]  kthread+0xf0/0x120
[16786.200787]  ? kthread_complete_and_exit+0x20/0x20
[16786.200792]  ret_from_fork+0x1f/0x30
[16786.200805]  
[16786.200807] irq event stamp: 1205543
[16786.200808] hardirqs last  enabled at (1205549): [] __up_console_sem+0x5e/0x70
[16786.200811] hardirqs last disabled at (1205554): [] __up_console_sem+0x43/0x70
[16786.200813] softirqs last  enabled at (1205290): [] __irq_exit_rcu+0xeb/0x160
[16786.200816] softirqs last disabled at (1205255): [] __irq_exit_rcu+0xeb/0x160
[16786.200819] ---[ end trace 0000000000000000 ]---
[16786.200821] BTRFS warning (device dm-11): block group 298844160 has wrong amount of free space
[16786.200824] BTRFS warning (device dm-11): failed to load free space cache for block group 298844160, rebuilding it now