[41279.150248] run fstests generic/648 at 2022-08-05 08:19:35
[41280.085185] BTRFS: device fsid acf72241-67b2-4b4c-a873-e5c27df68c29 devid 1 transid 6 /dev/mapper/vg0-lv9 scanned by mkfs.btrfs (1917783)
[41280.152707] BTRFS info (device dm-9): using crc32c (crc32c-intel) checksum algorithm
[41280.152716] BTRFS info (device dm-9): setting incompat feature flag for COMPRESS_LZO (0x8)
[41280.152719] BTRFS info (device dm-9): use lzo compression, level 0
[41280.152721] BTRFS info (device dm-9): disk space caching is enabled
[41280.159710] BTRFS info (device dm-9): auto enabling async discard
[41280.159916] BTRFS info (device dm-9): checking UUID tree
[41280.955339] BTRFS: device fsid d794f788-5e29-4102-b3ac-1cd37abfa971 devid 1 transid 6 /dev/mapper/vg0-lv9 scanned by mkfs.btrfs (1917865)
[41281.241104] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[41281.241113] BTRFS info (device dm-11): setting incompat feature flag for COMPRESS_LZO (0x8)
[41281.241116] BTRFS info (device dm-11): use lzo compression, level 0
[41281.241118] BTRFS info (device dm-11): disk space caching is enabled
[41281.243981] BTRFS info (device dm-11): auto enabling async discard
[41281.244394] BTRFS info (device dm-11): checking UUID tree
[41281.549936] loop0: detected capacity change from 0 to 6629376
[41281.574449] BTRFS: device fsid 8b43a984-d60b-49be-ad4e-2f80d03c4f3f devid 1 transid 6 /dev/loop0 scanned by mount (1917927)
[41281.576070] BTRFS info (device loop0): using crc32c (crc32c-intel) checksum algorithm
[41281.576077] BTRFS info (device loop0): disk space caching is enabled
[41281.579601] BTRFS info (device loop0): enabling ssd optimizations
[41281.579605] BTRFS info (device loop0): auto enabling async discard
[41281.579999] BTRFS info (device loop0): checking UUID tree
[41283.629879] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[41283.629902] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 1, rd 0, flush 0, corrupt 0, gen 0
[41283.630872] BTRFS error (device dm-11): error writing primary super block to device 1
[41283.630878] BTRFS: error (device dm-11) in write_all_supers:4356: errno=-5 IO failure (1 errors while writing supers)
[41283.631438] BTRFS info (device dm-11: state E): forced readonly
[41283.631444] BTRFS: error (device dm-11: state EA) in btrfs_sync_log:3203: errno=-5 IO failure
[41283.632222] lo_write_bvec: 13 callbacks suppressed
[41283.632224] loop: Write error at byte offset 617013248, length 4096.
[41283.632228] loop: Write error at byte offset 617082880, length 4096.
[41283.632256] blk_print_req_error: 68 callbacks suppressed
[41283.632258] I/O error, dev loop0, sector 128 op 0x1:(WRITE) flags 0x3800 phys_seg 1 prio class 0
[41283.632263] BTRFS warning (device loop0): lost page write due to IO error on /dev/loop0 (-5)
[41283.632267] BTRFS error (device loop0): bdev /dev/loop0 errs: wr 1, rd 0, flush 0, corrupt 0, gen 0
[41283.632275] I/O error, dev loop0, sector 1205104 op 0x1:(WRITE) flags 0x800 phys_seg 4 prio class 0
[41283.632278] BTRFS error (device loop0): bdev /dev/loop0 errs: wr 2, rd 0, flush 0, corrupt 0, gen 0
[41283.632318] I/O error, dev loop0, sector 1205240 op 0x1:(WRITE) flags 0x8800 phys_seg 14 prio class 2
[41283.632321] BTRFS error (device loop0): bdev /dev/loop0 errs: wr 3, rd 0, flush 0, corrupt 0, gen 0
[41283.632324] BTRFS warning (device loop0): direct IO failed ino 302 rw 1,34817 sector 0x1263f8 len 0 err no 10
[41283.632341] loop: Write error at byte offset 617299968, length 4096.
[41283.632348] I/O error, dev loop0, sector 1205664 op 0x1:(WRITE) flags 0x800 phys_seg 3 prio class 0
[41283.632351] BTRFS error (device loop0): bdev /dev/loop0 errs: wr 4, rd 0, flush 0, corrupt 0, gen 0
[41283.633719] BTRFS error (device loop0): error writing primary super block to device 1
[41283.633736] BTRFS: error (device loop0) in write_all_supers:4356: errno=-5 IO failure (1 errors while writing supers)
[41283.634176] BTRFS info (device loop0: state E): forced readonly
[41283.634181] BTRFS: error (device loop0: state EA) in btrfs_sync_log:3203: errno=-5 IO failure
[41283.642333] loop: Write error at byte offset 19066880, length 4096.
[41283.642343] loop: Write error at byte offset 617299968, length 4096.
[41283.642346] loop: Write error at byte offset 617390080, length 4096.
[41283.642348] loop: Write error at byte offset 617459712, length 4096.
[41283.642417] loop: Write error at byte offset 617529344, length 4096.
[41283.642420] loop: Write error at byte offset 617562112, length 4096.
[41283.642422] loop: Write error at byte offset 576143360, length 4096.
[41283.642654] I/O error, dev loop0, sector 37240 op 0x1:(WRITE) flags 0x0 phys_seg 1 prio class 0
[41283.642660] BTRFS error (device loop0: state EA): bdev /dev/loop0 errs: wr 5, rd 0, flush 0, corrupt 0, gen 0
[41283.642677] I/O error, dev loop0, sector 1205664 op 0x1:(WRITE) flags 0x0 phys_seg 3 prio class 0
[41283.642681] BTRFS error (device loop0: state EA): bdev /dev/loop0 errs: wr 6, rd 0, flush 0, corrupt 0, gen 0
[41283.642725] I/O error, dev loop0, sector 1205840 op 0x1:(WRITE) flags 0x0 phys_seg 2 prio class 0
[41283.642728] BTRFS error (device loop0: state EA): bdev /dev/loop0 errs: wr 7, rd 0, flush 0, corrupt 0, gen 0
[41283.642758] I/O error, dev loop0, sector 1205976 op 0x1:(WRITE) flags 0x0 phys_seg 2 prio class 0
[41283.642762] BTRFS error (device loop0: state EA): bdev /dev/loop0 errs: wr 8, rd 0, flush 0, corrupt 0, gen 0
[41283.642785] I/O error, dev loop0, sector 1206112 op 0x1:(WRITE) flags 0x0 phys_seg 1 prio class 0
[41283.642787] BTRFS error (device loop0: state EA): bdev /dev/loop0 errs: wr 9, rd 0, flush 0, corrupt 0, gen 0
[41283.642800] I/O error, dev loop0, sector 1206176 op 0x1:(WRITE) flags 0x0 phys_seg 3 prio class 0
[41283.649217] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[41285.654415] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[41285.654423] BTRFS info (device dm-11): use lzo compression, level 0
[41285.654425] BTRFS info (device dm-11): disk space caching is enabled
[41285.658013] BTRFS info (device dm-11): auto enabling async discard
[41285.658017] BTRFS info (device dm-11): start tree-log replay
[41285.702210] loop0: detected capacity change from 0 to 6629376
[41285.743734] BTRFS info (device loop0): using crc32c (crc32c-intel) checksum algorithm
[41285.743742] BTRFS info (device loop0): disk space caching is enabled
[41285.748165] BTRFS info (device loop0): enabling ssd optimizations
[41285.748169] BTRFS info (device loop0): auto enabling async discard
[41285.768160] BTRFS info (device loop0): the free space cache file (298844160) is invalid, skip it
[41286.831527] BTRFS warning (device loop0): lost page write due to IO error on /dev/loop0 (-5)
[41286.831617] BTRFS error (device loop0): error writing primary super block to device 1
[41286.831621] BTRFS: error (device loop0) in write_all_supers:4356: errno=-5 IO failure (1 errors while writing supers)
[41286.832093] BTRFS info (device loop0: state E): forced readonly
[41286.832097] BTRFS warning (device loop0: state E): Skipping commit of aborted transaction.
[41286.832100] BTRFS: error (device loop0: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[41286.842633] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[41286.845167] BTRFS warning (device loop0: state EA): Skipping commit of aborted transaction.
[41286.858204] BTRFS: error (device dm-11: state A) in __btrfs_update_delayed_inode:1089: errno=-5 IO failure
[41286.858699] BTRFS info (device dm-11: state EA): forced readonly
[41286.860868] BTRFS: error (device dm-11: state EA) in do_free_extent_accounting:2848: errno=-5 IO failure
[41286.861262] BTRFS: error (device dm-11: state EA) in btrfs_run_delayed_refs:2141: errno=-5 IO failure
[41286.861805] BTRFS: error (device dm-11: state EA) in __btrfs_run_delayed_items:1182: errno=-5 IO failure
[41286.862368] BTRFS warning (device dm-11: state EA): Skipping commit of aborted transaction.
[41286.862371] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[41289.724008] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[41289.724019] BTRFS info (device dm-11): use lzo compression, level 0
[41289.724023] BTRFS info (device dm-11): disk space caching is enabled
[41289.728934] BTRFS info (device dm-11): auto enabling async discard
[41289.728940] BTRFS info (device dm-11): start tree-log replay
[41289.785920] loop0: detected capacity change from 0 to 6629376
[41289.831981] BTRFS info (device loop0): using crc32c (crc32c-intel) checksum algorithm
[41289.831991] BTRFS info (device loop0): disk space caching is enabled
[41289.838713] BTRFS info (device loop0): enabling ssd optimizations
[41289.838719] BTRFS info (device loop0): auto enabling async discard
[41289.859552] BTRFS warning (device loop0): block group 30408704 has wrong amount of free space
[41289.859577] BTRFS warning (device loop0): failed to load free space cache for block group 30408704, rebuilding it now
[41290.890859] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[41290.911751] btrfs_dev_stat_inc_and_print: 42 callbacks suppressed
[41290.911754] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 1, rd 0, flush 0, corrupt 0, gen 0
[41290.912513] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 2, rd 0, flush 0, corrupt 0, gen 0
[41290.912550] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 3, rd 0, flush 0, corrupt 0, gen 0
[41290.912789] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 4, rd 0, flush 0, corrupt 0, gen 0
[41290.912880] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 5, rd 0, flush 0, corrupt 0, gen 0
[41290.913770] blk_print_req_error: 27 callbacks suppressed
[41290.913772] I/O error, dev loop0, sector 128 op 0x1:(WRITE) flags 0x3800 phys_seg 1 prio class 0
[41290.913778] BTRFS warning (device loop0): lost page write due to IO error on /dev/loop0 (-5)
[41290.913782] BTRFS error (device loop0): bdev /dev/loop0 errs: wr 1, rd 0, flush 0, corrupt 0, gen 0
[41290.913803] BTRFS error (device loop0): error writing primary super block to device 1
[41290.913807] BTRFS: error (device loop0) in write_all_supers:4356: errno=-5 IO failure (1 errors while writing supers)
[41290.914254] BTRFS info (device loop0: state E): forced readonly
[41290.914258] BTRFS warning (device loop0: state E): Skipping commit of aborted transaction.
[41290.914261] BTRFS: error (device loop0: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[41290.924392] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 6, rd 0, flush 0, corrupt 0, gen 0
[41290.924408] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 7, rd 0, flush 0, corrupt 0, gen 0
[41290.924746] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 8, rd 0, flush 0, corrupt 0, gen 0
[41290.924753] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 9, rd 0, flush 0, corrupt 0, gen 0
[41290.924831] lo_write_bvec: 25 callbacks suppressed
[41290.924832] loop: Write error at byte offset 650559488, length 4096.
[41290.924869] loop: Write error at byte offset 650608640, length 4096.
[41290.924907] loop: Write error at byte offset 650690560, length 4096.
[41290.924929] loop: Write error at byte offset 650801152, length 4096.
[41290.924962] I/O error, dev loop0, sector 1270560 op 0x1:(WRITE) flags 0x0 phys_seg 4 prio class 0
[41290.925001] I/O error, dev loop0, sector 1270720 op 0x1:(WRITE) flags 0x0 phys_seg 4 prio class 0
[41290.925051] I/O error, dev loop0, sector 1270880 op 0x1:(WRITE) flags 0x0 phys_seg 12 prio class 0
[41290.925091] I/O error, dev loop0, sector 1271096 op 0x1:(WRITE) flags 0x0 phys_seg 3 prio class 0
[41290.946183] BTRFS: error (device dm-11: state A) in __btrfs_run_delayed_items:1182: errno=-5 IO failure
[41290.946534] BTRFS info (device dm-11: state EA): forced readonly
[41290.946538] BTRFS warning (device dm-11: state EA): Skipping commit of aborted transaction.
[41290.946541] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[41290.949621] BTRFS: error (device dm-11: state EA) in do_free_extent_accounting:2848: errno=-5 IO failure
[41290.950228] BTRFS: error (device dm-11: state EA) in btrfs_run_delayed_refs:2141: errno=-5 IO failure
[41293.825227] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[41293.825235] BTRFS info (device dm-11): use lzo compression, level 0
[41293.825238] BTRFS info (device dm-11): disk space caching is enabled
[41293.829955] BTRFS info (device dm-11): auto enabling async discard
[41293.829961] BTRFS info (device dm-11): start tree-log replay
[41293.880447] loop0: detected capacity change from 0 to 6629376
[41293.932464] BTRFS info (device loop0): using crc32c (crc32c-intel) checksum algorithm
[41293.932472] BTRFS info (device loop0): disk space caching is enabled
[41293.938213] BTRFS info (device loop0): enabling ssd optimizations
[41293.938218] BTRFS info (device loop0): auto enabling async discard
[41293.938219] BTRFS info (device loop0): start tree-log replay
[41293.943956] ------------[ cut here ]------------
[41293.944042] WARNING: CPU: 1 PID: 1870303 at fs/btrfs/discard.c:604 btrfs_discard_update_discardable+0x98/0xb0
[41293.944051] 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 snd_hda_codec_generic intel_rapl_msr iTCO_wdt iTCO_vendor_support snd_hda_intel snd_intel_dspcfg snd_hda_codec snd_hwdep snd_hda_core snd_pcm intel_rapl_common snd_timer joydev snd i2c_i801 i2c_smbus soundcore lpc_ich virtio_balloon zram ip_tables xfs crct10dif_pclmul crc32_pclmul crc32c_intel ghash_clmulni_intel serio_raw qemu_fw_cfg
[41293.944115] CPU: 1 PID: 1870303 Comm: kworker/u4:4 Tainted: G        W         5.19.0-rc8+ #787
[41293.944118] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.13.0-2.fc32 04/01/2014
[41293.944122] Workqueue: btrfs-cache btrfs_work_helper
[41293.944129] RIP: 0010:btrfs_discard_update_discardable+0x98/0xb0
[41293.944132] 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 ac 96 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
[41293.944134] RSP: 0018:ffff98e884d5bad0 EFLAGS: 00010246
[41293.944137] RAX: 0000000000000000 RBX: ffff8c6bc53c1000 RCX: 0000000000000001
[41293.944138] RDX: 0000000000000000 RSI: ffffffffa7807c93 RDI: ffffffffa78a836e
[41293.944140] RBP: ffff8c6bc4400000 R08: 0000000000000000 R09: 0000000000000001
[41293.944141] R10: 0000000000078bac R11: 0000000000909801 R12: ffff8c6bc4d5c810
[41293.944143] R13: ffff8c6c339faa00 R14: ffff8c6bc4400000 R15: ffff8c6bc2420700
[41293.944145] FS:  0000000000000000(0000) GS:ffff8c6c3bd00000(0000) knlGS:0000000000000000
[41293.944147] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[41293.944148] CR2: 00007f59492daa18 CR3: 0000000133c00001 CR4: 0000000000370ee0
[41293.944155] Call Trace:
[41293.944158]  
[41293.944162]  __btrfs_remove_free_space_cache+0x27/0x30
[41293.944166]  load_free_space_cache+0xad2/0xaf0
[41293.944206]  caching_thread+0x40b/0x650
[41293.944214]  ? lock_release+0x137/0x2d0
[41293.944221]  btrfs_work_helper+0xf2/0x3e0
[41293.944224]  ? lock_is_held_type+0xe2/0x140
[41293.944231]  process_one_work+0x271/0x590
[41293.944239]  ? process_one_work+0x590/0x590
[41293.944242]  worker_thread+0x52/0x3b0
[41293.944247]  ? process_one_work+0x590/0x590
[41293.944249]  kthread+0xf0/0x120
[41293.944252]  ? kthread_complete_and_exit+0x20/0x20
[41293.944256]  ret_from_fork+0x1f/0x30
[41293.944269]  
[41293.944273] irq event stamp: 1405091
[41293.944274] hardirqs last  enabled at (1405097): [] __up_console_sem+0x5e/0x70
[41293.944279] hardirqs last disabled at (1405102): [] __up_console_sem+0x43/0x70
[41293.944281] softirqs last  enabled at (1404554): [] __irq_exit_rcu+0xeb/0x160
[41293.944285] softirqs last disabled at (1404543): [] __irq_exit_rcu+0xeb/0x160
[41293.944287] ---[ end trace 0000000000000000 ]---
[41293.944290] BTRFS warning (device loop0): block group 298844160 has wrong amount of free space
[41293.944307] BTRFS warning (device loop0): failed to load free space cache for block group 298844160, rebuilding it now
[41296.030044] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[41296.030050] btrfs_dev_stat_inc_and_print: 22 callbacks suppressed
[41296.030052] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 1, rd 0, flush 0, corrupt 0, gen 0
[41296.030063] BTRFS error (device dm-11): error writing primary super block to device 1
[41296.030065] BTRFS: error (device dm-11) in write_all_supers:4356: errno=-5 IO failure (1 errors while writing supers)
[41296.030454] BTRFS info (device dm-11: state E): forced readonly
[41296.030458] BTRFS: error (device dm-11: state EA) in btrfs_sync_log:3203: errno=-5 IO failure
[41296.030790] I/O error, dev loop0, sector 128 op 0x1:(WRITE) flags 0x3800 phys_seg 1 prio class 0
[41296.030795] BTRFS warning (device loop0): lost page write due to IO error on /dev/loop0 (-5)
[41296.030798] BTRFS error (device loop0): bdev /dev/loop0 errs: wr 1, rd 0, flush 0, corrupt 0, gen 0
[41296.030811] BTRFS error (device loop0): error writing primary super block to device 1
[41296.030814] BTRFS: error (device loop0) in write_all_supers:4356: errno=-5 IO failure (1 errors while writing supers)
[41296.031215] BTRFS info (device loop0: state E): forced readonly
[41296.031221] BTRFS: error (device loop0: state EA) in btrfs_sync_log:3203: errno=-5 IO failure
[41296.038019] BTRFS warning (device loop0: state EA): Skipping commit of aborted transaction.
[41296.038026] BTRFS: error (device loop0: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[41296.042473] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[41297.788190] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[41297.788205] BTRFS info (device dm-11): use lzo compression, level 0
[41297.788208] BTRFS info (device dm-11): disk space caching is enabled
[41297.791967] BTRFS info (device dm-11): auto enabling async discard
[41297.791972] BTRFS info (device dm-11): start tree-log replay
[41297.796130] BTRFS info (device dm-11): the free space cache file (298844160) is invalid, skip it
[41297.848878] loop0: detected capacity change from 0 to 6629376
[41297.927620] BTRFS info (device loop0): using crc32c (crc32c-intel) checksum algorithm
[41297.927628] BTRFS info (device loop0): disk space caching is enabled
[41297.933448] BTRFS info (device loop0): enabling ssd optimizations
[41297.933453] BTRFS info (device loop0): auto enabling async discard
[41297.933455] BTRFS info (device loop0): start tree-log replay
[41299.057661] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 1, rd 0, flush 0, corrupt 0, gen 0
[41299.057671] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 2, rd 0, flush 0, corrupt 0, gen 0
[41299.058116] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 3, rd 0, flush 0, corrupt 0, gen 0
[41299.058122] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 4, rd 0, flush 0, corrupt 0, gen 0
[41299.058272] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 5, rd 0, flush 0, corrupt 0, gen 0
[41299.058277] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 6, rd 0, flush 0, corrupt 0, gen 0
[41299.058691] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[41299.058695] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 7, rd 0, flush 0, corrupt 0, gen 0
[41299.058707] BTRFS error (device dm-11): error writing primary super block to device 1
[41299.058710] BTRFS: error (device dm-11) in write_all_supers:4356: errno=-5 IO failure (1 errors while writing supers)
[41299.059118] BTRFS info (device dm-11: state E): forced readonly
[41299.059122] BTRFS: error (device dm-11: state EA) in btrfs_sync_log:3203: errno=-5 IO failure
[41299.059958] loop: Write error at byte offset 697524224, length 4096.
[41299.059964] loop: Write error at byte offset 17190912, length 4096.
[41299.059967] loop: Write error at byte offset 698310656, length 4096.
[41299.059969] loop: Write error at byte offset 638947328, length 4096.
[41299.059971] loop: Write error at byte offset 698425344, length 4096.
[41299.059973] loop: Write error at byte offset 698466304, length 4096.
[41299.059976] loop: Write error at byte offset 13803520, length 4096.
[41299.059978] loop: Write error at byte offset 698589184, length 4096.
[41299.060021] I/O error, dev loop0, sector 1362352 op 0x1:(WRITE) flags 0x0 phys_seg 9 prio class 0
[41299.060027] BTRFS error (device loop0): bdev /dev/loop0 errs: wr 1, rd 0, flush 0, corrupt 0, gen 0
[41299.060238] I/O error, dev loop0, sector 0 op 0x1:(WRITE) flags 0x800 phys_seg 0 prio class 0
[41299.060248] I/O error, dev loop0, sector 33576 op 0x1:(WRITE) flags 0x8800 phys_seg 1 prio class 2
[41299.060252] BTRFS warning (device loop0): direct IO failed ino 1059 rw 1,34817 sector 0x8328 len 0 err no 10
[41299.060264] I/O error, dev loop0, sector 1363888 op 0x1:(WRITE) flags 0x0 phys_seg 6 prio class 0
[41299.060302] I/O error, dev loop0, sector 1247944 op 0x1:(WRITE) flags 0x0 phys_seg 1 prio class 0
[41299.060308] I/O error, dev loop0, sector 1364112 op 0x1:(WRITE) flags 0x0 phys_seg 2 prio class 0
[41299.060323] I/O error, dev loop0, sector 1364192 op 0x1:(WRITE) flags 0x0 phys_seg 19 prio class 0
[41299.060362] I/O error, dev loop0, sector 26960 op 0x1:(WRITE) flags 0x0 phys_seg 1 prio class 0
[41299.060367] I/O error, dev loop0, sector 1364432 op 0x1:(WRITE) flags 0x0 phys_seg 5 prio class 0
[41299.061239] BTRFS warning (device loop0): chunk 13631488 missing 1 devices, max tolerance is 0 for writable mount
[41299.061243] BTRFS: error (device loop0) in write_all_supers:4286: errno=-5 IO failure (errors while submitting device barriers.)
[41299.061651] BTRFS info (device loop0: state E): forced readonly
[41299.061656] BTRFS warning (device loop0: state E): Skipping commit of aborted transaction.
[41299.061658] BTRFS: error (device loop0: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[41299.062054] loop: Write error at byte offset 42663936, length 4096.
[41299.062062] loop: Write error at byte offset 311099392, length 4096.
[41299.071063] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[41301.898959] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[41301.898969] BTRFS info (device dm-11): use lzo compression, level 0
[41301.898971] BTRFS info (device dm-11): disk space caching is enabled
[41301.903738] BTRFS info (device dm-11): auto enabling async discard
[41301.903743] BTRFS info (device dm-11): start tree-log replay
[41301.998019] loop0: detected capacity change from 0 to 6629376
[41302.067074] BTRFS info (device loop0): using crc32c (crc32c-intel) checksum algorithm
[41302.067082] BTRFS info (device loop0): disk space caching is enabled
[41302.072474] BTRFS info (device loop0): enabling ssd optimizations
[41302.072479] BTRFS info (device loop0): auto enabling async discard
[41303.130535] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[41303.130542] btrfs_dev_stat_inc_and_print: 10 callbacks suppressed
[41303.130544] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 1, rd 0, flush 0, corrupt 0, gen 0
[41303.130557] BTRFS error (device dm-11): error writing primary super block to device 1
[41303.130559] BTRFS: error (device dm-11) in write_all_supers:4356: errno=-5 IO failure (1 errors while writing supers)
[41303.131005] BTRFS info (device dm-11: state E): forced readonly
[41303.131009] BTRFS: error (device dm-11: state EA) in btrfs_sync_log:3203: errno=-5 IO failure
[41303.131356] blk_print_req_error: 2 callbacks suppressed
[41303.131357] I/O error, dev loop0, sector 0 op 0x1:(WRITE) flags 0x800 phys_seg 0 prio class 0
[41303.132119] I/O error, dev loop0, sector 85120 op 0x1:(WRITE) flags 0x1800 phys_seg 22 prio class 0
[41303.132125] BTRFS error (device loop0): bdev /dev/loop0 errs: wr 1, rd 0, flush 0, corrupt 0, gen 0
[41303.132132] I/O error, dev loop0, sector 609408 op 0x1:(WRITE) flags 0x1800 phys_seg 22 prio class 0
[41303.132136] BTRFS error (device loop0): bdev /dev/loop0 errs: wr 2, rd 0, flush 0, corrupt 0, gen 0
[41303.132223] I/O error, dev loop0, sector 1386384 op 0x1:(WRITE) flags 0x0 phys_seg 3 prio class 0
[41303.132226] BTRFS error (device loop0): bdev /dev/loop0 errs: wr 3, rd 0, flush 0, corrupt 0, gen 0
[41303.132270] I/O error, dev loop0, sector 1384912 op 0x1:(WRITE) flags 0x0 phys_seg 5 prio class 0
[41303.132273] BTRFS error (device loop0): bdev /dev/loop0 errs: wr 4, rd 0, flush 0, corrupt 0, gen 0
[41303.132303] I/O error, dev loop0, sector 1386456 op 0x1:(WRITE) flags 0x0 phys_seg 2 prio class 0
[41303.132305] BTRFS error (device loop0): bdev /dev/loop0 errs: wr 5, rd 0, flush 0, corrupt 0, gen 0
[41303.132318] I/O error, dev loop0, sector 85408 op 0x1:(WRITE) flags 0x1800 phys_seg 13 prio class 0
[41303.132321] BTRFS error (device loop0): bdev /dev/loop0 errs: wr 6, rd 0, flush 0, corrupt 0, gen 0
[41303.132323] I/O error, dev loop0, sector 609696 op 0x1:(WRITE) flags 0x1800 phys_seg 13 prio class 0
[41303.132325] BTRFS error (device loop0): bdev /dev/loop0 errs: wr 7, rd 0, flush 0, corrupt 0, gen 0
[41303.132361] I/O error, dev loop0, sector 1129416 op 0x1:(WRITE) flags 0x800 phys_seg 1 prio class 0
[41303.132363] BTRFS error (device loop0): bdev /dev/loop0 errs: wr 8, rd 0, flush 0, corrupt 0, gen 0
[41303.134137] BTRFS error (device loop0): bdev /dev/loop0 errs: wr 8, rd 0, flush 1, corrupt 0, gen 0
[41303.134144] BTRFS warning (device loop0): chunk 13631488 missing 1 devices, max tolerance is 0 for writable mount
[41303.134147] BTRFS: error (device loop0) in write_all_supers:4286: errno=-5 IO failure (errors while submitting device barriers.)
[41303.135198] BTRFS info (device loop0: state E): forced readonly
[41303.135205] BTRFS: error (device loop0: state EA) in btrfs_sync_log:3203: errno=-5 IO failure
[41303.148549] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[41306.054297] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[41306.054312] BTRFS info (device dm-11): use lzo compression, level 0
[41306.054316] BTRFS info (device dm-11): disk space caching is enabled
[41306.058575] BTRFS info (device dm-11): auto enabling async discard
[41306.058580] BTRFS info (device dm-11): start tree-log replay
[41306.121540] loop0: detected capacity change from 0 to 6629376
[41306.198419] BTRFS info (device loop0): using crc32c (crc32c-intel) checksum algorithm
[41306.198427] BTRFS info (device loop0): disk space caching is enabled
[41306.203844] BTRFS info (device loop0): enabling ssd optimizations
[41306.203848] BTRFS info (device loop0): auto enabling async discard
[41308.238510] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 1, rd 0, flush 0, corrupt 0, gen 0
[41308.238535] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 2, rd 0, flush 0, corrupt 0, gen 0
[41308.238544] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 3, rd 0, flush 0, corrupt 0, gen 0
[41308.239076] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 4, rd 0, flush 0, corrupt 0, gen 0
[41308.239680] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 5, rd 0, flush 0, corrupt 0, gen 0
[41308.241423] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 6, rd 0, flush 0, corrupt 0, gen 0
[41308.241546] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 7, rd 0, flush 0, corrupt 0, gen 0
[41308.241656] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 8, rd 0, flush 0, corrupt 0, gen 0
[41308.241759] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 9, rd 0, flush 0, corrupt 0, gen 0
[41308.242096] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 10, rd 0, flush 0, corrupt 0, gen 0
[41308.242835] I/O error, dev loop0, sector 128 op 0x1:(WRITE) flags 0x3800 phys_seg 1 prio class 0
[41308.242842] BTRFS warning (device loop0): lost page write due to IO error on /dev/loop0 (-5)
[41308.245945] BTRFS error (device loop0): error writing primary super block to device 1
[41308.245949] BTRFS: error (device loop0) in write_all_supers:4356: errno=-5 IO failure (1 errors while writing supers)
[41308.246333] BTRFS info (device loop0: state E): forced readonly
[41308.246342] BTRFS warning (device loop0: state E): Skipping commit of aborted transaction.
[41308.246346] BTRFS: error (device loop0: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[41308.247729] BTRFS: error (device loop0: state EA) in btrfs_sync_log:3192: errno=-5 IO failure
[41308.252146] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[41308.271792] BTRFS: error (device dm-11: state A) in do_free_extent_accounting:2848: errno=-5 IO failure
[41308.272194] BTRFS info (device dm-11: state EA): forced readonly
[41308.272200] BTRFS: error (device dm-11: state EA) in btrfs_run_delayed_refs:2141: errno=-5 IO failure
[41310.306292] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[41310.306300] BTRFS info (device dm-11): use lzo compression, level 0
[41310.306303] BTRFS info (device dm-11): disk space caching is enabled
[41310.311388] BTRFS info (device dm-11): auto enabling async discard
[41310.311394] BTRFS info (device dm-11): start tree-log replay
[41310.375083] loop0: detected capacity change from 0 to 6629376
[41310.487795] BTRFS info (device loop0): using crc32c (crc32c-intel) checksum algorithm
[41310.487804] BTRFS info (device loop0): disk space caching is enabled
[41310.494115] BTRFS info (device loop0): enabling ssd optimizations
[41310.494121] BTRFS info (device loop0): auto enabling async discard
[41310.494124] BTRFS info (device loop0): start tree-log replay
[41311.643564] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[41311.643592] BTRFS error (device dm-11): error writing primary super block to device 1
[41311.643597] BTRFS: error (device dm-11) in write_all_supers:4356: errno=-5 IO failure (1 errors while writing supers)
[41311.644076] BTRFS info (device dm-11: state E): forced readonly
[41311.644081] BTRFS: error (device dm-11: state EA) in btrfs_sync_log:3203: errno=-5 IO failure
[41311.644416] lo_write_bvec: 8 callbacks suppressed
[41311.644418] loop: Write error at byte offset 42729472, length 4096.
[41311.644424] loop: Write error at byte offset 311164928, length 4096.
[41311.644425] I/O error, dev loop0, sector 0 op 0x1:(WRITE) flags 0x800 phys_seg 0 prio class 0
[41311.644427] loop: Write error at byte offset 42795008, length 4096.
[41311.644430] loop: Write error at byte offset 311230464, length 4096.
[41311.644432] loop: Write error at byte offset 42926080, length 4096.
[41311.644434] loop: Write error at byte offset 311361536, length 4096.
[41311.644436] loop: Write error at byte offset 42991616, length 4096.
[41311.644438] loop: Write error at byte offset 311427072, length 4096.
[41311.644441] loop: Write error at byte offset 755687424, length 4096.
[41311.644443] loop: Write error at byte offset 718520320, length 4096.
[41311.644449] I/O error, dev loop0, sector 1403360 op 0x1:(WRITE) flags 0x8800 phys_seg 5 prio class 2
[41311.644454] BTRFS warning (device loop0): direct IO failed ino 1286 rw 1,34817 sector 0x1569e0 len 0 err no 10
[41311.644476] BTRFS warning (device loop0): chunk 13631488 missing 1 devices, max tolerance is 0 for writable mount
[41311.644479] BTRFS: error (device loop0) in write_all_supers:4286: errno=-5 IO failure (errors while submitting device barriers.)
[41311.644938] BTRFS info (device loop0: state E): forced readonly
[41311.644942] BTRFS: error (device loop0: state EA) in btrfs_sync_log:3203: errno=-5 IO failure
[41311.648821] I/O error, dev loop0, sector 83456 op 0x1:(WRITE) flags 0x1800 phys_seg 7 prio class 0
[41311.648831] I/O error, dev loop0, sector 607744 op 0x1:(WRITE) flags 0x1800 phys_seg 7 prio class 0
[41311.648855] I/O error, dev loop0, sector 83584 op 0x1:(WRITE) flags 0x1800 phys_seg 12 prio class 0
[41311.648859] I/O error, dev loop0, sector 607872 op 0x1:(WRITE) flags 0x1800 phys_seg 12 prio class 0
[41311.648887] I/O error, dev loop0, sector 83840 op 0x1:(WRITE) flags 0x1800 phys_seg 8 prio class 0
[41311.648890] I/O error, dev loop0, sector 608128 op 0x1:(WRITE) flags 0x1800 phys_seg 8 prio class 0
[41311.648904] I/O error, dev loop0, sector 83968 op 0x1:(WRITE) flags 0x1800 phys_seg 3 prio class 0
[41311.662026] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[41314.365697] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[41314.365710] BTRFS info (device dm-11): use lzo compression, level 0
[41314.365714] BTRFS info (device dm-11): disk space caching is enabled
[41314.370411] BTRFS info (device dm-11): auto enabling async discard
[41314.370416] BTRFS info (device dm-11): start tree-log replay
[41314.426576] loop0: detected capacity change from 0 to 6629376
[41314.463119] BTRFS info (device loop0): using crc32c (crc32c-intel) checksum algorithm
[41314.463126] BTRFS info (device loop0): disk space caching is enabled
[41314.531885] BTRFS info (device loop0): enabling ssd optimizations
[41314.531890] BTRFS info (device loop0): auto enabling async discard
[41314.551360] BTRFS info (device loop0): the free space cache file (298844160) is invalid, skip it
[41315.592647] btrfs_dev_stat_inc_and_print: 98 callbacks suppressed
[41315.592650] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 1, rd 0, flush 0, corrupt 0, gen 0
[41315.592675] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 2, rd 0, flush 0, corrupt 0, gen 0
[41315.592684] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 3, rd 0, flush 0, corrupt 0, gen 0
[41315.592724] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 4, rd 0, flush 0, corrupt 0, gen 0
[41315.592729] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 5, rd 0, flush 0, corrupt 0, gen 0
[41315.592734] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 6, rd 0, flush 0, corrupt 0, gen 0
[41315.592739] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 7, rd 0, flush 0, corrupt 0, gen 0
[41315.592744] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 8, rd 0, flush 0, corrupt 0, gen 0
[41315.592749] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 9, rd 0, flush 0, corrupt 0, gen 0
[41315.592754] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 10, rd 0, flush 0, corrupt 0, gen 0
[41315.607347] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[41315.609677] BTRFS: error (device dm-11) in btrfs_commit_transaction:2496: errno=-5 IO failure (Error while writing out transaction)
[41315.610314] BTRFS info (device dm-11: state E): forced readonly
[41315.610319] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[41315.610343] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[41315.613555] blk_print_req_error: 38 callbacks suppressed
[41315.613557] I/O error, dev loop0, sector 0 op 0x1:(WRITE) flags 0x800 phys_seg 0 prio class 0
[41315.613575] BTRFS warning (device loop0): chunk 13631488 missing 1 devices, max tolerance is 0 for writable mount
[41315.613579] BTRFS: error (device loop0) in write_all_supers:4286: errno=-5 IO failure (errors while submitting device barriers.)
[41315.614073] BTRFS info (device loop0: state E): forced readonly
[41315.614077] BTRFS warning (device loop0: state E): Skipping commit of aborted transaction.
[41315.614080] BTRFS: error (device loop0: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[41315.615387] I/O error, dev loop0, sector 1518400 op 0x1:(WRITE) flags 0x8800 phys_seg 20 prio class 2
[41315.615393] BTRFS warning (device loop0: state EA): direct IO failed ino 1354 rw 1,34817 sector 0x172b40 len 0 err no 10
[41315.615861] I/O error, dev loop0, sector 611328 op 0x1:(WRITE) flags 0x1800 phys_seg 4 prio class 0
[41315.615866] I/O error, dev loop0, sector 1518616 op 0x1:(WRITE) flags 0x0 phys_seg 6 prio class 0
[41315.615869] I/O error, dev loop0, sector 87040 op 0x1:(WRITE) flags 0x1800 phys_seg 4 prio class 0
[41315.615880] I/O error, dev loop0, sector 611360 op 0x1:(WRITE) flags 0x1800 phys_seg 4 prio class 0
[41315.615883] I/O error, dev loop0, sector 87072 op 0x1:(WRITE) flags 0x1800 phys_seg 4 prio class 0
[41315.616285] I/O error, dev loop0, sector 1481816 op 0x1:(WRITE) flags 0x0 phys_seg 2 prio class 0
[41315.616313] I/O error, dev loop0, sector 1475952 op 0x1:(WRITE) flags 0x0 phys_seg 1 prio class 0
[41315.616327] I/O error, dev loop0, sector 1475960 op 0x1:(WRITE) flags 0x0 phys_seg 1 prio class 0
[41318.517285] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[41318.517293] BTRFS info (device dm-11): use lzo compression, level 0
[41318.517296] BTRFS info (device dm-11): disk space caching is enabled
[41318.522782] BTRFS info (device dm-11): auto enabling async discard
[41318.522787] BTRFS info (device dm-11): start tree-log replay
[41318.573649] loop0: detected capacity change from 0 to 6629376
[41318.619844] BTRFS info (device loop0): using crc32c (crc32c-intel) checksum algorithm
[41318.619851] BTRFS info (device loop0): disk space caching is enabled
[41318.699680] BTRFS info (device loop0): enabling ssd optimizations
[41318.699686] BTRFS info (device loop0): auto enabling async discard
[41318.699689] BTRFS info (device loop0): start tree-log replay
[41318.708768] ------------[ cut here ]------------
[41318.708853] WARNING: CPU: 1 PID: 791795 at fs/btrfs/discard.c:604 btrfs_discard_update_discardable+0x98/0xb0
[41318.708861] 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 snd_hda_codec_generic intel_rapl_msr iTCO_wdt iTCO_vendor_support snd_hda_intel snd_intel_dspcfg snd_hda_codec snd_hwdep snd_hda_core snd_pcm intel_rapl_common snd_timer joydev snd i2c_i801 i2c_smbus soundcore lpc_ich virtio_balloon zram ip_tables xfs crct10dif_pclmul crc32_pclmul crc32c_intel ghash_clmulni_intel serio_raw qemu_fw_cfg
[41318.708976] CPU: 1 PID: 791795 Comm: kworker/u4:11 Tainted: G        W         5.19.0-rc8+ #787
[41318.708980] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.13.0-2.fc32 04/01/2014
[41318.708983] Workqueue: btrfs-cache btrfs_work_helper
[41318.708990] RIP: 0010:btrfs_discard_update_discardable+0x98/0xb0
[41318.708995] 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 ac 96 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
[41318.708999] RSP: 0018:ffff98e885183ad0 EFLAGS: 00010246
[41318.709004] RAX: 0000000000000000 RBX: ffff8c6c0be02600 RCX: 0000000000000001
[41318.709007] RDX: 0000000000000000 RSI: ffffffffa7807c93 RDI: ffffffffa78a836e
[41318.709010] RBP: ffff8c6bd2680000 R08: 0000000000000000 R09: 0000000000001000
[41318.709013] R10: 0000000000032e93 R11: 000000000090bd01 R12: ffff8c6bd6ae3810
[41318.709016] R13: ffff8c6bcded1760 R14: ffff8c6bd2680000 R15: ffff8c6bd41377e0
[41318.709019] FS:  0000000000000000(0000) GS:ffff8c6c3bd00000(0000) knlGS:0000000000000000
[41318.709022] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[41318.709025] CR2: 00007f594873e000 CR3: 00000001140b6006 CR4: 0000000000370ee0
[41318.709031] Call Trace:
[41318.709035]  
[41318.709041]  __btrfs_remove_free_space_cache+0x27/0x30
[41318.709047]  load_free_space_cache+0xad2/0xaf0
[41318.709126]  caching_thread+0x40b/0x650
[41318.709140]  ? lock_release+0x137/0x2d0
[41318.709153]  btrfs_work_helper+0xf2/0x3e0
[41318.709157]  ? lock_is_held_type+0xe2/0x140
[41318.709169]  process_one_work+0x271/0x590
[41318.709186]  worker_thread+0x52/0x3b0
[41318.709194]  ? process_one_work+0x590/0x590
[41318.709199]  kthread+0xf0/0x120
[41318.709203]  ? kthread_complete_and_exit+0x20/0x20
[41318.709211]  ret_from_fork+0x1f/0x30
[41318.709236]  
[41318.709238] irq event stamp: 48139133
[41318.709241] hardirqs last  enabled at (48139139): [] __up_console_sem+0x5e/0x70
[41318.709245] hardirqs last disabled at (48139144): [] __up_console_sem+0x43/0x70
[41318.709249] softirqs last  enabled at (48138596): [] __irq_exit_rcu+0xeb/0x160
[41318.709253] softirqs last disabled at (48138587): [] __irq_exit_rcu+0xeb/0x160
[41318.709257] ---[ end trace 0000000000000000 ]---
[41318.709261] BTRFS warning (device loop0): block group 298844160 has wrong amount of free space
[41318.709285] BTRFS warning (device loop0): failed to load free space cache for block group 298844160, rebuilding it now
[41319.824347] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[41319.849063] lo_write_bvec: 17 callbacks suppressed
[41319.849066] loop: Write error at byte offset 792731648, length 4096.
[41319.850186] loop: Write error at byte offset 792788992, length 4096.
[41319.850355] loop: Write error at byte offset 792846336, length 4096.
[41319.850365] BTRFS warning (device loop0): direct IO failed ino 1197 rw 1,34817 sector 0x17a0f0 len 0 err no 10
[41319.850384] loop: Write error at byte offset 793841664, length 4096.
[41319.850393] BTRFS warning (device loop0): direct IO failed ino 1490 rw 1,34817 sector 0x17a888 len 0 err no 10
[41319.850406] loop: Write error at byte offset 793911296, length 4096.
[41319.851447] loop: Write error at byte offset 45154304, length 4096.
[41319.852725] loop: Write error at byte offset 313589760, length 4096.
[41319.852902] loop: Write error at byte offset 794034176, length 4096.
[41319.853179] loop: Write error at byte offset 793399296, length 4096.
[41319.853884] loop: Write error at byte offset 794177536, length 4096.
[41319.856418] BTRFS: error (device loop0: state A) in do_free_extent_accounting:2848: errno=-5 IO failure
[41319.856842] BTRFS info (device loop0: state EA): forced readonly
[41319.856847] BTRFS: error (device loop0: state EA) in btrfs_run_delayed_refs:2141: errno=-5 IO failure
[41319.873655] BTRFS: error (device dm-11: state A) in btrfs_run_delayed_refs:2141: errno=-5 IO failure
[41319.874084] BTRFS info (device dm-11: state EA): forced readonly
[41322.743955] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[41322.743963] BTRFS info (device dm-11): use lzo compression, level 0
[41322.743966] BTRFS info (device dm-11): disk space caching is enabled
[41322.748213] BTRFS info (device dm-11): auto enabling async discard
[41322.748218] BTRFS info (device dm-11): start tree-log replay
[41322.799866] loop0: detected capacity change from 0 to 6629376
[41322.827189] BTRFS info (device loop0): using crc32c (crc32c-intel) checksum algorithm
[41322.827195] BTRFS info (device loop0): disk space caching is enabled
[41322.918002] BTRFS info (device loop0): enabling ssd optimizations
[41322.918008] BTRFS info (device loop0): auto enabling async discard
[41322.943850] ------------[ cut here ]------------
[41322.943928] WARNING: CPU: 0 PID: 1893503 at fs/btrfs/discard.c:604 btrfs_discard_update_discardable+0x98/0xb0
[41322.943937] 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 snd_hda_codec_generic intel_rapl_msr iTCO_wdt iTCO_vendor_support snd_hda_intel snd_intel_dspcfg snd_hda_codec snd_hwdep snd_hda_core snd_pcm intel_rapl_common snd_timer joydev snd i2c_i801 i2c_smbus soundcore lpc_ich virtio_balloon zram ip_tables xfs crct10dif_pclmul crc32_pclmul crc32c_intel ghash_clmulni_intel serio_raw qemu_fw_cfg
[41322.944050] CPU: 0 PID: 1893503 Comm: kworker/u4:10 Tainted: G        W         5.19.0-rc8+ #787
[41322.944053] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.13.0-2.fc32 04/01/2014
[41322.944056] Workqueue: btrfs-cache btrfs_work_helper
[41322.944063] RIP: 0010:btrfs_discard_update_discardable+0x98/0xb0
[41322.944067] 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 ac 96 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
[41322.944070] RSP: 0018:ffff98e88410bad0 EFLAGS: 00010246
[41322.944074] RAX: 0000000000000000 RBX: ffff8c6befc89c00 RCX: 0000000000000001
[41322.944077] RDX: 0000000000000000 RSI: ffffffffa7807c93 RDI: ffffffffa78a836e
[41322.944079] RBP: ffff8c6bc7f08000 R08: 0000000000000000 R09: 0000000000001000
[41322.944081] R10: ffff8c6acc8ccde8 R11: 000000000090fe00 R12: ffff8c6bd6ae5810
[41322.944083] R13: ffff8c6be513b350 R14: ffff8c6bc7f08000 R15: ffff8c6bc7fb1230
[41322.944086] FS:  0000000000000000(0000) GS:ffff8c6c3bc00000(0000) knlGS:0000000000000000
[41322.944088] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[41322.944091] CR2: 00007f93ac16cf60 CR3: 000000011272c005 CR4: 0000000000370ef0
[41322.944097] Call Trace:
[41322.944100]  
[41322.944107]  __btrfs_remove_free_space_cache+0x27/0x30
[41322.944113]  load_free_space_cache+0xad2/0xaf0
[41322.944187]  caching_thread+0x40b/0x650
[41322.944201]  ? lock_release+0x137/0x2d0
[41322.944214]  btrfs_work_helper+0xf2/0x3e0
[41322.944219]  ? lock_is_held_type+0xe2/0x140
[41322.944231]  process_one_work+0x271/0x590
[41322.944246]  ? process_one_work+0x590/0x590
[41322.944251]  worker_thread+0x52/0x3b0
[41322.944259]  ? process_one_work+0x590/0x590
[41322.944263]  kthread+0xf0/0x120
[41322.944267]  ? kthread_complete_and_exit+0x20/0x20
[41322.944280]  ret_from_fork+0x1f/0x30
[41322.944301]  
[41322.944303] irq event stamp: 2800449
[41322.944305] hardirqs last  enabled at (2800455): [] __up_console_sem+0x5e/0x70
[41322.944310] hardirqs last disabled at (2800460): [] __up_console_sem+0x43/0x70
[41322.944314] softirqs last  enabled at (2799724): [] __irq_exit_rcu+0xeb/0x160
[41322.944318] softirqs last disabled at (2799719): [] __irq_exit_rcu+0xeb/0x160
[41322.944322] ---[ end trace 0000000000000000 ]---
[41322.944327] BTRFS warning (device loop0): block group 298844160 has wrong amount of free space
[41322.944350] BTRFS warning (device loop0): failed to load free space cache for block group 298844160, rebuilding it now
[41323.974297] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[41323.982173] btrfs_dev_stat_inc_and_print: 121 callbacks suppressed
[41323.982177] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 1, rd 0, flush 0, corrupt 0, gen 0
[41323.983569] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 2, rd 0, flush 0, corrupt 0, gen 0
[41323.983577] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 3, rd 0, flush 0, corrupt 0, gen 0
[41323.983723] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 4, rd 0, flush 0, corrupt 0, gen 0
[41323.983732] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 5, rd 0, flush 0, corrupt 0, gen 0
[41323.983771] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 6, rd 0, flush 0, corrupt 0, gen 0
[41323.983777] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 7, rd 0, flush 0, corrupt 0, gen 0
[41323.988379] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 8, rd 0, flush 0, corrupt 0, gen 0
[41323.988387] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 9, rd 0, flush 0, corrupt 0, gen 0
[41323.988536] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 10, rd 0, flush 0, corrupt 0, gen 0
[41323.989094] BTRFS: error (device dm-11) in btrfs_commit_transaction:2496: errno=-5 IO failure (Error while writing out transaction)
[41323.989482] BTRFS: error (device dm-11: state A) in __btrfs_free_extent:3078: errno=-5 IO failure
[41323.989851] BTRFS info (device dm-11: state EA): forced readonly
[41323.989855] BTRFS warning (device dm-11: state EA): Skipping commit of aborted transaction.
[41323.989859] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[41323.989871] BTRFS: error (device dm-11: state EA) in btrfs_run_delayed_refs:2141: errno=-5 IO failure
[41323.990632] blk_print_req_error: 52 callbacks suppressed
[41323.990634] I/O error, dev loop0, sector 0 op 0x1:(WRITE) flags 0x800 phys_seg 0 prio class 0
[41323.992023] BTRFS warning (device loop0): chunk 13631488 missing 1 devices, max tolerance is 0 for writable mount
[41323.992028] BTRFS: error (device loop0) in write_all_supers:4286: errno=-5 IO failure (errors while submitting device barriers.)
[41323.992443] BTRFS info (device loop0: state E): forced readonly
[41323.992447] BTRFS warning (device loop0: state E): Skipping commit of aborted transaction.
[41323.992449] BTRFS: error (device loop0: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[41323.993279] I/O error, dev loop0, sector 1586200 op 0x1:(WRITE) flags 0x800 phys_seg 12 prio class 0
[41323.994406] I/O error, dev loop0, sector 1586200 op 0x1:(WRITE) flags 0x800 phys_seg 12 prio class 0
[41323.994786] I/O error, dev loop0, sector 1586328 op 0x1:(WRITE) flags 0x800 phys_seg 5 prio class 0
[41323.995969] BTRFS warning (device loop0: state EA): Skipping commit of aborted transaction.
[41326.939943] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[41326.939952] BTRFS info (device dm-11): use lzo compression, level 0
[41326.939955] BTRFS info (device dm-11): disk space caching is enabled
[41326.944443] BTRFS info (device dm-11): auto enabling async discard
[41326.944461] BTRFS info (device dm-11): start tree-log replay
[41327.012652] loop0: detected capacity change from 0 to 6629376
[41327.131721] BTRFS info (device loop0): using crc32c (crc32c-intel) checksum algorithm
[41327.131727] BTRFS info (device loop0): disk space caching is enabled
[41327.140106] BTRFS info (device loop0): enabling ssd optimizations
[41327.140111] BTRFS info (device loop0): auto enabling async discard
[41327.140113] BTRFS info (device loop0): start tree-log replay
[41327.143757] BTRFS warning (device loop0): block group 30408704 has wrong amount of free space
[41327.143775] BTRFS warning (device loop0): failed to load free space cache for block group 30408704, rebuilding it now
[41328.260974] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[41328.260992] BTRFS error (device dm-11): error writing primary super block to device 1
[41328.260995] BTRFS: error (device dm-11) in write_all_supers:4356: errno=-5 IO failure (1 errors while writing supers)
[41328.261393] BTRFS info (device dm-11: state E): forced readonly
[41328.261397] BTRFS: error (device dm-11: state EA) in btrfs_sync_log:3203: errno=-5 IO failure
[41328.261729] lo_write_bvec: 9 callbacks suppressed
[41328.261730] loop: Write error at byte offset 826130432, length 4096.
[41328.261735] I/O error, dev loop0, sector 0 op 0x1:(WRITE) flags 0x800 phys_seg 0 prio class 0
[41328.261749] I/O error, dev loop0, sector 1613536 op 0x1:(WRITE) flags 0x8800 phys_seg 4 prio class 2
[41328.261754] BTRFS warning (device loop0): direct IO failed ino 1589 rw 1,34817 sector 0x189ee0 len 0 err no 10
[41328.263962] loop: Write error at byte offset 826130432, length 4096.
[41328.263971] I/O error, dev loop0, sector 1613536 op 0x1:(WRITE) flags 0x8800 phys_seg 4 prio class 2
[41328.263976] BTRFS warning (device loop0): direct IO failed ino 1661 rw 1,34817 sector 0x189ee0 len 0 err no 10
[41328.266260] BTRFS warning (device loop0): chunk 13631488 missing 1 devices, max tolerance is 0 for writable mount
[41328.266265] BTRFS: error (device loop0) in write_all_supers:4286: errno=-5 IO failure (errors while submitting device barriers.)
[41328.266734] BTRFS info (device loop0: state E): forced readonly
[41328.266738] BTRFS: error (device loop0: state EA) in btrfs_sync_log:3203: errno=-5 IO failure
[41328.268507] loop: Write error at byte offset 826130432, length 4096.
[41328.268516] loop: Write error at byte offset 826159104, length 4096.
[41328.268518] loop: Write error at byte offset 717893632, length 4096.
[41328.268520] loop: Write error at byte offset 820539392, length 4096.
[41328.268574] loop: Write error at byte offset 826167296, length 4096.
[41328.268576] loop: Write error at byte offset 821542912, length 4096.
[41328.268578] loop: Write error at byte offset 821739520, length 4096.
[41328.268587] I/O error, dev loop0, sector 1613536 op 0x1:(WRITE) flags 0x0 phys_seg 2 prio class 0
[41328.268628] I/O error, dev loop0, sector 1613592 op 0x1:(WRITE) flags 0x0 phys_seg 2 prio class 0
[41328.268635] I/O error, dev loop0, sector 1402136 op 0x1:(WRITE) flags 0x0 phys_seg 1 prio class 0
[41328.269282] loop: Write error at byte offset 826191872, length 4096.
[41328.281785] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[41331.196204] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[41331.196212] BTRFS info (device dm-11): use lzo compression, level 0
[41331.196215] BTRFS info (device dm-11): disk space caching is enabled
[41331.201106] BTRFS info (device dm-11): auto enabling async discard
[41331.222672] loop0: detected capacity change from 0 to 6629376
[41331.337648] BTRFS info (device loop0): using crc32c (crc32c-intel) checksum algorithm
[41331.337654] BTRFS info (device loop0): disk space caching is enabled
[41331.342214] BTRFS info (device loop0): enabling ssd optimizations
[41331.342218] BTRFS info (device loop0): auto enabling async discard
[41332.436036] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[41332.447798] btrfs_dev_stat_inc_and_print: 22 callbacks suppressed
[41332.447802] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 1, rd 0, flush 0, corrupt 0, gen 0
[41332.447811] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 2, rd 0, flush 0, corrupt 0, gen 0
[41332.447900] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 3, rd 0, flush 0, corrupt 0, gen 0
[41332.447907] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 4, rd 0, flush 0, corrupt 0, gen 0
[41332.475099] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 5, rd 0, flush 0, corrupt 0, gen 0
[41332.477643] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 6, rd 0, flush 0, corrupt 0, gen 0
[41332.478195] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 7, rd 0, flush 0, corrupt 0, gen 0
[41332.479865] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 8, rd 0, flush 0, corrupt 0, gen 0
[41332.480556] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 9, rd 0, flush 0, corrupt 0, gen 0
[41332.481456] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 10, rd 0, flush 0, corrupt 0, gen 0
[41332.482992] BTRFS: error (device dm-11) in btrfs_commit_transaction:2496: errno=-5 IO failure (Error while writing out transaction)
[41332.483449] BTRFS info (device dm-11: state E): forced readonly
[41332.483453] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[41332.483456] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[41332.484619] blk_print_req_error: 6 callbacks suppressed
[41332.484621] I/O error, dev loop0, sector 128 op 0x1:(WRITE) flags 0x3800 phys_seg 1 prio class 0
[41332.484627] BTRFS warning (device loop0): lost page write due to IO error on /dev/loop0 (-5)
[41332.484644] BTRFS error (device loop0): error writing primary super block to device 1
[41332.484647] BTRFS: error (device loop0) in write_all_supers:4356: errno=-5 IO failure (1 errors while writing supers)
[41332.485034] BTRFS info (device loop0: state E): forced readonly
[41332.485046] BTRFS: error (device loop0: state EA) in btrfs_sync_log:3203: errno=-5 IO failure
[41332.485514] BTRFS warning (device loop0: state EA): Skipping commit of aborted transaction.
[41332.485518] BTRFS: error (device loop0: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[41332.486759] I/O error, dev loop0, sector 1610264 op 0x1:(WRITE) flags 0x0 phys_seg 5 prio class 0
[41332.487259] I/O error, dev loop0, sector 1632744 op 0x1:(WRITE) flags 0x0 phys_seg 4 prio class 0
[41335.232739] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[41335.232750] BTRFS info (device dm-11): use lzo compression, level 0
[41335.232754] BTRFS info (device dm-11): disk space caching is enabled
[41335.236918] BTRFS info (device dm-11): auto enabling async discard
[41335.236923] BTRFS info (device dm-11): start tree-log replay
[41335.241423] BTRFS info (device dm-11): the free space cache file (298844160) is invalid, skip it
[41335.291472] loop0: detected capacity change from 0 to 6629376
[41335.322045] BTRFS info (device loop0): using crc32c (crc32c-intel) checksum algorithm
[41335.322051] BTRFS info (device loop0): disk space caching is enabled
[41335.426527] BTRFS info (device loop0): enabling ssd optimizations
[41335.426531] BTRFS info (device loop0): auto enabling async discard
[41335.447079] BTRFS info (device loop0): the free space cache file (298844160) is invalid, skip it
[41335.518612] I/O error, dev loop0, sector 79072 op 0x0:(READ) flags 0x1000 phys_seg 4 prio class 0
[41335.526847] I/O error, dev loop0, sector 0 op 0x1:(WRITE) flags 0x800 phys_seg 0 prio class 0
[41335.527371] I/O error, dev loop0, sector 603360 op 0x0:(READ) flags 0x1000 phys_seg 4 prio class 0
[41335.528507] BTRFS warning (device loop0): chunk 13631488 missing 1 devices, max tolerance is 0 for writable mount
[41335.528512] BTRFS: error (device loop0) in write_all_supers:4286: errno=-5 IO failure (errors while submitting device barriers.)
[41335.529005] BTRFS info (device loop0: state E): forced readonly
[41335.529009] BTRFS: error (device loop0: state EA) in btrfs_sync_log:3203: errno=-5 IO failure
[41335.529547] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[41335.532384] I/O error, dev loop0, sector 85280 op 0x0:(READ) flags 0x1000 phys_seg 4 prio class 0
[41335.536816] I/O error, dev loop0, sector 609568 op 0x0:(READ) flags 0x1000 phys_seg 4 prio class 0
[41335.537529] I/O error, dev loop0, sector 85664 op 0x0:(READ) flags 0x1000 phys_seg 4 prio class 0
[41335.537810] I/O error, dev loop0, sector 609952 op 0x0:(READ) flags 0x1000 phys_seg 4 prio class 0
[41335.573586] BTRFS: error (device dm-11: state A) in btrfs_run_delayed_refs:2141: errno=-5 IO failure
[41335.573949] BTRFS info (device dm-11: state EA): forced readonly
[41338.239661] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[41338.239671] BTRFS info (device dm-11): use lzo compression, level 0
[41338.239673] BTRFS info (device dm-11): disk space caching is enabled
[41338.243490] BTRFS info (device dm-11): auto enabling async discard
[41338.268380] loop0: detected capacity change from 0 to 6629376
[41338.311162] BTRFS info (device loop0): using crc32c (crc32c-intel) checksum algorithm
[41338.311169] BTRFS info (device loop0): disk space caching is enabled
[41338.428621] BTRFS info (device loop0): enabling ssd optimizations
[41338.428627] BTRFS info (device loop0): auto enabling async discard
[41338.453388] BTRFS info (device loop0): the free space cache file (298844160) is invalid, skip it
[41339.484449] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[41339.484456] btrfs_dev_stat_inc_and_print: 83 callbacks suppressed
[41339.484458] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 1, rd 0, flush 0, corrupt 0, gen 0
[41339.484470] BTRFS error (device dm-11): error writing primary super block to device 1
[41339.484472] BTRFS: error (device dm-11) in write_all_supers:4356: errno=-5 IO failure (1 errors while writing supers)
[41339.484929] BTRFS info (device dm-11: state E): forced readonly
[41339.485803] BTRFS: error (device dm-11: state EA) in btrfs_sync_log:3203: errno=-5 IO failure
[41339.486166] blk_print_req_error: 12 callbacks suppressed
[41339.486168] I/O error, dev loop0, sector 0 op 0x1:(WRITE) flags 0x800 phys_seg 0 prio class 0
[41339.486182] lo_write_bvec: 3 callbacks suppressed
[41339.486184] loop: Write error at byte offset 841973760, length 4096.
[41339.486190] loop: Write error at byte offset 756584448, length 4096.
[41339.486217] BTRFS error (device loop0): bdev /dev/loop0 errs: wr 0, rd 0, flush 1, corrupt 0, gen 0
[41339.486225] BTRFS warning (device loop0): chunk 13631488 missing 1 devices, max tolerance is 0 for writable mount
[41339.486229] BTRFS: error (device loop0) in write_all_supers:4286: errno=-5 IO failure (errors while submitting device barriers.)
[41339.486758] I/O error, dev loop0, sector 1644480 op 0x1:(WRITE) flags 0x8800 phys_seg 2 prio class 2
[41339.486807] BTRFS error (device loop0): bdev /dev/loop0 errs: wr 1, rd 0, flush 1, corrupt 0, gen 0
[41339.486811] BTRFS warning (device loop0): direct IO failed ino 1719 rw 1,34817 sector 0x1917c0 len 0 err no 10
[41339.486821] I/O error, dev loop0, sector 1477704 op 0x1:(WRITE) flags 0x8800 phys_seg 6 prio class 2
[41339.486824] BTRFS error (device loop0): bdev /dev/loop0 errs: wr 2, rd 0, flush 1, corrupt 0, gen 0
[41339.486826] BTRFS warning (device loop0): direct IO failed ino 1719 rw 1,34817 sector 0x168c48 len 0 err no 10
[41339.486847] BTRFS info (device loop0: state E): forced readonly
[41339.486854] BTRFS warning (device loop0: state E): Skipping commit of aborted transaction.
[41339.486858] BTRFS: error (device loop0: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[41339.487602] BTRFS warning (device dm-11: state EA): Skipping commit of aborted transaction.
[41339.487606] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[41339.490244] loop: Write error at byte offset 844107776, length 4096.
[41339.490255] I/O error, dev loop0, sector 1648648 op 0x1:(WRITE) flags 0x0 phys_seg 1 prio class 0
[41339.490263] BTRFS error (device loop0: state EA): bdev /dev/loop0 errs: wr 3, rd 0, flush 1, corrupt 0, gen 0
[41339.492217] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 1, rd 1, flush 0, corrupt 0, gen 0
[41339.492349] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 1, rd 2, flush 0, corrupt 0, gen 0
[41339.492390] I/O error, dev loop0, sector 78016 op 0x0:(READ) flags 0x1000 phys_seg 3 prio class 0
[41339.492397] BTRFS error (device loop0: state EA): bdev /dev/loop0 errs: wr 3, rd 1, flush 1, corrupt 0, gen 0
[41339.493664] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 1, rd 3, flush 0, corrupt 0, gen 0
[41339.493748] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 1, rd 4, flush 0, corrupt 0, gen 0
[41339.493787] I/O error, dev loop0, sector 602304 op 0x0:(READ) flags 0x1000 phys_seg 3 prio class 0
[41339.504977] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[41342.404891] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[41342.404899] BTRFS info (device dm-11): use lzo compression, level 0
[41342.404902] BTRFS info (device dm-11): disk space caching is enabled
[41342.409522] BTRFS info (device dm-11): auto enabling async discard
[41342.409527] BTRFS info (device dm-11): start tree-log replay
[41342.475695] loop0: detected capacity change from 0 to 6629376
[41342.509613] BTRFS info (device loop0): using crc32c (crc32c-intel) checksum algorithm
[41342.509620] BTRFS info (device loop0): disk space caching is enabled
[41342.629441] BTRFS info (device loop0): enabling ssd optimizations
[41342.629446] BTRFS info (device loop0): auto enabling async discard
[41342.629448] BTRFS info (device loop0): start tree-log replay
[41342.637012] BTRFS info (device loop0): the free space cache file (298844160) is invalid, skip it
[41343.730086] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[41343.800908] I/O error, dev loop0, sector 128 op 0x1:(WRITE) flags 0x3800 phys_seg 1 prio class 0
[41343.800916] BTRFS warning (device loop0): lost page write due to IO error on /dev/loop0 (-5)
[41343.800931] BTRFS error (device loop0): error writing primary super block to device 1
[41343.800934] BTRFS: error (device loop0) in write_all_supers:4356: errno=-5 IO failure (1 errors while writing supers)
[41343.801387] BTRFS info (device loop0: state E): forced readonly
[41343.801391] BTRFS: error (device loop0: state EA) in btrfs_sync_log:3203: errno=-5 IO failure
[41343.802033] BTRFS warning (device loop0: state EA): Skipping commit of aborted transaction.
[41343.802036] BTRFS: error (device loop0: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[41343.850435] BTRFS: error (device dm-11) in btrfs_commit_transaction:2496: errno=-5 IO failure (Error while writing out transaction)
[41343.851129] BTRFS info (device dm-11: state E): forced readonly
[41343.851135] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[41343.851139] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[41346.705465] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[41346.705473] BTRFS info (device dm-11): use lzo compression, level 0
[41346.705475] BTRFS info (device dm-11): disk space caching is enabled
[41346.710087] BTRFS info (device dm-11): auto enabling async discard
[41346.710093] BTRFS info (device dm-11): start tree-log replay
[41346.712776] BTRFS warning (device dm-11): block group 30408704 has wrong amount of free space
[41346.712793] BTRFS warning (device dm-11): failed to load free space cache for block group 30408704, rebuilding it now
[41346.761512] loop0: detected capacity change from 0 to 6629376
[41346.789976] BTRFS info (device loop0): using crc32c (crc32c-intel) checksum algorithm
[41346.789984] BTRFS info (device loop0): disk space caching is enabled
[41346.796330] BTRFS info (device loop0): enabling ssd optimizations
[41346.796334] BTRFS info (device loop0): auto enabling async discard
[41346.796336] BTRFS info (device loop0): start tree-log replay
[41347.017500] BTRFS info (device loop0): checking UUID tree
[41347.052695] btrfs_dev_stat_inc_and_print: 48 callbacks suppressed
[41347.052700] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 0, rd 1, flush 0, corrupt 0, gen 0
[41347.052845] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 0, rd 2, flush 0, corrupt 0, gen 0
[41347.052881] I/O error, dev loop0, sector 78624 op 0x0:(READ) flags 0x1000 phys_seg 2 prio class 0
[41347.052887] BTRFS error (device loop0): bdev /dev/loop0 errs: wr 0, rd 1, flush 0, corrupt 0, gen 0
[41347.052988] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 0, rd 3, flush 0, corrupt 0, gen 0
[41347.053038] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 0, rd 4, flush 0, corrupt 0, gen 0
[41347.053064] I/O error, dev loop0, sector 602912 op 0x0:(READ) flags 0x1000 phys_seg 2 prio class 0
[41347.053067] BTRFS error (device loop0): bdev /dev/loop0 errs: wr 0, rd 2, flush 0, corrupt 0, gen 0
[41347.053264] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 0, rd 5, flush 0, corrupt 0, gen 0
[41347.054523] I/O error, dev loop0, sector 78624 op 0x0:(READ) flags 0x1000 phys_seg 2 prio class 0
[41347.054527] BTRFS error (device loop0): bdev /dev/loop0 errs: wr 0, rd 3, flush 0, corrupt 0, gen 0
[41347.054584] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 0, rd 6, flush 0, corrupt 0, gen 0
[41347.055495] I/O error, dev loop0, sector 602912 op 0x0:(READ) flags 0x1000 phys_seg 2 prio class 0
[41347.055499] BTRFS error (device loop0): bdev /dev/loop0 errs: wr 0, rd 4, flush 0, corrupt 0, gen 0
[41347.055637] I/O error, dev loop0, sector 78624 op 0x0:(READ) flags 0x1000 phys_seg 2 prio class 0
[41347.055703] I/O error, dev loop0, sector 602912 op 0x0:(READ) flags 0x1000 phys_seg 2 prio class 0
[41347.055833] I/O error, dev loop0, sector 78624 op 0x0:(READ) flags 0x1000 phys_seg 2 prio class 0
[41347.055897] I/O error, dev loop0, sector 602912 op 0x0:(READ) flags 0x1000 phys_seg 2 prio class 0
[41347.056024] I/O error, dev loop0, sector 78624 op 0x0:(READ) flags 0x1000 phys_seg 2 prio class 0
[41347.056087] I/O error, dev loop0, sector 602912 op 0x0:(READ) flags 0x1000 phys_seg 2 prio class 0
[41347.070137] loop: Write error at byte offset 39305216, length 4096.
[41347.070157] loop: Write error at byte offset 307740672, length 4096.
[41347.070175] loop: Write error at byte offset 39337984, length 4096.
[41347.070192] loop: Write error at byte offset 307773440, length 4096.
[41347.070209] loop: Write error at byte offset 844124160, length 4096.
[41347.070971] loop: Write error at byte offset 862310400, length 4096.
[41347.071115] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[41347.074540] loop: Write error at byte offset 863186944, length 4096.
[41347.074796] loop: Write error at byte offset 863219712, length 4096.
[41347.075656] BTRFS: error (device loop0: state A) in __btrfs_free_extent:3078: errno=-5 IO failure
[41347.075977] BTRFS info (device loop0: state EA): forced readonly
[41347.075982] BTRFS: error (device loop0: state EA) in btrfs_run_delayed_refs:2141: errno=-5 IO failure
[41347.082206] BTRFS: error (device loop0: state EA) in __btrfs_free_extent:3078: errno=-5 IO failure
[41347.082808] BTRFS: error (device loop0: state EA) in btrfs_run_delayed_refs:2141: errno=-5 IO failure
[41347.099615] BTRFS: error (device dm-11: state A) in btrfs_run_delayed_refs:2141: errno=-5 IO failure
[41347.100143] BTRFS info (device dm-11: state EA): forced readonly
[41349.798904] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[41349.798916] BTRFS info (device dm-11): use lzo compression, level 0
[41349.798919] BTRFS info (device dm-11): disk space caching is enabled
[41349.803603] BTRFS info (device dm-11): auto enabling async discard
[41349.803608] BTRFS info (device dm-11): start tree-log replay
[41349.854974] loop0: detected capacity change from 0 to 6629376
[41349.889107] BTRFS info (device loop0): using crc32c (crc32c-intel) checksum algorithm
[41349.889114] BTRFS info (device loop0): disk space caching is enabled
[41350.004158] BTRFS info (device loop0): enabling ssd optimizations
[41350.004163] BTRFS info (device loop0): auto enabling async discard
[41350.010602] BTRFS info (device loop0): checking UUID tree
[41351.114017] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[41351.177198] BTRFS warning (device loop0): chunk 13631488 missing 1 devices, max tolerance is 0 for writable mount
[41351.177204] BTRFS: error (device loop0) in write_all_supers:4286: errno=-5 IO failure (errors while submitting device barriers.)
[41351.177699] BTRFS info (device loop0: state E): forced readonly
[41351.177708] BTRFS warning (device loop0: state E): Skipping commit of aborted transaction.
[41351.177711] BTRFS: error (device loop0: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[41351.178092] BTRFS: error (device loop0: state EA) in btrfs_sync_log:3192: errno=-5 IO failure
[41353.627395] btrfs_dev_stat_inc_and_print: 239 callbacks suppressed
[41353.627400] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 19, rd 0, flush 0, corrupt 0, gen 0
[41353.627425] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 20, rd 0, flush 0, corrupt 0, gen 0
[41353.627522] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 21, rd 0, flush 0, corrupt 0, gen 0
[41353.627532] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 22, rd 0, flush 0, corrupt 0, gen 0
[41353.627616] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 23, rd 0, flush 0, corrupt 0, gen 0
[41353.627625] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 24, rd 0, flush 0, corrupt 0, gen 0
[41353.628403] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 25, rd 0, flush 0, corrupt 0, gen 0
[41353.628414] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 26, rd 0, flush 0, corrupt 0, gen 0
[41353.628714] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 27, rd 0, flush 0, corrupt 0, gen 0
[41353.628722] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 28, rd 0, flush 0, corrupt 0, gen 0
[41353.631301] BTRFS: error (device dm-11: state A) in btrfs_run_delayed_refs:2141: errno=-5 IO failure
[41353.631660] BTRFS info (device dm-11: state EA): forced readonly
[41354.067031] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[41354.067040] BTRFS info (device dm-11): use lzo compression, level 0
[41354.067043] BTRFS info (device dm-11): disk space caching is enabled
[41354.071612] BTRFS info (device dm-11): auto enabling async discard
[41354.071616] BTRFS info (device dm-11): start tree-log replay
[41354.120357] loop0: detected capacity change from 0 to 6629376
[41354.153710] BTRFS info (device loop0): using crc32c (crc32c-intel) checksum algorithm
[41354.153717] BTRFS info (device loop0): disk space caching is enabled
[41354.166701] BTRFS info (device loop0): enabling ssd optimizations
[41354.166705] BTRFS info (device loop0): auto enabling async discard
[41354.166707] BTRFS info (device loop0): start tree-log replay
[41354.392314] blk_print_req_error: 159 callbacks suppressed
[41354.392316] I/O error, dev loop0, sector 80960 op 0x0:(READ) flags 0x1000 phys_seg 4 prio class 0
[41354.392809] I/O error, dev loop0, sector 605248 op 0x0:(READ) flags 0x1000 phys_seg 4 prio class 0
[41354.392836] BTRFS error (device loop0): error loading props for ino 1700 (root 5): -5
[41354.396644] I/O error, dev loop0, sector 76832 op 0x0:(READ) flags 0x1000 phys_seg 4 prio class 0
[41354.401972] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[41354.404367] I/O error, dev loop0, sector 0 op 0x1:(WRITE) flags 0x800 phys_seg 0 prio class 0
[41354.404499] BTRFS warning (device loop0): chunk 13631488 missing 1 devices, max tolerance is 0 for writable mount
[41354.404504] BTRFS: error (device loop0) in write_all_supers:4286: errno=-5 IO failure (errors while submitting device barriers.)
[41354.404942] I/O error, dev loop0, sector 601120 op 0x0:(READ) flags 0x1000 phys_seg 4 prio class 0
[41354.404958] BTRFS info (device loop0: state E): forced readonly
[41354.404962] BTRFS: error (device loop0: state EA) in btrfs_sync_log:3203: errno=-5 IO failure
[41354.411171] I/O error, dev loop0, sector 80960 op 0x0:(READ) flags 0x1000 phys_seg 4 prio class 0
[41354.411222] I/O error, dev loop0, sector 605248 op 0x0:(READ) flags 0x1000 phys_seg 4 prio class 0
[41354.411530] I/O error, dev loop0, sector 93024 op 0x0:(READ) flags 0x1000 phys_seg 4 prio class 0
[41354.411730] I/O error, dev loop0, sector 617312 op 0x0:(READ) flags 0x1000 phys_seg 4 prio class 0
[41354.412094] I/O error, dev loop0, sector 76704 op 0x0:(READ) flags 0x1000 phys_seg 4 prio class 0
[41354.413080] BTRFS: error (device dm-11: state A) in btrfs_run_delayed_refs:2141: errno=-5 IO failure
[41354.413558] BTRFS info (device dm-11: state EA): forced readonly
[41357.164199] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[41357.164207] BTRFS info (device dm-11): use lzo compression, level 0
[41357.164210] BTRFS info (device dm-11): disk space caching is enabled
[41357.168699] BTRFS info (device dm-11): auto enabling async discard
[41357.168704] BTRFS info (device dm-11): start tree-log replay
[41357.226484] loop0: detected capacity change from 0 to 6629376
[41357.265432] BTRFS info (device loop0): using crc32c (crc32c-intel) checksum algorithm
[41357.265439] BTRFS info (device loop0): disk space caching is enabled
[41357.386156] BTRFS info (device loop0): enabling ssd optimizations
[41357.386162] BTRFS info (device loop0): auto enabling async discard
[41359.421724] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[41359.421732] btrfs_dev_stat_inc_and_print: 69 callbacks suppressed
[41359.421735] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 1, rd 0, flush 0, corrupt 0, gen 0
[41359.421755] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[41359.421760] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 2, rd 0, flush 0, corrupt 0, gen 0
[41359.421776] BTRFS error (device dm-11): error writing primary super block to device 1
[41359.421781] BTRFS: error (device dm-11) in write_all_supers:4356: errno=-5 IO failure (1 errors while writing supers)
[41359.422181] BTRFS info (device dm-11: state E): forced readonly
[41359.422190] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[41359.422193] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[41359.422659] BTRFS: error (device dm-11: state EA) in btrfs_sync_log:3192: errno=-5 IO failure
[41359.423036] blk_print_req_error: 21 callbacks suppressed
[41359.423038] I/O error, dev loop0, sector 128 op 0x1:(WRITE) flags 0x3800 phys_seg 1 prio class 0
[41359.423044] BTRFS warning (device loop0): lost page write due to IO error on /dev/loop0 (-5)
[41359.423049] BTRFS error (device loop0): bdev /dev/loop0 errs: wr 1, rd 0, flush 0, corrupt 0, gen 0
[41359.424069] BTRFS error (device loop0): error writing primary super block to device 1
[41359.424072] BTRFS: error (device loop0) in write_all_supers:4356: errno=-5 IO failure (1 errors while writing supers)
[41359.424475] BTRFS info (device loop0: state E): forced readonly
[41359.424485] BTRFS: error (device loop0: state EA) in btrfs_sync_log:3203: errno=-5 IO failure
[41359.426321] BTRFS warning (device loop0: state EA): Skipping commit of aborted transaction.
[41359.426325] BTRFS: error (device loop0: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[41359.435317] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[41361.483421] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[41361.483430] BTRFS info (device dm-11): use lzo compression, level 0
[41361.483433] BTRFS info (device dm-11): disk space caching is enabled
[41361.487671] BTRFS info (device dm-11): auto enabling async discard
[41361.509650] loop0: detected capacity change from 0 to 6629376
[41361.544309] BTRFS info (device loop0): using crc32c (crc32c-intel) checksum algorithm
[41361.544317] BTRFS info (device loop0): disk space caching is enabled
[41361.564205] BTRFS info (device dm-11): the free space cache file (298844160) is invalid, skip it
[41361.669439] BTRFS info (device loop0): enabling ssd optimizations
[41361.669445] BTRFS info (device loop0): auto enabling async discard
[41361.669447] BTRFS info (device loop0): start tree-log replay
[41361.681979] ------------[ cut here ]------------
[41361.682049] WARNING: CPU: 1 PID: 1340714 at fs/btrfs/discard.c:604 btrfs_discard_update_discardable+0x98/0xb0
[41361.682055] 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 snd_hda_codec_generic intel_rapl_msr iTCO_wdt iTCO_vendor_support snd_hda_intel snd_intel_dspcfg snd_hda_codec snd_hwdep snd_hda_core snd_pcm intel_rapl_common snd_timer joydev snd i2c_i801 i2c_smbus soundcore lpc_ich virtio_balloon zram ip_tables xfs crct10dif_pclmul crc32_pclmul crc32c_intel ghash_clmulni_intel serio_raw qemu_fw_cfg
[41361.682119] CPU: 1 PID: 1340714 Comm: kworker/u4:12 Tainted: G        W         5.19.0-rc8+ #787
[41361.682122] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.13.0-2.fc32 04/01/2014
[41361.682124] Workqueue: btrfs-cache btrfs_work_helper
[41361.682128] RIP: 0010:btrfs_discard_update_discardable+0x98/0xb0
[41361.682131] 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 ac 96 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
[41361.682133] RSP: 0018:ffff98e885d4bad0 EFLAGS: 00010246
[41361.682136] RAX: 0000000000000000 RBX: ffff8c6c0be02000 RCX: 0000000000000001
[41361.682138] RDX: 0000000000000000 RSI: ffffffffa7807c93 RDI: ffffffffa78a836e
[41361.682139] RBP: ffff8c6bd2714000 R08: 0000000000000000 R09: 0000000000001000
[41361.682141] R10: ffff8c6b18323b78 R11: 000000000090f400 R12: ffff8c6ade479010
[41361.682143] R13: ffff8c6bd62345f0 R14: ffff8c6bd2714000 R15: ffff8c6bc71977e0
[41361.682144] FS:  0000000000000000(0000) GS:ffff8c6c3bd00000(0000) knlGS:0000000000000000
[41361.682146] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[41361.682148] CR2: 00007fa71e85cde0 CR3: 0000000103b96006 CR4: 0000000000370ee0
[41361.682152] Call Trace:
[41361.682154]  
[41361.682158]  __btrfs_remove_free_space_cache+0x27/0x30
[41361.682162]  load_free_space_cache+0xad2/0xaf0
[41361.682202]  caching_thread+0x40b/0x650
[41361.682211]  ? lock_release+0x137/0x2d0
[41361.682218]  btrfs_work_helper+0xf2/0x3e0
[41361.682221]  ? lock_is_held_type+0xe2/0x140
[41361.682227]  process_one_work+0x271/0x590
[41361.682237]  worker_thread+0x52/0x3b0
[41361.682242]  ? process_one_work+0x590/0x590
[41361.682244]  kthread+0xf0/0x120
[41361.682247]  ? kthread_complete_and_exit+0x20/0x20
[41361.682251]  ret_from_fork+0x1f/0x30
[41361.682297]  
[41361.682299] irq event stamp: 24633665
[41361.682301] hardirqs last  enabled at (24633671): [] __up_console_sem+0x5e/0x70
[41361.682304] hardirqs last disabled at (24633676): [] __up_console_sem+0x43/0x70
[41361.682306] softirqs last  enabled at (24633658): [] __irq_exit_rcu+0xeb/0x160
[41361.682310] softirqs last disabled at (24633649): [] __irq_exit_rcu+0xeb/0x160
[41361.682312] ---[ end trace 0000000000000000 ]---
[41361.682315] BTRFS warning (device loop0): block group 298844160 has wrong amount of free space
[41361.682332] BTRFS warning (device loop0): failed to load free space cache for block group 298844160, rebuilding it now
[41361.844478] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 0, rd 1, flush 0, corrupt 0, gen 0
[41361.845399] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 0, rd 2, flush 0, corrupt 0, gen 0
[41361.845757] I/O error, dev loop0, sector 85312 op 0x0:(READ) flags 0x1000 phys_seg 2 prio class 0
[41361.845763] BTRFS error (device loop0): bdev /dev/loop0 errs: wr 0, rd 1, flush 0, corrupt 0, gen 0
[41361.851369] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 0, rd 3, flush 0, corrupt 0, gen 0
[41361.851430] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 0, rd 4, flush 0, corrupt 0, gen 0
[41361.851471] I/O error, dev loop0, sector 609600 op 0x0:(READ) flags 0x1000 phys_seg 2 prio class 0
[41361.851475] BTRFS error (device loop0): bdev /dev/loop0 errs: wr 0, rd 2, flush 0, corrupt 0, gen 0
[41361.851663] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 0, rd 5, flush 0, corrupt 0, gen 0
[41361.851743] I/O error, dev loop0, sector 79168 op 0x0:(READ) flags 0x1000 phys_seg 2 prio class 0
[41361.851895] I/O error, dev loop0, sector 603456 op 0x0:(READ) flags 0x1000 phys_seg 2 prio class 0
[41361.856360] I/O error, dev loop0, sector 86720 op 0x0:(READ) flags 0x1000 phys_seg 4 prio class 0
[41361.856504] I/O error, dev loop0, sector 611008 op 0x0:(READ) flags 0x1000 phys_seg 4 prio class 0
[41361.856758] I/O error, dev loop0, sector 78912 op 0x0:(READ) flags 0x1000 phys_seg 4 prio class 0
[41361.856894] I/O error, dev loop0, sector 603200 op 0x0:(READ) flags 0x1000 phys_seg 4 prio class 0
[41361.858886] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[41361.863764] I/O error, dev loop0, sector 79680 op 0x0:(READ) flags 0x1000 phys_seg 4 prio class 0
[41361.877893] BTRFS warning (device loop0): chunk 13631488 missing 1 devices, max tolerance is 0 for writable mount
[41361.877901] BTRFS: error (device loop0) in write_all_supers:4286: errno=-5 IO failure (errors while submitting device barriers.)
[41361.878377] BTRFS info (device loop0: state E): forced readonly
[41361.878381] BTRFS: error (device loop0: state EA) in btrfs_sync_log:3203: errno=-5 IO failure
[41361.886478] BTRFS warning (device loop0: state EA): direct IO failed ino 1995 rw 0,0 sector 0x192d68 len 0 err no 10
[41361.888601] BTRFS: error (device dm-11: state A) in btrfs_run_delayed_refs:2141: errno=-5 IO failure
[41361.888942] BTRFS info (device dm-11: state EA): forced readonly
[41361.932696] BTRFS warning (device loop0: state EA): direct IO failed ino 1995 rw 0,0 sector 0x1b2a98 len 0 err no 10
[41364.517044] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[41364.517051] BTRFS info (device dm-11): use lzo compression, level 0
[41364.517054] BTRFS info (device dm-11): disk space caching is enabled
[41364.520608] BTRFS info (device dm-11): auto enabling async discard
[41364.520613] BTRFS info (device dm-11): start tree-log replay
[41364.524578] BTRFS info (device dm-11): the free space cache file (298844160) is invalid, skip it
[41364.617551] loop0: detected capacity change from 0 to 6629376
[41364.646205] BTRFS info (device loop0): using crc32c (crc32c-intel) checksum algorithm
[41364.646212] BTRFS info (device loop0): disk space caching is enabled
[41364.651708] BTRFS info (device loop0): enabling ssd optimizations
[41364.651712] BTRFS info (device loop0): auto enabling async discard
[41365.715584] btrfs_dev_stat_inc_and_print: 120 callbacks suppressed
[41365.715588] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 1, rd 0, flush 0, corrupt 0, gen 0
[41365.715610] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 2, rd 0, flush 0, corrupt 0, gen 0
[41365.715618] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 3, rd 0, flush 0, corrupt 0, gen 0
[41365.716290] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 4, rd 0, flush 0, corrupt 0, gen 0
[41365.717348] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 5, rd 0, flush 0, corrupt 0, gen 0
[41365.717544] blk_print_req_error: 32 callbacks suppressed
[41365.717546] I/O error, dev loop0, sector 128 op 0x1:(WRITE) flags 0x3800 phys_seg 1 prio class 0
[41365.717552] BTRFS warning (device loop0): lost page write due to IO error on /dev/loop0 (-5)
[41365.717555] BTRFS error (device loop0): bdev /dev/loop0 errs: wr 1, rd 0, flush 0, corrupt 0, gen 0
[41365.718047] BTRFS error (device loop0): error writing primary super block to device 1
[41365.718052] BTRFS: error (device loop0) in write_all_supers:4356: errno=-5 IO failure (1 errors while writing supers)
[41365.718650] BTRFS info (device loop0: state E): forced readonly
[41365.718662] BTRFS: error (device loop0: state EA) in btrfs_sync_log:3203: errno=-5 IO failure
[41365.727590] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[41365.728112] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 6, rd 0, flush 0, corrupt 0, gen 0
[41365.728773] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 7, rd 0, flush 0, corrupt 0, gen 0
[41365.729003] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 8, rd 0, flush 0, corrupt 0, gen 0
[41365.729137] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 9, rd 0, flush 0, corrupt 0, gen 0
[41365.731378] BTRFS warning (device loop0: state EA): Skipping commit of aborted transaction.
[41365.731382] BTRFS: error (device loop0: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[41365.738156] BTRFS: error (device dm-11: state A) in __btrfs_update_delayed_inode:1089: errno=-5 IO failure
[41365.738542] BTRFS info (device dm-11: state EA): forced readonly
[41365.738547] BTRFS: error (device dm-11: state EA) in __btrfs_run_delayed_items:1182: errno=-5 IO failure
[41365.738874] BTRFS warning (device dm-11: state EA): Skipping commit of aborted transaction.
[41365.738877] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[41365.739928] BTRFS: error (device dm-11: state EA) in do_free_extent_accounting:2848: errno=-5 IO failure
[41365.740454] BTRFS: error (device dm-11: state EA) in btrfs_run_delayed_refs:2141: errno=-5 IO failure
[41367.721947] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[41367.721959] BTRFS info (device dm-11): use lzo compression, level 0
[41367.721963] BTRFS info (device dm-11): disk space caching is enabled
[41367.726504] BTRFS info (device dm-11): auto enabling async discard
[41367.726510] BTRFS info (device dm-11): start tree-log replay
[41367.802759] loop0: detected capacity change from 0 to 6629376
[41367.835549] BTRFS info (device loop0): using crc32c (crc32c-intel) checksum algorithm
[41367.835556] BTRFS info (device loop0): disk space caching is enabled
[41367.869145] BTRFS info (device loop0): enabling ssd optimizations
[41367.869151] BTRFS info (device loop0): auto enabling async discard
[41367.940500] I/O error, dev loop0, sector 1688984 op 0x0:(READ) flags 0x80700 phys_seg 16 prio class 0
[41367.941430] I/O error, dev loop0, sector 1688984 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 0
[41367.941589] BTRFS error (device loop0): error reading free space cache
[41367.941610] BTRFS warning (device loop0): failed to load free space cache for block group 30408704, rebuilding it now
[41367.947837] I/O error, dev loop0, sector 86528 op 0x0:(READ) flags 0x1000 phys_seg 4 prio class 0
[41367.948457] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[41367.949374] I/O error, dev loop0, sector 610816 op 0x0:(READ) flags 0x1000 phys_seg 4 prio class 0
[41367.951720] I/O error, dev loop0, sector 86528 op 0x0:(READ) flags 0x1000 phys_seg 4 prio class 0
[41367.951820] I/O error, dev loop0, sector 610816 op 0x0:(READ) flags 0x1000 phys_seg 4 prio class 0
[41367.952443] I/O error, dev loop0, sector 80864 op 0x0:(READ) flags 0x1000 phys_seg 4 prio class 0
[41367.952606] I/O error, dev loop0, sector 605152 op 0x0:(READ) flags 0x1000 phys_seg 4 prio class 0
[41367.952721] I/O error, dev loop0, sector 80864 op 0x0:(READ) flags 0x1000 phys_seg 4 prio class 0
[41367.956650] BTRFS error (device loop0): error reading free space cache
[41367.956655] BTRFS warning (device loop0): failed to load free space cache for block group 298844160, rebuilding it now
[41367.968744] BTRFS: error (device loop0: state A) in btrfs_finish_ordered_io:3318: errno=-5 IO failure
[41367.969237] BTRFS info (device loop0: state EA): forced readonly
[41367.970845] BTRFS: error (device loop0: state EA) in btrfs_finish_ordered_io:3318: errno=-5 IO failure
[41368.002477] BTRFS: error (device dm-11: state A) in __btrfs_free_extent:3078: errno=-5 IO failure
[41368.002815] BTRFS info (device dm-11: state EA): forced readonly
[41368.002820] BTRFS: error (device dm-11: state EA) in btrfs_run_delayed_refs:2141: errno=-5 IO failure
[41370.801304] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[41370.801312] BTRFS info (device dm-11): use lzo compression, level 0
[41370.801315] BTRFS info (device dm-11): disk space caching is enabled
[41370.805553] BTRFS info (device dm-11): auto enabling async discard
[41370.830918] loop0: detected capacity change from 0 to 6629376
[41370.870245] BTRFS info (device loop0): using crc32c (crc32c-intel) checksum algorithm
[41370.870252] BTRFS info (device loop0): disk space caching is enabled
[41370.996700] BTRFS info (device loop0): enabling ssd optimizations
[41370.996706] BTRFS info (device loop0): auto enabling async discard
[41373.047795] btrfs_dev_stat_inc_and_print: 123 callbacks suppressed
[41373.047800] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 1, rd 0, flush 0, corrupt 0, gen 0
[41373.047821] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 2, rd 0, flush 0, corrupt 0, gen 0
[41373.049378] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 3, rd 0, flush 0, corrupt 0, gen 0
[41373.049509] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 4, rd 0, flush 0, corrupt 0, gen 0
[41373.049622] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 5, rd 0, flush 0, corrupt 0, gen 0
[41373.049722] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 6, rd 0, flush 0, corrupt 0, gen 0
[41373.050342] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 7, rd 0, flush 0, corrupt 0, gen 0
[41373.050962] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 8, rd 0, flush 0, corrupt 0, gen 0
[41373.051508] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 9, rd 0, flush 0, corrupt 0, gen 0
[41373.051515] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 10, rd 0, flush 0, corrupt 0, gen 0
[41373.051616] BTRFS: error (device dm-11) in btrfs_commit_transaction:2496: errno=-5 IO failure (Error while writing out transaction)
[41373.052054] BTRFS info (device dm-11: state E): forced readonly
[41373.052058] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[41373.052060] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[41373.057243] loop: Write error at byte offset 718028800, length 4096.
[41373.057244] blk_print_req_error: 32 callbacks suppressed
[41373.057246] I/O error, dev loop0, sector 0 op 0x1:(WRITE) flags 0x800 phys_seg 0 prio class 0
[41373.057255] loop: Write error at byte offset 718213120, length 4096.
[41373.057261] I/O error, dev loop0, sector 1402760 op 0x1:(WRITE) flags 0x8800 phys_seg 1 prio class 2
[41373.057267] BTRFS warning (device loop0): direct IO failed ino 2192 rw 1,34817 sector 0x156788 len 0 err no 10
[41373.057268] I/O error, dev loop0, sector 1402400 op 0x1:(WRITE) flags 0x0 phys_seg 1 prio class 0
[41373.057745] BTRFS warning (device loop0): chunk 13631488 missing 1 devices, max tolerance is 0 for writable mount
[41373.057751] BTRFS: error (device loop0) in write_all_supers:4286: errno=-5 IO failure (errors while submitting device barriers.)
[41373.058388] BTRFS info (device loop0: state E): forced readonly
[41373.058394] BTRFS warning (device loop0: state E): Skipping commit of aborted transaction.
[41373.058398] BTRFS: error (device loop0: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[41373.062221] loop: Write error at byte offset 773795840, length 4096.
[41373.062254] I/O error, dev loop0, sector 1511320 op 0x1:(WRITE) flags 0x0 phys_seg 1 prio class 0
[41373.062366] loop: Write error at byte offset 833552384, length 4096.
[41373.062374] I/O error, dev loop0, sector 1628032 op 0x1:(WRITE) flags 0x0 phys_seg 7 prio class 0
[41373.062435] loop: Write error at byte offset 922537984, length 4096.
[41373.062446] I/O error, dev loop0, sector 1801832 op 0x1:(WRITE) flags 0x0 phys_seg 4 prio class 0
[41373.063053] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[41375.069851] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[41375.069859] BTRFS info (device dm-11): use lzo compression, level 0
[41375.069862] BTRFS info (device dm-11): disk space caching is enabled
[41375.074209] BTRFS info (device dm-11): auto enabling async discard
[41375.074214] BTRFS info (device dm-11): start tree-log replay
[41375.078406] BTRFS info (device dm-11): the free space cache file (298844160) is invalid, skip it
[41375.137976] loop0: detected capacity change from 0 to 6629376
[41375.171160] BTRFS info (device loop0): using crc32c (crc32c-intel) checksum algorithm
[41375.171167] BTRFS info (device loop0): disk space caching is enabled
[41375.210203] BTRFS info (device loop0): enabling ssd optimizations
[41375.210208] BTRFS info (device loop0): auto enabling async discard
[41375.210210] BTRFS info (device loop0): start tree-log replay
[41375.315304] BTRFS info (device loop0): the free space cache file (298844160) is invalid, skip it
[41375.442019] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[41375.442083] BTRFS error (device dm-11): error writing primary super block to device 1
[41375.442088] BTRFS: error (device dm-11) in write_all_supers:4356: errno=-5 IO failure (1 errors while writing supers)
[41375.442502] BTRFS info (device dm-11: state E): forced readonly
[41375.442506] BTRFS: error (device dm-11: state EA) in btrfs_sync_log:3203: errno=-5 IO failure
[41375.443030] I/O error, dev loop0, sector 128 op 0x1:(WRITE) flags 0x3800 phys_seg 1 prio class 0
[41375.443037] BTRFS warning (device loop0): lost page write due to IO error on /dev/loop0 (-5)
[41375.443052] BTRFS error (device loop0): error writing primary super block to device 1
[41375.443055] BTRFS: error (device loop0) in write_all_supers:4356: errno=-5 IO failure (1 errors while writing supers)
[41375.443450] BTRFS info (device loop0: state E): forced readonly
[41375.443454] BTRFS: error (device loop0: state EA) in btrfs_sync_log:3203: errno=-5 IO failure
[41375.443938] I/O error, dev loop0, sector 93408 op 0x0:(READ) flags 0x1000 phys_seg 4 prio class 0
[41375.444853] I/O error, dev loop0, sector 617696 op 0x0:(READ) flags 0x1000 phys_seg 4 prio class 0
[41375.445006] I/O error, dev loop0, sector 93408 op 0x0:(READ) flags 0x1000 phys_seg 4 prio class 0
[41375.455873] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[41378.186611] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[41378.186619] BTRFS info (device dm-11): use lzo compression, level 0
[41378.186622] BTRFS info (device dm-11): disk space caching is enabled
[41378.190835] BTRFS info (device dm-11): auto enabling async discard
[41378.190839] BTRFS info (device dm-11): start tree-log replay
[41378.252862] loop0: detected capacity change from 0 to 6629376
[41378.278716] BTRFS info (device loop0): using crc32c (crc32c-intel) checksum algorithm
[41378.278723] BTRFS info (device loop0): disk space caching is enabled
[41378.284045] BTRFS info (device loop0): enabling ssd optimizations
[41378.284049] BTRFS info (device loop0): auto enabling async discard