[64524.586158] run fstests generic/648 at 2022-08-04 14:47:55
[64525.368284] BTRFS: device fsid 4f7dfce0-b7bc-4b55-afb9-638c050be86c devid 1 transid 6 /dev/mapper/vg0-lv9 scanned by mkfs.btrfs (230927)
[64525.433545] BTRFS info (device dm-9): using crc32c (crc32c-intel) checksum algorithm
[64525.433555] BTRFS info (device dm-9): turning on sync discard
[64525.433558] BTRFS info (device dm-9): enabling free space tree
[64525.433559] BTRFS info (device dm-9): using free space tree
[64525.464199] BTRFS info (device dm-9): creating free space tree
[64525.465210] BTRFS info (device dm-9): setting compat-ro feature flag for FREE_SPACE_TREE (0x1)
[64525.465214] BTRFS info (device dm-9): setting compat-ro feature flag for FREE_SPACE_TREE_VALID (0x2)
[64525.470727] BTRFS info (device dm-9): cleaning free space cache v1
[64525.474280] BTRFS info (device dm-9): checking UUID tree
[64526.260240] BTRFS: device fsid 0e004e74-8f40-4751-839f-4ad92d9f9bc8 devid 1 transid 6 /dev/mapper/vg0-lv9 scanned by mkfs.btrfs (231009)
[64526.499293] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[64526.499302] BTRFS info (device dm-11): turning on sync discard
[64526.499305] BTRFS info (device dm-11): enabling free space tree
[64526.499307] BTRFS info (device dm-11): using free space tree
[64526.503197] BTRFS info (device dm-11): creating free space tree
[64526.504543] BTRFS info (device dm-11): setting compat-ro feature flag for FREE_SPACE_TREE (0x1)
[64526.504547] BTRFS info (device dm-11): setting compat-ro feature flag for FREE_SPACE_TREE_VALID (0x2)
[64526.509490] BTRFS info (device dm-11): cleaning free space cache v1
[64526.513042] BTRFS info (device dm-11): checking UUID tree
[64526.655835] loop0: detected capacity change from 0 to 6629376
[64526.673199] BTRFS: device fsid 0065b1fa-269e-4eb7-81a8-bbf951e06584 devid 1 transid 6 /dev/loop0 scanned by mount (231071)
[64526.674675] BTRFS info (device loop0): using crc32c (crc32c-intel) checksum algorithm
[64526.674680] BTRFS info (device loop0): disk space caching is enabled
[64526.679051] BTRFS info (device loop0): enabling ssd optimizations
[64526.679054] BTRFS info (device loop0): auto enabling async discard
[64526.681596] BTRFS info (device loop0): checking UUID tree
[64526.728279] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 1, rd 0, flush 0, corrupt 0, gen 0
[64526.729367] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 2, rd 0, flush 0, corrupt 0, gen 0
[64526.729374] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 3, rd 0, flush 0, corrupt 0, gen 0
[64526.730809] blk_print_req_error: 68 callbacks suppressed
[64526.730811] I/O error, dev loop0, sector 0 op 0x1:(WRITE) flags 0x800 phys_seg 0 prio class 0
[64526.732449] BTRFS error (device loop0): bdev /dev/loop0 errs: wr 0, rd 0, flush 1, corrupt 0, gen 0
[64526.732455] BTRFS warning (device loop0): chunk 13631488 missing 1 devices, max tolerance is 0 for writable mount
[64526.732459] BTRFS: error (device loop0) in write_all_supers:4286: errno=-5 IO failure (errors while submitting device barriers.)
[64526.733187] BTRFS info (device loop0: state E): forced readonly
[64526.733192] BTRFS warning (device loop0: state E): Skipping commit of aborted transaction.
[64526.733195] BTRFS: error (device loop0: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[64526.735684] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 4, rd 0, flush 0, corrupt 0, gen 0
[64526.742034] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[64526.743817] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 5, rd 0, flush 0, corrupt 0, gen 0
[64526.777276] BTRFS: error (device dm-11: state A) in btrfs_run_delayed_refs:2141: errno=-5 IO failure
[64526.777876] BTRFS info (device dm-11: state EA): forced readonly
[64530.101134] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[64530.101144] BTRFS info (device dm-11): turning on sync discard
[64530.101146] BTRFS info (device dm-11): using free space tree
[64530.104808] BTRFS info (device dm-11): start tree-log replay
[64530.140521] BTRFS info (device dm-11): checking UUID tree
[64530.164870] loop0: detected capacity change from 0 to 6629376
[64530.185401] BTRFS info (device loop0): using crc32c (crc32c-intel) checksum algorithm
[64530.185407] BTRFS info (device loop0): disk space caching is enabled
[64530.190847] BTRFS info (device loop0): enabling ssd optimizations
[64530.190851] BTRFS info (device loop0): auto enabling async discard
[64530.194201] BTRFS info (device loop0): checking UUID tree
[64530.252826] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[64530.252833] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 1, rd 0, flush 0, corrupt 0, gen 0
[64530.253571] BTRFS error (device dm-11): error writing primary super block to device 1
[64530.253575] BTRFS: error (device dm-11) in write_all_supers:4356: errno=-5 IO failure (1 errors while writing supers)
[64530.254541] BTRFS info (device dm-11: state E): forced readonly
[64530.254545] BTRFS: error (device dm-11: state EA) in btrfs_sync_log:3205: errno=-5 IO failure
[64530.255940] I/O error, dev loop0, sector 0 op 0x1:(WRITE) flags 0x800 phys_seg 0 prio class 0
[64530.255989] loop: Write error at byte offset 15310848, length 4096.
[64530.255999] I/O error, dev loop0, sector 29904 op 0x1:(WRITE) flags 0x0 phys_seg 16 prio class 0
[64530.256004] BTRFS error (device loop0): bdev /dev/loop0 errs: wr 1, rd 0, flush 0, corrupt 0, gen 0
[64530.256842] BTRFS error (device loop0): bdev /dev/loop0 errs: wr 1, rd 0, flush 1, corrupt 0, gen 0
[64530.256848] BTRFS warning (device loop0): chunk 13631488 missing 1 devices, max tolerance is 0 for writable mount
[64530.256851] BTRFS: error (device loop0) in write_all_supers:4286: errno=-5 IO failure (errors while submitting device barriers.)
[64530.257526] BTRFS info (device loop0: state E): forced readonly
[64530.257537] BTRFS warning (device loop0: state E): Skipping commit of aborted transaction.
[64530.257540] BTRFS: error (device loop0: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[64530.257845] loop: Write error at byte offset 15310848, length 4096.
[64530.258032] I/O error, dev loop0, sector 29904 op 0x1:(WRITE) flags 0x800 phys_seg 1 prio class 0
[64530.258036] BTRFS error (device loop0: state EA): bdev /dev/loop0 errs: wr 2, rd 0, flush 1, corrupt 0, gen 0
[64530.258887] BTRFS: error (device loop0: state EA) in btrfs_sync_log:3194: errno=-5 IO failure
[64530.268297] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[64533.549191] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[64533.549199] BTRFS info (device dm-11): turning on sync discard
[64533.549202] BTRFS info (device dm-11): using free space tree
[64533.552864] BTRFS info (device dm-11): checking UUID tree
[64533.575083] loop0: detected capacity change from 0 to 6629376
[64533.594476] BTRFS info (device loop0): using crc32c (crc32c-intel) checksum algorithm
[64533.594482] BTRFS info (device loop0): disk space caching is enabled
[64533.599405] BTRFS info (device loop0): enabling ssd optimizations
[64533.599409] BTRFS info (device loop0): auto enabling async discard
[64533.602799] BTRFS info (device loop0): checking UUID tree
[64535.636530] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 1, rd 0, flush 0, corrupt 0, gen 0
[64535.641789] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 2, rd 0, flush 0, corrupt 0, gen 0
[64535.641798] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 3, rd 0, flush 0, corrupt 0, gen 0
[64535.641836] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 4, rd 0, flush 0, corrupt 0, gen 0
[64535.641842] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 5, rd 0, flush 0, corrupt 0, gen 0
[64535.641997] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 6, rd 0, flush 0, corrupt 0, gen 0
[64535.642002] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 7, rd 0, flush 0, corrupt 0, gen 0
[64535.642088] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 8, rd 0, flush 0, corrupt 0, gen 0
[64535.642093] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 9, rd 0, flush 0, corrupt 0, gen 0
[64535.642121] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 10, rd 0, flush 0, corrupt 0, gen 0
[64535.642190] BTRFS: error (device dm-11) in btrfs_commit_transaction:2496: errno=-5 IO failure (Error while writing out transaction)
[64535.643207] BTRFS info (device dm-11: state E): forced readonly
[64535.643212] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[64535.643215] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[64535.646228] BTRFS warning (device dm-11: state EA): Skipping commit of aborted transaction.
[64535.646232] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[64535.646913] I/O error, dev loop0, sector 0 op 0x1:(WRITE) flags 0x800 phys_seg 0 prio class 0
[64535.646940] BTRFS warning (device loop0): chunk 13631488 missing 1 devices, max tolerance is 0 for writable mount
[64535.646946] BTRFS: error (device loop0) in write_all_supers:4286: errno=-5 IO failure (errors while submitting device barriers.)
[64535.647673] BTRFS info (device loop0: state E): forced readonly
[64535.647677] BTRFS warning (device loop0: state E): Skipping commit of aborted transaction.
[64535.647687] BTRFS: error (device loop0: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[64535.648962] BTRFS warning (device loop0: state EA): Skipping commit of aborted transaction.
[64535.648966] BTRFS: error (device loop0: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[64535.650244] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[64535.650907] loop: Write error at byte offset 630198272, length 4096.
[64535.650914] loop: Write error at byte offset 630259712, length 4096.
[64535.650917] loop: Write error at byte offset 630300672, length 4096.
[64535.650945] I/O error, dev loop0, sector 1230856 op 0x1:(WRITE) flags 0x0 phys_seg 3 prio class 0
[64535.650976] I/O error, dev loop0, sector 1230976 op 0x1:(WRITE) flags 0x0 phys_seg 2 prio class 0
[64535.650991] I/O error, dev loop0, sector 1231056 op 0x1:(WRITE) flags 0x0 phys_seg 3 prio class 0
[64538.743536] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[64538.743545] BTRFS info (device dm-11): turning on sync discard
[64538.743548] BTRFS info (device dm-11): using free space tree
[64538.748225] BTRFS info (device dm-11): start tree-log replay
[64538.799072] loop0: detected capacity change from 0 to 6629376
[64538.836712] BTRFS info (device loop0): using crc32c (crc32c-intel) checksum algorithm
[64538.836720] BTRFS info (device loop0): disk space caching is enabled
[64538.844959] BTRFS info (device loop0): enabling ssd optimizations
[64538.844963] BTRFS info (device loop0): auto enabling async discard
[64538.871494] ------------[ cut here ]------------
[64538.871573] WARNING: CPU: 1 PID: 130394 at fs/btrfs/discard.c:604 btrfs_discard_update_discardable+0x98/0xb0
[64538.871583] Modules linked in: dm_thin_pool dm_persistent_data dm_bio_prison dm_log_writes dm_dust dm_flakey nft_fib_inet nft_fib_ipv4 nft_fib_ipv6 nft_fib nft_reject_inet nf_reject_ipv4 nf_reject_ipv6 nft_reject nft_ct nft_chain_nat nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 ip6_tables nft_compat ip_set rfkill nf_tables nfnetlink intel_rapl_msr iTCO_wdt iTCO_vendor_support snd_hda_codec_generic intel_rapl_common snd_hda_intel joydev snd_intel_dspcfg snd_hda_codec snd_hwdep snd_hda_core snd_pcm virtio_balloon i2c_i801 i2c_smbus snd_timer snd soundcore lpc_ich zram ip_tables xfs crct10dif_pclmul crc32_pclmul crc32c_intel ghash_clmulni_intel serio_raw qemu_fw_cfg
[64538.871647] CPU: 1 PID: 130394 Comm: kworker/u4:0 Tainted: G        W         5.19.0-rc8+ #786
[64538.871649] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.13.0-2.fc32 04/01/2014
[64538.871653] Workqueue: btrfs-cache btrfs_work_helper
[64538.871660] RIP: 0010:btrfs_discard_update_discardable+0x98/0xb0
[64538.871663] 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 9c 98 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
[64538.871665] RSP: 0018:ffffb0328693bad0 EFLAGS: 00010246
[64538.871668] RAX: 0000000000000000 RBX: ffff98c783f2e000 RCX: 0000000000000001
[64538.871670] RDX: 0000000000000000 RSI: ffffffff8d807c93 RDI: ffffffff8d8a825e
[64538.871671] RBP: ffff98c7828f4000 R08: 0000000000000000 R09: 0000000000001000
[64538.871673] R10: ffff98c686a4bf20 R11: 0000000000000000 R12: ffff98c78fd1e810
[64538.871674] R13: ffff98c7834e3350 R14: ffff98c7828f4000 R15: ffff98c78706a5b0
[64538.871676] FS:  0000000000000000(0000) GS:ffff98c7fbd00000(0000) knlGS:0000000000000000
[64538.871678] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[64538.871680] CR2: 00007fb2c21de160 CR3: 000000010319a004 CR4: 0000000000370ee0
[64538.871685] Call Trace:
[64538.871687]  
[64538.871692]  __btrfs_remove_free_space_cache+0x27/0x30
[64538.871696]  load_free_space_cache+0xad2/0xaf0
[64538.871735]  caching_thread+0x40b/0x650
[64538.871744]  ? lock_release+0x137/0x2d0
[64538.871751]  btrfs_work_helper+0xf2/0x3e0
[64538.871754]  ? lock_is_held_type+0xe2/0x140
[64538.871761]  process_one_work+0x271/0x590
[64538.871771]  worker_thread+0x52/0x3b0
[64538.871775]  ? process_one_work+0x590/0x590
[64538.871778]  kthread+0xf0/0x120
[64538.871781]  ? kthread_complete_and_exit+0x20/0x20
[64538.871785]  ret_from_fork+0x1f/0x30
[64538.871798]  
[64538.871803] irq event stamp: 9661509
[64538.871805] hardirqs last  enabled at (9661515): [] __up_console_sem+0x5e/0x70
[64538.871811] hardirqs last disabled at (9661520): [] __up_console_sem+0x43/0x70
[64538.871813] softirqs last  enabled at (9660930): [] __irq_exit_rcu+0xeb/0x160
[64538.871816] softirqs last disabled at (9660921): [] __irq_exit_rcu+0xeb/0x160
[64538.871818] ---[ end trace 0000000000000000 ]---
[64538.871821] BTRFS warning (device loop0): block group 298844160 has wrong amount of free space
[64538.871840] BTRFS warning (device loop0): failed to load free space cache for block group 298844160, rebuilding it now
[64539.910557] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[64539.915566] I/O error, dev loop0, sector 128 op 0x1:(WRITE) flags 0x3800 phys_seg 1 prio class 0
[64539.915572] BTRFS warning (device loop0): lost page write due to IO error on /dev/loop0 (-5)
[64539.916180] BTRFS error (device loop0): error writing primary super block to device 1
[64539.916184] BTRFS: error (device loop0) in write_all_supers:4356: errno=-5 IO failure (1 errors while writing supers)
[64539.917056] BTRFS info (device loop0: state E): forced readonly
[64539.917062] BTRFS warning (device loop0: state E): Skipping commit of aborted transaction.
[64539.917066] BTRFS: error (device loop0: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[64539.938628] BTRFS: error (device dm-11: state A) in btrfs_run_delayed_refs:2141: errno=-5 IO failure
[64539.939295] BTRFS info (device dm-11: state EA): forced readonly
[64539.941762] I/O error, dev loop0, sector 1278504 op 0x0:(READ) flags 0x0 phys_seg 10 prio class 2
[64539.941775] BTRFS warning (device loop0: state EA): direct IO failed ino 257 rw 0,0 sector 0x138228 len 0 err no 10
[64539.942335] I/O error, dev loop0, sector 1278568 op 0x0:(READ) flags 0x80700 phys_seg 8 prio class 0
[64539.942490] I/O error, dev loop0, sector 1278568 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 0
[64543.344084] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[64543.344093] BTRFS info (device dm-11): turning on sync discard
[64543.344095] BTRFS info (device dm-11): using free space tree
[64543.348143] BTRFS info (device dm-11): start tree-log replay
[64543.410128] loop0: detected capacity change from 0 to 6629376
[64543.457296] BTRFS info (device loop0): using crc32c (crc32c-intel) checksum algorithm
[64543.457303] BTRFS info (device loop0): disk space caching is enabled
[64543.465124] BTRFS info (device loop0): enabling ssd optimizations
[64543.465128] BTRFS info (device loop0): auto enabling async discard
[64543.465130] BTRFS info (device loop0): start tree-log replay
[64543.481919] ------------[ cut here ]------------
[64543.482039] WARNING: CPU: 0 PID: 206671 at fs/btrfs/discard.c:604 btrfs_discard_update_discardable+0x98/0xb0
[64543.482046] Modules linked in: dm_thin_pool dm_persistent_data dm_bio_prison dm_log_writes dm_dust dm_flakey nft_fib_inet nft_fib_ipv4 nft_fib_ipv6 nft_fib nft_reject_inet nf_reject_ipv4 nf_reject_ipv6 nft_reject nft_ct nft_chain_nat nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 ip6_tables nft_compat ip_set rfkill nf_tables nfnetlink intel_rapl_msr iTCO_wdt iTCO_vendor_support snd_hda_codec_generic intel_rapl_common snd_hda_intel joydev snd_intel_dspcfg snd_hda_codec snd_hwdep snd_hda_core snd_pcm virtio_balloon i2c_i801 i2c_smbus snd_timer snd soundcore lpc_ich zram ip_tables xfs crct10dif_pclmul crc32_pclmul crc32c_intel ghash_clmulni_intel serio_raw qemu_fw_cfg
[64543.482110] CPU: 0 PID: 206671 Comm: kworker/u4:10 Tainted: G        W         5.19.0-rc8+ #786
[64543.482113] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.13.0-2.fc32 04/01/2014
[64543.482115] Workqueue: btrfs-cache btrfs_work_helper
[64543.482120] RIP: 0010:btrfs_discard_update_discardable+0x98/0xb0
[64543.482122] 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 9c 98 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
[64543.482125] RSP: 0018:ffffb03281bd3ad0 EFLAGS: 00010246
[64543.482128] RAX: 0000000000000000 RBX: ffff98c783f2e000 RCX: 0000000000000001
[64543.482129] RDX: 0000000000000000 RSI: ffffffff8d807c93 RDI: ffffffff8d8a825e
[64543.482131] RBP: ffff98c787be8000 R08: 0000000000000000 R09: 000000008027000f
[64543.482133] R10: ffff98c686deaa40 R11: 0000000000000000 R12: ffff98c7848c3810
[64543.482134] R13: ffff98c7c0cd61e0 R14: ffff98c787be8000 R15: ffff98c7d2b91b60
[64543.482136] FS:  0000000000000000(0000) GS:ffff98c7fbc00000(0000) knlGS:0000000000000000
[64543.482138] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[64543.482139] CR2: 00005594a6f1d130 CR3: 00000001078fa004 CR4: 0000000000370ef0
[64543.482143] Call Trace:
[64543.482146]  
[64543.482150]  __btrfs_remove_free_space_cache+0x27/0x30
[64543.482155]  load_free_space_cache+0xad2/0xaf0
[64543.482194]  caching_thread+0x40b/0x650
[64543.482203]  ? lock_release+0x137/0x2d0
[64543.482210]  btrfs_work_helper+0xf2/0x3e0
[64543.482213]  ? lock_is_held_type+0xe2/0x140
[64543.482220]  process_one_work+0x271/0x590
[64543.482229]  ? process_one_work+0x590/0x590
[64543.482232]  worker_thread+0x52/0x3b0
[64543.482237]  ? process_one_work+0x590/0x590
[64543.482245]  kthread+0xf0/0x120
[64543.482248]  ? kthread_complete_and_exit+0x20/0x20
[64543.482252]  ret_from_fork+0x1f/0x30
[64543.482266]  
[64543.482267] irq event stamp: 4269367
[64543.482269] hardirqs last  enabled at (4269373): [] __up_console_sem+0x5e/0x70
[64543.482272] hardirqs last disabled at (4269378): [] __up_console_sem+0x43/0x70
[64543.482274] softirqs last  enabled at (4268830): [] __irq_exit_rcu+0xeb/0x160
[64543.482277] softirqs last disabled at (4268821): [] __irq_exit_rcu+0xeb/0x160
[64543.482279] ---[ end trace 0000000000000000 ]---
[64543.482283] BTRFS warning (device loop0): block group 298844160 has wrong amount of free space
[64543.482301] BTRFS warning (device loop0): failed to load free space cache for block group 298844160, rebuilding it now
[64543.549625] btrfs_dev_stat_inc_and_print: 17 callbacks suppressed
[64543.549628] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 0, rd 1, flush 0, corrupt 0, gen 0
[64543.549659] I/O error, dev loop0, sector 83136 op 0x0:(READ) flags 0x1000 phys_seg 4 prio class 0
[64543.549665] BTRFS error (device loop0): bdev /dev/loop0 errs: wr 0, rd 1, flush 0, corrupt 0, gen 0
[64543.549782] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 0, rd 2, flush 0, corrupt 0, gen 0
[64543.549804] I/O error, dev loop0, sector 607424 op 0x0:(READ) flags 0x1000 phys_seg 4 prio class 0
[64543.549808] BTRFS error (device loop0): bdev /dev/loop0 errs: wr 0, rd 2, flush 0, corrupt 0, gen 0
[64543.549837] BTRFS error (device loop0): error loading props for ino 265 (root 5): -5
[64543.549918] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 0, rd 3, flush 0, corrupt 0, gen 0
[64543.549941] I/O error, dev loop0, sector 83136 op 0x0:(READ) flags 0x1000 phys_seg 4 prio class 0
[64543.549944] BTRFS error (device loop0): bdev /dev/loop0 errs: wr 0, rd 3, flush 0, corrupt 0, gen 0
[64543.550740] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 0, rd 4, flush 0, corrupt 0, gen 0
[64543.550783] I/O error, dev loop0, sector 607424 op 0x0:(READ) flags 0x1000 phys_seg 4 prio class 0
[64543.550788] BTRFS error (device loop0): bdev /dev/loop0 errs: wr 0, rd 4, flush 0, corrupt 0, gen 0
[64543.550999] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 0, rd 5, flush 0, corrupt 0, gen 0
[64543.551024] I/O error, dev loop0, sector 83136 op 0x0:(READ) flags 0x1000 phys_seg 4 prio class 0
[64543.551027] BTRFS error (device loop0): bdev /dev/loop0 errs: wr 0, rd 5, flush 0, corrupt 0, gen 0
[64543.551437] I/O error, dev loop0, sector 607424 op 0x0:(READ) flags 0x1000 phys_seg 4 prio class 0
[64543.551558] I/O error, dev loop0, sector 83136 op 0x0:(READ) flags 0x1000 phys_seg 4 prio class 0
[64543.551616] I/O error, dev loop0, sector 607424 op 0x0:(READ) flags 0x1000 phys_seg 4 prio class 0
[64543.551821] I/O error, dev loop0, sector 124288 op 0x0:(READ) flags 0x1000 phys_seg 2 prio class 0
[64543.551937] I/O error, dev loop0, sector 648576 op 0x0:(READ) flags 0x1000 phys_seg 2 prio class 0
[64543.569140] loop: Write error at byte offset 14635008, length 4096.
[64543.577054] loop: Write error at byte offset 626659328, length 4096.
[64543.578638] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[64543.579340] loop: Write error at byte offset 19070976, length 4096.
[64543.582450] loop: Write error at byte offset 19070976, length 4096.
[64543.582822] loop: Write error at byte offset 19070976, length 4096.
[64543.583157] loop: Write error at byte offset 19070976, length 4096.
[64543.585144] loop: Write error at byte offset 653729792, length 4096.
[64543.586424] loop: Write error at byte offset 653729792, length 4096.
[64543.616032] BTRFS: error (device dm-11: state A) in btrfs_run_delayed_refs:2141: errno=-5 IO failure
[64543.616631] BTRFS info (device dm-11: state EA): forced readonly
[64543.622234] loop: Write error at byte offset 653729792, length 4096.
[64543.623346] loop: Write error at byte offset 653729792, length 4096.
[64543.625873] BTRFS: error (device loop0) in btrfs_commit_transaction:2496: errno=-5 IO failure (Error while writing out transaction)
[64543.626586] BTRFS info (device loop0: state E): forced readonly
[64543.626591] BTRFS warning (device loop0: state E): Skipping commit of aborted transaction.
[64543.626593] BTRFS: error (device loop0: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[64546.734699] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[64546.734708] BTRFS info (device dm-11): turning on sync discard
[64546.734710] BTRFS info (device dm-11): using free space tree
[64546.738747] BTRFS info (device dm-11): start tree-log replay
[64546.776063] loop0: detected capacity change from 0 to 6629376
[64546.820094] BTRFS info (device loop0): using crc32c (crc32c-intel) checksum algorithm
[64546.820101] BTRFS info (device loop0): disk space caching is enabled
[64546.825646] BTRFS info (device loop0): enabling ssd optimizations
[64546.825650] BTRFS info (device loop0): auto enabling async discard
[64546.863232] BTRFS error (device loop0): error reading free space cache
[64546.863253] BTRFS warning (device loop0): failed to load free space cache for block group 298844160, rebuilding it now
[64546.871964] BTRFS error (device loop0): error loading props for ino 265 (root 5): -5
[64546.872536] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[64546.895452] BTRFS: error (device loop0: state A) in btrfs_finish_ordered_io:3318: errno=-5 IO failure
[64546.896107] BTRFS info (device loop0: state EA): forced readonly
[64546.921081] BTRFS: error (device dm-11: state A) in btrfs_run_delayed_refs:2141: errno=-5 IO failure
[64546.921619] BTRFS info (device dm-11: state EA): forced readonly
[64550.202294] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[64550.202303] BTRFS info (device dm-11): turning on sync discard
[64550.202306] BTRFS info (device dm-11): using free space tree
[64550.227100] loop0: detected capacity change from 0 to 6629376
[64550.271378] BTRFS info (device loop0): using crc32c (crc32c-intel) checksum algorithm
[64550.271385] BTRFS info (device loop0): disk space caching is enabled
[64550.277231] BTRFS info (device loop0): enabling ssd optimizations
[64550.277235] BTRFS info (device loop0): auto enabling async discard
[64552.327328] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[64552.327336] btrfs_dev_stat_inc_and_print: 84 callbacks suppressed
[64552.327338] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 1, rd 0, flush 0, corrupt 0, gen 0
[64552.327352] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[64552.327355] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 2, rd 0, flush 0, corrupt 0, gen 0
[64552.327366] BTRFS error (device dm-11): error writing primary super block to device 1
[64552.327369] BTRFS: error (device dm-11) in write_all_supers:4356: errno=-5 IO failure (1 errors while writing supers)
[64552.328107] BTRFS info (device dm-11: state E): forced readonly
[64552.328117] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[64552.328120] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[64552.328132] BTRFS: error (device dm-11: state EA) in btrfs_sync_log:3194: errno=-5 IO failure
[64552.329298] lo_write_bvec: 12 callbacks suppressed
[64552.329300] loop: Write error at byte offset 701980672, length 4096.
[64552.329443] blk_print_req_error: 36 callbacks suppressed
[64552.329444] I/O error, dev loop0, sector 128 op 0x1:(WRITE) flags 0x3800 phys_seg 1 prio class 0
[64552.329450] BTRFS warning (device loop0): lost page write due to IO error on /dev/loop0 (-5)
[64552.329453] BTRFS error (device loop0): bdev /dev/loop0 errs: wr 1, rd 0, flush 0, corrupt 0, gen 0
[64552.329464] I/O error, dev loop0, sector 1371056 op 0x1:(WRITE) flags 0x8800 phys_seg 6 prio class 2
[64552.329468] BTRFS error (device loop0): bdev /dev/loop0 errs: wr 2, rd 0, flush 0, corrupt 0, gen 0
[64552.329472] BTRFS warning (device loop0): direct IO failed ino 680 rw 1,34817 sector 0x14ebb0 len 0 err no 10
[64552.329995] BTRFS error (device loop0): error writing primary super block to device 1
[64552.329999] BTRFS: error (device loop0) in write_all_supers:4356: errno=-5 IO failure (1 errors while writing supers)
[64552.330579] BTRFS info (device loop0: state E): forced readonly
[64552.330587] BTRFS warning (device loop0: state E): Skipping commit of aborted transaction.
[64552.330590] BTRFS: error (device loop0: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[64552.330762] BTRFS: error (device loop0: state EA) in btrfs_sync_log:3194: errno=-5 IO failure
[64552.333588] loop: Write error at byte offset 701980672, length 4096.
[64552.333598] I/O error, dev loop0, sector 1371056 op 0x1:(WRITE) flags 0x0 phys_seg 4 prio class 0
[64552.333602] BTRFS error (device loop0: state EA): bdev /dev/loop0 errs: wr 3, rd 0, flush 0, corrupt 0, gen 0
[64552.343243] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[64554.930258] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[64554.930266] BTRFS info (device dm-11): turning on sync discard
[64554.930270] BTRFS info (device dm-11): using free space tree
[64554.934644] BTRFS info (device dm-11): start tree-log replay
[64555.007730] loop0: detected capacity change from 0 to 6629376
[64555.075087] BTRFS info (device loop0): using crc32c (crc32c-intel) checksum algorithm
[64555.075094] BTRFS info (device loop0): disk space caching is enabled
[64555.083592] BTRFS info (device loop0): enabling ssd optimizations
[64555.083596] BTRFS info (device loop0): auto enabling async discard
[64555.083598] BTRFS info (device loop0): start tree-log replay
[64555.093642] ------------[ cut here ]------------
[64555.093711] WARNING: CPU: 1 PID: 170666 at fs/btrfs/discard.c:604 btrfs_discard_update_discardable+0x98/0xb0
[64555.093717] Modules linked in: dm_thin_pool dm_persistent_data dm_bio_prison dm_log_writes dm_dust dm_flakey nft_fib_inet nft_fib_ipv4 nft_fib_ipv6 nft_fib nft_reject_inet nf_reject_ipv4 nf_reject_ipv6 nft_reject nft_ct nft_chain_nat nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 ip6_tables nft_compat ip_set rfkill nf_tables nfnetlink intel_rapl_msr iTCO_wdt iTCO_vendor_support snd_hda_codec_generic intel_rapl_common snd_hda_intel joydev snd_intel_dspcfg snd_hda_codec snd_hwdep snd_hda_core snd_pcm virtio_balloon i2c_i801 i2c_smbus snd_timer snd soundcore lpc_ich zram ip_tables xfs crct10dif_pclmul crc32_pclmul crc32c_intel ghash_clmulni_intel serio_raw qemu_fw_cfg
[64555.093779] CPU: 1 PID: 170666 Comm: kworker/u4:5 Tainted: G        W         5.19.0-rc8+ #786
[64555.093782] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.13.0-2.fc32 04/01/2014
[64555.093784] Workqueue: btrfs-cache btrfs_work_helper
[64555.093789] RIP: 0010:btrfs_discard_update_discardable+0x98/0xb0
[64555.093791] 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 9c 98 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
[64555.093794] RSP: 0018:ffffb03283e2bad0 EFLAGS: 00010246
[64555.093796] RAX: 0000000000000000 RBX: ffff98c783f2e200 RCX: 0000000000000001
[64555.093798] RDX: 0000000000000000 RSI: ffffffff8d807c93 RDI: ffffffff8d8a825e
[64555.093800] RBP: ffff98c787be8000 R08: 0000000000000000 R09: 0000000000001000
[64555.093801] R10: ffff98c6b15769d8 R11: 0000000000b98400 R12: ffff98c784bcf810
[64555.093803] R13: ffff98c7961faa00 R14: ffff98c787be8000 R15: ffff98c7ed453540
[64555.093805] FS:  0000000000000000(0000) GS:ffff98c7fbd00000(0000) knlGS:0000000000000000
[64555.093807] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[64555.093808] CR2: 00007f48e2bda908 CR3: 0000000107be6005 CR4: 0000000000370ee0
[64555.093812] Call Trace:
[64555.093814]  
[64555.093818]  __btrfs_remove_free_space_cache+0x27/0x30
[64555.093822]  load_free_space_cache+0xad2/0xaf0
[64555.093880]  caching_thread+0x40b/0x650
[64555.093889]  ? lock_release+0x137/0x2d0
[64555.093896]  btrfs_work_helper+0xf2/0x3e0
[64555.093899]  ? lock_is_held_type+0xe2/0x140
[64555.093906]  process_one_work+0x271/0x590
[64555.093915]  worker_thread+0x52/0x3b0
[64555.093920]  ? process_one_work+0x590/0x590
[64555.093923]  kthread+0xf0/0x120
[64555.093925]  ? kthread_complete_and_exit+0x20/0x20
[64555.093930]  ret_from_fork+0x1f/0x30
[64555.093943]  
[64555.093945] irq event stamp: 3089403
[64555.093946] hardirqs last  enabled at (3089409): [] __up_console_sem+0x5e/0x70
[64555.093949] hardirqs last disabled at (3089414): [] __up_console_sem+0x43/0x70
[64555.093951] softirqs last  enabled at (3089336): [] __irq_exit_rcu+0xeb/0x160
[64555.093954] softirqs last disabled at (3089329): [] __irq_exit_rcu+0xeb/0x160
[64555.093956] ---[ end trace 0000000000000000 ]---
[64555.093959] BTRFS warning (device loop0): block group 298844160 has wrong amount of free space
[64555.093977] BTRFS warning (device loop0): failed to load free space cache for block group 298844160, rebuilding it now
[64555.160267] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 0, rd 1, flush 0, corrupt 0, gen 0
[64555.160333] I/O error, dev loop0, sector 120064 op 0x0:(READ) flags 0x1000 phys_seg 4 prio class 0
[64555.160338] BTRFS error (device loop0): bdev /dev/loop0 errs: wr 0, rd 1, flush 0, corrupt 0, gen 0
[64555.162712] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 0, rd 2, flush 0, corrupt 0, gen 0
[64555.163066] I/O error, dev loop0, sector 644352 op 0x0:(READ) flags 0x1000 phys_seg 4 prio class 0
[64555.163071] BTRFS error (device loop0): bdev /dev/loop0 errs: wr 0, rd 2, flush 0, corrupt 0, gen 0
[64555.163199] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 0, rd 3, flush 0, corrupt 0, gen 0
[64555.163222] I/O error, dev loop0, sector 120064 op 0x0:(READ) flags 0x1000 phys_seg 4 prio class 0
[64555.163277] I/O error, dev loop0, sector 644352 op 0x0:(READ) flags 0x1000 phys_seg 4 prio class 0
[64555.169263] I/O error, dev loop0, sector 120064 op 0x0:(READ) flags 0x1000 phys_seg 4 prio class 0
[64555.169322] I/O error, dev loop0, sector 644352 op 0x0:(READ) flags 0x1000 phys_seg 4 prio class 0
[64555.169345] BTRFS error (device loop0): error loading props for ino 265 (root 5): -5
[64555.169413] I/O error, dev loop0, sector 120064 op 0x0:(READ) flags 0x1000 phys_seg 4 prio class 0
[64555.179273] BTRFS warning (device loop0): chunk 13631488 missing 1 devices, max tolerance is 0 for writable mount
[64555.179278] BTRFS: error (device loop0) in write_all_supers:4286: errno=-5 IO failure (errors while submitting device barriers.)
[64555.179899] BTRFS info (device loop0: state E): forced readonly
[64555.179903] BTRFS: error (device loop0: state EA) in btrfs_sync_log:3205: errno=-5 IO failure
[64555.185229] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[64555.217212] BTRFS: error (device dm-11: state A) in btrfs_run_delayed_refs:2141: errno=-5 IO failure
[64555.218025] BTRFS info (device dm-11: state EA): forced readonly
[64558.420878] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[64558.420886] BTRFS info (device dm-11): turning on sync discard
[64558.420889] BTRFS info (device dm-11): using free space tree
[64558.424491] BTRFS info (device dm-11): start tree-log replay
[64558.469496] loop0: detected capacity change from 0 to 6629376
[64558.531875] BTRFS info (device loop0): using crc32c (crc32c-intel) checksum algorithm
[64558.531882] BTRFS info (device loop0): disk space caching is enabled
[64558.543221] BTRFS info (device loop0): enabling ssd optimizations
[64558.543226] BTRFS info (device loop0): auto enabling async discard
[64559.590113] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[64559.635798] btrfs_dev_stat_inc_and_print: 26 callbacks suppressed
[64559.635801] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 1, rd 0, flush 0, corrupt 0, gen 0
[64559.636134] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 2, rd 0, flush 0, corrupt 0, gen 0
[64559.636185] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 3, rd 0, flush 0, corrupt 0, gen 0
[64559.636311] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 4, rd 0, flush 0, corrupt 0, gen 0
[64559.636358] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 5, rd 0, flush 0, corrupt 0, gen 0
[64559.636387] blk_print_req_error: 2 callbacks suppressed
[64559.636390] I/O error, dev loop0, sector 0 op 0x1:(WRITE) flags 0x800 phys_seg 0 prio class 0
[64559.636894] BTRFS error (device loop0): bdev /dev/loop0 errs: wr 0, rd 0, flush 1, corrupt 0, gen 0
[64559.636900] BTRFS warning (device loop0): chunk 13631488 missing 1 devices, max tolerance is 0 for writable mount
[64559.636903] BTRFS: error (device loop0) in write_all_supers:4286: errno=-5 IO failure (errors while submitting device barriers.)
[64559.637551] BTRFS info (device loop0: state E): forced readonly
[64559.637562] BTRFS: error (device loop0: state EA) in btrfs_sync_log:3205: errno=-5 IO failure
[64559.639663] BTRFS warning (device loop0: state EA): Skipping commit of aborted transaction.
[64559.639669] BTRFS: error (device loop0: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[64559.643482] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 6, rd 0, flush 0, corrupt 0, gen 0
[64559.644134] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 7, rd 0, flush 0, corrupt 0, gen 0
[64559.644148] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 8, rd 0, flush 0, corrupt 0, gen 0
[64559.644160] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 9, rd 0, flush 0, corrupt 0, gen 0
[64559.660754] BTRFS: error (device dm-11: state A) in btrfs_start_dirty_block_groups:3075: errno=-5 IO failure
[64559.661313] BTRFS info (device dm-11: state EA): forced readonly
[64559.661483] BTRFS: error (device dm-11: state EA) in btrfs_run_delayed_refs:2141: errno=-5 IO failure
[64563.029153] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[64563.029162] BTRFS info (device dm-11): turning on sync discard
[64563.029165] BTRFS info (device dm-11): using free space tree
[64563.033715] BTRFS info (device dm-11): start tree-log replay
[64563.100921] loop0: detected capacity change from 0 to 6629376
[64563.123136] BTRFS info (device loop0): using crc32c (crc32c-intel) checksum algorithm
[64563.123143] BTRFS info (device loop0): disk space caching is enabled
[64563.205484] BTRFS info (device loop0): enabling ssd optimizations
[64563.205490] BTRFS info (device loop0): auto enabling async discard
[64563.205492] BTRFS info (device loop0): start tree-log replay
[64565.285248] btrfs_dev_stat_inc_and_print: 23 callbacks suppressed
[64565.285252] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 1, rd 0, flush 0, corrupt 0, gen 0
[64565.285259] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 2, rd 0, flush 0, corrupt 0, gen 0
[64565.285315] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 3, rd 0, flush 0, corrupt 0, gen 0
[64565.285319] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 4, rd 0, flush 0, corrupt 0, gen 0
[64565.285328] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 5, rd 0, flush 0, corrupt 0, gen 0
[64565.285332] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 6, rd 0, flush 0, corrupt 0, gen 0
[64565.285348] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 7, rd 0, flush 0, corrupt 0, gen 0
[64565.285352] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 8, rd 0, flush 0, corrupt 0, gen 0
[64565.285364] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 9, rd 0, flush 0, corrupt 0, gen 0
[64565.287807] I/O error, dev loop0, sector 0 op 0x1:(WRITE) flags 0x800 phys_seg 0 prio class 0
[64565.288316] BTRFS error (device loop0): bdev /dev/loop0 errs: wr 0, rd 0, flush 1, corrupt 0, gen 0
[64565.288322] BTRFS warning (device loop0): chunk 13631488 missing 1 devices, max tolerance is 0 for writable mount
[64565.288325] BTRFS: error (device loop0) in write_all_supers:4286: errno=-5 IO failure (errors while submitting device barriers.)
[64565.289179] BTRFS info (device loop0: state E): forced readonly
[64565.289184] BTRFS warning (device loop0: state E): Skipping commit of aborted transaction.
[64565.289187] BTRFS: error (device loop0: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[64565.294594] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[64565.299424] BTRFS: error (device dm-11: state A) in do_free_extent_accounting:2848: errno=-5 IO failure
[64565.300120] BTRFS info (device dm-11: state EA): forced readonly
[64565.300125] BTRFS: error (device dm-11: state EA) in btrfs_run_delayed_refs:2141: errno=-5 IO failure
[64567.802186] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[64567.802195] BTRFS info (device dm-11): turning on sync discard
[64567.802198] BTRFS info (device dm-11): using free space tree
[64567.806657] BTRFS info (device dm-11): start tree-log replay
[64567.855999] loop0: detected capacity change from 0 to 6629376
[64567.876390] BTRFS info (device loop0): using crc32c (crc32c-intel) checksum algorithm
[64567.876397] BTRFS info (device loop0): disk space caching is enabled
[64567.973968] BTRFS info (device loop0): enabling ssd optimizations
[64567.973973] BTRFS info (device loop0): auto enabling async discard
[64570.044800] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[64570.044819] BTRFS error (device dm-11): error writing primary super block to device 1
[64570.044823] BTRFS: error (device dm-11) in write_all_supers:4356: errno=-5 IO failure (1 errors while writing supers)
[64570.045857] BTRFS info (device dm-11: state E): forced readonly
[64570.045862] BTRFS: error (device dm-11: state EA) in btrfs_sync_log:3205: errno=-5 IO failure
[64570.046381] loop: Write error at byte offset 819527680, length 4096.
[64570.046387] loop: Write error at byte offset 819589120, length 4096.
[64570.046389] I/O error, dev loop0, sector 0 op 0x1:(WRITE) flags 0x800 phys_seg 0 prio class 0
[64570.046393] loop: Write error at byte offset 815886336, length 4096.
[64570.046396] loop: Write error at byte offset 816447488, length 4096.
[64570.046398] loop: Write error at byte offset 819638272, length 4096.
[64570.046400] loop: Write error at byte offset 819728384, length 4096.
[64570.046400] I/O error, dev loop0, sector 1600640 op 0x1:(WRITE) flags 0x800 phys_seg 2 prio class 0
[64570.046402] loop: Write error at byte offset 819843072, length 4096.
[64570.046405] loop: Write error at byte offset 712470528, length 4096.
[64570.046407] loop: Write error at byte offset 819900416, length 4096.
[64570.046409] loop: Write error at byte offset 819957760, length 4096.
[64570.046813] I/O error, dev loop0, sector 1600760 op 0x1:(WRITE) flags 0x0 phys_seg 2 prio class 0
[64570.046838] I/O error, dev loop0, sector 1593528 op 0x1:(WRITE) flags 0x0 phys_seg 1 prio class 0
[64570.046845] I/O error, dev loop0, sector 1594624 op 0x1:(WRITE) flags 0x0 phys_seg 1 prio class 0
[64570.046852] I/O error, dev loop0, sector 1600856 op 0x1:(WRITE) flags 0x0 phys_seg 3 prio class 0
[64570.046881] I/O error, dev loop0, sector 1601032 op 0x1:(WRITE) flags 0x0 phys_seg 2 prio class 0
[64570.046915] I/O error, dev loop0, sector 1601256 op 0x1:(WRITE) flags 0x0 phys_seg 5 prio class 0
[64570.046934] I/O error, dev loop0, sector 1391544 op 0x1:(WRITE) flags 0x0 phys_seg 1 prio class 0
[64570.050864] BTRFS warning (device loop0): chunk 13631488 missing 1 devices, max tolerance is 0 for writable mount
[64570.050875] BTRFS: error (device loop0) in write_all_supers:4286: errno=-5 IO failure (errors while submitting device barriers.)
[64570.051532] BTRFS info (device loop0: state E): forced readonly
[64570.051537] BTRFS warning (device loop0: state E): Skipping commit of aborted transaction.
[64570.051540] BTRFS: error (device loop0: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[64570.054623] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[64572.616302] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[64572.616311] BTRFS info (device dm-11): turning on sync discard
[64572.616314] BTRFS info (device dm-11): using free space tree
[64572.620738] BTRFS info (device dm-11): start tree-log replay
[64572.680017] loop0: detected capacity change from 0 to 6629376
[64572.704053] BTRFS info (device loop0): using crc32c (crc32c-intel) checksum algorithm
[64572.704060] BTRFS info (device loop0): disk space caching is enabled
[64572.781518] BTRFS info (device loop0): enabling ssd optimizations
[64572.781523] BTRFS info (device loop0): auto enabling async discard
[64573.825291] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[64573.825297] btrfs_dev_stat_inc_and_print: 20 callbacks suppressed
[64573.825299] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 1, rd 0, flush 0, corrupt 0, gen 0
[64573.825308] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[64573.825311] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 2, rd 0, flush 0, corrupt 0, gen 0
[64573.825318] BTRFS error (device dm-11): error writing primary super block to device 1
[64573.825321] BTRFS: error (device dm-11) in write_all_supers:4356: errno=-5 IO failure (1 errors while writing supers)
[64573.825993] BTRFS info (device dm-11: state E): forced readonly
[64573.826001] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[64573.826004] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[64573.826009] BTRFS: error (device dm-11: state EA) in btrfs_sync_log:3194: errno=-5 IO failure
[64573.827779] blk_print_req_error: 10 callbacks suppressed
[64573.827781] I/O error, dev loop0, sector 128 op 0x1:(WRITE) flags 0x3800 phys_seg 1 prio class 0
[64573.827786] BTRFS warning (device loop0): lost page write due to IO error on /dev/loop0 (-5)
[64573.827789] BTRFS error (device loop0): bdev /dev/loop0 errs: wr 1, rd 0, flush 0, corrupt 0, gen 0
[64573.827798] I/O error, dev loop0, sector 1636288 op 0x1:(WRITE) flags 0x800 phys_seg 16 prio class 0
[64573.827801] BTRFS error (device loop0): bdev /dev/loop0 errs: wr 2, rd 0, flush 0, corrupt 0, gen 0
[64573.828974] BTRFS error (device loop0): error writing primary super block to device 1
[64573.828978] BTRFS: error (device loop0) in write_all_supers:4356: errno=-5 IO failure (1 errors while writing supers)
[64573.829704] BTRFS info (device loop0: state E): forced readonly
[64573.829708] BTRFS: error (device loop0: state EA) in btrfs_sync_log:3205: errno=-5 IO failure
[64573.830712] BTRFS warning (device loop0: state EA): Skipping commit of aborted transaction.
[64573.830716] BTRFS: error (device loop0: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[64573.842932] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[64577.279936] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[64577.279945] BTRFS info (device dm-11): turning on sync discard
[64577.279948] BTRFS info (device dm-11): using free space tree
[64577.284059] BTRFS info (device dm-11): start tree-log replay
[64577.354028] loop0: detected capacity change from 0 to 6629376
[64577.370394] BTRFS info (device loop0): using crc32c (crc32c-intel) checksum algorithm
[64577.370401] BTRFS info (device loop0): disk space caching is enabled
[64577.469729] BTRFS info (device loop0): enabling ssd optimizations
[64577.469734] BTRFS info (device loop0): auto enabling async discard
[64577.513565] ------------[ cut here ]------------
[64577.513673] WARNING: CPU: 1 PID: 50328 at fs/btrfs/discard.c:604 btrfs_discard_update_discardable+0x98/0xb0
[64577.513681] Modules linked in: dm_thin_pool dm_persistent_data dm_bio_prison dm_log_writes dm_dust dm_flakey nft_fib_inet nft_fib_ipv4 nft_fib_ipv6 nft_fib nft_reject_inet nf_reject_ipv4 nf_reject_ipv6 nft_reject nft_ct nft_chain_nat nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 ip6_tables nft_compat ip_set rfkill nf_tables nfnetlink intel_rapl_msr iTCO_wdt iTCO_vendor_support snd_hda_codec_generic intel_rapl_common snd_hda_intel joydev snd_intel_dspcfg snd_hda_codec snd_hwdep snd_hda_core snd_pcm virtio_balloon i2c_i801 i2c_smbus snd_timer snd soundcore lpc_ich zram ip_tables xfs crct10dif_pclmul crc32_pclmul crc32c_intel ghash_clmulni_intel serio_raw qemu_fw_cfg
[64577.513785] CPU: 1 PID: 50328 Comm: kworker/u4:3 Tainted: G        W         5.19.0-rc8+ #786
[64577.513790] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.13.0-2.fc32 04/01/2014
[64577.513793] Workqueue: btrfs-cache btrfs_work_helper
[64577.513800] RIP: 0010:btrfs_discard_update_discardable+0x98/0xb0
[64577.513804] 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 9c 98 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
[64577.513807] RSP: 0018:ffffb0328529bad0 EFLAGS: 00010246
[64577.513812] RAX: 0000000000000000 RBX: ffff98c784798600 RCX: 0000000000000001
[64577.513815] RDX: 0000000000000000 RSI: ffffffff8d807c93 RDI: ffffffff8d8a825e
[64577.513818] RBP: ffff98c784aac000 R08: 0000000000000000 R09: 0000000000001000
[64577.513821] R10: 000000000001a5a2 R11: 0000000000b98300 R12: ffff98c784bcb810
[64577.513824] R13: ffff98c7960af480 R14: ffff98c784aac000 R15: ffff98c79df91000
[64577.513827] FS:  0000000000000000(0000) GS:ffff98c7fbd00000(0000) knlGS:0000000000000000
[64577.513830] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[64577.513833] CR2: 00007f45cc6f7160 CR3: 000000016d54a003 CR4: 0000000000370ee0
[64577.513839] Call Trace:
[64577.513842]  
[64577.513849]  __btrfs_remove_free_space_cache+0x27/0x30
[64577.513855]  load_free_space_cache+0xad2/0xaf0
[64577.513932]  caching_thread+0x40b/0x650
[64577.513946]  ? lock_release+0x137/0x2d0
[64577.513958]  btrfs_work_helper+0xf2/0x3e0
[64577.513962]  ? lock_is_held_type+0xe2/0x140
[64577.513974]  process_one_work+0x271/0x590
[64577.513990]  worker_thread+0x52/0x3b0
[64577.513999]  ? process_one_work+0x590/0x590
[64577.514003]  kthread+0xf0/0x120
[64577.514007]  ? kthread_complete_and_exit+0x20/0x20
[64577.514015]  ret_from_fork+0x1f/0x30
[64577.514039]  
[64577.514041] irq event stamp: 16233603
[64577.514044] hardirqs last  enabled at (16233609): [] __up_console_sem+0x5e/0x70
[64577.514048] hardirqs last disabled at (16233614): [] __up_console_sem+0x43/0x70
[64577.514052] softirqs last  enabled at (16233072): [] __irq_exit_rcu+0xeb/0x160
[64577.514056] softirqs last disabled at (16233063): [] __irq_exit_rcu+0xeb/0x160
[64577.514059] ---[ end trace 0000000000000000 ]---
[64577.514064] BTRFS warning (device loop0): block group 298844160 has wrong amount of free space
[64577.514088] BTRFS warning (device loop0): failed to load free space cache for block group 298844160, rebuilding it now
[64579.539748] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 1, rd 0, flush 0, corrupt 0, gen 0
[64579.540171] I/O error, dev loop0, sector 0 op 0x1:(WRITE) flags 0x800 phys_seg 0 prio class 0
[64579.541075] BTRFS error (device loop0): bdev /dev/loop0 errs: wr 0, rd 0, flush 1, corrupt 0, gen 0
[64579.541080] BTRFS warning (device loop0): chunk 13631488 missing 1 devices, max tolerance is 0 for writable mount
[64579.541083] BTRFS: error (device loop0) in write_all_supers:4286: errno=-5 IO failure (errors while submitting device barriers.)
[64579.541734] BTRFS info (device loop0: state E): forced readonly
[64579.541738] BTRFS: error (device loop0: state EA) in btrfs_sync_log:3205: errno=-5 IO failure
[64579.541840] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 2, rd 0, flush 0, corrupt 0, gen 0
[64579.542198] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 3, rd 0, flush 0, corrupt 0, gen 0
[64579.542469] BTRFS: error (device dm-11) in btrfs_commit_transaction:2496: errno=-5 IO failure (Error while writing out transaction)
[64579.543081] BTRFS warning (device loop0: state EA): Skipping commit of aborted transaction.
[64579.543215] BTRFS info (device dm-11: state E): forced readonly
[64579.543220] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[64579.543222] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[64579.543841] lo_write_bvec: 9 callbacks suppressed
[64579.543842] loop: Write error at byte offset 878108672, length 4096.
[64579.543848] loop: Write error at byte offset 878043136, length 4096.
[64579.543849] I/O error, dev loop0, sector 1715056 op 0x1:(WRITE) flags 0x800 phys_seg 3 prio class 0
[64579.543857] BTRFS error (device loop0: state EA): bdev /dev/loop0 errs: wr 1, rd 0, flush 1, corrupt 0, gen 0
[64579.543888] I/O error, dev loop0, sector 1714928 op 0x1:(WRITE) flags 0x800 phys_seg 9 prio class 0
[64579.543891] BTRFS error (device loop0: state EA): bdev /dev/loop0 errs: wr 2, rd 0, flush 1, corrupt 0, gen 0
[64579.544984] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 4, rd 0, flush 0, corrupt 0, gen 0
[64579.546943] loop: Write error at byte offset 877805568, length 4096.
[64579.546952] I/O error, dev loop0, sector 1714464 op 0x1:(WRITE) flags 0x0 phys_seg 8 prio class 0
[64579.546957] BTRFS error (device loop0: state EA): bdev /dev/loop0 errs: wr 3, rd 0, flush 1, corrupt 0, gen 0
[64579.552004] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[64579.612086] I/O error, dev loop0, sector 1714752 op 0x0:(READ) flags 0x80700 phys_seg 2 prio class 0
[64579.612206] I/O error, dev loop0, sector 1714752 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 0
[64579.612215] BTRFS error (device loop0: state EA): bdev /dev/loop0 errs: wr 3, rd 1, flush 1, corrupt 0, gen 0
[64582.021403] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[64582.021411] BTRFS info (device dm-11): turning on sync discard
[64582.021414] BTRFS info (device dm-11): using free space tree
[64582.025478] BTRFS info (device dm-11): start tree-log replay
[64582.172713] loop0: detected capacity change from 0 to 6629376
[64582.196885] BTRFS info (device loop0): using crc32c (crc32c-intel) checksum algorithm
[64582.196891] BTRFS info (device loop0): disk space caching is enabled
[64582.294707] BTRFS info (device loop0): enabling ssd optimizations
[64582.294712] BTRFS info (device loop0): auto enabling async discard
[64582.294715] BTRFS info (device loop0): start tree-log replay
[64584.433328] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 1, rd 0, flush 0, corrupt 0, gen 0
[64584.433563] loop: Write error at byte offset 323420160, length 4096.
[64584.433574] I/O error, dev loop0, sector 631680 op 0x1:(WRITE) flags 0x1800 phys_seg 1 prio class 0
[64584.433754] BTRFS: error (device dm-11) in btrfs_commit_transaction:2496: errno=-5 IO failure (Error while writing out transaction)
[64584.434475] loop: Write error at byte offset 54984704, length 4096.
[64584.434748] BTRFS info (device dm-11: state E): forced readonly
[64584.434781] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[64584.434760] I/O error, dev loop0, sector 107392 op 0x1:(WRITE) flags 0x1800 phys_seg 1 prio class 0
[64584.434785] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[64584.434842] BTRFS: error (device loop0) in btrfs_commit_transaction:2496: errno=-5 IO failure (Error while writing out transaction)
[64584.436880] BTRFS info (device loop0: state E): forced readonly
[64584.436889] BTRFS warning (device loop0: state E): Skipping commit of aborted transaction.
[64584.436892] BTRFS: error (device loop0: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[64584.437619] BTRFS: error (device loop0: state EA) in btrfs_sync_log:3194: errno=-5 IO failure
[64584.442640] loop: Write error at byte offset 915181568, length 4096.
[64584.442648] loop: Write error at byte offset 857452544, length 4096.
[64584.442650] loop: Write error at byte offset 915214336, length 4096.
[64584.442652] loop: Write error at byte offset 854577152, length 4096.
[64584.442697] loop: Write error at byte offset 915300352, length 4096.
[64584.442705] I/O error, dev loop0, sector 1787464 op 0x1:(WRITE) flags 0x0 phys_seg 4 prio class 0
[64584.442726] I/O error, dev loop0, sector 1674712 op 0x1:(WRITE) flags 0x0 phys_seg 2 prio class 0
[64584.451444] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[64584.484526] BTRFS warning (device loop0: state EA): direct IO failed ino 1202 rw 0,0 sector 0x1b44e8 len 0 err no 10
[64586.724470] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[64586.724478] BTRFS info (device dm-11): turning on sync discard
[64586.724481] BTRFS info (device dm-11): using free space tree
[64586.728241] BTRFS info (device dm-11): start tree-log replay
[64586.813084] loop0: detected capacity change from 0 to 6629376
[64586.836600] BTRFS info (device loop0): using crc32c (crc32c-intel) checksum algorithm
[64586.836607] BTRFS info (device loop0): disk space caching is enabled
[64586.949055] BTRFS info (device loop0): enabling ssd optimizations
[64586.949060] BTRFS info (device loop0): auto enabling async discard
[64588.996062] btrfs_dev_stat_inc_and_print: 42 callbacks suppressed
[64588.996066] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 1, rd 0, flush 0, corrupt 0, gen 0
[64588.996141] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 2, rd 0, flush 0, corrupt 0, gen 0
[64588.996157] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 3, rd 0, flush 0, corrupt 0, gen 0
[64588.996168] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 4, rd 0, flush 0, corrupt 0, gen 0
[64588.996251] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 5, rd 0, flush 0, corrupt 0, gen 0
[64588.996315] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 6, rd 0, flush 0, corrupt 0, gen 0
[64588.996328] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 7, rd 0, flush 0, corrupt 0, gen 0
[64588.996374] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 8, rd 0, flush 0, corrupt 0, gen 0
[64588.996444] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 9, rd 0, flush 0, corrupt 0, gen 0
[64588.996511] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 10, rd 0, flush 0, corrupt 0, gen 0
[64588.997345] blk_print_req_error: 6 callbacks suppressed
[64588.997347] I/O error, dev loop0, sector 0 op 0x1:(WRITE) flags 0x800 phys_seg 0 prio class 0
[64589.000681] BTRFS warning (device loop0): chunk 13631488 missing 1 devices, max tolerance is 0 for writable mount
[64589.000685] BTRFS: error (device loop0) in write_all_supers:4286: errno=-5 IO failure (errors while submitting device barriers.)
[64589.001345] BTRFS info (device loop0: state E): forced readonly
[64589.001350] BTRFS warning (device loop0: state E): Skipping commit of aborted transaction.
[64589.001353] BTRFS: error (device loop0: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[64589.010119] BTRFS: error (device loop0: state EA) in btrfs_sync_log:3194: errno=-5 IO failure
[64589.017215] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[64589.034428] BTRFS: error (device dm-11: state A) in __btrfs_update_delayed_inode:1089: errno=-5 IO failure
[64589.035292] BTRFS info (device dm-11: state EA): forced readonly
[64589.035298] BTRFS: error (device dm-11: state EA) in __btrfs_run_delayed_items:1182: errno=-5 IO failure
[64589.035953] BTRFS warning (device dm-11: state EA): Skipping commit of aborted transaction.
[64589.035957] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[64589.038370] BTRFS: error (device dm-11: state EA) in btrfs_run_delayed_refs:2141: errno=-5 IO failure
[64591.688211] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[64591.688220] BTRFS info (device dm-11): turning on sync discard
[64591.688223] BTRFS info (device dm-11): using free space tree
[64591.692943] BTRFS info (device dm-11): start tree-log replay
[64591.785576] loop0: detected capacity change from 0 to 6629376
[64591.810675] BTRFS info (device loop0): using crc32c (crc32c-intel) checksum algorithm
[64591.810682] BTRFS info (device loop0): disk space caching is enabled
[64591.957741] BTRFS info (device loop0): enabling ssd optimizations
[64591.957746] BTRFS info (device loop0): auto enabling async discard
[64593.002639] I/O error, dev loop0, sector 0 op 0x1:(WRITE) flags 0x800 phys_seg 0 prio class 0
[64593.002904] BTRFS warning (device loop0): chunk 13631488 missing 1 devices, max tolerance is 0 for writable mount
[64593.002909] BTRFS: error (device loop0) in write_all_supers:4286: errno=-5 IO failure (errors while submitting device barriers.)
[64593.003581] BTRFS info (device loop0: state E): forced readonly
[64593.003586] BTRFS warning (device loop0: state E): Skipping commit of aborted transaction.
[64593.003590] BTRFS: error (device loop0: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[64593.005572] BTRFS warning (device loop0: state EA): Skipping commit of aborted transaction.
[64593.017412] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[64593.032867] BTRFS: error (device dm-11: state A) in __btrfs_free_extent:3078: errno=-5 IO failure
[64593.033847] BTRFS info (device dm-11: state EA): forced readonly
[64593.033879] BTRFS: error (device dm-11: state EA) in btrfs_run_delayed_refs:2141: errno=-5 IO failure
[64593.034737] BTRFS warning (device dm-11: state EA): Skipping commit of aborted transaction.
[64593.034742] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[64593.059393] I/O error, dev loop0, sector 1511912 op 0x0:(READ) flags 0x0 phys_seg 9 prio class 2
[64593.059407] BTRFS warning (device loop0: state EA): direct IO failed ino 263 rw 0,0 sector 0x1711e8 len 0 err no 10
[64596.399467] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[64596.399499] BTRFS info (device dm-11): turning on sync discard
[64596.399502] BTRFS info (device dm-11): using free space tree
[64596.404339] BTRFS info (device dm-11): start tree-log replay
[64596.502214] loop0: detected capacity change from 0 to 6629376
[64596.521033] BTRFS info (device loop0): using crc32c (crc32c-intel) checksum algorithm
[64596.521040] BTRFS info (device loop0): disk space caching is enabled
[64596.568610] BTRFS info (device loop0): enabling ssd optimizations
[64596.568619] BTRFS info (device loop0): auto enabling async discard
[64596.568621] BTRFS info (device loop0): start tree-log replay
[64596.577957] BTRFS info (device loop0): the free space cache file (298844160) is invalid, skip it
[64596.816457] btrfs_dev_stat_inc_and_print: 94 callbacks suppressed
[64596.816460] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 1, rd 0, flush 0, corrupt 0, gen 0
[64596.816980] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 2, rd 0, flush 0, corrupt 0, gen 0
[64596.816987] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 3, rd 0, flush 0, corrupt 0, gen 0
[64596.817014] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 4, rd 0, flush 0, corrupt 0, gen 0
[64596.817041] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 5, rd 0, flush 0, corrupt 0, gen 0
[64596.817053] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 6, rd 0, flush 0, corrupt 0, gen 0
[64596.817076] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 6, rd 1, flush 0, corrupt 0, gen 0
[64596.817657] I/O error, dev loop0, sector 124288 op 0x0:(READ) flags 0x1000 phys_seg 3 prio class 0
[64596.817663] BTRFS error (device loop0): bdev /dev/loop0 errs: wr 0, rd 1, flush 0, corrupt 0, gen 0
[64596.817677] lo_write_bvec: 2 callbacks suppressed
[64596.817680] loop: Write error at byte offset 874795008, length 4096.
[64596.817686] I/O error, dev loop0, sector 1708584 op 0x1:(WRITE) flags 0x800 phys_seg 1 prio class 0
[64596.817690] BTRFS error (device loop0): bdev /dev/loop0 errs: wr 1, rd 1, flush 0, corrupt 0, gen 0
[64596.817941] loop: Write error at byte offset 885395456, length 4096.
[64596.817949] I/O error, dev loop0, sector 1729176 op 0x1:(WRITE) flags 0x800 phys_seg 20 prio class 0
[64596.817959] BTRFS error (device loop0): bdev /dev/loop0 errs: wr 2, rd 1, flush 0, corrupt 0, gen 0
[64596.820528] I/O error, dev loop0, sector 648576 op 0x0:(READ) flags 0x1000 phys_seg 3 prio class 0
[64596.821165] loop: Write error at byte offset 307986432, length 4096.
[64596.821176] I/O error, dev loop0, sector 601536 op 0x1:(WRITE) flags 0x1800 phys_seg 10 prio class 0
[64596.821637] loop: Write error at byte offset 308068352, length 4096.
[64596.821661] loop: Write error at byte offset 39763968, length 4096.
[64596.821678] loop: Write error at byte offset 308199424, length 4096.
[64596.821696] loop: Write error at byte offset 881471488, length 4096.
[64596.821704] I/O error, dev loop0, sector 1721624 op 0x1:(WRITE) flags 0x8800 phys_seg 4 prio class 2
[64596.821709] BTRFS warning (device loop0): direct IO failed ino 1482 rw 1,34817 sector 0x1a4518 len 0 err no 10
[64596.821713] loop: Write error at byte offset 874795008, length 4096.
[64596.821733] I/O error, dev loop0, sector 601696 op 0x1:(WRITE) flags 0x1800 phys_seg 19 prio class 0
[64596.821770] I/O error, dev loop0, sector 77664 op 0x1:(WRITE) flags 0x1800 phys_seg 4 prio class 0
[64596.821774] I/O error, dev loop0, sector 601952 op 0x1:(WRITE) flags 0x1800 phys_seg 4 prio class 0
[64596.821781] I/O error, dev loop0, sector 1708584 op 0x1:(WRITE) flags 0x800 phys_seg 2 prio class 0
[64596.826498] loop: Write error at byte offset 875606016, length 4096.
[64596.831871] BTRFS: error (device dm-11: state A) in btrfs_run_delayed_refs:2141: errno=-5 IO failure
[64596.832378] BTRFS info (device dm-11: state EA): forced readonly
[64596.832887] BTRFS: error (device dm-11: state EA) in btrfs_run_delayed_refs:2141: errno=-5 IO failure
[64596.836193] BTRFS: error (device loop0: state A) in do_free_extent_accounting:2848: errno=-5 IO failure
[64596.836902] BTRFS info (device loop0: state EA): forced readonly
[64596.836907] BTRFS: error (device loop0: state EA) in btrfs_run_delayed_refs:2141: errno=-5 IO failure
[64596.840530] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[64600.234038] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[64600.234046] BTRFS info (device dm-11): turning on sync discard
[64600.234048] BTRFS info (device dm-11): using free space tree
[64600.238639] BTRFS info (device dm-11): start tree-log replay
[64600.304834] loop0: detected capacity change from 0 to 6629376
[64600.331590] BTRFS info (device loop0): using crc32c (crc32c-intel) checksum algorithm
[64600.331597] BTRFS info (device loop0): disk space caching is enabled
[64600.356212] BTRFS info (device loop0): enabling ssd optimizations
[64600.356216] BTRFS info (device loop0): auto enabling async discard
[64600.410784] BTRFS error (device loop0): error loading props for ino 265 (root 5): -5
[64600.410845] BTRFS: error (device dm-11: state A) in do_free_extent_accounting:2848: errno=-5 IO failure
[64600.411617] BTRFS info (device dm-11: state EA): forced readonly
[64600.411644] BTRFS: error (device dm-11: state EA) in btrfs_run_delayed_refs:2141: errno=-5 IO failure
[64600.413511] BTRFS: error (device dm-11: state EA) in do_free_extent_accounting:2848: errno=-5 IO failure
[64600.415073] BTRFS: error (device dm-11: state EA) in btrfs_run_delayed_refs:2141: errno=-5 IO failure
[64600.422355] BTRFS error (device loop0): error reading free space cache
[64600.422384] BTRFS warning (device loop0): failed to load free space cache for block group 298844160, rebuilding it now
[64600.422828] loop: Write error at byte offset 576770048, length 4096.
[64600.422839] BTRFS warning (device loop0): direct IO failed ino 1476 rw 1,34817 sector 0x113068 len 0 err no 10
[64600.429115] BTRFS warning (device loop0): direct IO failed ino 1478 rw 1,34817 sector 0x1ba800 len 0 err no 10
[64600.433754] BTRFS warning (device loop0): direct IO failed ino 1474 rw 1,34817 sector 0x1ba800 len 0 err no 10
[64600.436140] BTRFS warning (device loop0): direct IO failed ino 1474 rw 1,34817 sector 0x1ba800 len 0 err no 10
[64600.441046] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[64600.449219] BTRFS: error (device loop0: state A) in __btrfs_free_extent:3078: errno=-5 IO failure
[64600.449777] BTRFS info (device loop0: state EA): forced readonly
[64600.449783] BTRFS: error (device loop0: state EA) in btrfs_run_delayed_refs:2141: errno=-5 IO failure
[64603.631316] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[64603.631325] BTRFS info (device dm-11): turning on sync discard
[64603.631328] BTRFS info (device dm-11): using free space tree
[64603.656563] loop0: detected capacity change from 0 to 6629376
[64603.690048] BTRFS info (device loop0): using crc32c (crc32c-intel) checksum algorithm
[64603.690055] BTRFS info (device loop0): disk space caching is enabled
[64603.706360] BTRFS info (device loop0): enabling ssd optimizations
[64603.706365] BTRFS info (device loop0): auto enabling async discard
[64603.773568] btrfs_dev_stat_inc_and_print: 96 callbacks suppressed
[64603.773572] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 0, rd 1, flush 0, corrupt 0, gen 0
[64603.774319] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 0, rd 2, flush 0, corrupt 0, gen 0
[64603.774345] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 0, rd 3, flush 0, corrupt 0, gen 0
[64603.774891] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 0, rd 4, flush 0, corrupt 0, gen 0
[64603.774916] blk_print_req_error: 35 callbacks suppressed
[64603.774918] I/O error, dev loop0, sector 1728544 op 0x0:(READ) flags 0x80700 phys_seg 16 prio class 0
[64603.776200] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 0, rd 5, flush 0, corrupt 0, gen 0
[64603.776547] I/O error, dev loop0, sector 1728544 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 0
[64603.776552] BTRFS error (device loop0): bdev /dev/loop0 errs: wr 0, rd 1, flush 0, corrupt 0, gen 0
[64603.776683] BTRFS error (device loop0): error reading free space cache
[64603.776737] BTRFS warning (device loop0): failed to load free space cache for block group 30408704, rebuilding it now
[64603.781980] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[64603.783378] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 0, rd 6, flush 0, corrupt 0, gen 0
[64603.783424] I/O error, dev loop0, sector 110592 op 0x0:(READ) flags 0x1000 phys_seg 4 prio class 0
[64603.783429] BTRFS error (device loop0): bdev /dev/loop0 errs: wr 0, rd 2, flush 0, corrupt 0, gen 0
[64603.784052] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 0, rd 7, flush 0, corrupt 0, gen 0
[64603.784089] I/O error, dev loop0, sector 94304 op 0x0:(READ) flags 0x1000 phys_seg 4 prio class 0
[64603.784093] BTRFS error (device loop0): bdev /dev/loop0 errs: wr 0, rd 3, flush 0, corrupt 0, gen 0
[64603.788646] I/O error, dev loop0, sector 618592 op 0x0:(READ) flags 0x1000 phys_seg 4 prio class 0
[64603.788696] BTRFS error (device loop0): error loading props for ino 265 (root 5): -5
[64603.788896] I/O error, dev loop0, sector 634880 op 0x0:(READ) flags 0x1000 phys_seg 4 prio class 0
[64603.788921] I/O error, dev loop0, sector 94304 op 0x0:(READ) flags 0x1000 phys_seg 4 prio class 0
[64603.789089] I/O error, dev loop0, sector 94304 op 0x0:(READ) flags 0x1000 phys_seg 4 prio class 0
[64603.789206] I/O error, dev loop0, sector 618592 op 0x0:(READ) flags 0x1000 phys_seg 4 prio class 0
[64603.789316] I/O error, dev loop0, sector 94304 op 0x0:(READ) flags 0x1000 phys_seg 4 prio class 0
[64603.791268] BTRFS error (device loop0): error reading free space cache
[64603.791272] BTRFS warning (device loop0): failed to load free space cache for block group 298844160, rebuilding it now
[64603.805280] BTRFS: error (device loop0: state A) in btrfs_finish_ordered_io:3318: errno=-5 IO failure
[64603.805989] BTRFS info (device loop0: state EA): forced readonly
[64603.849854] BTRFS: error (device dm-11: state A) in btrfs_run_delayed_refs:2141: errno=-5 IO failure
[64603.850325] BTRFS info (device dm-11: state EA): forced readonly
[64607.084518] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[64607.084536] BTRFS info (device dm-11): turning on sync discard
[64607.084542] BTRFS info (device dm-11): using free space tree
[64607.121607] loop0: detected capacity change from 0 to 6629376
[64607.157979] BTRFS info (device loop0): using crc32c (crc32c-intel) checksum algorithm
[64607.157986] BTRFS info (device loop0): disk space caching is enabled
[64607.175016] BTRFS info (device loop0): enabling ssd optimizations
[64607.175020] BTRFS info (device loop0): auto enabling async discard
[64608.351517] BTRFS warning (device loop0): chunk 13631488 missing 1 devices, max tolerance is 0 for writable mount
[64608.351523] BTRFS: error (device loop0) in write_all_supers:4286: errno=-5 IO failure (errors while submitting device barriers.)
[64608.352125] BTRFS info (device loop0: state E): forced readonly
[64608.352130] BTRFS warning (device loop0: state E): Skipping commit of aborted transaction.
[64608.352133] BTRFS: error (device loop0: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[64608.359004] lo_write_bvec: 17 callbacks suppressed
[64608.359006] loop: Write error at byte offset 808030208, length 4096.
[64608.359067] loop: Write error at byte offset 778141696, length 4096.
[64608.359339] loop: Write error at byte offset 808034304, length 4096.
[64608.359617] loop: Write error at byte offset 638763008, length 4096.
[64608.359648] loop: Write error at byte offset 660500480, length 4096.
[64608.359794] loop: Write error at byte offset 661622784, length 4096.
[64608.359817] loop: Write error at byte offset 756355072, length 4096.
[64608.359837] loop: Write error at byte offset 778149888, length 4096.
[64608.360004] loop: Write error at byte offset 630333440, length 4096.
[64608.360023] loop: Write error at byte offset 751595520, length 4096.
[64608.363409] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[64608.369567] BTRFS: error (device dm-11: state A) in btrfs_create_new_inode:6433: errno=-5 IO failure
[64608.370133] BTRFS info (device dm-11: state EA): forced readonly
[64608.372955] BTRFS warning (device loop0: state EA): direct IO failed ino 1543 rw 0,0 sector 0x13d9c8 len 0 err no 10
[64608.374149] BTRFS warning (device loop0: state EA): direct IO failed ino 1543 rw 0,0 sector 0x13d998 len 0 err no 10
[64608.413131] BTRFS warning (device loop0: state EA): direct IO failed ino 1543 rw 0,0 sector 0x13d988 len 0 err no 10
[64611.868223] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[64611.868231] BTRFS info (device dm-11): turning on sync discard
[64611.868234] BTRFS info (device dm-11): using free space tree
[64611.872775] BTRFS info (device dm-11): start tree-log replay
[64611.942129] loop0: detected capacity change from 0 to 6629376
[64611.979534] BTRFS info (device loop0): using crc32c (crc32c-intel) checksum algorithm
[64611.979541] BTRFS info (device loop0): disk space caching is enabled
[64611.991992] BTRFS info (device loop0): enabling ssd optimizations
[64611.991996] BTRFS info (device loop0): auto enabling async discard
[64611.992003] BTRFS info (device loop0): start tree-log replay
[64612.005062] ------------[ cut here ]------------
[64612.005138] WARNING: CPU: 1 PID: 207433 at fs/btrfs/discard.c:604 btrfs_discard_update_discardable+0x98/0xb0
[64612.005144] Modules linked in: dm_thin_pool dm_persistent_data dm_bio_prison dm_log_writes dm_dust dm_flakey nft_fib_inet nft_fib_ipv4 nft_fib_ipv6 nft_fib nft_reject_inet nf_reject_ipv4 nf_reject_ipv6 nft_reject nft_ct nft_chain_nat nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 ip6_tables nft_compat ip_set rfkill nf_tables nfnetlink intel_rapl_msr iTCO_wdt iTCO_vendor_support snd_hda_codec_generic intel_rapl_common snd_hda_intel joydev snd_intel_dspcfg snd_hda_codec snd_hwdep snd_hda_core snd_pcm virtio_balloon i2c_i801 i2c_smbus snd_timer snd soundcore lpc_ich zram ip_tables xfs crct10dif_pclmul crc32_pclmul crc32c_intel ghash_clmulni_intel serio_raw qemu_fw_cfg
[64612.005206] CPU: 1 PID: 207433 Comm: kworker/u4:11 Tainted: G        W         5.19.0-rc8+ #786
[64612.005209] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.13.0-2.fc32 04/01/2014
[64612.005211] Workqueue: btrfs-cache btrfs_work_helper
[64612.005216] RIP: 0010:btrfs_discard_update_discardable+0x98/0xb0
[64612.005219] 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 9c 98 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
[64612.005221] RSP: 0018:ffffb032827b3ad0 EFLAGS: 00010246
[64612.005224] RAX: 0000000000000000 RBX: ffff98c7af074000 RCX: 0000000000000001
[64612.005226] RDX: 0000000000000000 RSI: ffffffff8d807c93 RDI: ffffffff8d8a825e
[64612.005227] RBP: ffff98c7f32c4000 R08: 0000000000000000 R09: 0000000000001000
[64612.005229] R10: 0000000000009c72 R11: 0000000000b99b00 R12: ffff98c787128010
[64612.005230] R13: ffff98c7834984c0 R14: ffff98c7f32c4000 R15: ffff98c7871c6c40
[64612.005232] FS:  0000000000000000(0000) GS:ffff98c7fbd00000(0000) knlGS:0000000000000000
[64612.005234] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[64612.005236] CR2: 0000555a028d71f8 CR3: 00000001070a4001 CR4: 0000000000370ee0
[64612.005240] Call Trace:
[64612.005242]  
[64612.005246]  __btrfs_remove_free_space_cache+0x27/0x30
[64612.005251]  load_free_space_cache+0xad2/0xaf0
[64612.005290]  caching_thread+0x40b/0x650
[64612.005299]  ? lock_release+0x137/0x2d0
[64612.005306]  btrfs_work_helper+0xf2/0x3e0
[64612.005309]  ? lock_is_held_type+0xe2/0x140
[64612.005316]  process_one_work+0x271/0x590
[64612.005324]  ? process_one_work+0x590/0x590
[64612.005349]  worker_thread+0x52/0x3b0
[64612.005355]  ? process_one_work+0x590/0x590
[64612.005357]  kthread+0xf0/0x120
[64612.005360]  ? kthread_complete_and_exit+0x20/0x20
[64612.005371]  ret_from_fork+0x1f/0x30
[64612.005385]  
[64612.005386] irq event stamp: 2823103
[64612.005388] hardirqs last  enabled at (2823109): [] __up_console_sem+0x5e/0x70
[64612.005391] hardirqs last disabled at (2823114): [] __up_console_sem+0x43/0x70
[64612.005393] softirqs last  enabled at (2823064): [] __irq_exit_rcu+0xeb/0x160
[64612.005397] softirqs last disabled at (2823055): [] __irq_exit_rcu+0xeb/0x160
[64612.005399] ---[ end trace 0000000000000000 ]---
[64612.005402] BTRFS warning (device loop0): block group 298844160 has wrong amount of free space
[64612.005420] BTRFS warning (device loop0): failed to load free space cache for block group 298844160, rebuilding it now
[64612.214845] btrfs_dev_stat_inc_and_print: 166 callbacks suppressed
[64612.214849] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 0, rd 1, flush 0, corrupt 0, gen 0
[64612.214889] blk_print_req_error: 36 callbacks suppressed
[64612.214891] I/O error, dev loop0, sector 80192 op 0x0:(READ) flags 0x1000 phys_seg 2 prio class 0
[64612.214899] BTRFS error (device loop0): bdev /dev/loop0 errs: wr 0, rd 1, flush 0, corrupt 0, gen 0
[64612.217317] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 0, rd 2, flush 0, corrupt 0, gen 0
[64612.217504] I/O error, dev loop0, sector 604480 op 0x0:(READ) flags 0x1000 phys_seg 2 prio class 0
[64612.217510] BTRFS error (device loop0): bdev /dev/loop0 errs: wr 0, rd 2, flush 0, corrupt 0, gen 0
[64612.218045] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 0, rd 3, flush 0, corrupt 0, gen 0
[64612.218073] I/O error, dev loop0, sector 121792 op 0x0:(READ) flags 0x1000 phys_seg 3 prio class 0
[64612.218078] BTRFS error (device loop0): bdev /dev/loop0 errs: wr 0, rd 3, flush 0, corrupt 0, gen 0
[64612.218167] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 0, rd 4, flush 0, corrupt 0, gen 0
[64612.218191] I/O error, dev loop0, sector 646080 op 0x0:(READ) flags 0x1000 phys_seg 3 prio class 0
[64612.218195] BTRFS error (device loop0): bdev /dev/loop0 errs: wr 0, rd 4, flush 0, corrupt 0, gen 0
[64612.218879] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 0, rd 5, flush 0, corrupt 0, gen 0
[64612.218906] I/O error, dev loop0, sector 81024 op 0x0:(READ) flags 0x1000 phys_seg 3 prio class 0
[64612.218911] BTRFS error (device loop0): bdev /dev/loop0 errs: wr 0, rd 5, flush 0, corrupt 0, gen 0
[64612.219017] I/O error, dev loop0, sector 605312 op 0x0:(READ) flags 0x1000 phys_seg 3 prio class 0
[64612.220884] I/O error, dev loop0, sector 80192 op 0x0:(READ) flags 0x1000 phys_seg 2 prio class 0
[64612.221061] I/O error, dev loop0, sector 96608 op 0x0:(READ) flags 0x1000 phys_seg 3 prio class 0
[64612.221098] I/O error, dev loop0, sector 604480 op 0x0:(READ) flags 0x1000 phys_seg 2 prio class 0
[64612.221230] I/O error, dev loop0, sector 620896 op 0x0:(READ) flags 0x1000 phys_seg 3 prio class 0
[64612.239273] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[64612.252707] BTRFS: error (device loop0: state A) in btrfs_start_dirty_block_groups:3075: errno=-5 IO failure
[64612.253295] BTRFS info (device loop0: state EA): forced readonly
[64612.254071] BTRFS: error (device loop0: state EA) in btrfs_finish_ordered_io:3318: errno=-5 IO failure
[64612.285226] BTRFS: error (device dm-11: state A) in btrfs_run_delayed_refs:2141: errno=-5 IO failure
[64612.285744] BTRFS info (device dm-11: state EA): forced readonly
[64615.473453] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[64615.473462] BTRFS info (device dm-11): turning on sync discard
[64615.473465] BTRFS info (device dm-11): using free space tree
[64615.478509] BTRFS info (device dm-11): start tree-log replay
[64615.543122] loop0: detected capacity change from 0 to 6629376
[64615.562413] BTRFS info (device loop0): using crc32c (crc32c-intel) checksum algorithm
[64615.562420] BTRFS info (device loop0): disk space caching is enabled
[64615.576555] BTRFS info (device loop0): enabling ssd optimizations
[64615.576559] BTRFS info (device loop0): auto enabling async discard
[64617.687338] btrfs_dev_stat_inc_and_print: 66 callbacks suppressed
[64617.687341] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 1, rd 0, flush 0, corrupt 0, gen 0
[64617.688024] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 2, rd 0, flush 0, corrupt 0, gen 0
[64617.688040] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 3, rd 0, flush 0, corrupt 0, gen 0
[64617.688065] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 4, rd 0, flush 0, corrupt 0, gen 0
[64617.688093] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 5, rd 0, flush 0, corrupt 0, gen 0
[64617.688120] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 6, rd 0, flush 0, corrupt 0, gen 0
[64617.688147] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 7, rd 0, flush 0, corrupt 0, gen 0
[64617.688165] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 8, rd 0, flush 0, corrupt 0, gen 0
[64617.688172] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 9, rd 0, flush 0, corrupt 0, gen 0
[64617.688221] blk_print_req_error: 17 callbacks suppressed
[64617.688223] I/O error, dev loop0, sector 0 op 0x1:(WRITE) flags 0x800 phys_seg 0 prio class 0
[64617.689753] BTRFS error (device loop0): bdev /dev/loop0 errs: wr 0, rd 0, flush 1, corrupt 0, gen 0
[64617.689758] BTRFS warning (device loop0): chunk 13631488 missing 1 devices, max tolerance is 0 for writable mount
[64617.689762] BTRFS: error (device loop0) in write_all_supers:4286: errno=-5 IO failure (errors while submitting device barriers.)
[64617.690417] BTRFS info (device loop0: state E): forced readonly
[64617.690421] BTRFS warning (device loop0: state E): Skipping commit of aborted transaction.
[64617.690428] BTRFS: error (device loop0: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[64617.691178] BTRFS warning (device loop0: state EA): Skipping commit of aborted transaction.
[64617.691184] BTRFS: error (device loop0: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[64617.704181] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[64617.717807] BTRFS: error (device dm-11) in btrfs_commit_transaction:2496: errno=-5 IO failure (Error while writing out transaction)
[64617.718618] BTRFS info (device dm-11: state E): forced readonly
[64617.718623] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[64617.718626] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[64620.551210] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[64620.551219] BTRFS info (device dm-11): turning on sync discard
[64620.551222] BTRFS info (device dm-11): using free space tree
[64620.573066] loop0: detected capacity change from 0 to 6629376
[64620.591746] BTRFS info (device loop0): using crc32c (crc32c-intel) checksum algorithm
[64620.591753] BTRFS info (device loop0): disk space caching is enabled
[64620.618306] BTRFS info (device loop0): enabling ssd optimizations
[64620.618311] BTRFS info (device loop0): auto enabling async discard
[64620.681077] ------------[ cut here ]------------
[64620.681155] WARNING: CPU: 1 PID: 206665 at fs/btrfs/discard.c:604 btrfs_discard_update_discardable+0x98/0xb0
[64620.681161] Modules linked in: dm_thin_pool dm_persistent_data dm_bio_prison dm_log_writes dm_dust dm_flakey nft_fib_inet nft_fib_ipv4 nft_fib_ipv6 nft_fib nft_reject_inet nf_reject_ipv4 nf_reject_ipv6 nft_reject nft_ct nft_chain_nat nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 ip6_tables nft_compat ip_set rfkill nf_tables nfnetlink intel_rapl_msr iTCO_wdt iTCO_vendor_support snd_hda_codec_generic intel_rapl_common snd_hda_intel joydev snd_intel_dspcfg snd_hda_codec snd_hwdep snd_hda_core snd_pcm virtio_balloon i2c_i801 i2c_smbus snd_timer snd soundcore lpc_ich zram ip_tables xfs crct10dif_pclmul crc32_pclmul crc32c_intel ghash_clmulni_intel serio_raw qemu_fw_cfg
[64620.681225] CPU: 1 PID: 206665 Comm: kworker/u4:8 Tainted: G        W         5.19.0-rc8+ #786
[64620.681228] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.13.0-2.fc32 04/01/2014
[64620.681230] Workqueue: btrfs-cache btrfs_work_helper
[64620.681234] RIP: 0010:btrfs_discard_update_discardable+0x98/0xb0
[64620.681237] 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 9c 98 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
[64620.681239] RSP: 0018:ffffb03280a03ad0 EFLAGS: 00010246
[64620.681242] RAX: 0000000000000000 RBX: ffff98c787a39e00 RCX: 0000000000000001
[64620.681244] RDX: 0000000000000000 RSI: ffffffff8d807c93 RDI: ffffffff8d8a825e
[64620.681245] RBP: ffff98c792af0000 R08: 0000000000000000 R09: 0000000000001000
[64620.681247] R10: ffff98c68b423838 R11: 0000000000b99b00 R12: ffff98c785f93810
[64620.681273] R13: ffff98c796053350 R14: ffff98c792af0000 R15: ffff98c78300f690
[64620.681275] FS:  0000000000000000(0000) GS:ffff98c7fbd00000(0000) knlGS:0000000000000000
[64620.681277] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[64620.681279] CR2: 00007f2426aa7c34 CR3: 000000015bc26001 CR4: 0000000000370ee0
[64620.681282] Call Trace:
[64620.681285]  
[64620.681289]  __btrfs_remove_free_space_cache+0x27/0x30
[64620.681294]  load_free_space_cache+0xad2/0xaf0
[64620.681334]  caching_thread+0x40b/0x650
[64620.681342]  ? lock_release+0x137/0x2d0
[64620.681349]  btrfs_work_helper+0xf2/0x3e0
[64620.681352]  ? lock_is_held_type+0xe2/0x140
[64620.681359]  process_one_work+0x271/0x590
[64620.681368]  ? process_one_work+0x590/0x590
[64620.681371]  worker_thread+0x52/0x3b0
[64620.681375]  ? process_one_work+0x590/0x590
[64620.681378]  kthread+0xf0/0x120
[64620.681381]  ? kthread_complete_and_exit+0x20/0x20
[64620.681385]  ret_from_fork+0x1f/0x30
[64620.681399]  
[64620.681400] irq event stamp: 4228843
[64620.681402] hardirqs last  enabled at (4228849): [] __up_console_sem+0x5e/0x70
[64620.681405] hardirqs last disabled at (4228854): [] __up_console_sem+0x43/0x70
[64620.681407] softirqs last  enabled at (4228720): [] __irq_exit_rcu+0xeb/0x160
[64620.681410] softirqs last disabled at (4228701): [] __irq_exit_rcu+0xeb/0x160
[64620.681412] ---[ end trace 0000000000000000 ]---
[64620.681415] BTRFS warning (device loop0): block group 298844160 has wrong amount of free space
[64620.681434] BTRFS warning (device loop0): failed to load free space cache for block group 298844160, rebuilding it now
[64621.671440] I/O error, dev loop0, sector 0 op 0x1:(WRITE) flags 0x800 phys_seg 0 prio class 0
[64621.671470] BTRFS warning (device loop0): chunk 13631488 missing 1 devices, max tolerance is 0 for writable mount
[64621.671473] BTRFS: error (device loop0) in write_all_supers:4286: errno=-5 IO failure (errors while submitting device barriers.)
[64621.672307] BTRFS info (device loop0: state E): forced readonly
[64621.672314] BTRFS: error (device loop0: state EA) in btrfs_sync_log:3205: errno=-5 IO failure
[64621.675814] BTRFS warning (device loop0: state EA): Skipping commit of aborted transaction.
[64621.675819] BTRFS: error (device loop0: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[64621.682343] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[64621.700395] BTRFS: error (device dm-11: state A) in __btrfs_update_delayed_inode:1089: errno=-5 IO failure
[64621.701028] BTRFS: error (device dm-11: state A) in btrfs_run_delayed_refs:2141: errno=-5 IO failure
[64621.701113] BTRFS info (device dm-11: state EA): forced readonly
[64621.702664] BTRFS: error (device dm-11: state EA) in btrfs_run_delayed_refs:2141: errno=-5 IO failure
[64621.703738] BTRFS: error (device dm-11: state EA) in __btrfs_run_delayed_items:1182: errno=-5 IO failure
[64621.704526] BTRFS warning (device dm-11: state EA): Skipping commit of aborted transaction.
[64621.704531] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[64623.767366] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[64623.767374] BTRFS info (device dm-11): turning on sync discard
[64623.767377] BTRFS info (device dm-11): using free space tree
[64623.771748] BTRFS info (device dm-11): start tree-log replay
[64623.846018] loop0: detected capacity change from 0 to 6629376
[64623.870263] BTRFS info (device loop0): using crc32c (crc32c-intel) checksum algorithm
[64623.870270] BTRFS info (device loop0): disk space caching is enabled
[64623.896988] BTRFS info (device loop0): enabling ssd optimizations
[64623.896997] BTRFS info (device loop0): auto enabling async discard
[64623.896999] BTRFS info (device loop0): start tree-log replay
[64623.915616] BTRFS info (device loop0): the free space cache file (298844160) is invalid, skip it
[64624.161984] btrfs_dev_stat_inc_and_print: 51 callbacks suppressed
[64624.161988] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 1, rd 0, flush 0, corrupt 0, gen 0
[64624.162125] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 2, rd 0, flush 0, corrupt 0, gen 0
[64624.162143] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 3, rd 0, flush 0, corrupt 0, gen 0
[64624.162159] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 4, rd 0, flush 0, corrupt 0, gen 0
[64624.162263] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 5, rd 0, flush 0, corrupt 0, gen 0
[64624.162281] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 6, rd 0, flush 0, corrupt 0, gen 0
[64624.162400] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 7, rd 0, flush 0, corrupt 0, gen 0
[64624.162427] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 8, rd 0, flush 0, corrupt 0, gen 0
[64624.162506] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 9, rd 0, flush 0, corrupt 0, gen 0
[64624.162523] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 10, rd 0, flush 0, corrupt 0, gen 0
[64624.162612] I/O error, dev loop0, sector 0 op 0x1:(WRITE) flags 0x800 phys_seg 0 prio class 0
[64624.164026] I/O error, dev loop0, sector 78016 op 0x0:(READ) flags 0x1000 phys_seg 3 prio class 0
[64624.164378] I/O error, dev loop0, sector 602304 op 0x0:(READ) flags 0x1000 phys_seg 3 prio class 0
[64624.164565] I/O error, dev loop0, sector 77696 op 0x0:(READ) flags 0x1000 phys_seg 4 prio class 0
[64624.164677] I/O error, dev loop0, sector 601984 op 0x0:(READ) flags 0x1000 phys_seg 4 prio class 0
[64624.165011] BTRFS warning (device loop0): chunk 13631488 missing 1 devices, max tolerance is 0 for writable mount
[64624.165015] BTRFS: error (device loop0) in write_all_supers:4286: errno=-5 IO failure (errors while submitting device barriers.)
[64624.165979] BTRFS info (device loop0: state E): forced readonly
[64624.165984] BTRFS warning (device loop0: state E): Skipping commit of aborted transaction.
[64624.165987] BTRFS: error (device loop0: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[64624.172665] BTRFS: error (device dm-11: state A) in btrfs_run_delayed_refs:2141: errno=-5 IO failure
[64624.173260] BTRFS info (device dm-11: state EA): forced readonly
[64624.180156] BTRFS warning (device loop0: state EA): Skipping commit of aborted transaction.
[64624.181343] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[64624.182731] I/O error, dev loop0, sector 106880 op 0x0:(READ) flags 0x1000 phys_seg 4 prio class 0
[64624.183197] I/O error, dev loop0, sector 631168 op 0x0:(READ) flags 0x1000 phys_seg 4 prio class 0
[64624.185486] I/O error, dev loop0, sector 76768 op 0x0:(READ) flags 0x1000 phys_seg 4 prio class 0
[64624.185652] I/O error, dev loop0, sector 601056 op 0x0:(READ) flags 0x1000 phys_seg 4 prio class 0
[64624.191792] I/O error, dev loop0, sector 83840 op 0x0:(READ) flags 0x1000 phys_seg 4 prio class 0
[64627.438834] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[64627.438843] BTRFS info (device dm-11): turning on sync discard
[64627.438846] BTRFS info (device dm-11): using free space tree
[64627.442964] BTRFS info (device dm-11): start tree-log replay
[64627.512509] loop0: detected capacity change from 0 to 6629376
[64627.532054] BTRFS info (device loop0): using crc32c (crc32c-intel) checksum algorithm
[64627.532061] BTRFS info (device loop0): disk space caching is enabled
[64627.555931] BTRFS info (device loop0): enabling ssd optimizations
[64627.555936] BTRFS info (device loop0): auto enabling async discard
[64629.588488] btrfs_dev_stat_inc_and_print: 47 callbacks suppressed
[64629.588492] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 1, rd 0, flush 0, corrupt 0, gen 0
[64629.588542] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 2, rd 0, flush 0, corrupt 0, gen 0
[64629.588557] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 3, rd 0, flush 0, corrupt 0, gen 0
[64629.588568] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 4, rd 0, flush 0, corrupt 0, gen 0
[64629.588579] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 5, rd 0, flush 0, corrupt 0, gen 0
[64629.588635] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 6, rd 0, flush 0, corrupt 0, gen 0
[64629.588642] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 7, rd 0, flush 0, corrupt 0, gen 0
[64629.588675] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 8, rd 0, flush 0, corrupt 0, gen 0
[64629.588686] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 9, rd 0, flush 0, corrupt 0, gen 0
[64629.588696] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 10, rd 0, flush 0, corrupt 0, gen 0
[64629.588850] blk_print_req_error: 11 callbacks suppressed
[64629.588851] I/O error, dev loop0, sector 0 op 0x1:(WRITE) flags 0x800 phys_seg 0 prio class 0
[64629.588886] BTRFS warning (device loop0): chunk 13631488 missing 1 devices, max tolerance is 0 for writable mount
[64629.588890] BTRFS: error (device loop0) in write_all_supers:4286: errno=-5 IO failure (errors while submitting device barriers.)
[64629.589756] BTRFS info (device loop0: state E): forced readonly
[64629.589761] BTRFS warning (device loop0: state E): Skipping commit of aborted transaction.
[64629.589764] BTRFS: error (device loop0: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[64629.592091] BTRFS warning (device loop0: state EA): Skipping commit of aborted transaction.
[64629.592095] BTRFS: error (device loop0: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[64629.605373] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[64629.618564] BTRFS: error (device dm-11: state A) in btrfs_run_delayed_refs:2141: errno=-5 IO failure
[64629.619054] BTRFS info (device dm-11: state EA): forced readonly
[64629.619152] BTRFS: error (device dm-11: state EA) in do_free_extent_accounting:2848: errno=-5 IO failure
[64629.619939] BTRFS: error (device dm-11: state EA) in btrfs_run_delayed_refs:2141: errno=-5 IO failure
[64632.189937] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[64632.189946] BTRFS info (device dm-11): turning on sync discard
[64632.189949] BTRFS info (device dm-11): using free space tree
[64632.194523] BTRFS info (device dm-11): start tree-log replay
[64632.262700] loop0: detected capacity change from 0 to 6629376
[64632.282068] BTRFS info (device loop0): using crc32c (crc32c-intel) checksum algorithm
[64632.282075] BTRFS info (device loop0): disk space caching is enabled
[64632.290658] BTRFS info (device loop0): enabling ssd optimizations
[64632.290662] BTRFS info (device loop0): auto enabling async discard