[39018.117371] run fstests generic/475 at 2022-08-13 07:43:52
[39019.025058] BTRFS: device fsid e8a3a73f-8da4-4f39-bccb-5b4edee2dee5 devid 1 transid 6 /dev/mapper/vg0-lv9 scanned by mkfs.btrfs (1343229)
[39019.277076] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[39019.277086] BTRFS info (device dm-11): setting incompat feature flag for COMPRESS_ZSTD (0x10)
[39019.277089] BTRFS info (device dm-11): use zstd compression, level 3
[39019.277093] BTRFS info (device dm-11): turning on async discard
[39019.277094] BTRFS info (device dm-11): disk space caching is enabled
[39019.281366] BTRFS info (device dm-11): checking UUID tree
[39021.315360] btrfs_dev_stat_inc_and_print: 2 callbacks suppressed
[39021.315366] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 1, rd 0, flush 0, corrupt 0, gen 0
[39021.318306] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 2, rd 0, flush 0, corrupt 0, gen 0
[39021.321198] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 2, rd 1, flush 0, corrupt 0, gen 0
[39021.323129] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 3, rd 1, flush 0, corrupt 0, gen 0
[39021.323138] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 4, rd 1, flush 0, corrupt 0, gen 0
[39021.323445] BTRFS: error (device dm-11) in btrfs_commit_transaction:2496: errno=-5 IO failure (Error while writing out transaction)
[39021.324192] BTRFS info (device dm-11: state E): forced readonly
[39021.324198] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[39021.324202] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[39021.328400] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 5, rd 1, flush 0, corrupt 0, gen 0
[39021.329269] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 6, rd 1, flush 0, corrupt 0, gen 0
[39021.329432] buffer_io_error: 760 callbacks suppressed
[39021.329445] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[39021.329912] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 7, rd 1, flush 0, corrupt 0, gen 0
[39021.330322] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 8, rd 1, flush 0, corrupt 0, gen 0
[39021.371017] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 8, rd 2, flush 0, corrupt 0, gen 0
[39022.053074] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[39022.053082] BTRFS info (device dm-11): use zstd compression, level 3
[39022.053085] BTRFS info (device dm-11): turning on async discard
[39022.053087] BTRFS info (device dm-11): disk space caching is enabled
[39022.091349] BTRFS error (device dm-11): error reading free space cache
[39022.091427] BTRFS warning (device dm-11): failed to load free space cache for block group 298844160, rebuilding it now
[39022.095654] BTRFS: error (device dm-11: state A) in btrfs_replace_file_extents:2802: errno=-5 IO failure
[39022.096284] BTRFS info (device dm-11: state EA): forced readonly
[39022.101702] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[39022.625662] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[39022.625670] BTRFS info (device dm-11): use zstd compression, level 3
[39022.625674] BTRFS info (device dm-11): turning on async discard
[39022.625675] BTRFS info (device dm-11): disk space caching is enabled
[39024.675521] BTRFS warning (device dm-11): direct IO failed ino 273 rw 1,34817 sector 0x156f70 len 65536 err no 10
[39024.676124] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[39024.676132] BTRFS error (device dm-11): error writing primary super block to device 1
[39024.676135] BTRFS: error (device dm-11) in write_all_supers:4342: errno=-5 IO failure (1 errors while writing supers)
[39024.677114] BTRFS info (device dm-11: state E): forced readonly
[39024.677121] BTRFS: error (device dm-11: state EA) in btrfs_sync_log:3203: errno=-5 IO failure
[39024.688333] BTRFS warning (device dm-11: state EA): direct IO failed ino 265 rw 0,0 sector 0x1555c0 len 4096 err no 10
[39024.690544] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[39024.702808] BTRFS warning (device dm-11: state EA): direct IO failed ino 279 rw 0,0 sector 0x14fe78 len 40960 err no 10
[39024.722593] BTRFS warning (device dm-11: state EA): direct IO failed ino 643 rw 0,0 sector 0x159040 len 32768 err no 10
[39024.726886] BTRFS warning (device dm-11: state EA): direct IO failed ino 639 rw 0,0 sector 0x156dd0 len 28672 err no 10
[39025.323852] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[39025.323860] BTRFS info (device dm-11): use zstd compression, level 3
[39025.323864] BTRFS info (device dm-11): turning on async discard
[39025.323866] BTRFS info (device dm-11): disk space caching is enabled
[39025.365799] BTRFS error (device dm-11): error reading free space cache
[39025.365922] BTRFS warning (device dm-11): failed to load free space cache for block group 298844160, rebuilding it now
[39025.366956] BTRFS: error (device dm-11: state A) in do_free_extent_accounting:2848: errno=-5 IO failure
[39025.367721] BTRFS info (device dm-11: state EA): forced readonly
[39025.367732] BTRFS: error (device dm-11: state EA) in btrfs_run_delayed_refs:2141: errno=-5 IO failure
[39025.379622] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[39025.689483] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[39025.689492] BTRFS info (device dm-11): use zstd compression, level 3
[39025.689496] BTRFS info (device dm-11): turning on async discard
[39025.689498] BTRFS info (device dm-11): disk space caching is enabled
[39026.917013] btrfs_dev_stat_inc_and_print: 100 callbacks suppressed
[39026.917016] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 1, rd 0, flush 0, corrupt 0, gen 0
[39026.917077] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 2, rd 0, flush 0, corrupt 0, gen 0
[39026.919245] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 3, rd 0, flush 0, corrupt 0, gen 0
[39026.919254] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 4, rd 0, flush 0, corrupt 0, gen 0
[39026.919633] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 5, rd 0, flush 0, corrupt 0, gen 0
[39026.919639] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 6, rd 0, flush 0, corrupt 0, gen 0
[39026.919743] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 7, rd 0, flush 0, corrupt 0, gen 0
[39026.919749] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 8, rd 0, flush 0, corrupt 0, gen 0
[39026.919780] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 9, rd 0, flush 0, corrupt 0, gen 0
[39026.919786] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 10, rd 0, flush 0, corrupt 0, gen 0
[39026.919880] BTRFS: error (device dm-11) in btrfs_commit_transaction:2496: errno=-5 IO failure (Error while writing out transaction)
[39026.920687] BTRFS info (device dm-11: state E): forced readonly
[39026.920692] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[39026.920695] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[39026.924306] BTRFS: error (device dm-11: state EA) in btrfs_add_link:6588: errno=-5 IO failure
[39026.924918] BTRFS: error (device dm-11: state EA) in btrfs_create_new_inode:6528: errno=-5 IO failure
[39026.932111] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[39027.606703] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[39027.606711] BTRFS info (device dm-11): use zstd compression, level 3
[39027.606714] BTRFS info (device dm-11): turning on async discard
[39027.606715] BTRFS info (device dm-11): disk space caching is enabled
[39028.646980] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[39028.646996] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[39028.647007] BTRFS error (device dm-11): error writing primary super block to device 1
[39028.647010] BTRFS: error (device dm-11) in write_all_supers:4342: errno=-5 IO failure (1 errors while writing supers)
[39028.647892] BTRFS info (device dm-11: state E): forced readonly
[39028.647897] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[39028.647900] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[39028.661514] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[39028.695052] BTRFS warning (device dm-11: state EA): direct IO failed ino 791 rw 0,0 sector 0x159b70 len 16384 err no 10
[39028.695168] BTRFS warning (device dm-11: state EA): direct IO failed ino 791 rw 0,0 sector 0x174ce8 len 16384 err no 10
[39028.698789] BTRFS warning (device dm-11: state EA): direct IO failed ino 260 rw 0,0 sector 0x181fa8 len 4096 err no 10
[39028.722342] BTRFS warning (device dm-11: state EA): direct IO failed ino 302 rw 0,0 sector 0x15c078 len 24576 err no 10
[39028.725155] BTRFS warning (device dm-11: state EA): direct IO failed ino 259 rw 0,0 sector 0x17c960 len 12288 err no 10
[39029.364461] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[39029.364469] BTRFS info (device dm-11): use zstd compression, level 3
[39029.364472] BTRFS info (device dm-11): turning on async discard
[39029.364474] BTRFS info (device dm-11): disk space caching is enabled
[39029.397508] ------------[ cut here ]------------
[39029.397592] WARNING: CPU: 0 PID: 1292397 at fs/btrfs/discard.c:604 btrfs_discard_update_discardable+0x98/0xb0
[39029.397605] 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
[39029.397718] CPU: 0 PID: 1292397 Comm: kworker/u4:5 Tainted: G        W         5.19.0-rc8+ #795
[39029.397722] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.13.0-2.fc32 04/01/2014
[39029.397728] Workqueue: btrfs-cache btrfs_work_helper
[39029.397738] RIP: 0010:btrfs_discard_update_discardable+0x98/0xb0
[39029.397742] 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
[39029.397746] RSP: 0018:ffffbd1d47227ad0 EFLAGS: 00010246
[39029.397751] RAX: 0000000000000000 RBX: ffff990359fdfa00 RCX: 0000000000000001
[39029.397754] RDX: 0000000000000000 RSI: ffffffff89807c5b RDI: ffffffff898a831e
[39029.397756] RBP: ffff990340f30000 R08: 0000000000000000 R09: 0000000000001000
[39029.397759] R10: ffff990396accc48 R11: 0000000000a0b200 R12: ffff99035688d010
[39029.397762] R13: ffff9903435dd890 R14: ffff990340f30000 R15: ffff99034292ea10
[39029.397765] FS:  0000000000000000(0000) GS:ffff9903bbc00000(0000) knlGS:0000000000000000
[39029.397768] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[39029.397770] CR2: 00007fc0691e9300 CR3: 0000000143380003 CR4: 0000000000370ef0
[39029.397777] Call Trace:
[39029.397780]  
[39029.397786]  __btrfs_remove_free_space_cache+0x27/0x30
[39029.397792]  load_free_space_cache+0xad2/0xaf0
[39029.397893]  caching_thread+0x40b/0x650
[39029.397908]  ? lock_release+0x137/0x2d0
[39029.397921]  btrfs_work_helper+0xf2/0x3e0
[39029.397925]  ? lock_is_held_type+0xe2/0x140
[39029.397937]  process_one_work+0x271/0x590
[39029.397954]  worker_thread+0x52/0x3b0
[39029.397963]  ? process_one_work+0x590/0x590
[39029.397967]  kthread+0xf0/0x120
[39029.397971]  ? kthread_complete_and_exit+0x20/0x20
[39029.397979]  ret_from_fork+0x1f/0x30
[39029.398003]  
[39029.398010] irq event stamp: 5713715
[39029.398012] hardirqs last  enabled at (5713721): [] __up_console_sem+0x5e/0x70
[39029.398017] hardirqs last disabled at (5713726): [] __up_console_sem+0x43/0x70
[39029.398021] softirqs last  enabled at (5713648): [] __irq_exit_rcu+0xeb/0x160
[39029.398025] softirqs last disabled at (5713639): [] __irq_exit_rcu+0xeb/0x160
[39029.398036] ---[ end trace 0000000000000000 ]---
[39029.398040] BTRFS warning (device dm-11): block group 298844160 has wrong amount of free space
[39029.398061] BTRFS warning (device dm-11): failed to load free space cache for block group 298844160, rebuilding it now
[39030.399667] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[39030.399685] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[39030.399694] BTRFS error (device dm-11): error writing primary super block to device 1
[39030.399699] BTRFS: error (device dm-11) in write_all_supers:4342: errno=-5 IO failure (1 errors while writing supers)
[39030.400661] BTRFS info (device dm-11: state E): forced readonly
[39030.400667] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[39030.400680] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[39030.406290] BTRFS warning (device dm-11: state EA): Skipping commit of aborted transaction.
[39030.406301] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[39030.413108] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[39030.436397] BTRFS warning (device dm-11: state EA): direct IO failed ino 954 rw 0,0 sector 0x196f98 len 65536 err no 10
[39030.437055] BTRFS warning (device dm-11: state EA): direct IO failed ino 947 rw 0,0 sector 0x161848 len 4096 err no 10
[39030.438280] BTRFS warning (device dm-11: state EA): direct IO failed ino 1007 rw 0,0 sector 0x1987a8 len 24576 err no 10
[39030.453073] BTRFS warning (device dm-11: state EA): direct IO failed ino 258 rw 0,0 sector 0x197ce8 len 32768 err no 10
[39030.457584] BTRFS warning (device dm-11: state EA): direct IO failed ino 954 rw 0,0 sector 0x18b6f8 len 20480 err no 10
[39030.463105] BTRFS warning (device dm-11: state EA): direct IO failed ino 258 rw 0,0 sector 0x188ad8 len 24576 err no 10
[39030.463209] BTRFS warning (device dm-11: state EA): direct IO failed ino 261 rw 0,0 sector 0x1895a0 len 86016 err no 10
[39030.872208] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[39030.872217] BTRFS info (device dm-11): use zstd compression, level 3
[39030.872220] BTRFS info (device dm-11): turning on async discard
[39030.872222] BTRFS info (device dm-11): disk space caching is enabled
[39033.054505] btrfs_dev_stat_inc_and_print: 47 callbacks suppressed
[39033.054508] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 1, rd 0, flush 0, corrupt 0, gen 0
[39033.054517] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 2, rd 0, flush 0, corrupt 0, gen 0
[39033.054539] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 3, rd 0, flush 0, corrupt 0, gen 0
[39033.054544] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 4, rd 0, flush 0, corrupt 0, gen 0
[39033.054713] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 5, rd 0, flush 0, corrupt 0, gen 0
[39033.054717] BTRFS warning (device dm-11): direct IO failed ino 1077 rw 1,34817 sector 0x1bcc40 len 94208 err no 10
[39033.054738] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 6, rd 0, flush 0, corrupt 0, gen 0
[39033.054752] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 7, rd 0, flush 0, corrupt 0, gen 0
[39033.054758] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 8, rd 0, flush 0, corrupt 0, gen 0
[39033.054766] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 9, rd 0, flush 0, corrupt 0, gen 0
[39033.054771] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 10, rd 0, flush 0, corrupt 0, gen 0
[39033.056238] BTRFS: error (device dm-11) in btrfs_commit_transaction:2496: errno=-5 IO failure (Error while writing out transaction)
[39033.057108] BTRFS info (device dm-11: state E): forced readonly
[39033.057114] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[39033.057118] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[39033.073404] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[39033.778850] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[39033.778858] BTRFS info (device dm-11): use zstd compression, level 3
[39033.778861] BTRFS info (device dm-11): turning on async discard
[39033.778863] BTRFS info (device dm-11): disk space caching is enabled
[39034.827265] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[39034.827292] BTRFS error (device dm-11): error writing primary super block to device 1
[39034.827297] BTRFS: error (device dm-11) in write_all_supers:4342: errno=-5 IO failure (1 errors while writing supers)
[39034.828187] BTRFS info (device dm-11: state E): forced readonly
[39034.828193] BTRFS: error (device dm-11: state EA) in btrfs_sync_log:3203: errno=-5 IO failure
[39034.830316] BTRFS warning (device dm-11: state EA): Skipping commit of aborted transaction.
[39034.830323] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[39034.841728] BTRFS warning (device dm-11: state EA): direct IO failed ino 1267 rw 0,0 sector 0x1ca700 len 4096 err no 10
[39034.842926] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[39034.855232] BTRFS warning (device dm-11: state EA): direct IO failed ino 258 rw 0,0 sector 0x1cd570 len 69632 err no 10
[39034.878962] BTRFS warning (device dm-11: state EA): direct IO failed ino 1288 rw 0,0 sector 0x1c7c88 len 4096 err no 10
[39034.879202] BTRFS warning (device dm-11: state EA): direct IO failed ino 258 rw 0,0 sector 0x1c25b0 len 36864 err no 10
[39034.883675] BTRFS warning (device dm-11: state EA): direct IO failed ino 260 rw 0,0 sector 0x1cca20 len 16384 err no 10
[39035.518823] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[39035.518832] BTRFS info (device dm-11): use zstd compression, level 3
[39035.518835] BTRFS info (device dm-11): turning on async discard
[39035.518836] BTRFS info (device dm-11): disk space caching is enabled
[39035.575237] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[39035.595439] BTRFS: error (device dm-11: state A) in __btrfs_free_extent:3078: errno=-5 IO failure
[39035.596029] BTRFS info (device dm-11: state EA): forced readonly
[39035.596035] BTRFS: error (device dm-11: state EA) in btrfs_run_delayed_refs:2141: errno=-5 IO failure
[39036.167047] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[39036.167055] BTRFS info (device dm-11): use zstd compression, level 3
[39036.167058] BTRFS info (device dm-11): turning on async discard
[39036.167060] BTRFS info (device dm-11): disk space caching is enabled
[39038.220658] btrfs_dev_stat_inc_and_print: 60 callbacks suppressed
[39038.220663] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 1, rd 0, flush 0, corrupt 0, gen 0
[39038.220685] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 2, rd 0, flush 0, corrupt 0, gen 0
[39038.220689] BTRFS warning (device dm-11): direct IO failed ino 1373 rw 1,34817 sector 0x1f5480 len 8192 err no 10
[39038.220708] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 2, rd 1, flush 0, corrupt 0, gen 0
[39038.220715] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 2, rd 2, flush 0, corrupt 0, gen 0
[39038.220721] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 3, rd 2, flush 0, corrupt 0, gen 0
[39038.220748] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 4, rd 2, flush 0, corrupt 0, gen 0
[39038.220789] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 5, rd 2, flush 0, corrupt 0, gen 0
[39038.220805] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 6, rd 2, flush 0, corrupt 0, gen 0
[39038.220807] BTRFS warning (device dm-11): direct IO failed ino 280 rw 1,34817 sector 0x6a08 len 4096 err no 10
[39038.221464] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 6, rd 3, flush 0, corrupt 0, gen 0
[39038.223500] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 7, rd 3, flush 0, corrupt 0, gen 0
[39038.230549] BTRFS warning (device dm-11): direct IO failed ino 258 rw 1,34817 sector 0x1f55c0 len 102400 err no 10
[39038.236460] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[39038.237129] BTRFS warning (device dm-11): direct IO failed ino 1450 rw 1,34817 sector 0x1f55c0 len 40960 err no 10
[39038.241085] BTRFS warning (device dm-11): direct IO failed ino 257 rw 1,34817 sector 0x1f57c0 len 45056 err no 10
[39038.254218] BTRFS: error (device dm-11) in btrfs_commit_transaction:2496: errno=-5 IO failure (Error while writing out transaction)
[39038.254468] BTRFS warning (device dm-11): direct IO failed ino 1361 rw 1,34817 sector 0x1f57c0 len 40960 err no 10
[39038.255036] BTRFS info (device dm-11: state E): forced readonly
[39038.255041] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[39038.255045] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[39038.936890] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[39038.936898] BTRFS info (device dm-11): use zstd compression, level 3
[39038.936902] BTRFS info (device dm-11): turning on async discard
[39038.936903] BTRFS info (device dm-11): disk space caching is enabled
[39039.989848] BTRFS warning (device dm-11): direct IO failed ino 1508 rw 1,34817 sector 0x208ac0 len 122880 err no 10
[39039.989874] BTRFS warning (device dm-11): direct IO failed ino 1526 rw 1,34817 sector 0x208bb0 len 126976 err no 10
[39039.990384] BTRFS: error (device dm-11) in btrfs_commit_transaction:2496: errno=-5 IO failure (Error while writing out transaction)
[39039.990600] BTRFS warning (device dm-11): direct IO failed ino 1509 rw 1,34817 sector 0x209298 len 12288 err no 10
[39039.991370] BTRFS info (device dm-11: state E): forced readonly
[39039.991375] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[39039.991397] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[39040.013794] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[39040.658899] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[39040.658915] BTRFS info (device dm-11): use zstd compression, level 3
[39040.658920] BTRFS info (device dm-11): turning on async discard
[39040.658921] BTRFS info (device dm-11): disk space caching is enabled
[39040.663371] BTRFS info (device dm-11): start tree-log replay
[39041.768411] BTRFS: error (device dm-11) in btrfs_commit_transaction:2496: errno=-5 IO failure (Error while writing out transaction)
[39041.769154] BTRFS info (device dm-11: state E): forced readonly
[39041.769159] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[39041.769162] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[39041.781345] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[39042.425698] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[39042.425707] BTRFS info (device dm-11): use zstd compression, level 3
[39042.425737] BTRFS info (device dm-11): turning on async discard
[39042.425739] BTRFS info (device dm-11): disk space caching is enabled
[39042.461662] BTRFS info (device dm-11): the free space cache file (298844160) is invalid, skip it
[39042.462424] BTRFS warning (device dm-11): direct IO failed ino 1706 rw 1,34817 sector 0x113908 len 61440 err no 10
[39042.469297] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[39042.479231] BTRFS warning (device dm-11): direct IO failed ino 1706 rw 1,34817 sector 0x312800 len 81920 err no 10
[39042.479735] BTRFS warning (device dm-11): direct IO failed ino 1706 rw 1,34817 sector 0x312800 len 8192 err no 10
[39042.492071] BTRFS: error (device dm-11: state A) in do_free_extent_accounting:2848: errno=-5 IO failure
[39042.492691] BTRFS info (device dm-11: state EA): forced readonly
[39042.492696] BTRFS: error (device dm-11: state EA) in btrfs_run_delayed_refs:2141: errno=-5 IO failure
[39043.050134] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[39043.050142] BTRFS info (device dm-11): use zstd compression, level 3
[39043.050163] BTRFS info (device dm-11): turning on async discard
[39043.050165] BTRFS info (device dm-11): disk space caching is enabled
[39043.081433] BTRFS info (device dm-11): the free space cache file (298844160) is invalid, skip it
[39045.093805] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[39045.093811] btrfs_dev_stat_inc_and_print: 156 callbacks suppressed
[39045.093813] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 1, rd 0, flush 0, corrupt 0, gen 0
[39045.093825] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[39045.093827] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 2, rd 0, flush 0, corrupt 0, gen 0
[39045.093837] BTRFS error (device dm-11): error writing primary super block to device 1
[39045.093840] BTRFS: error (device dm-11) in write_all_supers:4342: errno=-5 IO failure (1 errors while writing supers)
[39045.094508] BTRFS info (device dm-11: state E): forced readonly
[39045.094512] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[39045.094523] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[39045.096783] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 2, rd 1, flush 0, corrupt 0, gen 0
[39045.096799] BTRFS warning (device dm-11: state EA): direct IO failed ino 1710 rw 0,0 sector 0x227dd8 len 36864 err no 10
[39045.097245] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 3, rd 1, flush 0, corrupt 0, gen 0
[39045.099290] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 4, rd 1, flush 0, corrupt 0, gen 0
[39045.099496] BTRFS warning (device dm-11: state EA): Skipping commit of aborted transaction.
[39045.099562] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[39045.100284] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 5, rd 1, flush 0, corrupt 0, gen 0
[39045.101500] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 6, rd 1, flush 0, corrupt 0, gen 0
[39045.101851] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 7, rd 1, flush 0, corrupt 0, gen 0
[39045.102372] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 8, rd 1, flush 0, corrupt 0, gen 0
[39045.102425] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 9, rd 1, flush 0, corrupt 0, gen 0
[39045.111088] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[39045.843298] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[39045.843306] BTRFS info (device dm-11): use zstd compression, level 3
[39045.843310] BTRFS info (device dm-11): turning on async discard
[39045.843312] BTRFS info (device dm-11): disk space caching is enabled
[39046.886533] BTRFS warning (device dm-11): direct IO failed ino 1945 rw 1,34817 sector 0x2533a8 len 118784 err no 10
[39046.886613] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[39046.886624] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[39046.886762] BTRFS error (device dm-11): error writing primary super block to device 1
[39046.886767] BTRFS: error (device dm-11) in write_all_supers:4342: errno=-5 IO failure (1 errors while writing supers)
[39046.887567] BTRFS info (device dm-11: state E): forced readonly
[39046.887579] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[39046.887582] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[39046.888722] BTRFS warning (device dm-11: state EA): Skipping commit of aborted transaction.
[39046.888726] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[39046.889996] BTRFS: error (device dm-11: state EA) in btrfs_sync_log:3192: errno=-5 IO failure
[39046.890366] BTRFS warning (device dm-11: state EA): direct IO failed ino 258 rw 0,0 sector 0x247be0 len 28672 err no 10
[39046.906012] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[39047.586803] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[39047.586811] BTRFS info (device dm-11): use zstd compression, level 3
[39047.586815] BTRFS info (device dm-11): turning on async discard
[39047.586817] BTRFS info (device dm-11): disk space caching is enabled
[39047.620926] ------------[ cut here ]------------
[39047.621019] WARNING: CPU: 1 PID: 1307978 at fs/btrfs/discard.c:604 btrfs_discard_update_discardable+0x98/0xb0
[39047.621029] 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
[39047.621138] CPU: 1 PID: 1307978 Comm: kworker/u4:7 Tainted: G        W         5.19.0-rc8+ #795
[39047.621142] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.13.0-2.fc32 04/01/2014
[39047.621145] Workqueue: btrfs-cache btrfs_work_helper
[39047.621153] RIP: 0010:btrfs_discard_update_discardable+0x98/0xb0
[39047.621157] 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
[39047.621161] RSP: 0018:ffffbd1d4351fad0 EFLAGS: 00010246
[39047.621165] RAX: 0000000000000000 RBX: ffff99034ebc3a00 RCX: 0000000000000001
[39047.621168] RDX: 0000000000000000 RSI: ffffffff89807c5b RDI: ffffffff898a831e
[39047.621171] RBP: ffff99036a3a4000 R08: 0000000000000000 R09: 0000000000001000
[39047.621174] R10: ffff990282807aa8 R11: 0000000000a0ca00 R12: ffff99035688f810
[39047.621177] R13: ffff990343744f40 R14: ffff99036a3a4000 R15: ffff99034632c070
[39047.621180] FS:  0000000000000000(0000) GS:ffff9903bbd00000(0000) knlGS:0000000000000000
[39047.621183] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[39047.621186] CR2: 000000000171b000 CR3: 0000000120e8a001 CR4: 0000000000370ee0
[39047.621193] Call Trace:
[39047.621197]  
[39047.621203]  __btrfs_remove_free_space_cache+0x27/0x30
[39047.621210]  load_free_space_cache+0xad2/0xaf0
[39047.621287]  caching_thread+0x40b/0x650
[39047.621301]  ? lock_release+0x137/0x2d0
[39047.621314]  btrfs_work_helper+0xf2/0x3e0
[39047.621318]  ? lock_is_held_type+0xe2/0x140
[39047.621331]  process_one_work+0x271/0x590
[39047.621347]  ? process_one_work+0x590/0x590
[39047.621351]  worker_thread+0x52/0x3b0
[39047.621359]  ? process_one_work+0x590/0x590
[39047.621363]  kthread+0xf0/0x120
[39047.621367]  ? kthread_complete_and_exit+0x20/0x20
[39047.621375]  ret_from_fork+0x1f/0x30
[39047.621400]  
[39047.621402] irq event stamp: 3714001
[39047.621405] hardirqs last  enabled at (3714007): [] __up_console_sem+0x5e/0x70
[39047.621409] hardirqs last disabled at (3714012): [] __up_console_sem+0x43/0x70
[39047.621413] softirqs last  enabled at (3713428): [] __irq_exit_rcu+0xeb/0x160
[39047.621418] softirqs last disabled at (3713419): [] __irq_exit_rcu+0xeb/0x160
[39047.621421] ---[ end trace 0000000000000000 ]---
[39047.621425] BTRFS warning (device dm-11): block group 298844160 has wrong amount of free space
[39047.621447] BTRFS warning (device dm-11): failed to load free space cache for block group 298844160, rebuilding it now
[39048.632500] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[39048.632508] BTRFS error (device dm-11): error writing primary super block to device 1
[39048.632510] BTRFS: error (device dm-11) in write_all_supers:4342: errno=-5 IO failure (1 errors while writing supers)
[39048.633218] BTRFS info (device dm-11: state E): forced readonly
[39048.633247] BTRFS: error (device dm-11: state EA) in btrfs_sync_log:3203: errno=-5 IO failure
[39048.637488] BTRFS warning (device dm-11: state EA): direct IO failed ino 2043 rw 0,0 sector 0x266d90 len 8192 err no 10
[39048.639566] BTRFS warning (device dm-11: state EA): Skipping commit of aborted transaction.
[39048.639570] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[39048.640303] BTRFS warning (device dm-11: state EA): direct IO failed ino 2033 rw 0,0 sector 0x2568e8 len 57344 err no 10
[39048.644545] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[39048.646703] BTRFS warning (device dm-11: state EA): direct IO failed ino 1711 rw 0,0 sector 0x138b98 len 4096 err no 10
[39048.647176] BTRFS warning (device dm-11: state EA): direct IO failed ino 1711 rw 0,0 sector 0x25cc10 len 4096 err no 10
[39048.667961] BTRFS warning (device dm-11: state EA): direct IO failed ino 2019 rw 0,0 sector 0x25f288 len 36864 err no 10
[39048.685978] BTRFS warning (device dm-11: state EA): direct IO failed ino 2102 rw 0,0 sector 0x2532d8 len 4096 err no 10
[39048.686471] BTRFS warning (device dm-11: state EA): direct IO failed ino 2019 rw 0,0 sector 0x25f348 len 12288 err no 10
[39048.687614] BTRFS warning (device dm-11: state EA): direct IO failed ino 261 rw 0,0 sector 0x267e40 len 4096 err no 10
[39048.687939] BTRFS warning (device dm-11: state EA): direct IO failed ino 257 rw 0,0 sector 0x262680 len 65536 err no 10
[39048.688129] BTRFS warning (device dm-11: state EA): direct IO failed ino 2083 rw 0,0 sector 0x25daf8 len 4096 err no 10
[39048.691446] BTRFS warning (device dm-11: state EA): direct IO failed ino 2057 rw 0,0 sector 0x260940 len 4096 err no 10
[39048.693153] BTRFS warning (device dm-11: state EA): direct IO failed ino 1711 rw 0,0 sector 0x267718 len 16384 err no 10
[39049.340133] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[39049.340141] BTRFS info (device dm-11): use zstd compression, level 3
[39049.340144] BTRFS info (device dm-11): turning on async discard
[39049.340146] BTRFS info (device dm-11): disk space caching is enabled
[39050.370563] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[39050.370569] btrfs_dev_stat_inc_and_print: 40 callbacks suppressed
[39050.370571] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 1, rd 0, flush 0, corrupt 0, gen 0
[39050.370586] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[39050.370588] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 2, rd 0, flush 0, corrupt 0, gen 0
[39050.370597] BTRFS error (device dm-11): error writing primary super block to device 1
[39050.370602] BTRFS: error (device dm-11) in write_all_supers:4342: errno=-5 IO failure (1 errors while writing supers)
[39050.371330] BTRFS info (device dm-11: state E): forced readonly
[39050.371335] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[39050.371343] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[39050.372128] BTRFS warning (device dm-11: state EA): Skipping commit of aborted transaction.
[39050.372135] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[39050.376940] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 3, rd 0, flush 0, corrupt 0, gen 0
[39050.386889] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[39050.402396] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 3, rd 1, flush 0, corrupt 0, gen 0
[39050.402417] BTRFS warning (device dm-11: state EA): direct IO failed ino 2140 rw 0,0 sector 0x26d7e0 len 4096 err no 10
[39050.403949] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 3, rd 2, flush 0, corrupt 0, gen 0
[39050.403964] BTRFS warning (device dm-11: state EA): direct IO failed ino 2127 rw 0,0 sector 0x275e58 len 4096 err no 10
[39050.404861] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 3, rd 3, flush 0, corrupt 0, gen 0
[39050.405215] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 3, rd 4, flush 0, corrupt 0, gen 0
[39050.405433] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 3, rd 5, flush 0, corrupt 0, gen 0
[39050.405445] BTRFS warning (device dm-11: state EA): direct IO failed ino 2119 rw 0,0 sector 0x253d78 len 49152 err no 10
[39050.409255] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 3, rd 6, flush 0, corrupt 0, gen 0
[39050.409272] BTRFS warning (device dm-11: state EA): direct IO failed ino 272 rw 0,0 sector 0x2797b0 len 81920 err no 10
[39050.435168] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 3, rd 7, flush 0, corrupt 0, gen 0
[39051.098670] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[39051.098679] BTRFS info (device dm-11): use zstd compression, level 3
[39051.098682] BTRFS info (device dm-11): turning on async discard
[39051.098683] BTRFS info (device dm-11): disk space caching is enabled
[39051.103016] BTRFS info (device dm-11): start tree-log replay
[39053.263223] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[39053.263240] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[39053.263251] BTRFS error (device dm-11): error writing primary super block to device 1
[39053.263255] BTRFS: error (device dm-11) in write_all_supers:4342: errno=-5 IO failure (1 errors while writing supers)
[39053.263974] BTRFS info (device dm-11: state E): forced readonly
[39053.263980] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[39053.263991] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[39053.268205] BTRFS warning (device dm-11: state EA): Skipping commit of aborted transaction.
[39053.268215] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[39053.271004] BTRFS warning (device dm-11: state EA): direct IO failed ino 257 rw 0,0 sector 0x285960 len 12288 err no 10
[39053.272709] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[39053.273383] BTRFS warning (device dm-11: state EA): direct IO failed ino 262 rw 0,0 sector 0x288818 len 4096 err no 10
[39053.274426] BTRFS warning (device dm-11: state EA): direct IO failed ino 257 rw 0,0 sector 0x287268 len 102400 err no 10
[39053.275758] BTRFS warning (device dm-11: state EA): direct IO failed ino 2233 rw 0,0 sector 0x253b70 len 16384 err no 10
[39053.294339] BTRFS warning (device dm-11: state EA): direct IO failed ino 260 rw 0,0 sector 0x28a680 len 4096 err no 10
[39053.897096] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[39053.897104] BTRFS info (device dm-11): use zstd compression, level 3
[39053.897107] BTRFS info (device dm-11): turning on async discard
[39053.897109] BTRFS info (device dm-11): disk space caching is enabled
[39054.927096] BTRFS warning (device dm-11): direct IO failed ino 257 rw 1,34817 sector 0x28ad90 len 69632 err no 10
[39054.927123] BTRFS warning (device dm-11): direct IO failed ino 2263 rw 1,34817 sector 0x28ae18 len 32768 err no 10
[39054.928235] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[39054.928241] BTRFS error (device dm-11): error writing primary super block to device 1
[39054.928244] BTRFS: error (device dm-11) in write_all_supers:4342: errno=-5 IO failure (1 errors while writing supers)
[39054.928880] BTRFS info (device dm-11: state E): forced readonly
[39054.928885] BTRFS: error (device dm-11: state EA) in btrfs_sync_log:3203: errno=-5 IO failure
[39054.935101] BTRFS warning (device dm-11: state EA): direct IO failed ino 2260 rw 0,0 sector 0x28ace8 len 40960 err no 10
[39054.941254] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[39054.959025] BTRFS warning (device dm-11: state EA): direct IO failed ino 2260 rw 0,0 sector 0x28acb8 len 73728 err no 10
[39054.960803] BTRFS warning (device dm-11: state EA): direct IO failed ino 2253 rw 0,0 sector 0x28a468 len 86016 err no 10
[39055.545059] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[39055.545066] BTRFS info (device dm-11): use zstd compression, level 3
[39055.545069] BTRFS info (device dm-11): turning on async discard
[39055.545071] BTRFS info (device dm-11): disk space caching is enabled
[39056.573489] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[39056.573496] btrfs_dev_stat_inc_and_print: 32 callbacks suppressed
[39056.573498] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 1, rd 0, flush 0, corrupt 0, gen 0
[39056.573509] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[39056.573512] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 2, rd 0, flush 0, corrupt 0, gen 0
[39056.573522] BTRFS error (device dm-11): error writing primary super block to device 1
[39056.573525] BTRFS: error (device dm-11) in write_all_supers:4342: errno=-5 IO failure (1 errors while writing supers)
[39056.574503] BTRFS info (device dm-11: state E): forced readonly
[39056.574509] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[39056.574517] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[39056.575730] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 3, rd 0, flush 0, corrupt 0, gen 0
[39056.575856] BTRFS warning (device dm-11: state EA): Skipping commit of aborted transaction.
[39056.575861] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[39056.577275] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 4, rd 0, flush 0, corrupt 0, gen 0
[39056.578173] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 5, rd 0, flush 0, corrupt 0, gen 0
[39056.578324] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 6, rd 0, flush 0, corrupt 0, gen 0
[39056.578842] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 7, rd 0, flush 0, corrupt 0, gen 0
[39056.578897] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 8, rd 0, flush 0, corrupt 0, gen 0
[39056.579712] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 9, rd 0, flush 0, corrupt 0, gen 0
[39056.580040] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 10, rd 0, flush 0, corrupt 0, gen 0
[39056.587795] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[39056.589924] BTRFS warning (device dm-11: state EA): direct IO failed ino 258 rw 0,0 sector 0x293688 len 40960 err no 10
[39056.605512] BTRFS warning (device dm-11: state EA): direct IO failed ino 266 rw 0,0 sector 0x295738 len 4096 err no 10
[39056.627684] BTRFS warning (device dm-11: state EA): direct IO failed ino 2285 rw 0,0 sector 0x290a70 len 49152 err no 10
[39056.628276] BTRFS warning (device dm-11: state EA): direct IO failed ino 257 rw 0,0 sector 0x28cc58 len 24576 err no 10
[39057.204114] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[39057.204122] BTRFS info (device dm-11): use zstd compression, level 3
[39057.204125] BTRFS info (device dm-11): turning on async discard
[39057.204127] BTRFS info (device dm-11): disk space caching is enabled
[39057.208573] BTRFS info (device dm-11): start tree-log replay
[39059.309640] BTRFS warning (device dm-11): direct IO failed ino 264 rw 1,34817 sector 0x2bc128 len 40960 err no 10
[39059.309660] BTRFS warning (device dm-11): direct IO failed ino 264 rw 1,34817 sector 0x2bc178 len 36864 err no 10
[39059.317293] BTRFS: error (device dm-11) in btrfs_commit_transaction:2496: errno=-5 IO failure (Error while writing out transaction)
[39059.318038] BTRFS info (device dm-11: state E): forced readonly
[39059.318043] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[39059.318047] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[39059.324182] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[39060.071829] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[39060.071836] BTRFS info (device dm-11): use zstd compression, level 3
[39060.071840] BTRFS info (device dm-11): turning on async discard
[39060.071841] BTRFS info (device dm-11): disk space caching is enabled
[39061.106993] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[39061.107008] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[39061.107019] BTRFS error (device dm-11): error writing primary super block to device 1
[39061.107021] BTRFS: error (device dm-11) in write_all_supers:4342: errno=-5 IO failure (1 errors while writing supers)
[39061.107724] BTRFS info (device dm-11: state E): forced readonly
[39061.107729] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[39061.107733] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[39061.124305] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[39061.157892] BTRFS warning (device dm-11: state EA): direct IO failed ino 2529 rw 0,0 sector 0x2bd3a8 len 4096 err no 10
[39061.160833] BTRFS warning (device dm-11: state EA): direct IO failed ino 2156 rw 0,0 sector 0x2c2840 len 24576 err no 10
[39061.165336] BTRFS warning (device dm-11: state EA): direct IO failed ino 2245 rw 0,0 sector 0x2c3bf0 len 16384 err no 10
[39061.849557] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[39061.849573] BTRFS info (device dm-11): use zstd compression, level 3
[39061.849579] BTRFS info (device dm-11): turning on async discard
[39061.849582] BTRFS info (device dm-11): disk space caching is enabled
[39061.894700] btrfs_dev_stat_inc_and_print: 42 callbacks suppressed
[39061.894705] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 0, rd 1, flush 0, corrupt 0, gen 0
[39061.895950] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 0, rd 2, flush 0, corrupt 0, gen 0
[39061.896074] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 0, rd 3, flush 0, corrupt 0, gen 0
[39061.896107] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 0, rd 4, flush 0, corrupt 0, gen 0
[39061.896292] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 0, rd 5, flush 0, corrupt 0, gen 0
[39061.896320] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 0, rd 6, flush 0, corrupt 0, gen 0
[39061.896390] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 0, rd 7, flush 0, corrupt 0, gen 0
[39061.896419] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 0, rd 8, flush 0, corrupt 0, gen 0
[39061.897146] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 0, rd 9, flush 0, corrupt 0, gen 0
[39061.897176] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 0, rd 10, flush 0, corrupt 0, gen 0
[39061.901024] BTRFS error (device dm-11): error reading free space cache
[39061.901048] BTRFS warning (device dm-11): failed to load free space cache for block group 298844160, rebuilding it now
[39061.902240] BTRFS warning (device dm-11): direct IO failed ino 2559 rw 1,34817 sector 0x113910 len 28672 err no 10
[39061.908036] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[39061.909025] BTRFS warning (device dm-11): direct IO failed ino 2559 rw 1,34817 sector 0x312b38 len 12288 err no 10
[39061.909798] BTRFS: error (device dm-11: state A) in btrfs_run_delayed_refs:2141: errno=-5 IO failure
[39061.910387] BTRFS info (device dm-11: state EA): forced readonly
[39062.557577] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[39062.557585] BTRFS info (device dm-11): use zstd compression, level 3
[39062.557588] BTRFS info (device dm-11): turning on async discard
[39062.557590] BTRFS info (device dm-11): disk space caching is enabled
[39063.598438] BTRFS: error (device dm-11) in btrfs_commit_transaction:2496: errno=-5 IO failure (Error while writing out transaction)
[39063.599191] BTRFS info (device dm-11: state E): forced readonly
[39063.599196] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[39063.599199] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[39063.608070] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[39064.279195] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[39064.279204] BTRFS info (device dm-11): use zstd compression, level 3
[39064.279207] BTRFS info (device dm-11): turning on async discard
[39064.279208] BTRFS info (device dm-11): disk space caching is enabled
[39066.333496] BTRFS: error (device dm-11) in btrfs_commit_transaction:2496: errno=-5 IO failure (Error while writing out transaction)
[39066.334245] BTRFS info (device dm-11: state E): forced readonly
[39066.334250] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[39066.334253] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[39066.339810] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[39067.068384] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[39067.068391] BTRFS info (device dm-11): use zstd compression, level 3
[39067.068394] BTRFS info (device dm-11): turning on async discard
[39067.068396] BTRFS info (device dm-11): disk space caching is enabled
[39067.073464] BTRFS info (device dm-11): start tree-log replay
[39068.177124] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[39068.177133] btrfs_dev_stat_inc_and_print: 54 callbacks suppressed
[39068.177135] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 1, rd 0, flush 0, corrupt 0, gen 0
[39068.177155] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[39068.177160] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 2, rd 0, flush 0, corrupt 0, gen 0
[39068.177167] BTRFS error (device dm-11): error writing primary super block to device 1
[39068.177171] BTRFS: error (device dm-11) in write_all_supers:4342: errno=-5 IO failure (1 errors while writing supers)
[39068.177896] BTRFS info (device dm-11: state E): forced readonly
[39068.177904] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[39068.177914] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[39068.178666] BTRFS warning (device dm-11: state EA): Skipping commit of aborted transaction.
[39068.178672] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[39068.188679] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[39068.207401] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 2, rd 1, flush 0, corrupt 0, gen 0
[39068.207421] BTRFS warning (device dm-11: state EA): direct IO failed ino 2949 rw 0,0 sector 0x3007f8 len 45056 err no 10
[39068.212292] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 2, rd 2, flush 0, corrupt 0, gen 0
[39068.212318] BTRFS warning (device dm-11: state EA): direct IO failed ino 2871 rw 0,0 sector 0x21b9b0 len 4096 err no 10
[39068.214926] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 2, rd 3, flush 0, corrupt 0, gen 0
[39068.214952] BTRFS warning (device dm-11: state EA): direct IO failed ino 265 rw 0,0 sector 0x224308 len 16384 err no 10
[39068.220712] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 2, rd 4, flush 0, corrupt 0, gen 0
[39068.220744] BTRFS warning (device dm-11: state EA): direct IO failed ino 271 rw 0,0 sector 0x300b10 len 4096 err no 10
[39068.234059] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 2, rd 5, flush 0, corrupt 0, gen 0
[39068.234089] BTRFS warning (device dm-11: state EA): direct IO failed ino 2927 rw 0,0 sector 0x1dccc8 len 32768 err no 10
[39068.238275] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 2, rd 6, flush 0, corrupt 0, gen 0
[39068.238308] BTRFS warning (device dm-11: state EA): direct IO failed ino 2927 rw 0,0 sector 0x1dcc28 len 16384 err no 10
[39068.238996] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 2, rd 7, flush 0, corrupt 0, gen 0
[39068.239020] BTRFS warning (device dm-11: state EA): direct IO failed ino 2941 rw 0,0 sector 0x25afe0 len 28672 err no 10
[39068.701976] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[39068.701988] BTRFS info (device dm-11): use zstd compression, level 3
[39068.701995] BTRFS info (device dm-11): turning on async discard
[39068.701997] BTRFS info (device dm-11): disk space caching is enabled
[39068.882757] ------------[ cut here ]------------
[39068.882847] WARNING: CPU: 1 PID: 1307981 at fs/btrfs/discard.c:604 btrfs_discard_update_discardable+0x98/0xb0
[39068.882856] 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
[39068.882962] CPU: 1 PID: 1307981 Comm: kworker/u4:10 Tainted: G        W         5.19.0-rc8+ #795
[39068.882966] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.13.0-2.fc32 04/01/2014
[39068.882969] Workqueue: btrfs-cache btrfs_work_helper
[39068.882976] RIP: 0010:btrfs_discard_update_discardable+0x98/0xb0
[39068.882980] 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
[39068.882984] RSP: 0018:ffffbd1d435d7ad0 EFLAGS: 00010246
[39068.882989] RAX: 0000000000000000 RBX: ffff990342b72c00 RCX: 0000000000000001
[39068.882991] RDX: 0000000000000000 RSI: ffffffff89807c5b RDI: ffffffff898a831e
[39068.882994] RBP: ffff990395738000 R08: 0000000000000000 R09: 0000000000001000
[39068.882997] R10: ffff990359c91358 R11: 0000000000a1fe00 R12: ffff990356889810
[39068.883000] R13: ffff990343494f40 R14: ffff990395738000 R15: ffff990342e54e70
[39068.883003] FS:  0000000000000000(0000) GS:ffff9903bbd00000(0000) knlGS:0000000000000000
[39068.883006] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[39068.883009] CR2: 00000000009cb090 CR3: 000000010ebd0005 CR4: 0000000000370ee0
[39068.883015] Call Trace:
[39068.883019]  
[39068.883026]  __btrfs_remove_free_space_cache+0x27/0x30
[39068.883050]  load_free_space_cache+0xad2/0xaf0
[39068.883134]  caching_thread+0x40b/0x650
[39068.883149]  ? lock_release+0x137/0x2d0
[39068.883164]  btrfs_work_helper+0xf2/0x3e0
[39068.883168]  ? lock_is_held_type+0xe2/0x140
[39068.883182]  process_one_work+0x271/0x590
[39068.883198]  ? process_one_work+0x590/0x590
[39068.883203]  worker_thread+0x52/0x3b0
[39068.883211]  ? process_one_work+0x590/0x590
[39068.883216]  kthread+0xf0/0x120
[39068.883220]  ? kthread_complete_and_exit+0x20/0x20
[39068.883229]  ret_from_fork+0x1f/0x30
[39068.883255]  
[39068.883258] irq event stamp: 3982361
[39068.883260] hardirqs last  enabled at (3982367): [] __up_console_sem+0x5e/0x70
[39068.883265] hardirqs last disabled at (3982372): [] __up_console_sem+0x43/0x70
[39068.883269] softirqs last  enabled at (3981792): [] __irq_exit_rcu+0xeb/0x160
[39068.883274] softirqs last disabled at (3981783): [] __irq_exit_rcu+0xeb/0x160
[39068.883278] ---[ end trace 0000000000000000 ]---
[39068.883282] BTRFS warning (device dm-11): block group 298844160 has wrong amount of free space
[39068.883306] BTRFS warning (device dm-11): failed to load free space cache for block group 298844160, rebuilding it now
[39069.893054] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 1, rd 0, flush 0, corrupt 0, gen 0
[39069.895095] BTRFS: error (device dm-11) in btrfs_commit_transaction:2496: errno=-5 IO failure (Error while writing out transaction)
[39069.895841] BTRFS info (device dm-11: state E): forced readonly
[39069.895846] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[39069.895849] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[39069.905700] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[39070.575217] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[39070.575225] BTRFS info (device dm-11): use zstd compression, level 3
[39070.575228] BTRFS info (device dm-11): turning on async discard
[39070.575230] BTRFS info (device dm-11): disk space caching is enabled
[39071.615821] BTRFS warning (device dm-11): direct IO failed ino 257 rw 1,34817 sector 0x2202b0 len 81920 err no 10
[39071.620140] BTRFS: error (device dm-11) in btrfs_commit_transaction:2496: errno=-5 IO failure (Error while writing out transaction)
[39071.620915] BTRFS info (device dm-11: state E): forced readonly
[39071.620921] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[39071.620925] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[39071.626519] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[39072.261798] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[39072.261807] BTRFS info (device dm-11): use zstd compression, level 3
[39072.261810] BTRFS info (device dm-11): turning on async discard
[39072.261812] BTRFS info (device dm-11): disk space caching is enabled
[39072.301986] BTRFS error (device dm-11): error reading free space cache
[39072.302003] BTRFS warning (device dm-11): failed to load free space cache for block group 298844160, rebuilding it now
[39072.302946] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[39072.347043] BTRFS: error (device dm-11: state A) in __btrfs_free_extent:3078: errno=-5 IO failure
[39072.347682] BTRFS info (device dm-11: state EA): forced readonly
[39072.347689] BTRFS: error (device dm-11: state EA) in btrfs_run_delayed_refs:2141: errno=-5 IO failure
[39072.866326] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[39072.866334] BTRFS info (device dm-11): use zstd compression, level 3
[39072.866337] BTRFS info (device dm-11): turning on async discard
[39072.866339] BTRFS info (device dm-11): disk space caching is enabled
[39072.903505] BTRFS error (device dm-11): error reading free space cache
[39072.903523] BTRFS warning (device dm-11): failed to load free space cache for block group 298844160, rebuilding it now
[39072.913235] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[39072.921574] BTRFS warning (device dm-11): direct IO failed ino 3074 rw 1,34817 sector 0x312930 len 86016 err no 10
[39072.922089] BTRFS warning (device dm-11): direct IO failed ino 3073 rw 1,34817 sector 0x312930 len 94208 err no 10
[39072.944091] BTRFS warning (device dm-11): direct IO failed ino 3074 rw 1,34817 sector 0x313060 len 57344 err no 10
[39072.946887] BTRFS warning (device dm-11): direct IO failed ino 3074 rw 1,34817 sector 0x313060 len 69632 err no 10
[39072.953154] BTRFS: error (device dm-11: state A) in __btrfs_free_extent:3078: errno=-5 IO failure
[39072.953903] BTRFS info (device dm-11: state EA): forced readonly
[39072.953908] BTRFS: error (device dm-11: state EA) in btrfs_run_delayed_refs:2141: errno=-5 IO failure
[39073.505255] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[39073.505263] BTRFS info (device dm-11): use zstd compression, level 3
[39073.505266] BTRFS info (device dm-11): turning on async discard
[39073.505268] BTRFS info (device dm-11): disk space caching is enabled
[39075.554798] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[39075.554805] btrfs_dev_stat_inc_and_print: 136 callbacks suppressed
[39075.554806] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 1, rd 0, flush 0, corrupt 0, gen 0
[39075.554817] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[39075.554819] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 2, rd 0, flush 0, corrupt 0, gen 0
[39075.554829] BTRFS error (device dm-11): error writing primary super block to device 1
[39075.554831] BTRFS: error (device dm-11) in write_all_supers:4342: errno=-5 IO failure (1 errors while writing supers)
[39075.555538] BTRFS info (device dm-11: state E): forced readonly
[39075.555548] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[39075.555554] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[39075.556594] BTRFS warning (device dm-11: state EA): Skipping commit of aborted transaction.
[39075.556604] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[39075.556746] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 2, rd 1, flush 0, corrupt 0, gen 0
[39075.557262] BTRFS warning (device dm-11: state EA): direct IO failed ino 3133 rw 0,0 sector 0x225318 len 16384 err no 10
[39075.560720] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 2, rd 2, flush 0, corrupt 0, gen 0
[39075.560739] BTRFS warning (device dm-11: state EA): direct IO failed ino 3143 rw 0,0 sector 0x223878 len 45056 err no 10
[39075.561600] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 2, rd 3, flush 0, corrupt 0, gen 0
[39075.561615] BTRFS warning (device dm-11: state EA): direct IO failed ino 3112 rw 0,0 sector 0x19ba90 len 4096 err no 10
[39075.563545] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 3, rd 3, flush 0, corrupt 0, gen 0
[39075.564219] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 4, rd 3, flush 0, corrupt 0, gen 0
[39075.564657] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 5, rd 3, flush 0, corrupt 0, gen 0
[39075.564856] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 5, rd 4, flush 0, corrupt 0, gen 0
[39075.564871] BTRFS warning (device dm-11: state EA): direct IO failed ino 3081 rw 0,0 sector 0x253670 len 8192 err no 10
[39075.564970] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 6, rd 4, flush 0, corrupt 0, gen 0
[39075.568972] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[39075.603131] BTRFS warning (device dm-11: state EA): direct IO failed ino 3149 rw 0,0 sector 0x222980 len 8192 err no 10
[39075.605727] BTRFS warning (device dm-11: state EA): direct IO failed ino 264 rw 0,0 sector 0x2a44c0 len 24576 err no 10
[39075.630802] BTRFS warning (device dm-11: state EA): direct IO failed ino 1712 rw 0,0 sector 0x1e8d20 len 12288 err no 10
[39075.631069] BTRFS warning (device dm-11: state EA): direct IO failed ino 3079 rw 0,0 sector 0x1dc970 len 12288 err no 10
[39076.284809] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[39076.284817] BTRFS info (device dm-11): use zstd compression, level 3
[39076.284820] BTRFS info (device dm-11): turning on async discard
[39076.284822] BTRFS info (device dm-11): disk space caching is enabled
[39077.336415] BTRFS: error (device dm-11) in btrfs_commit_transaction:2496: errno=-5 IO failure (Error while writing out transaction)
[39077.337232] BTRFS info (device dm-11: state E): forced readonly
[39077.337237] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[39077.337241] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[39077.343333] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[39078.047527] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[39078.047535] BTRFS info (device dm-11): use zstd compression, level 3
[39078.047539] BTRFS info (device dm-11): turning on async discard
[39078.047541] BTRFS info (device dm-11): disk space caching is enabled
[39078.052237] BTRFS info (device dm-11): start tree-log replay
[39080.181834] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[39080.181851] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[39080.182099] BTRFS error (device dm-11): error writing primary super block to device 1
[39080.182104] BTRFS: error (device dm-11) in write_all_supers:4342: errno=-5 IO failure (1 errors while writing supers)
[39080.182861] BTRFS info (device dm-11: state E): forced readonly
[39080.182867] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[39080.182874] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[39080.188785] BTRFS warning (device dm-11: state EA): Skipping commit of aborted transaction.
[39080.188807] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[39080.193717] BTRFS warning (device dm-11: state EA): direct IO failed ino 3345 rw 0,0 sector 0x2d71f0 len 45056 err no 10
[39080.197692] BTRFS warning (device dm-11: state EA): direct IO failed ino 3345 rw 0,0 sector 0x267358 len 53248 err no 10
[39080.199768] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[39080.220678] BTRFS warning (device dm-11: state EA): direct IO failed ino 3341 rw 0,0 sector 0x1ac318 len 77824 err no 10
[39080.229267] BTRFS warning (device dm-11: state EA): direct IO failed ino 3362 rw 0,0 sector 0x2a6000 len 49152 err no 10
[39080.235614] BTRFS warning (device dm-11: state EA): direct IO failed ino 262 rw 0,0 sector 0x1f2940 len 32768 err no 10
[39080.239287] BTRFS warning (device dm-11: state EA): direct IO failed ino 257 rw 0,0 sector 0x1ae6e0 len 45056 err no 10
[39080.906502] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[39080.906513] BTRFS info (device dm-11): use zstd compression, level 3
[39080.906518] BTRFS info (device dm-11): turning on async discard
[39080.906521] BTRFS info (device dm-11): disk space caching is enabled
[39080.911263] BTRFS info (device dm-11): start tree-log replay
[39083.021711] btrfs_dev_stat_inc_and_print: 44 callbacks suppressed
[39083.021715] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 1, rd 0, flush 0, corrupt 0, gen 0
[39083.021774] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 2, rd 0, flush 0, corrupt 0, gen 0
[39083.024769] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 2, rd 1, flush 0, corrupt 0, gen 0
[39083.024788] BTRFS warning (device dm-11): direct IO failed ino 265 rw 0,0 sector 0x226ac8 len 4096 err no 10
[39083.026337] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 3, rd 1, flush 0, corrupt 0, gen 0
[39083.026347] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 4, rd 1, flush 0, corrupt 0, gen 0
[39083.026776] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 5, rd 1, flush 0, corrupt 0, gen 0
[39083.026783] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 6, rd 1, flush 0, corrupt 0, gen 0
[39083.026866] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 7, rd 1, flush 0, corrupt 0, gen 0
[39083.026873] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 8, rd 1, flush 0, corrupt 0, gen 0
[39083.027003] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 9, rd 1, flush 0, corrupt 0, gen 0
[39083.027048] BTRFS: error (device dm-11) in btrfs_commit_transaction:2496: errno=-5 IO failure (Error while writing out transaction)
[39083.027941] BTRFS info (device dm-11: state E): forced readonly
[39083.027947] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[39083.027951] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[39083.038376] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[39083.748638] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[39083.748648] BTRFS info (device dm-11): use zstd compression, level 3
[39083.748652] BTRFS info (device dm-11): turning on async discard
[39083.748655] BTRFS info (device dm-11): disk space caching is enabled
[39085.791120] BTRFS warning (device dm-11): direct IO failed ino 261 rw 1,34817 sector 0x2e4e50 len 36864 err no 10
[39085.792354] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[39085.792362] BTRFS error (device dm-11): error writing primary super block to device 1
[39085.792365] BTRFS: error (device dm-11) in write_all_supers:4342: errno=-5 IO failure (1 errors while writing supers)
[39085.793167] BTRFS info (device dm-11: state E): forced readonly
[39085.793173] BTRFS: error (device dm-11: state EA) in btrfs_sync_log:3203: errno=-5 IO failure
[39085.794776] BTRFS warning (device dm-11: state EA): direct IO failed ino 258 rw 0,0 sector 0x2dcb60 len 4096 err no 10
[39085.796737] BTRFS warning (device dm-11: state EA): Skipping commit of aborted transaction.
[39085.822451] BTRFS warning (device dm-11: state EA): direct IO failed ino 3798 rw 0,0 sector 0x2bf468 len 32768 err no 10
[39085.823484] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[39085.825045] BTRFS warning (device dm-11: state EA): direct IO failed ino 2867 rw 0,0 sector 0x2b3ac8 len 12288 err no 10
[39085.825812] BTRFS warning (device dm-11: state EA): direct IO failed ino 3745 rw 0,0 sector 0x1dd978 len 12288 err no 10
[39085.828209] BTRFS warning (device dm-11: state EA): direct IO failed ino 3841 rw 0,0 sector 0x26fcc0 len 53248 err no 10
[39085.851556] BTRFS warning (device dm-11: state EA): direct IO failed ino 259 rw 0,0 sector 0x262c18 len 8192 err no 10
[39085.877474] BTRFS warning (device dm-11: state EA): direct IO failed ino 3765 rw 0,0 sector 0x27e238 len 32768 err no 10
[39085.881170] BTRFS warning (device dm-11: state EA): direct IO failed ino 3785 rw 0,0 sector 0x264058 len 36864 err no 10
[39085.883357] BTRFS warning (device dm-11: state EA): direct IO failed ino 2332 rw 0,0 sector 0x1dd9e8 len 12288 err no 10
[39086.521110] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[39086.521118] BTRFS info (device dm-11): use zstd compression, level 3
[39086.521122] BTRFS info (device dm-11): turning on async discard
[39086.521123] BTRFS info (device dm-11): disk space caching is enabled
[39088.568251] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[39088.568257] btrfs_dev_stat_inc_and_print: 60 callbacks suppressed
[39088.568259] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 1, rd 0, flush 0, corrupt 0, gen 0
[39088.568275] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[39088.568278] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 2, rd 0, flush 0, corrupt 0, gen 0
[39088.568283] BTRFS error (device dm-11): error writing primary super block to device 1
[39088.568288] BTRFS: error (device dm-11) in write_all_supers:4342: errno=-5 IO failure (1 errors while writing supers)
[39088.569106] BTRFS info (device dm-11: state E): forced readonly
[39088.569112] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[39088.569117] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[39088.570111] BTRFS warning (device dm-11: state EA): Skipping commit of aborted transaction.
[39088.570114] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[39088.571992] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 2, rd 1, flush 0, corrupt 0, gen 0
[39088.572741] BTRFS warning (device dm-11: state EA): direct IO failed ino 3880 rw 0,0 sector 0x25c8c8 len 4096 err no 10
[39088.574479] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 2, rd 2, flush 0, corrupt 0, gen 0
[39088.574495] BTRFS warning (device dm-11: state EA): direct IO failed ino 3907 rw 0,0 sector 0x171f58 len 8192 err no 10
[39088.580855] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[39088.617351] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 2, rd 3, flush 0, corrupt 0, gen 0
[39088.617375] BTRFS warning (device dm-11: state EA): direct IO failed ino 257 rw 0,0 sector 0x213d18 len 4096 err no 10
[39088.617552] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 2, rd 4, flush 0, corrupt 0, gen 0
[39088.617572] BTRFS warning (device dm-11: state EA): direct IO failed ino 269 rw 0,0 sector 0x1721c0 len 28672 err no 10
[39089.264511] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[39089.264519] BTRFS info (device dm-11): use zstd compression, level 3
[39089.264523] BTRFS info (device dm-11): turning on async discard
[39089.264525] BTRFS info (device dm-11): disk space caching is enabled
[39089.308162] ------------[ cut here ]------------
[39089.308243] WARNING: CPU: 1 PID: 1292397 at fs/btrfs/discard.c:604 btrfs_discard_update_discardable+0x98/0xb0
[39089.308249] 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
[39089.308310] CPU: 1 PID: 1292397 Comm: kworker/u4:5 Tainted: G        W         5.19.0-rc8+ #795
[39089.308312] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.13.0-2.fc32 04/01/2014
[39089.308314] Workqueue: btrfs-cache btrfs_work_helper
[39089.308319] RIP: 0010:btrfs_discard_update_discardable+0x98/0xb0
[39089.308322] 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
[39089.308324] RSP: 0018:ffffbd1d47227ad0 EFLAGS: 00010246
[39089.308327] RAX: 0000000000000000 RBX: ffff990342b3e600 RCX: 0000000000000001
[39089.308329] RDX: 0000000000000000 RSI: ffffffff89807c5b RDI: ffffffff898a831e
[39089.308330] RBP: ffff9903490bc000 R08: 0000000000000000 R09: 0000000000001000
[39089.308332] R10: ffff990244ea1150 R11: 0000000000a22900 R12: ffff99034604a810
[39089.308333] R13: ffff990341fcbca0 R14: ffff9903490bc000 R15: ffff99034501eaf0
[39089.308335] FS:  0000000000000000(0000) GS:ffff9903bbd00000(0000) knlGS:0000000000000000
[39089.308337] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[39089.308339] CR2: 00000000017ef000 CR3: 000000011665a005 CR4: 0000000000370ee0
[39089.308342] Call Trace:
[39089.308344]  
[39089.308349]  __btrfs_remove_free_space_cache+0x27/0x30
[39089.308353]  load_free_space_cache+0xad2/0xaf0
[39089.308392]  caching_thread+0x40b/0x650
[39089.308408]  ? lock_release+0x137/0x2d0
[39089.308415]  btrfs_work_helper+0xf2/0x3e0
[39089.308418]  ? lock_is_held_type+0xe2/0x140
[39089.308425]  process_one_work+0x271/0x590
[39089.308435]  worker_thread+0x52/0x3b0
[39089.308441]  ? process_one_work+0x590/0x590
[39089.308445]  kthread+0xf0/0x120
[39089.308448]  ? kthread_complete_and_exit+0x20/0x20
[39089.308455]  ret_from_fork+0x1f/0x30
[39089.308470]  
[39089.308471] irq event stamp: 6046579
[39089.308472] hardirqs last  enabled at (6046585): [] __up_console_sem+0x5e/0x70
[39089.308475] hardirqs last disabled at (6046590): [] __up_console_sem+0x43/0x70
[39089.308478] softirqs last  enabled at (6045300): [] __irq_exit_rcu+0xeb/0x160
[39089.308481] softirqs last disabled at (6045293): [] __irq_exit_rcu+0xeb/0x160
[39089.308483] ---[ end trace 0000000000000000 ]---
[39089.308486] BTRFS warning (device dm-11): block group 298844160 has wrong amount of free space
[39089.308502] BTRFS warning (device dm-11): failed to load free space cache for block group 298844160, rebuilding it now
[39090.306437] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 1, rd 0, flush 0, corrupt 0, gen 0
[39090.306524] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 2, rd 0, flush 0, corrupt 0, gen 0
[39090.308124] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 3, rd 0, flush 0, corrupt 0, gen 0
[39090.308926] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 4, rd 0, flush 0, corrupt 0, gen 0
[39090.311108] BTRFS: error (device dm-11) in btrfs_commit_transaction:2496: errno=-5 IO failure (Error while writing out transaction)
[39090.312631] BTRFS info (device dm-11: state E): forced readonly
[39090.312638] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[39090.312642] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[39090.315171] BTRFS warning (device dm-11: state EA): direct IO failed ino 258 rw 0,0 sector 0x2bcf50 len 98304 err no 10
[39090.316191] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[39090.317464] BTRFS warning (device dm-11: state EA): direct IO failed ino 258 rw 0,0 sector 0x1b9f88 len 4096 err no 10
[39090.318030] BTRFS warning (device dm-11: state EA): direct IO failed ino 257 rw 0,0 sector 0x2e7760 len 36864 err no 10
[39090.318319] BTRFS warning (device dm-11: state EA): direct IO failed ino 258 rw 0,0 sector 0x26b080 len 12288 err no 10
[39090.321908] BTRFS warning (device dm-11: state EA): direct IO failed ino 258 rw 0,0 sector 0x1b9fe0 len 28672 err no 10
[39090.362238] BTRFS warning (device dm-11: state EA): direct IO failed ino 4011 rw 0,0 sector 0x25a5a0 len 4096 err no 10
[39090.983776] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[39090.983784] BTRFS info (device dm-11): use zstd compression, level 3
[39090.983787] BTRFS info (device dm-11): turning on async discard
[39090.983789] BTRFS info (device dm-11): disk space caching is enabled
[39091.029222] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[39091.050964] BTRFS: error (device dm-11: state A) in __btrfs_free_extent:3078: errno=-5 IO failure
[39091.051580] BTRFS info (device dm-11: state EA): forced readonly
[39091.051586] BTRFS: error (device dm-11: state EA) in btrfs_run_delayed_refs:2141: errno=-5 IO failure
[39091.611134] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[39091.611142] BTRFS info (device dm-11): use zstd compression, level 3
[39091.611145] BTRFS info (device dm-11): turning on async discard
[39091.611147] BTRFS info (device dm-11): disk space caching is enabled
[39092.648863] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[39092.648879] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[39092.648888] BTRFS error (device dm-11): error writing primary super block to device 1
[39092.648893] BTRFS: error (device dm-11) in write_all_supers:4342: errno=-5 IO failure (1 errors while writing supers)
[39092.649498] BTRFS info (device dm-11: state E): forced readonly
[39092.649506] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[39092.649509] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[39092.652875] BTRFS warning (device dm-11: state EA): Skipping commit of aborted transaction.
[39092.652880] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[39092.655079] BTRFS: error (device dm-11: state EA) in btrfs_sync_log:3192: errno=-5 IO failure
[39092.663753] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[39092.676646] BTRFS warning (device dm-11: state EA): direct IO failed ino 4073 rw 0,0 sector 0x215270 len 4096 err no 10
[39092.708139] BTRFS warning (device dm-11: state EA): direct IO failed ino 3782 rw 0,0 sector 0x2f2450 len 8192 err no 10
[39092.709475] BTRFS warning (device dm-11: state EA): direct IO failed ino 3782 rw 0,0 sector 0x26e5e8 len 81920 err no 10
[39092.710644] BTRFS warning (device dm-11: state EA): direct IO failed ino 4047 rw 0,0 sector 0x1e1548 len 16384 err no 10
[39093.351237] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[39093.351245] BTRFS info (device dm-11): use zstd compression, level 3
[39093.351249] BTRFS info (device dm-11): turning on async discard
[39093.351251] BTRFS info (device dm-11): disk space caching is enabled
[39093.355662] BTRFS info (device dm-11): start tree-log replay
[39095.490523] btrfs_dev_stat_inc_and_print: 75 callbacks suppressed
[39095.490527] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 1, rd 0, flush 0, corrupt 0, gen 0
[39095.490577] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 2, rd 0, flush 0, corrupt 0, gen 0
[39095.493087] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 3, rd 0, flush 0, corrupt 0, gen 0
[39095.493093] BTRFS warning (device dm-11): direct IO failed ino 260 rw 1,34817 sector 0x2142a0 len 4096 err no 10
[39095.495448] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 4, rd 0, flush 0, corrupt 0, gen 0
[39095.496713] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 5, rd 0, flush 0, corrupt 0, gen 0
[39095.497890] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 6, rd 0, flush 0, corrupt 0, gen 0
[39095.498612] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 7, rd 0, flush 0, corrupt 0, gen 0
[39095.498620] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 8, rd 0, flush 0, corrupt 0, gen 0
[39095.498876] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 9, rd 0, flush 0, corrupt 0, gen 0
[39095.498882] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 10, rd 0, flush 0, corrupt 0, gen 0
[39095.501535] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[39095.503656] BTRFS: error (device dm-11) in btrfs_commit_transaction:2496: errno=-5 IO failure (Error while writing out transaction)
[39095.504667] BTRFS info (device dm-11: state E): forced readonly
[39095.504673] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[39095.504683] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[39095.510860] BTRFS warning (device dm-11: state EA): Skipping commit of aborted transaction.
[39095.510874] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[39095.550900] BTRFS warning (device dm-11: state EA): direct IO failed ino 4186 rw 0,0 sector 0x2d9e58 len 8192 err no 10
[39095.553096] BTRFS warning (device dm-11: state EA): direct IO failed ino 264 rw 0,0 sector 0x2d53b0 len 4096 err no 10
[39096.214847] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[39096.214856] BTRFS info (device dm-11): use zstd compression, level 3
[39096.214860] BTRFS info (device dm-11): turning on async discard
[39096.214862] BTRFS info (device dm-11): disk space caching is enabled
[39097.267126] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[39097.267192] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[39097.267337] BTRFS error (device dm-11): error writing primary super block to device 1
[39097.267341] BTRFS: error (device dm-11) in write_all_supers:4342: errno=-5 IO failure (1 errors while writing supers)
[39097.268272] BTRFS info (device dm-11: state E): forced readonly
[39097.268285] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[39097.268290] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[39097.276940] BTRFS warning (device dm-11: state EA): direct IO failed ino 275 rw 0,0 sector 0x25f0f8 len 4096 err no 10
[39097.279492] BTRFS: error (device dm-11: state EA) in btrfs_sync_log:3192: errno=-5 IO failure
[39097.282528] BTRFS warning (device dm-11: state EA): direct IO failed ino 258 rw 0,0 sector 0x2d32a8 len 4096 err no 10
[39097.289122] BTRFS warning (device dm-11: state EA): direct IO failed ino 4287 rw 0,0 sector 0x20aaf8 len 8192 err no 10
[39097.290649] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[39097.291630] BTRFS warning (device dm-11: state EA): direct IO failed ino 278 rw 0,0 sector 0x26c938 len 36864 err no 10
[39097.298743] BTRFS warning (device dm-11: state EA): direct IO failed ino 263 rw 0,0 sector 0x2e4320 len 32768 err no 10
[39097.304226] BTRFS warning (device dm-11: state EA): direct IO failed ino 258 rw 0,0 sector 0x2f6d40 len 49152 err no 10
[39097.307864] BTRFS warning (device dm-11: state EA): direct IO failed ino 4245 rw 0,0 sector 0x2d6028 len 8192 err no 10
[39097.307884] BTRFS warning (device dm-11: state EA): direct IO failed ino 4245 rw 0,0 sector 0x2e2210 len 53248 err no 10
[39097.309029] BTRFS warning (device dm-11: state EA): direct IO failed ino 257 rw 0,0 sector 0x2f0b68 len 65536 err no 10
[39097.310956] BTRFS warning (device dm-11: state EA): direct IO failed ino 257 rw 0,0 sector 0x2f0ba8 len 81920 err no 10
[39097.334922] BTRFS warning (device dm-11: state EA): direct IO failed ino 4249 rw 0,0 sector 0x261368 len 73728 err no 10
[39097.337354] BTRFS warning (device dm-11: state EA): direct IO failed ino 4273 rw 0,0 sector 0x272800 len 45056 err no 10
[39097.341485] BTRFS warning (device dm-11: state EA): direct IO failed ino 4247 rw 0,0 sector 0x2709d8 len 20480 err no 10
[39098.030814] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[39098.030822] BTRFS info (device dm-11): use zstd compression, level 3
[39098.030826] BTRFS info (device dm-11): turning on async discard
[39098.030828] BTRFS info (device dm-11): disk space caching is enabled
[39098.075067] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[39098.100768] BTRFS: error (device dm-11: state A) in __btrfs_free_extent:3078: errno=-5 IO failure
[39098.101621] BTRFS info (device dm-11: state EA): forced readonly
[39098.101627] BTRFS: error (device dm-11: state EA) in btrfs_run_delayed_refs:2141: errno=-5 IO failure
[39098.684327] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[39098.684335] BTRFS info (device dm-11): use zstd compression, level 3
[39098.684338] BTRFS info (device dm-11): turning on async discard
[39098.684340] BTRFS info (device dm-11): disk space caching is enabled
[39099.719234] BTRFS warning (device dm-11): direct IO failed ino 4313 rw 1,34817 sector 0x297130 len 28672 err no 10
[39099.719755] BTRFS warning (device dm-11): direct IO failed ino 3779 rw 1,34817 sector 0x2bba30 len 61440 err no 10
[39099.721023] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[39099.721068] BTRFS: error (device dm-11) in btrfs_commit_transaction:2496: errno=-5 IO failure (Error while writing out transaction)
[39099.722485] BTRFS info (device dm-11: state E): forced readonly
[39099.722492] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[39099.722497] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[39099.726646] BTRFS: error (device dm-11: state EA) in btrfs_start_dirty_block_groups:3051: errno=-5 IO failure
[39100.369559] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[39100.369567] BTRFS info (device dm-11): use zstd compression, level 3
[39100.369571] BTRFS info (device dm-11): turning on async discard
[39100.369573] BTRFS info (device dm-11): disk space caching is enabled
[39100.374619] BTRFS info (device dm-11): start tree-log replay
[39100.480250] BTRFS error (device dm-11): error loading props for ino 261 (root 5): -5
[39100.482715] BTRFS: error (device dm-11: state A) in __btrfs_free_extent:3078: errno=-5 IO failure
[39100.483445] BTRFS info (device dm-11: state EA): forced readonly
[39100.483451] BTRFS: error (device dm-11: state EA) in btrfs_run_delayed_refs:2141: errno=-5 IO failure
[39100.491647] btrfs_dev_stat_inc_and_print: 158 callbacks suppressed
[39100.491651] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 11, rd 46, flush 0, corrupt 0, gen 0
[39100.491820] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 11, rd 47, flush 0, corrupt 0, gen 0
[39100.491859] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 11, rd 48, flush 0, corrupt 0, gen 0
[39100.491878] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 11, rd 49, flush 0, corrupt 0, gen 0
[39100.492195] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[39100.504508] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 11, rd 50, flush 0, corrupt 0, gen 0
[39100.504554] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 11, rd 51, flush 0, corrupt 0, gen 0
[39100.504693] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 11, rd 52, flush 0, corrupt 0, gen 0
[39100.504731] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 11, rd 53, flush 0, corrupt 0, gen 0
[39100.504825] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 11, rd 54, flush 0, corrupt 0, gen 0
[39100.504867] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 11, rd 55, flush 0, corrupt 0, gen 0
[39101.065741] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[39101.065749] BTRFS info (device dm-11): use zstd compression, level 3
[39101.065752] BTRFS info (device dm-11): turning on async discard
[39101.065754] BTRFS info (device dm-11): disk space caching is enabled
[39103.112310] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[39103.112325] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[39103.112337] BTRFS error (device dm-11): error writing primary super block to device 1
[39103.112339] BTRFS: error (device dm-11) in write_all_supers:4342: errno=-5 IO failure (1 errors while writing supers)
[39103.113046] BTRFS info (device dm-11: state E): forced readonly
[39103.113051] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[39103.113054] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[39103.118806] BTRFS warning (device dm-11: state EA): Skipping commit of aborted transaction.
[39103.118817] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[39103.119689] BTRFS warning (device dm-11: state EA): direct IO failed ino 4417 rw 0,0 sector 0x2d7628 len 28672 err no 10
[39103.121313] BTRFS warning (device dm-11: state EA): direct IO failed ino 259 rw 0,0 sector 0x275dd8 len 40960 err no 10
[39103.130476] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[39103.143651] BTRFS warning (device dm-11: state EA): direct IO failed ino 4347 rw 0,0 sector 0x2b6738 len 53248 err no 10
[39103.144705] BTRFS warning (device dm-11: state EA): direct IO failed ino 261 rw 0,0 sector 0x2c0508 len 69632 err no 10
[39103.159899] BTRFS warning (device dm-11: state EA): direct IO failed ino 4417 rw 0,0 sector 0x2d7628 len 28672 err no 10
[39103.161261] BTRFS warning (device dm-11: state EA): direct IO failed ino 4417 rw 0,0 sector 0x2d7640 len 16384 err no 10
[39103.822906] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[39103.822914] BTRFS info (device dm-11): use zstd compression, level 3
[39103.822917] BTRFS info (device dm-11): turning on async discard
[39103.822919] BTRFS info (device dm-11): disk space caching is enabled
[39105.851306] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[39105.851313] btrfs_dev_stat_inc_and_print: 46 callbacks suppressed
[39105.851315] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 1, rd 0, flush 0, corrupt 0, gen 0
[39105.851327] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[39105.851330] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 2, rd 0, flush 0, corrupt 0, gen 0
[39105.851335] BTRFS error (device dm-11): error writing primary super block to device 1
[39105.851339] BTRFS: error (device dm-11) in write_all_supers:4342: errno=-5 IO failure (1 errors while writing supers)
[39105.851887] BTRFS info (device dm-11: state E): forced readonly
[39105.851901] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[39105.851904] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[39105.851923] BTRFS: error (device dm-11: state EA) in btrfs_sync_log:3192: errno=-5 IO failure
[39105.855732] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 3, rd 0, flush 0, corrupt 0, gen 0
[39105.856282] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 4, rd 0, flush 0, corrupt 0, gen 0
[39105.857596] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 5, rd 0, flush 0, corrupt 0, gen 0
[39105.858591] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 6, rd 0, flush 0, corrupt 0, gen 0
[39105.859018] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 7, rd 0, flush 0, corrupt 0, gen 0
[39105.859237] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 8, rd 0, flush 0, corrupt 0, gen 0
[39105.859803] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 9, rd 0, flush 0, corrupt 0, gen 0
[39105.859896] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 10, rd 0, flush 0, corrupt 0, gen 0
[39105.864635] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[39105.899347] BTRFS warning (device dm-11: state EA): direct IO failed ino 257 rw 0,0 sector 0x1b79e0 len 32768 err no 10
[39105.901622] BTRFS warning (device dm-11: state EA): direct IO failed ino 284 rw 0,0 sector 0x19d448 len 16384 err no 10
[39106.563364] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[39106.563374] BTRFS info (device dm-11): use zstd compression, level 3
[39106.563379] BTRFS info (device dm-11): turning on async discard
[39106.563381] BTRFS info (device dm-11): disk space caching is enabled
[39106.568984] BTRFS info (device dm-11): start tree-log replay
[39106.588399] ------------[ cut here ]------------
[39106.588515] WARNING: CPU: 1 PID: 1209392 at fs/btrfs/discard.c:604 btrfs_discard_update_discardable+0x98/0xb0
[39106.588522] 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
[39106.588611] CPU: 1 PID: 1209392 Comm: kworker/u4:12 Tainted: G        W         5.19.0-rc8+ #795
[39106.588614] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.13.0-2.fc32 04/01/2014
[39106.588616] Workqueue: btrfs-cache btrfs_work_helper
[39106.588621] RIP: 0010:btrfs_discard_update_discardable+0x98/0xb0
[39106.588624] 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
[39106.588626] RSP: 0018:ffffbd1d45817ad0 EFLAGS: 00010246
[39106.588629] RAX: 0000000000000000 RBX: ffff9903520cbc00 RCX: 0000000000000001
[39106.588631] RDX: 0000000000000000 RSI: ffffffff89807c5b RDI: ffffffff898a831e
[39106.588632] RBP: ffff990348ea4000 R08: 0000000000000000 R09: 0000000000001000
[39106.588634] R10: ffff9903b13c5700 R11: 0000000000a22300 R12: ffff9903703fd010
[39106.588635] R13: ffff990343496b30 R14: ffff990348ea4000 R15: ffff99034501e5b0
[39106.588637] FS:  0000000000000000(0000) GS:ffff9903bbd00000(0000) knlGS:0000000000000000
[39106.588639] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[39106.588641] CR2: 00007f38f757b718 CR3: 0000000114210001 CR4: 0000000000370ee0
[39106.588646] Call Trace:
[39106.588649]  
[39106.588653]  __btrfs_remove_free_space_cache+0x27/0x30
[39106.588658]  load_free_space_cache+0xad2/0xaf0
[39106.588699]  caching_thread+0x40b/0x650
[39106.588708]  ? lock_release+0x137/0x2d0
[39106.588716]  btrfs_work_helper+0xf2/0x3e0
[39106.588719]  ? lock_is_held_type+0xe2/0x140
[39106.588726]  process_one_work+0x271/0x590
[39106.588735]  ? process_one_work+0x590/0x590
[39106.588738]  worker_thread+0x52/0x3b0
[39106.588743]  ? process_one_work+0x590/0x590
[39106.588746]  kthread+0xf0/0x120
[39106.588749]  ? kthread_complete_and_exit+0x20/0x20
[39106.588754]  ret_from_fork+0x1f/0x30
[39106.588768]  
[39106.588769] irq event stamp: 15696251
[39106.588770] hardirqs last  enabled at (15696257): [] __up_console_sem+0x5e/0x70
[39106.588774] hardirqs last disabled at (15696262): [] __up_console_sem+0x43/0x70
[39106.588776] softirqs last  enabled at (15695648): [] __irq_exit_rcu+0xeb/0x160
[39106.588779] softirqs last disabled at (15695643): [] __irq_exit_rcu+0xeb/0x160
[39106.588781] ---[ end trace 0000000000000000 ]---
[39106.588785] BTRFS warning (device dm-11): block group 298844160 has wrong amount of free space
[39106.588802] BTRFS warning (device dm-11): failed to load free space cache for block group 298844160, rebuilding it now
[39108.707449] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[39108.707465] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[39108.707476] BTRFS error (device dm-11): error writing primary super block to device 1
[39108.707479] BTRFS: error (device dm-11) in write_all_supers:4342: errno=-5 IO failure (1 errors while writing supers)
[39108.708567] BTRFS info (device dm-11: state E): forced readonly
[39108.708575] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[39108.708591] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[39108.711104] BTRFS warning (device dm-11: state EA): Skipping commit of aborted transaction.
[39108.711110] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[39108.717069] BTRFS warning (device dm-11: state EA): direct IO failed ino 265 rw 0,0 sector 0x1c28c0 len 57344 err no 10
[39108.721388] BTRFS warning (device dm-11: state EA): direct IO failed ino 4500 rw 0,0 sector 0x283cd8 len 20480 err no 10
[39108.723459] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[39108.759992] BTRFS warning (device dm-11: state EA): direct IO failed ino 257 rw 0,0 sector 0x1c99a0 len 90112 err no 10
[39109.420733] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[39109.420741] BTRFS info (device dm-11): use zstd compression, level 3
[39109.420745] BTRFS info (device dm-11): turning on async discard
[39109.420746] BTRFS info (device dm-11): disk space caching is enabled
[39109.427118] BTRFS info (device dm-11): start tree-log replay
[39109.574251] ------------[ cut here ]------------
[39109.574325] WARNING: CPU: 1 PID: 1307982 at fs/btrfs/discard.c:604 btrfs_discard_update_discardable+0x98/0xb0
[39109.574332] 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
[39109.574397] CPU: 1 PID: 1307982 Comm: kworker/u4:11 Tainted: G        W         5.19.0-rc8+ #795
[39109.574399] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.13.0-2.fc32 04/01/2014
[39109.574401] Workqueue: btrfs-cache btrfs_work_helper
[39109.574406] RIP: 0010:btrfs_discard_update_discardable+0x98/0xb0
[39109.574409] 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
[39109.574411] RSP: 0000:ffffbd1d435dfad0 EFLAGS: 00010246
[39109.574414] RAX: 0000000000000000 RBX: ffff9903428c6c00 RCX: 0000000000000001
[39109.574416] RDX: 0000000000000000 RSI: ffffffff89807c5b RDI: ffffffff898a831e
[39109.574417] RBP: ffff990348680000 R08: 0000000000000000 R09: 0000000000000000
[39109.574419] R10: ffff99035b9fa428 R11: 0000000000000001 R12: ffff9903703fd810
[39109.574420] R13: ffff990355f0bca0 R14: ffff990348680000 R15: ffff990361859e70
[39109.574422] FS:  0000000000000000(0000) GS:ffff9903bbd00000(0000) knlGS:0000000000000000
[39109.574424] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[39109.574425] CR2: 00007f0ef6de7000 CR3: 00000001121ca005 CR4: 0000000000370ee0
[39109.574429] Call Trace:
[39109.574432]  
[39109.574437]  __btrfs_remove_free_space_cache+0x27/0x30
[39109.574441]  load_free_space_cache+0xad2/0xaf0
[39109.574480]  caching_thread+0x40b/0x650
[39109.574489]  ? lock_release+0x137/0x2d0
[39109.574496]  btrfs_work_helper+0xf2/0x3e0
[39109.574499]  ? lock_is_held_type+0xe2/0x140
[39109.574506]  process_one_work+0x271/0x590
[39109.574514]  ? process_one_work+0x590/0x590
[39109.574517]  worker_thread+0x52/0x3b0
[39109.574522]  ? process_one_work+0x590/0x590
[39109.574525]  kthread+0xf0/0x120
[39109.574527]  ? kthread_complete_and_exit+0x20/0x20
[39109.574532]  ret_from_fork+0x1f/0x30
[39109.574545]  
[39109.574547] irq event stamp: 3846097
[39109.574548] hardirqs last  enabled at (3846103): [] __up_console_sem+0x5e/0x70
[39109.574551] hardirqs last disabled at (3846108): [] __up_console_sem+0x43/0x70
[39109.574553] softirqs last  enabled at (3844984): [] __irq_exit_rcu+0xeb/0x160
[39109.574556] softirqs last disabled at (3844979): [] __irq_exit_rcu+0xeb/0x160
[39109.574558] ---[ end trace 0000000000000000 ]---
[39109.574561] BTRFS warning (device dm-11): block group 1372585984 has wrong amount of free space
[39109.574582] BTRFS warning (device dm-11): failed to load free space cache for block group 1372585984, rebuilding it now
[39110.540290] BTRFS: error (device dm-11) in btrfs_commit_transaction:2496: errno=-5 IO failure (Error while writing out transaction)
[39110.541222] BTRFS info (device dm-11: state E): forced readonly
[39110.541228] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[39110.541233] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[39110.548959] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[39111.227368] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[39111.227376] BTRFS info (device dm-11): use zstd compression, level 3
[39111.227379] BTRFS info (device dm-11): turning on async discard
[39111.227381] BTRFS info (device dm-11): disk space caching is enabled
[39111.231953] BTRFS info (device dm-11): start tree-log replay
[39111.351972] btrfs_dev_stat_inc_and_print: 57 callbacks suppressed
[39111.351976] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 1, rd 0, flush 0, corrupt 0, gen 0
[39111.352039] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 1, rd 1, flush 0, corrupt 0, gen 0
[39111.352530] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 1, rd 2, flush 0, corrupt 0, gen 0
[39111.352631] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 1, rd 3, flush 0, corrupt 0, gen 0
[39111.352655] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 1, rd 4, flush 0, corrupt 0, gen 0
[39111.354272] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 1, rd 5, flush 0, corrupt 0, gen 0
[39111.355880] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 1, rd 6, flush 0, corrupt 0, gen 0
[39111.356049] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 1, rd 7, flush 0, corrupt 0, gen 0
[39111.356464] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 2, rd 7, flush 0, corrupt 0, gen 0
[39111.356480] BTRFS warning (device dm-11): direct IO failed ino 4612 rw 1,34817 sector 0x287be8 len 106496 err no 10
[39111.356700] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 2, rd 8, flush 0, corrupt 0, gen 0
[39111.361766] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[39111.364178] BTRFS: error (device dm-11: state A) in __btrfs_free_extent:3078: errno=-5 IO failure
[39111.364925] BTRFS info (device dm-11: state EA): forced readonly
[39111.364935] BTRFS: error (device dm-11: state EA) in btrfs_run_delayed_refs:2141: errno=-5 IO failure
[39111.907944] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[39111.907952] BTRFS info (device dm-11): use zstd compression, level 3
[39111.907956] BTRFS info (device dm-11): turning on async discard
[39111.907957] BTRFS info (device dm-11): disk space caching is enabled