[16861.375400] run fstests generic/475 at 2022-08-05 01:32:37
[16862.315929] BTRFS: device fsid e2e1eb25-7f65-4508-b904-390b324aefe0 devid 1 transid 6 /dev/mapper/vg0-lv9 scanned by mkfs.btrfs (2241024)
[16862.535666] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[16862.535674] BTRFS info (device dm-11): disk space caching is enabled
[16862.542471] BTRFS info (device dm-11): auto enabling async discard
[16862.542678] BTRFS info (device dm-11): checking UUID tree
[16864.618213] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 1, rd 0, flush 0, corrupt 0, gen 0
[16864.618239] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 2, rd 0, flush 0, corrupt 0, gen 0
[16864.619171] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 3, rd 0, flush 0, corrupt 0, gen 0
[16864.619646] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 4, rd 0, flush 0, corrupt 0, gen 0
[16864.619765] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 5, rd 0, flush 0, corrupt 0, gen 0
[16864.619799] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 6, rd 0, flush 0, corrupt 0, gen 0
[16864.619893] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 7, rd 0, flush 0, corrupt 0, gen 0
[16864.619988] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 8, rd 0, flush 0, corrupt 0, gen 0
[16864.620043] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 9, rd 0, flush 0, corrupt 0, gen 0
[16864.620060] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 10, rd 0, flush 0, corrupt 0, gen 0
[16864.627832] BTRFS warning (device dm-11): direct IO failed ino 609 rw 1,34817 sector 0x139a20 len 110592 err no 10
[16864.628410] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[16864.628424] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[16864.628456] BTRFS error (device dm-11): error writing primary super block to device 1
[16864.628461] BTRFS: error (device dm-11) in write_all_supers:4356: errno=-5 IO failure (1 errors while writing supers)
[16864.629089] BTRFS info (device dm-11: state E): forced readonly
[16864.629135] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[16864.629420] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[16864.630748] BTRFS: error (device dm-11: state EA) in btrfs_sync_log:3192: errno=-5 IO failure
[16864.636928] buffer_io_error: 760 callbacks suppressed
[16864.636931] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[16865.229594] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[16865.229601] BTRFS info (device dm-11): disk space caching is enabled
[16865.233434] BTRFS info (device dm-11): auto enabling async discard
[16865.269971] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[16865.284827] BTRFS error (device dm-11): error reading free space cache
[16865.284846] BTRFS warning (device dm-11): failed to load free space cache for block group 298844160, rebuilding it now
[16865.288680] BTRFS: error (device dm-11: state A) in do_free_extent_accounting:2848: errno=-5 IO failure
[16865.289245] BTRFS info (device dm-11: state EA): forced readonly
[16865.289267] BTRFS: error (device dm-11: state EA) in btrfs_run_delayed_refs:2141: errno=-5 IO failure
[16865.723113] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[16865.723121] BTRFS info (device dm-11): disk space caching is enabled
[16865.727368] BTRFS info (device dm-11): auto enabling async discard
[16866.754591] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[16866.754602] BTRFS error (device dm-11): error writing primary super block to device 1
[16866.754606] BTRFS: error (device dm-11) in write_all_supers:4356: errno=-5 IO failure (1 errors while writing supers)
[16866.755017] BTRFS info (device dm-11: state E): forced readonly
[16866.755641] BTRFS: error (device dm-11: state EA) in btrfs_sync_log:3203: errno=-5 IO failure
[16866.757302] BTRFS warning (device dm-11: state EA): Skipping commit of aborted transaction.
[16866.757329] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[16866.760522] BTRFS warning (device dm-11: state EA): direct IO failed ino 732 rw 0,0 sector 0x139100 len 49152 err no 10
[16866.768493] BTRFS warning (device dm-11: state EA): direct IO failed ino 819 rw 0,0 sector 0x145628 len 12288 err no 10
[16866.771992] BTRFS warning (device dm-11: state EA): direct IO failed ino 733 rw 0,0 sector 0x14a238 len 8192 err no 10
[16866.772006] BTRFS warning (device dm-11: state EA): direct IO failed ino 733 rw 0,0 sector 0x118f58 len 36864 err no 10
[16866.774129] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[16866.775976] BTRFS warning (device dm-11: state EA): direct IO failed ino 827 rw 0,0 sector 0x141258 len 8192 err no 10
[16866.788682] BTRFS warning (device dm-11: state EA): direct IO failed ino 921 rw 0,0 sector 0x1486f0 len 20480 err no 10
[16866.792607] BTRFS warning (device dm-11: state EA): direct IO failed ino 806 rw 0,0 sector 0x1429a8 len 32768 err no 10
[16866.792635] BTRFS warning (device dm-11: state EA): direct IO failed ino 806 rw 0,0 sector 0x1186e8 len 4096 err no 10
[16866.806525] BTRFS warning (device dm-11: state EA): direct IO failed ino 882 rw 0,0 sector 0x14dca8 len 8192 err no 10
[16866.807888] BTRFS warning (device dm-11: state EA): direct IO failed ino 787 rw 0,0 sector 0x143350 len 8192 err no 10
[16866.807907] BTRFS warning (device dm-11: state EA): direct IO failed ino 741 rw 0,0 sector 0x13e1f8 len 57344 err no 10
[16866.810148] BTRFS warning (device dm-11: state EA): direct IO failed ino 851 rw 0,0 sector 0x145400 len 20480 err no 10
[16866.810168] BTRFS warning (device dm-11: state EA): direct IO failed ino 851 rw 0,0 sector 0x117f50 len 4096 err no 10
[16866.811426] BTRFS warning (device dm-11: state EA): direct IO failed ino 783 rw 0,0 sector 0x145458 len 61440 err no 10
[16866.812624] BTRFS warning (device dm-11: state EA): direct IO failed ino 790 rw 0,0 sector 0x14e658 len 20480 err no 10
[16866.815322] BTRFS warning (device dm-11: state EA): direct IO failed ino 730 rw 0,0 sector 0x13f280 len 61440 err no 10
[16866.815956] BTRFS warning (device dm-11: state EA): direct IO failed ino 862 rw 0,0 sector 0x14deb0 len 12288 err no 10
[16866.817031] BTRFS warning (device dm-11: state EA): direct IO failed ino 931 rw 0,0 sector 0x14ee68 len 20480 err no 10
[16867.332925] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[16867.332933] BTRFS info (device dm-11): disk space caching is enabled
[16867.337585] BTRFS info (device dm-11): auto enabling async discard
[16869.367345] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[16869.367356] BTRFS error (device dm-11): error writing primary super block to device 1
[16869.367360] BTRFS: error (device dm-11) in write_all_supers:4356: errno=-5 IO failure (1 errors while writing supers)
[16869.367999] BTRFS info (device dm-11: state E): forced readonly
[16869.368013] BTRFS: error (device dm-11: state EA) in btrfs_sync_log:3203: errno=-5 IO failure
[16869.374720] BTRFS warning (device dm-11: state EA): Skipping commit of aborted transaction.
[16869.374728] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[16869.376609] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[16869.378239] BTRFS warning (device dm-11: state EA): direct IO failed ino 1316 rw 0,0 sector 0x1745b8 len 8192 err no 10
[16869.392188] BTRFS warning (device dm-11: state EA): direct IO failed ino 1067 rw 0,0 sector 0x170da8 len 90112 err no 10
[16869.392947] BTRFS warning (device dm-11: state EA): direct IO failed ino 1092 rw 0,0 sector 0x171e38 len 4096 err no 10
[16869.394003] BTRFS warning (device dm-11: state EA): direct IO failed ino 984 rw 0,0 sector 0x154a70 len 40960 err no 10
[16869.394491] BTRFS warning (device dm-11: state EA): direct IO failed ino 1303 rw 0,0 sector 0x16f510 len 12288 err no 10
[16869.395071] BTRFS warning (device dm-11: state EA): direct IO failed ino 1051 rw 0,0 sector 0x15a090 len 4096 err no 10
[16869.396328] BTRFS warning (device dm-11: state EA): direct IO failed ino 1067 rw 0,0 sector 0x170e28 len 32768 err no 10
[16869.397336] BTRFS warning (device dm-11: state EA): direct IO failed ino 947 rw 0,0 sector 0x11b330 len 4096 err no 10
[16869.401267] BTRFS warning (device dm-11: state EA): direct IO failed ino 1169 rw 0,0 sector 0x170a88 len 8192 err no 10
[16869.412546] BTRFS warning (device dm-11: state EA): direct IO failed ino 1246 rw 0,0 sector 0x172870 len 12288 err no 10
[16869.412575] BTRFS warning (device dm-11: state EA): direct IO failed ino 1292 rw 0,0 sector 0x174530 len 16384 err no 10
[16869.413051] BTRFS warning (device dm-11: state EA): direct IO failed ino 1034 rw 0,0 sector 0x164fa8 len 90112 err no 10
[16869.413459] BTRFS warning (device dm-11: state EA): direct IO failed ino 1107 rw 0,0 sector 0x15e090 len 45056 err no 10
[16869.413924] BTRFS warning (device dm-11: state EA): direct IO failed ino 967 rw 0,0 sector 0x1614b0 len 24576 err no 10
[16869.413964] BTRFS warning (device dm-11: state EA): direct IO failed ino 967 rw 0,0 sector 0x164dc8 len 20480 err no 10
[16869.417360] BTRFS warning (device dm-11: state EA): direct IO failed ino 1246 rw 0,0 sector 0x172880 len 4096 err no 10
[16869.417385] BTRFS warning (device dm-11: state EA): direct IO failed ino 1290 rw 0,0 sector 0x173fc8 len 49152 err no 10
[16869.418242] BTRFS warning (device dm-11: state EA): direct IO failed ino 1040 rw 0,0 sector 0x169338 len 61440 err no 10
[16869.954465] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[16869.954473] BTRFS info (device dm-11): disk space caching is enabled
[16869.957656] BTRFS info (device dm-11): auto enabling async discard
[16869.973100] ------------[ cut here ]------------
[16869.973170] WARNING: CPU: 0 PID: 2241075 at fs/btrfs/discard.c:604 btrfs_discard_update_discardable+0x98/0xb0
[16869.973180] 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
[16869.973248] CPU: 0 PID: 2241075 Comm: kworker/u4:9 Not tainted 5.19.0-rc8+ #787
[16869.973251] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.13.0-2.fc32 04/01/2014
[16869.973254] Workqueue: btrfs-cache btrfs_work_helper
[16869.973262] RIP: 0010:btrfs_discard_update_discardable+0x98/0xb0
[16869.973265] 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
[16869.973267] RSP: 0018:ffff98e88546bad0 EFLAGS: 00010246
[16869.973270] RAX: 0000000000000000 RBX: ffff8c6c31acf200 RCX: 0000000000000001
[16869.973274] RDX: 0000000000000000 RSI: ffffffffa7807c93 RDI: ffffffffa78a836e
[16869.973275] RBP: ffff8c6bc4bf4000 R08: 0000000000000000 R09: 0000000000001000
[16869.973277] R10: ffff8c6b0ebc1aa8 R11: 0000000000745b00 R12: ffff8c6bc4961010
[16869.973279] R13: ffff8c6bde9c04c0 R14: ffff8c6bc4bf4000 R15: ffff8c6bc44a49a0
[16869.973280] FS: 0000000000000000(0000) GS:ffff8c6c3bc00000(0000) knlGS:0000000000000000
[16869.973282] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[16869.973284] CR2: 000000000106f090 CR3: 0000000111e9c005 CR4: 0000000000370ef0
[16869.973290] Call Trace:
[16869.973292]
[16869.973297] __btrfs_remove_free_space_cache+0x27/0x30
[16869.973301] load_free_space_cache+0xad2/0xaf0
[16869.973343] caching_thread+0x40b/0x650
[16869.973351] ? lock_release+0x137/0x2d0
[16869.973359] btrfs_work_helper+0xf2/0x3e0
[16869.973362] ? lock_is_held_type+0xe2/0x140
[16869.973369] process_one_work+0x271/0x590
[16869.973377] ? process_one_work+0x590/0x590
[16869.973380] worker_thread+0x52/0x3b0
[16869.973385] ? process_one_work+0x590/0x590
[16869.973388] kthread+0xf0/0x120
[16869.973391] ? kthread_complete_and_exit+0x20/0x20
[16869.973395] ret_from_fork+0x1f/0x30
[16869.973409]
[16869.973413] irq event stamp: 82173
[16869.973414] hardirqs last enabled at (82179): [] __up_console_sem+0x5e/0x70
[16869.973419] hardirqs last disabled at (82184): [] __up_console_sem+0x43/0x70
[16869.973421] softirqs last enabled at (81592): [] __irq_exit_rcu+0xeb/0x160
[16869.973424] softirqs last disabled at (81583): [] __irq_exit_rcu+0xeb/0x160
[16869.973434] ---[ end trace 0000000000000000 ]---
[16869.973438] BTRFS warning (device dm-11): block group 298844160 has wrong amount of free space
[16869.973457] BTRFS warning (device dm-11): failed to load free space cache for block group 298844160, rebuilding it now
[16871.000122] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[16871.000129] btrfs_dev_stat_inc_and_print: 270 callbacks suppressed
[16871.000131] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 1, rd 0, flush 0, corrupt 0, gen 0
[16871.000135] BTRFS error (device dm-11): error writing primary super block to device 1
[16871.000138] BTRFS: error (device dm-11) in write_all_supers:4356: errno=-5 IO failure (1 errors while writing supers)
[16871.000535] BTRFS info (device dm-11: state E): forced readonly
[16871.000543] BTRFS: error (device dm-11: state EA) in btrfs_sync_log:3203: errno=-5 IO failure
[16871.004480] BTRFS warning (device dm-11: state EA): Skipping commit of aborted transaction.
[16871.004483] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[16871.005598] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 1, rd 1, flush 0, corrupt 0, gen 0
[16871.005668] BTRFS warning (device dm-11: state EA): direct IO failed ino 1443 rw 0,0 sector 0x1872b8 len 12288 err no 10
[16871.006966] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 1, rd 2, flush 0, corrupt 0, gen 0
[16871.006981] BTRFS warning (device dm-11: state EA): direct IO failed ino 1416 rw 0,0 sector 0x17a158 len 24576 err no 10
[16871.009114] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 1, rd 3, flush 0, corrupt 0, gen 0
[16871.009127] BTRFS warning (device dm-11: state EA): direct IO failed ino 1557 rw 0,0 sector 0x18c790 len 40960 err no 10
[16871.009782] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 1, rd 4, flush 0, corrupt 0, gen 0
[16871.009793] BTRFS warning (device dm-11: state EA): direct IO failed ino 1543 rw 0,0 sector 0x185c60 len 36864 err no 10
[16871.011257] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[16871.035022] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 1, rd 5, flush 0, corrupt 0, gen 0
[16871.035070] BTRFS warning (device dm-11: state EA): direct IO failed ino 1519 rw 0,0 sector 0x183f80 len 61440 err no 10
[16871.035250] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 1, rd 6, flush 0, corrupt 0, gen 0
[16871.035262] BTRFS warning (device dm-11: state EA): direct IO failed ino 795 rw 0,0 sector 0x1888a8 len 4096 err no 10
[16871.036330] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 1, rd 7, flush 0, corrupt 0, gen 0
[16871.036344] BTRFS warning (device dm-11: state EA): direct IO failed ino 1583 rw 0,0 sector 0x18a100 len 4096 err no 10
[16871.570896] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[16871.570905] BTRFS info (device dm-11): disk space caching is enabled
[16871.575459] BTRFS info (device dm-11): auto enabling async discard
[16871.602996] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 0, rd 1, flush 0, corrupt 0, gen 0
[16871.604095] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 0, rd 2, flush 0, corrupt 0, gen 0
[16871.613157] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[16871.619341] BTRFS info (device dm-11): the free space cache file (298844160) is invalid, skip it
[16871.631006] BTRFS warning (device dm-11): direct IO failed ino 1610 rw 1,34817 sector 0x312800 len 40960 err no 10
[16871.662702] BTRFS: error (device dm-11: state A) in __btrfs_free_extent:3078: errno=-5 IO failure
[16871.663155] BTRFS info (device dm-11: state EA): forced readonly
[16871.663163] BTRFS: error (device dm-11: state EA) in btrfs_run_delayed_refs:2141: errno=-5 IO failure
[16872.172616] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[16872.172626] BTRFS info (device dm-11): disk space caching is enabled
[16872.177275] BTRFS info (device dm-11): auto enabling async discard
[16872.199321] BTRFS info (device dm-11): the free space cache file (298844160) is invalid, skip it
[16873.233062] BTRFS warning (device dm-11): direct IO failed ino 1752 rw 1,34817 sector 0x19b9c8 len 65536 err no 10
[16873.233172] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[16873.233183] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[16873.234144] BTRFS error (device dm-11): error writing primary super block to device 1
[16873.234149] BTRFS: error (device dm-11) in write_all_supers:4356: errno=-5 IO failure (1 errors while writing supers)
[16873.234815] BTRFS info (device dm-11: state E): forced readonly
[16873.234821] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[16873.234824] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[16873.240796] BTRFS warning (device dm-11: state EA): direct IO failed ino 1673 rw 0,0 sector 0x18d7f8 len 57344 err no 10
[16873.246810] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[16873.280366] BTRFS warning (device dm-11: state EA): direct IO failed ino 1632 rw 0,0 sector 0x1926f0 len 32768 err no 10
[16873.779687] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[16873.779696] BTRFS info (device dm-11): disk space caching is enabled
[16873.784313] BTRFS info (device dm-11): auto enabling async discard
[16873.784318] BTRFS info (device dm-11): start tree-log replay
[16874.876763] BTRFS: error (device dm-11) in btrfs_commit_transaction:2496: errno=-5 IO failure (Error while writing out transaction)
[16874.877260] BTRFS info (device dm-11: state E): forced readonly
[16874.877265] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[16874.877268] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[16874.890538] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[16875.559129] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[16875.559137] BTRFS info (device dm-11): disk space caching is enabled
[16875.563179] BTRFS info (device dm-11): auto enabling async discard
[16875.563185] BTRFS info (device dm-11): start tree-log replay
[16876.653730] btrfs_dev_stat_inc_and_print: 47 callbacks suppressed
[16876.653734] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 1, rd 0, flush 0, corrupt 0, gen 0
[16876.653740] BTRFS warning (device dm-11): direct IO failed ino 1994 rw 1,34817 sector 0x196fc0 len 8192 err no 10
[16876.653759] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 1, rd 1, flush 0, corrupt 0, gen 0
[16876.654258] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 2, rd 1, flush 0, corrupt 0, gen 0
[16876.655255] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[16876.655260] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 3, rd 1, flush 0, corrupt 0, gen 0
[16876.655264] BTRFS error (device dm-11): error writing primary super block to device 1
[16876.655266] BTRFS: error (device dm-11) in write_all_supers:4356: errno=-5 IO failure (1 errors while writing supers)
[16876.655718] BTRFS info (device dm-11: state E): forced readonly
[16876.655722] BTRFS: error (device dm-11: state EA) in btrfs_sync_log:3203: errno=-5 IO failure
[16876.656440] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 3, rd 2, flush 0, corrupt 0, gen 0
[16876.656465] BTRFS warning (device dm-11: state EA): direct IO failed ino 1936 rw 0,0 sector 0x1b2bf8 len 24576 err no 10
[16876.657113] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 3, rd 3, flush 0, corrupt 0, gen 0
[16876.657158] BTRFS warning (device dm-11: state EA): direct IO failed ino 1995 rw 0,0 sector 0x1c0470 len 45056 err no 10
[16876.662411] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 4, rd 3, flush 0, corrupt 0, gen 0
[16876.663258] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 5, rd 3, flush 0, corrupt 0, gen 0
[16876.663584] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 6, rd 3, flush 0, corrupt 0, gen 0
[16876.663777] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 7, rd 3, flush 0, corrupt 0, gen 0
[16876.665784] BTRFS warning (device dm-11: state EA): direct IO failed ino 2022 rw 0,0 sector 0x1bf930 len 4096 err no 10
[16876.666421] BTRFS warning (device dm-11: state EA): direct IO failed ino 2016 rw 0,0 sector 0x1c1870 len 28672 err no 10
[16876.677264] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[16876.687052] BTRFS warning (device dm-11: state EA): direct IO failed ino 2012 rw 0,0 sector 0x1bdbf0 len 8192 err no 10
[16876.687053] BTRFS warning (device dm-11: state EA): direct IO failed ino 2022 rw 0,0 sector 0x1bf930 len 4096 err no 10
[16876.687514] BTRFS warning (device dm-11: state EA): direct IO failed ino 2012 rw 0,0 sector 0x1baf18 len 24576 err no 10
[16876.689044] BTRFS warning (device dm-11: state EA): direct IO failed ino 2023 rw 0,0 sector 0x1bb358 len 24576 err no 10
[16876.696832] BTRFS warning (device dm-11: state EA): direct IO failed ino 2072 rw 0,0 sector 0x1c16d0 len 4096 err no 10
[16876.698955] BTRFS warning (device dm-11: state EA): direct IO failed ino 2036 rw 0,0 sector 0x1bf600 len 65536 err no 10
[16876.699800] BTRFS warning (device dm-11: state EA): direct IO failed ino 2000 rw 0,0 sector 0x1bb188 len 12288 err no 10
[16876.700829] BTRFS warning (device dm-11: state EA): direct IO failed ino 2072 rw 0,0 sector 0x1c16c0 len 4096 err no 10
[16876.705070] BTRFS warning (device dm-11: state EA): direct IO failed ino 2024 rw 0,0 sector 0x1bda10 len 90112 err no 10
[16876.706104] BTRFS warning (device dm-11: state EA): direct IO failed ino 1930 rw 0,0 sector 0x1b7ef0 len 8192 err no 10
[16877.228147] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[16877.228154] BTRFS info (device dm-11): disk space caching is enabled
[16877.231658] BTRFS info (device dm-11): auto enabling async discard
[16877.258451] BTRFS error (device dm-11): error reading free space cache
[16877.258470] BTRFS warning (device dm-11): failed to load free space cache for block group 298844160, rebuilding it now
[16877.261332] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[16877.261809] BTRFS warning (device dm-11): direct IO failed ino 2119 rw 1,34817 sector 0x312800 len 94208 err no 10
[16877.295867] BTRFS: error (device dm-11: state A) in __btrfs_free_extent:3078: errno=-5 IO failure
[16877.296203] BTRFS info (device dm-11: state EA): forced readonly
[16877.296208] BTRFS: error (device dm-11: state EA) in btrfs_run_delayed_refs:2141: errno=-5 IO failure
[16877.806026] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[16877.806033] BTRFS info (device dm-11): disk space caching is enabled
[16877.810520] BTRFS info (device dm-11): auto enabling async discard
[16877.839901] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[16877.843512] BTRFS error (device dm-11): error reading free space cache
[16877.843532] BTRFS warning (device dm-11): failed to load free space cache for block group 298844160, rebuilding it now
[16877.873760] BTRFS: error (device dm-11: state A) in __btrfs_free_extent:3078: errno=-5 IO failure
[16877.874091] BTRFS info (device dm-11: state EA): forced readonly
[16877.874096] BTRFS: error (device dm-11: state EA) in btrfs_run_delayed_refs:2141: errno=-5 IO failure
[16878.349780] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[16878.349787] BTRFS info (device dm-11): disk space caching is enabled
[16878.353499] BTRFS info (device dm-11): auto enabling async discard
[16879.407804] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[16879.408571] BTRFS error (device dm-11): error writing primary super block to device 1
[16879.408578] BTRFS: error (device dm-11) in write_all_supers:4356: errno=-5 IO failure (1 errors while writing supers)
[16879.409263] BTRFS info (device dm-11: state E): forced readonly
[16879.409281] BTRFS: error (device dm-11: state EA) in btrfs_sync_log:3203: errno=-5 IO failure
[16879.415093] BTRFS warning (device dm-11: state EA): Skipping commit of aborted transaction.
[16879.415173] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[16879.419005] BTRFS warning (device dm-11: state EA): direct IO failed ino 2298 rw 0,0 sector 0x1d7cc8 len 45056 err no 10
[16879.420461] BTRFS warning (device dm-11: state EA): direct IO failed ino 2294 rw 0,0 sector 0x1d71d8 len 90112 err no 10
[16879.423650] BTRFS warning (device dm-11: state EA): direct IO failed ino 2144 rw 0,0 sector 0x1d0f48 len 53248 err no 10
[16879.427982] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[16879.444981] BTRFS warning (device dm-11: state EA): direct IO failed ino 2191 rw 0,0 sector 0x1d6750 len 53248 err no 10
[16879.447492] BTRFS warning (device dm-11: state EA): direct IO failed ino 2191 rw 0,0 sector 0x1d6750 len 45056 err no 10
[16879.447689] BTRFS warning (device dm-11: state EA): direct IO failed ino 2229 rw 0,0 sector 0x1cc4f0 len 36864 err no 10
[16879.447793] BTRFS warning (device dm-11: state EA): direct IO failed ino 2131 rw 0,0 sector 0x1c4038 len 20480 err no 10
[16879.449052] BTRFS warning (device dm-11: state EA): direct IO failed ino 2125 rw 0,0 sector 0x1d5850 len 4096 err no 10
[16879.450067] BTRFS warning (device dm-11: state EA): direct IO failed ino 2125 rw 0,0 sector 0x1c9200 len 12288 err no 10
[16879.450386] BTRFS warning (device dm-11: state EA): direct IO failed ino 2125 rw 0,0 sector 0x1d6928 len 12288 err no 10
[16879.457069] BTRFS warning (device dm-11: state EA): direct IO failed ino 2144 rw 0,0 sector 0x1ccee0 len 40960 err no 10
[16879.461963] BTRFS warning (device dm-11: state EA): direct IO failed ino 2173 rw 0,0 sector 0x1d2268 len 49152 err no 10
[16879.462682] BTRFS warning (device dm-11: state EA): direct IO failed ino 2277 rw 0,0 sector 0x1d5808 len 36864 err no 10
[16879.987391] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[16879.987399] BTRFS info (device dm-11): disk space caching is enabled
[16879.991288] BTRFS info (device dm-11): auto enabling async discard
[16879.991292] BTRFS info (device dm-11): start tree-log replay
[16879.993702] BTRFS warning (device dm-11): block group 30408704 has wrong amount of free space
[16879.993718] BTRFS warning (device dm-11): failed to load free space cache for block group 30408704, rebuilding it now
[16880.132685] BTRFS warning (device dm-11): direct IO failed ino 2317 rw 1,34817 sector 0x1d2ea8 len 73728 err no 10
[16880.140581] BTRFS warning (device dm-11): direct IO failed ino 2317 rw 1,34817 sector 0x1d6c80 len 57344 err no 10
[16880.145320] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[16880.152736] BTRFS: error (device dm-11) in btrfs_commit_transaction:2496: errno=-5 IO failure (Error while writing out transaction)
[16880.153164] BTRFS info (device dm-11: state E): forced readonly
[16880.153168] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[16880.153171] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[16880.721178] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[16880.721185] BTRFS info (device dm-11): disk space caching is enabled
[16880.725931] BTRFS info (device dm-11): auto enabling async discard
[16882.782183] btrfs_dev_stat_inc_and_print: 120 callbacks suppressed
[16882.782187] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 1, rd 0, flush 0, corrupt 0, gen 0
[16882.782196] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 2, rd 0, flush 0, corrupt 0, gen 0
[16882.782201] BTRFS warning (device dm-11): direct IO failed ino 2584 rw 1,34817 sector 0x1f7878 len 118784 err no 10
[16882.782227] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 3, rd 0, flush 0, corrupt 0, gen 0
[16882.782247] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 4, rd 0, flush 0, corrupt 0, gen 0
[16882.782251] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 5, rd 0, flush 0, corrupt 0, gen 0
[16882.782262] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 6, rd 0, flush 0, corrupt 0, gen 0
[16882.782313] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[16882.782317] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 7, rd 0, flush 0, corrupt 0, gen 0
[16882.782339] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[16882.782343] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 8, rd 0, flush 0, corrupt 0, gen 0
[16882.783128] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 9, rd 0, flush 0, corrupt 0, gen 0
[16882.783933] BTRFS error (device dm-11): error writing primary super block to device 1
[16882.783936] BTRFS: error (device dm-11) in write_all_supers:4356: errno=-5 IO failure (1 errors while writing supers)
[16882.784372] BTRFS info (device dm-11: state E): forced readonly
[16882.784376] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[16882.784379] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[16882.785502] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 9, rd 1, flush 0, corrupt 0, gen 0
[16882.785518] BTRFS warning (device dm-11: state EA): direct IO failed ino 2576 rw 0,0 sector 0x1f7658 len 24576 err no 10
[16882.786676] BTRFS warning (device dm-11: state EA): direct IO failed ino 2597 rw 0,0 sector 0x1f7440 len 12288 err no 10
[16882.795529] BTRFS warning (device dm-11: state EA): Skipping commit of aborted transaction.
[16882.795535] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[16882.796265] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[16882.799709] BTRFS warning (device dm-11: state EA): direct IO failed ino 2322 rw 0,0 sector 0x1e9168 len 8192 err no 10
[16882.818628] BTRFS warning (device dm-11: state EA): direct IO failed ino 2366 rw 0,0 sector 0x1dd0d8 len 8192 err no 10
[16882.836237] BTRFS warning (device dm-11: state EA): direct IO failed ino 1407 rw 0,0 sector 0x1dec68 len 20480 err no 10
[16882.836260] BTRFS warning (device dm-11: state EA): direct IO failed ino 1407 rw 0,0 sector 0x1d3be8 len 4096 err no 10
[16882.838903] BTRFS warning (device dm-11: state EA): direct IO failed ino 2343 rw 0,0 sector 0x1e4130 len 69632 err no 10
[16883.366984] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[16883.366992] BTRFS info (device dm-11): disk space caching is enabled
[16883.370363] BTRFS info (device dm-11): auto enabling async discard
[16883.370367] BTRFS info (device dm-11): start tree-log replay
[16883.378271] BTRFS info (device dm-11): the free space cache file (298844160) is invalid, skip it
[16885.482500] BTRFS: error (device dm-11) in btrfs_commit_transaction:2496: errno=-5 IO failure (Error while writing out transaction)
[16885.482943] BTRFS info (device dm-11: state E): forced readonly
[16885.482948] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[16885.482950] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[16885.491709] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[16886.078811] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[16886.078819] BTRFS info (device dm-11): disk space caching is enabled
[16886.081767] BTRFS info (device dm-11): auto enabling async discard
[16886.098751] ------------[ cut here ]------------
[16886.098840] WARNING: CPU: 1 PID: 1708403 at fs/btrfs/discard.c:604 btrfs_discard_update_discardable+0x98/0xb0
[16886.098846] 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
[16886.098910] CPU: 1 PID: 1708403 Comm: kworker/u4:6 Tainted: G W 5.19.0-rc8+ #787
[16886.098913] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.13.0-2.fc32 04/01/2014
[16886.098914] Workqueue: btrfs-cache btrfs_work_helper
[16886.098919] RIP: 0010:btrfs_discard_update_discardable+0x98/0xb0
[16886.098922] 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
[16886.098924] RSP: 0000:ffff98e88497bad0 EFLAGS: 00010246
[16886.098927] RAX: 0000000000000000 RBX: ffff8c6bc6329400 RCX: 0000000000000001
[16886.098928] RDX: 0000000000000000 RSI: ffffffffa7807c93 RDI: ffffffffa78a836e
[16886.098930] RBP: ffff8c6bd5c0c000 R08: 0000000000000000 R09: 0000000000001000
[16886.098932] R10: ffff8c6c2002df88 R11: 0000000000769600 R12: ffff8c6bd6ae6810
[16886.098941] R13: ffff8c6bc3777480 R14: ffff8c6bd5c0c000 R15: ffff8c6bd5f57e00
[16886.098942] FS: 0000000000000000(0000) GS:ffff8c6c3bd00000(0000) knlGS:0000000000000000
[16886.098944] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[16886.098946] CR2: 0000000001059378 CR3: 00000001044ae005 CR4: 0000000000370ee0
[16886.098950] Call Trace:
[16886.098952]
[16886.098956] __btrfs_remove_free_space_cache+0x27/0x30
[16886.098960] load_free_space_cache+0xad2/0xaf0
[16886.099001] caching_thread+0x40b/0x650
[16886.099009] ? lock_release+0x137/0x2d0
[16886.099017] btrfs_work_helper+0xf2/0x3e0
[16886.099020] ? lock_is_held_type+0xe2/0x140
[16886.099027] process_one_work+0x271/0x590
[16886.099036] worker_thread+0x52/0x3b0
[16886.099041] ? process_one_work+0x590/0x590
[16886.099044] kthread+0xf0/0x120
[16886.099046] ? kthread_complete_and_exit+0x20/0x20
[16886.099051] ret_from_fork+0x1f/0x30
[16886.099065]
[16886.099066] irq event stamp: 28048375
[16886.099067] hardirqs last enabled at (28048381): [] __up_console_sem+0x5e/0x70
[16886.099070] hardirqs last disabled at (28048386): [] __up_console_sem+0x43/0x70
[16886.099073] softirqs last enabled at (28047774): [] __irq_exit_rcu+0xeb/0x160
[16886.099076] softirqs last disabled at (28047765): [] __irq_exit_rcu+0xeb/0x160
[16886.099078] ---[ end trace 0000000000000000 ]---
[16886.099081] BTRFS warning (device dm-11): block group 298844160 has wrong amount of free space
[16886.099097] BTRFS warning (device dm-11): failed to load free space cache for block group 298844160, rebuilding it now
[16888.111791] btrfs_dev_stat_inc_and_print: 18 callbacks suppressed
[16888.111795] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 1, rd 0, flush 0, corrupt 0, gen 0
[16888.111871] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 2, rd 0, flush 0, corrupt 0, gen 0
[16888.111892] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 3, rd 0, flush 0, corrupt 0, gen 0
[16888.111901] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 4, rd 0, flush 0, corrupt 0, gen 0
[16888.111954] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 5, rd 0, flush 0, corrupt 0, gen 0
[16888.112007] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 6, rd 0, flush 0, corrupt 0, gen 0
[16888.112056] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 7, rd 0, flush 0, corrupt 0, gen 0
[16888.112101] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 8, rd 0, flush 0, corrupt 0, gen 0
[16888.112119] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 9, rd 0, flush 0, corrupt 0, gen 0
[16888.112129] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 10, rd 0, flush 0, corrupt 0, gen 0
[16888.116995] BTRFS: error (device dm-11: state A) in do_free_extent_accounting:2848: errno=-5 IO failure
[16888.117760] BTRFS info (device dm-11: state EA): forced readonly
[16888.117789] BTRFS: error (device dm-11: state EA) in btrfs_run_delayed_refs:2141: errno=-5 IO failure
[16888.130816] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[16888.684216] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[16888.684225] BTRFS info (device dm-11): disk space caching is enabled
[16888.688401] BTRFS info (device dm-11): auto enabling async discard
[16888.688405] BTRFS info (device dm-11): start tree-log replay
[16890.777171] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[16890.777185] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[16890.777191] BTRFS warning (device dm-11): direct IO failed ino 3360 rw 1,34817 sector 0x25b760 len 8192 err no 10
[16890.777223] BTRFS error (device dm-11): error writing primary super block to device 1
[16890.777226] BTRFS: error (device dm-11) in write_all_supers:4356: errno=-5 IO failure (1 errors while writing supers)
[16890.777644] BTRFS info (device dm-11: state E): forced readonly
[16890.777652] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[16890.777655] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[16890.778900] BTRFS: error (device dm-11: state EA) in btrfs_sync_log:3192: errno=-5 IO failure
[16890.792033] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[16890.799619] BTRFS warning (device dm-11: state EA): direct IO failed ino 3413 rw 0,0 sector 0x258618 len 53248 err no 10
[16890.801044] BTRFS warning (device dm-11: state EA): direct IO failed ino 3396 rw 0,0 sector 0x24da08 len 12288 err no 10
[16890.802088] BTRFS warning (device dm-11: state EA): direct IO failed ino 3405 rw 0,0 sector 0x246270 len 77824 err no 10
[16890.803000] BTRFS warning (device dm-11: state EA): direct IO failed ino 3411 rw 0,0 sector 0x251538 len 32768 err no 10
[16890.803775] BTRFS warning (device dm-11: state EA): direct IO failed ino 3401 rw 0,0 sector 0x248ef8 len 4096 err no 10
[16890.804289] BTRFS warning (device dm-11: state EA): direct IO failed ino 3417 rw 0,0 sector 0x218bf8 len 4096 err no 10
[16890.804732] BTRFS warning (device dm-11: state EA): direct IO failed ino 3549 rw 0,0 sector 0x258348 len 32768 err no 10
[16890.807767] BTRFS warning (device dm-11: state EA): direct IO failed ino 3318 rw 0,0 sector 0x248048 len 32768 err no 10
[16890.836956] BTRFS warning (device dm-11: state EA): direct IO failed ino 3537 rw 0,0 sector 0x24f5b8 len 24576 err no 10
[16891.402170] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[16891.402178] BTRFS info (device dm-11): disk space caching is enabled
[16891.406410] BTRFS info (device dm-11): auto enabling async discard
[16891.406415] BTRFS info (device dm-11): start tree-log replay
[16891.417073] ------------[ cut here ]------------
[16891.417155] WARNING: CPU: 0 PID: 2241463 at fs/btrfs/discard.c:604 btrfs_discard_update_discardable+0x98/0xb0
[16891.417163] 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
[16891.417289] CPU: 0 PID: 2241463 Comm: kworker/u4:10 Tainted: G W 5.19.0-rc8+ #787
[16891.417293] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.13.0-2.fc32 04/01/2014
[16891.417296] Workqueue: btrfs-cache btrfs_work_helper
[16891.417304] RIP: 0010:btrfs_discard_update_discardable+0x98/0xb0
[16891.417309] 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
[16891.417313] RSP: 0018:ffff98e885c73ad0 EFLAGS: 00010246
[16891.417318] RAX: 0000000000000000 RBX: ffff8c6c31acfc00 RCX: 0000000000000001
[16891.417321] RDX: 0000000000000000 RSI: ffffffffa7807c93 RDI: ffffffffa78a836e
[16891.417324] RBP: ffff8c6bd3800000 R08: 0000000000000000 R09: 0000000000001000
[16891.417327] R10: ffff8c6bc88fd630 R11: 000000000076a900 R12: ffff8c6bc491e010
[16891.417329] R13: ffff8c6bc37f3ca0 R14: ffff8c6bd3800000 R15: ffff8c6bcdecd7e0
[16891.417333] FS: 0000000000000000(0000) GS:ffff8c6c3bc00000(0000) knlGS:0000000000000000
[16891.417336] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[16891.417339] CR2: 00007f5953faa040 CR3: 0000000116942004 CR4: 0000000000370ef0
[16891.417345] Call Trace:
[16891.417348]
[16891.417354] __btrfs_remove_free_space_cache+0x27/0x30
[16891.417360] load_free_space_cache+0xad2/0xaf0
[16891.417481] caching_thread+0x40b/0x650
[16891.417497] ? lock_release+0x137/0x2d0
[16891.417509] btrfs_work_helper+0xf2/0x3e0
[16891.417514] ? lock_is_held_type+0xe2/0x140
[16891.417527] process_one_work+0x271/0x590
[16891.417542] ? process_one_work+0x590/0x590
[16891.417547] worker_thread+0x52/0x3b0
[16891.417555] ? process_one_work+0x590/0x590
[16891.417560] kthread+0xf0/0x120
[16891.417564] ? kthread_complete_and_exit+0x20/0x20
[16891.417572] ret_from_fork+0x1f/0x30
[16891.417597]
[16891.417599] irq event stamp: 101093
[16891.417601] hardirqs last enabled at (101099): [] __up_console_sem+0x5e/0x70
[16891.417606] hardirqs last disabled at (101104): [] __up_console_sem+0x43/0x70
[16891.417609] softirqs last enabled at (101018): [] __irq_exit_rcu+0xeb/0x160
[16891.417614] softirqs last disabled at (101009): [] __irq_exit_rcu+0xeb/0x160
[16891.417618] ---[ end trace 0000000000000000 ]---
[16891.417622] BTRFS warning (device dm-11): block group 298844160 has wrong amount of free space
[16891.417645] BTRFS warning (device dm-11): failed to load free space cache for block group 298844160, rebuilding it now
[16892.489094] BTRFS: error (device dm-11) in btrfs_commit_transaction:2496: errno=-5 IO failure (Error while writing out transaction)
[16892.489644] BTRFS info (device dm-11: state E): forced readonly
[16892.489649] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[16892.489652] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[16892.507874] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[16893.076223] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[16893.076232] BTRFS info (device dm-11): disk space caching is enabled
[16893.080350] BTRFS info (device dm-11): auto enabling async discard
[16893.112944] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[16893.127622] btrfs_dev_stat_inc_and_print: 390 callbacks suppressed
[16893.127626] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 6, rd 3, flush 0, corrupt 0, gen 0
[16893.129634] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 6, rd 4, flush 0, corrupt 0, gen 0
[16893.129653] BTRFS error (device dm-11): error reading free space cache
[16893.129666] BTRFS warning (device dm-11): failed to load free space cache for block group 298844160, rebuilding it now
[16893.129713] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 6, rd 5, flush 0, corrupt 0, gen 0
[16893.129744] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 6, rd 6, flush 0, corrupt 0, gen 0
[16893.129765] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 6, rd 7, flush 0, corrupt 0, gen 0
[16893.129789] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 6, rd 8, flush 0, corrupt 0, gen 0
[16893.131068] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 6, rd 9, flush 0, corrupt 0, gen 0
[16893.131143] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 6, rd 10, flush 0, corrupt 0, gen 0
[16893.131685] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 6, rd 11, flush 0, corrupt 0, gen 0
[16893.131760] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 6, rd 12, flush 0, corrupt 0, gen 0
[16893.131780] BTRFS: error (device dm-11: state A) in do_free_extent_accounting:2848: errno=-5 IO failure
[16893.132124] BTRFS info (device dm-11: state EA): forced readonly
[16893.132129] BTRFS: error (device dm-11: state EA) in btrfs_run_delayed_refs:2141: errno=-5 IO failure
[16893.602419] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[16893.602426] BTRFS info (device dm-11): disk space caching is enabled
[16893.605751] BTRFS info (device dm-11): auto enabling async discard
[16893.645718] BTRFS: error (device dm-11: state A) in btrfs_finish_ordered_io:3318: errno=-5 IO failure
[16893.646679] BTRFS info (device dm-11: state EA): forced readonly
[16893.647627] BTRFS: error (device dm-11: state EA) in btrfs_finish_ordered_io:3318: errno=-5 IO failure
[16893.648502] BTRFS: error (device dm-11: state EA) in btrfs_finish_ordered_io:3318: errno=-5 IO failure
[16893.654582] BTRFS: error (device dm-11: state EA) in btrfs_run_delayed_refs:2141: errno=-5 IO failure
[16893.658166] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[16893.670493] BTRFS warning (device dm-11: state EA): direct IO failed ino 3811 rw 1,34817 sector 0x26d170 len 86016 err no 10
[16894.147933] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[16894.147941] BTRFS info (device dm-11): disk space caching is enabled
[16894.153321] BTRFS info (device dm-11): auto enabling async discard
[16895.197811] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[16895.197825] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[16895.197834] BTRFS error (device dm-11): error writing primary super block to device 1
[16895.197837] BTRFS: error (device dm-11) in write_all_supers:4356: errno=-5 IO failure (1 errors while writing supers)
[16895.198229] BTRFS info (device dm-11: state E): forced readonly
[16895.198240] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[16895.199070] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[16895.199082] BTRFS: error (device dm-11: state EA) in btrfs_sync_log:3192: errno=-5 IO failure
[16895.200186] BTRFS warning (device dm-11: state EA): direct IO failed ino 3835 rw 0,0 sector 0x270f88 len 20480 err no 10
[16895.200932] BTRFS warning (device dm-11: state EA): Skipping commit of aborted transaction.
[16895.200935] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[16895.204947] BTRFS warning (device dm-11: state EA): direct IO failed ino 3943 rw 0,0 sector 0x277f80 len 12288 err no 10
[16895.213385] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[16895.227274] BTRFS warning (device dm-11: state EA): direct IO failed ino 3943 rw 0,0 sector 0x277f80 len 12288 err no 10
[16895.228131] BTRFS warning (device dm-11: state EA): direct IO failed ino 3813 rw 0,0 sector 0x2776b8 len 57344 err no 10
[16895.234509] BTRFS warning (device dm-11: state EA): direct IO failed ino 3813 rw 0,0 sector 0x271840 len 8192 err no 10
[16895.236965] BTRFS warning (device dm-11: state EA): direct IO failed ino 3842 rw 0,0 sector 0x270618 len 8192 err no 10
[16895.251208] BTRFS warning (device dm-11: state EA): direct IO failed ino 3903 rw 0,0 sector 0x27adf0 len 4096 err no 10
[16895.252832] BTRFS warning (device dm-11: state EA): direct IO failed ino 3937 rw 0,0 sector 0x27b968 len 24576 err no 10
[16895.253996] BTRFS warning (device dm-11: state EA): direct IO failed ino 3899 rw 0,0 sector 0x278da8 len 8192 err no 10
[16895.254268] BTRFS warning (device dm-11: state EA): direct IO failed ino 3813 rw 0,0 sector 0x2776b8 len 28672 err no 10
[16895.760017] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[16895.760024] BTRFS info (device dm-11): disk space caching is enabled
[16895.763749] BTRFS info (device dm-11): auto enabling async discard
[16895.773381] BTRFS warning (device dm-11): block group 30408704 has wrong amount of free space
[16895.773429] BTRFS warning (device dm-11): failed to load free space cache for block group 30408704, rebuilding it now
[16897.805345] BTRFS warning (device dm-11): direct IO failed ino 3939 rw 1,34817 sector 0x25be78 len 16384 err no 10
[16897.805371] BTRFS warning (device dm-11): direct IO failed ino 3939 rw 1,34817 sector 0x2613c0 len 110592 err no 10
[16897.805392] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[16897.805405] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[16897.805863] BTRFS error (device dm-11): error writing primary super block to device 1
[16897.805868] BTRFS: error (device dm-11) in write_all_supers:4356: errno=-5 IO failure (1 errors while writing supers)
[16897.806577] BTRFS info (device dm-11: state E): forced readonly
[16897.806587] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[16897.806591] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[16897.813393] BTRFS warning (device dm-11: state EA): direct IO failed ino 4149 rw 0,0 sector 0x29a798 len 57344 err no 10
[16897.814528] BTRFS: error (device dm-11: state EA) in btrfs_sync_log:3192: errno=-5 IO failure
[16897.819299] BTRFS warning (device dm-11: state EA): direct IO failed ino 3974 rw 0,0 sector 0x27f280 len 28672 err no 10
[16897.824659] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[16897.834422] BTRFS warning (device dm-11: state EA): direct IO failed ino 4199 rw 0,0 sector 0x29e510 len 36864 err no 10
[16897.835036] BTRFS warning (device dm-11: state EA): direct IO failed ino 4001 rw 0,0 sector 0x25c280 len 49152 err no 10
[16897.857552] BTRFS warning (device dm-11: state EA): direct IO failed ino 4051 rw 0,0 sector 0x28ebc0 len 73728 err no 10
[16897.857835] BTRFS warning (device dm-11: state EA): direct IO failed ino 3972 rw 0,0 sector 0x29b488 len 45056 err no 10
[16897.859608] BTRFS warning (device dm-11: state EA): direct IO failed ino 4051 rw 0,0 sector 0x28ec20 len 24576 err no 10
[16897.859635] BTRFS warning (device dm-11: state EA): direct IO failed ino 3951 rw 0,0 sector 0x2919a0 len 57344 err no 10
[16897.859981] BTRFS warning (device dm-11: state EA): direct IO failed ino 4001 rw 0,0 sector 0x25c328 len 32768 err no 10
[16897.860235] BTRFS warning (device dm-11: state EA): direct IO failed ino 3962 rw 0,0 sector 0x27ced8 len 4096 err no 10
[16897.861208] BTRFS warning (device dm-11: state EA): direct IO failed ino 3970 rw 0,0 sector 0x288bc8 len 32768 err no 10
[16897.864996] BTRFS warning (device dm-11: state EA): direct IO failed ino 4047 rw 0,0 sector 0x28bbe8 len 4096 err no 10
[16897.867066] BTRFS warning (device dm-11: state EA): direct IO failed ino 4054 rw 0,0 sector 0x29caf8 len 8192 err no 10
[16898.363825] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[16898.363833] BTRFS info (device dm-11): disk space caching is enabled
[16898.368565] BTRFS info (device dm-11): auto enabling async discard
[16899.445514] btrfs_dev_stat_inc_and_print: 563 callbacks suppressed
[16899.445519] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 1, rd 0, flush 0, corrupt 0, gen 0
[16899.445527] BTRFS warning (device dm-11): direct IO failed ino 4357 rw 1,34817 sector 0x2b11b8 len 57344 err no 10
[16899.445547] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 2, rd 0, flush 0, corrupt 0, gen 0
[16899.445550] BTRFS warning (device dm-11): direct IO failed ino 4371 rw 1,34817 sector 0x2b1228 len 28672 err no 10
[16899.445565] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[16899.445568] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 3, rd 0, flush 0, corrupt 0, gen 0
[16899.445575] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[16899.445577] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 4, rd 0, flush 0, corrupt 0, gen 0
[16899.446230] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 5, rd 0, flush 0, corrupt 0, gen 0
[16899.446235] BTRFS warning (device dm-11): direct IO failed ino 3417 rw 1,34817 sector 0x2b11b8 len 61440 err no 10
[16899.446750] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 6, rd 0, flush 0, corrupt 0, gen 0
[16899.446767] BTRFS warning (device dm-11): direct IO failed ino 4226 rw 1,34817 sector 0x2b13a0 len 16384 err no 10
[16899.448108] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 7, rd 0, flush 0, corrupt 0, gen 0
[16899.448485] BTRFS error (device dm-11): error writing primary super block to device 1
[16899.448489] BTRFS: error (device dm-11) in write_all_supers:4356: errno=-5 IO failure (1 errors while writing supers)
[16899.448938] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 8, rd 0, flush 0, corrupt 0, gen 0
[16899.448999] BTRFS info (device dm-11: state E): forced readonly
[16899.449009] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[16899.449012] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[16899.449598] BTRFS: error (device dm-11: state EA) in btrfs_sync_log:3192: errno=-5 IO failure
[16899.452748] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 9, rd 0, flush 0, corrupt 0, gen 0
[16899.453932] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 10, rd 0, flush 0, corrupt 0, gen 0
[16899.457233] BTRFS warning (device dm-11: state EA): direct IO failed ino 3971 rw 0,0 sector 0x2a4a88 len 12288 err no 10
[16899.457956] BTRFS warning (device dm-11: state EA): direct IO failed ino 4261 rw 0,0 sector 0x2b0380 len 73728 err no 10
[16899.460866] BTRFS warning (device dm-11: state EA): direct IO failed ino 4261 rw 0,0 sector 0x2a67c0 len 45056 err no 10
[16899.460888] BTRFS warning (device dm-11: state EA): direct IO failed ino 2163 rw 0,0 sector 0x2a41d0 len 49152 err no 10
[16899.462320] BTRFS warning (device dm-11: state EA): direct IO failed ino 4272 rw 0,0 sector 0x2a6c88 len 12288 err no 10
[16899.465519] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[16899.481070] BTRFS warning (device dm-11: state EA): direct IO failed ino 4286 rw 0,0 sector 0x2a8f08 len 57344 err no 10
[16899.501065] BTRFS warning (device dm-11: state EA): direct IO failed ino 4237 rw 0,0 sector 0x2a91a0 len 4096 err no 10
[16899.503174] BTRFS warning (device dm-11: state EA): direct IO failed ino 2163 rw 0,0 sector 0x2a6898 len 32768 err no 10
[16899.504850] BTRFS warning (device dm-11: state EA): direct IO failed ino 4245 rw 0,0 sector 0x2a6ea0 len 28672 err no 10
[16900.019770] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[16900.019779] BTRFS info (device dm-11): disk space caching is enabled
[16900.025912] BTRFS info (device dm-11): auto enabling async discard
[16900.043020] BTRFS warning (device dm-11): block group 30408704 has wrong amount of free space
[16900.043046] BTRFS warning (device dm-11): failed to load free space cache for block group 30408704, rebuilding it now
[16900.071669] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[16900.075413] BTRFS error (device dm-11): error reading free space cache
[16900.075419] BTRFS warning (device dm-11): failed to load free space cache for block group 298844160, rebuilding it now
[16900.078574] BTRFS: error (device dm-11: state A) in do_free_extent_accounting:2848: errno=-5 IO failure
[16900.079050] BTRFS info (device dm-11: state EA): forced readonly
[16900.079056] BTRFS: error (device dm-11: state EA) in btrfs_run_delayed_refs:2141: errno=-5 IO failure
[16900.521919] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[16900.521928] BTRFS info (device dm-11): disk space caching is enabled
[16900.525928] BTRFS info (device dm-11): auto enabling async discard
[16900.537131] BTRFS warning (device dm-11): block group 30408704 has wrong amount of free space
[16900.537156] BTRFS warning (device dm-11): failed to load free space cache for block group 30408704, rebuilding it now
[16901.560834] BTRFS warning (device dm-11): direct IO failed ino 4426 rw 1,34817 sector 0x2be950 len 40960 err no 10
[16901.560859] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[16901.560872] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[16901.565136] BTRFS error (device dm-11): error writing primary super block to device 1
[16901.565141] BTRFS: error (device dm-11) in write_all_supers:4356: errno=-5 IO failure (1 errors while writing supers)
[16901.565563] BTRFS info (device dm-11: state E): forced readonly
[16901.565573] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[16901.565575] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[16901.566509] BTRFS: error (device dm-11: state EA) in btrfs_sync_log:3192: errno=-5 IO failure
[16901.573618] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[16902.101903] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[16902.101911] BTRFS info (device dm-11): disk space caching is enabled
[16902.106787] BTRFS info (device dm-11): auto enabling async discard
[16902.106792] BTRFS info (device dm-11): start tree-log replay
[16902.116041] ------------[ cut here ]------------
[16902.116128] WARNING: CPU: 0 PID: 2175719 at fs/btrfs/discard.c:604 btrfs_discard_update_discardable+0x98/0xb0
[16902.116135] 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
[16902.116209] CPU: 0 PID: 2175719 Comm: kworker/u4:1 Tainted: G W 5.19.0-rc8+ #787
[16902.116212] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.13.0-2.fc32 04/01/2014
[16902.116214] Workqueue: btrfs-cache btrfs_work_helper
[16902.116220] RIP: 0010:btrfs_discard_update_discardable+0x98/0xb0
[16902.116223] 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
[16902.116225] RSP: 0018:ffff98e88135bad0 EFLAGS: 00010246
[16902.116229] RAX: 0000000000000000 RBX: ffff8c6bc6328000 RCX: 0000000000000001
[16902.116231] RDX: 0000000000000000 RSI: ffffffffa7807c93 RDI: ffffffffa78a836e
[16902.116232] RBP: ffff8c6bc7e24000 R08: 0000000000000000 R09: 0000000000001000
[16902.116234] R10: ffff8c6b2b7de7d0 R11: 000000000076ac00 R12: ffff8c6bc08d8810
[16902.116236] R13: ffff8c6bd62f7480 R14: ffff8c6bc7e24000 R15: ffff8c6bd01a42a0
[16902.116238] FS: 0000000000000000(0000) GS:ffff8c6c3bc00000(0000) knlGS:0000000000000000
[16902.116240] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[16902.116242] CR2: 00007f5953faa040 CR3: 0000000116942004 CR4: 0000000000370ef0
[16902.116246] Call Trace:
[16902.116249]
[16902.116253] __btrfs_remove_free_space_cache+0x27/0x30
[16902.116258] load_free_space_cache+0xad2/0xaf0
[16902.116349] caching_thread+0x40b/0x650
[16902.116359] ? lock_release+0x137/0x2d0
[16902.116367] btrfs_work_helper+0xf2/0x3e0
[16902.116371] ? lock_is_held_type+0xe2/0x140
[16902.116378] process_one_work+0x271/0x590
[16902.116389] worker_thread+0x52/0x3b0
[16902.116395] ? process_one_work+0x590/0x590
[16902.116398] kthread+0xf0/0x120
[16902.116401] ? kthread_complete_and_exit+0x20/0x20
[16902.116406] ret_from_fork+0x1f/0x30
[16902.116421]
[16902.116423] irq event stamp: 9067847
[16902.116425] hardirqs last enabled at (9067853): [] __up_console_sem+0x5e/0x70
[16902.116428] hardirqs last disabled at (9067858): [] __up_console_sem+0x43/0x70
[16902.116430] softirqs last enabled at (9067780): [] __irq_exit_rcu+0xeb/0x160
[16902.116434] softirqs last disabled at (9067769): [] __irq_exit_rcu+0xeb/0x160
[16902.116436] ---[ end trace 0000000000000000 ]---
[16902.116440] BTRFS warning (device dm-11): block group 298844160 has wrong amount of free space
[16902.116459] BTRFS warning (device dm-11): failed to load free space cache for block group 298844160, rebuilding it now
[16903.184342] BTRFS: error (device dm-11) in btrfs_commit_transaction:2496: errno=-5 IO failure (Error while writing out transaction)
[16903.184778] BTRFS info (device dm-11: state E): forced readonly
[16903.184782] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[16903.184785] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[16903.185708] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[16903.707460] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[16903.707468] BTRFS info (device dm-11): disk space caching is enabled
[16903.712220] BTRFS info (device dm-11): auto enabling async discard
[16903.712226] BTRFS info (device dm-11): start tree-log replay
[16903.719412] BTRFS info (device dm-11): the free space cache file (298844160) is invalid, skip it
[16905.796528] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[16905.796534] btrfs_dev_stat_inc_and_print: 89 callbacks suppressed
[16905.796536] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 1, rd 0, flush 0, corrupt 0, gen 0
[16905.796549] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[16905.796551] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 2, rd 0, flush 0, corrupt 0, gen 0
[16905.796557] BTRFS error (device dm-11): error writing primary super block to device 1
[16905.796561] BTRFS: error (device dm-11) in write_all_supers:4356: errno=-5 IO failure (1 errors while writing supers)
[16905.796958] BTRFS info (device dm-11: state E): forced readonly
[16905.796968] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[16905.796971] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[16905.799293] BTRFS: error (device dm-11: state EA) in btrfs_sync_log:3192: errno=-5 IO failure
[16905.801938] BTRFS warning (device dm-11: state EA): Skipping commit of aborted transaction.
[16905.801944] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[16905.807014] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[16905.821048] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 2, rd 1, flush 0, corrupt 0, gen 0
[16905.821592] BTRFS warning (device dm-11: state EA): direct IO failed ino 4702 rw 0,0 sector 0x2ee438 len 36864 err no 10
[16905.841657] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 2, rd 2, flush 0, corrupt 0, gen 0
[16905.841670] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 2, rd 3, flush 0, corrupt 0, gen 0
[16905.841713] BTRFS warning (device dm-11: state EA): direct IO failed ino 4557 rw 0,0 sector 0x2e5550 len 36864 err no 10
[16905.841776] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 2, rd 4, flush 0, corrupt 0, gen 0
[16905.841802] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 2, rd 5, flush 0, corrupt 0, gen 0
[16905.841818] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 2, rd 6, flush 0, corrupt 0, gen 0
[16905.841838] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 2, rd 7, flush 0, corrupt 0, gen 0
[16905.841943] BTRFS warning (device dm-11: state EA): direct IO failed ino 4567 rw 0,0 sector 0x2f0108 len 20480 err no 10
[16905.841954] BTRFS warning (device dm-11: state EA): direct IO failed ino 4567 rw 0,0 sector 0x2d50c8 len 20480 err no 10
[16905.841963] BTRFS warning (device dm-11: state EA): direct IO failed ino 4567 rw 0,0 sector 0x2f0130 len 4096 err no 10
[16905.841969] BTRFS warning (device dm-11: state EA): direct IO failed ino 4567 rw 0,0 sector 0x2dbcd0 len 16384 err no 10
[16905.842972] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 2, rd 8, flush 0, corrupt 0, gen 0
[16905.842986] BTRFS warning (device dm-11: state EA): direct IO failed ino 4565 rw 0,0 sector 0x2cba10 len 40960 err no 10
[16905.844425] BTRFS warning (device dm-11: state EA): direct IO failed ino 4701 rw 0,0 sector 0x2f01f8 len 24576 err no 10
[16905.851131] BTRFS warning (device dm-11: state EA): direct IO failed ino 4630 rw 0,0 sector 0x2d9a88 len 61440 err no 10
[16906.382888] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[16906.382896] BTRFS info (device dm-11): disk space caching is enabled
[16906.387193] BTRFS info (device dm-11): auto enabling async discard
[16908.439595] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[16908.439613] BTRFS error (device dm-11): error writing primary super block to device 1
[16908.439616] BTRFS: error (device dm-11) in write_all_supers:4356: errno=-5 IO failure (1 errors while writing supers)
[16908.440005] BTRFS info (device dm-11: state E): forced readonly
[16908.440019] BTRFS: error (device dm-11: state EA) in btrfs_sync_log:3203: errno=-5 IO failure
[16908.440366] BTRFS warning (device dm-11: state EA): direct IO failed ino 5045 rw 0,0 sector 0x2199b8 len 40960 err no 10
[16908.443619] BTRFS warning (device dm-11: state EA): direct IO failed ino 5004 rw 0,0 sector 0x1d5a88 len 8192 err no 10
[16908.446896] BTRFS warning (device dm-11: state EA): Skipping commit of aborted transaction.
[16908.446901] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[16908.450681] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[16908.454163] BTRFS warning (device dm-11: state EA): direct IO failed ino 5115 rw 0,0 sector 0x219b00 len 4096 err no 10
[16908.471124] BTRFS warning (device dm-11: state EA): direct IO failed ino 4911 rw 0,0 sector 0x3008d0 len 20480 err no 10
[16908.472006] BTRFS warning (device dm-11: state EA): direct IO failed ino 4996 rw 0,0 sector 0x2feb18 len 16384 err no 10
[16908.472671] BTRFS warning (device dm-11: state EA): direct IO failed ino 4956 rw 0,0 sector 0x1d37d0 len 4096 err no 10
[16908.493506] BTRFS warning (device dm-11: state EA): direct IO failed ino 5067 rw 0,0 sector 0x2a4090 len 16384 err no 10
[16908.496075] BTRFS warning (device dm-11: state EA): direct IO failed ino 4953 rw 0,0 sector 0x2a3320 len 49152 err no 10
[16908.496462] BTRFS warning (device dm-11: state EA): direct IO failed ino 5088 rw 0,0 sector 0x218a40 len 49152 err no 10
[16909.019252] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[16909.019260] BTRFS info (device dm-11): disk space caching is enabled
[16909.023437] BTRFS info (device dm-11): auto enabling async discard
[16909.023442] BTRFS info (device dm-11): start tree-log replay
[16910.194538] BTRFS: error (device dm-11) in btrfs_commit_transaction:2496: errno=-5 IO failure (Error while writing out transaction)
[16910.194992] BTRFS info (device dm-11: state E): forced readonly
[16910.194997] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[16910.195000] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[16910.202716] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[16910.745815] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[16910.745822] BTRFS info (device dm-11): disk space caching is enabled
[16910.750471] BTRFS info (device dm-11): auto enabling async discard
[16910.750476] BTRFS info (device dm-11): start tree-log replay
[16911.856835] btrfs_dev_stat_inc_and_print: 43 callbacks suppressed
[16911.856840] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 1, rd 0, flush 0, corrupt 0, gen 0
[16911.856849] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 2, rd 0, flush 0, corrupt 0, gen 0
[16911.856873] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 3, rd 0, flush 0, corrupt 0, gen 0
[16911.856878] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 4, rd 0, flush 0, corrupt 0, gen 0
[16911.856931] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 5, rd 0, flush 0, corrupt 0, gen 0
[16911.856935] BTRFS warning (device dm-11): direct IO failed ino 5315 rw 1,34817 sector 0x2ab968 len 77824 err no 10
[16911.856952] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 6, rd 0, flush 0, corrupt 0, gen 0
[16911.856957] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 7, rd 0, flush 0, corrupt 0, gen 0
[16911.857014] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 8, rd 0, flush 0, corrupt 0, gen 0
[16911.857019] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 9, rd 0, flush 0, corrupt 0, gen 0
[16911.857084] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 10, rd 0, flush 0, corrupt 0, gen 0
[16911.858687] BTRFS: error (device dm-11: state A) in btrfs_replace_file_extents:2802: errno=-5 IO failure
[16911.859316] BTRFS info (device dm-11: state EA): forced readonly
[16911.862481] BTRFS: error (device dm-11: state EA) in btrfs_commit_transaction:2496: errno=-5 IO failure (Error while writing out transaction)
[16911.863169] BTRFS warning (device dm-11: state EA): Skipping commit of aborted transaction.
[16911.863174] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[16911.874352] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[16912.391682] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[16912.391693] BTRFS info (device dm-11): disk space caching is enabled
[16912.398590] BTRFS info (device dm-11): auto enabling async discard
[16912.422342] BTRFS info (device dm-11): the free space cache file (298844160) is invalid, skip it
[16914.442578] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[16914.442598] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[16914.442652] BTRFS error (device dm-11): error writing primary super block to device 1
[16914.442657] BTRFS: error (device dm-11) in write_all_supers:4356: errno=-5 IO failure (1 errors while writing supers)
[16914.443112] BTRFS info (device dm-11: state E): forced readonly
[16914.443122] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[16914.443128] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[16914.445494] BTRFS: error (device dm-11: state EA) in btrfs_sync_log:3192: errno=-5 IO failure
[16914.452627] BTRFS warning (device dm-11: state EA): direct IO failed ino 5417 rw 0,0 sector 0x219438 len 16384 err no 10
[16914.453218] BTRFS warning (device dm-11: state EA): Skipping commit of aborted transaction.
[16914.453223] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[16914.453781] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[16914.472231] BTRFS warning (device dm-11: state EA): direct IO failed ino 4493 rw 0,0 sector 0x25ad50 len 61440 err no 10
[16914.472269] BTRFS warning (device dm-11: state EA): direct IO failed ino 4493 rw 0,0 sector 0x259d98 len 20480 err no 10
[16914.472426] BTRFS warning (device dm-11: state EA): direct IO failed ino 5565 rw 0,0 sector 0x21c558 len 36864 err no 10
[16914.476537] BTRFS warning (device dm-11: state EA): direct IO failed ino 5590 rw 0,0 sector 0x2272c0 len 45056 err no 10
[16914.508462] BTRFS warning (device dm-11: state EA): direct IO failed ino 5487 rw 0,0 sector 0x2db390 len 4096 err no 10
[16914.508951] BTRFS warning (device dm-11: state EA): direct IO failed ino 5597 rw 0,0 sector 0x2db558 len 12288 err no 10
[16914.509135] BTRFS warning (device dm-11: state EA): direct IO failed ino 5142 rw 0,0 sector 0x25c700 len 20480 err no 10
[16914.509660] BTRFS warning (device dm-11: state EA): direct IO failed ino 5590 rw 0,0 sector 0x227268 len 20480 err no 10
[16914.511465] BTRFS warning (device dm-11: state EA): direct IO failed ino 5530 rw 0,0 sector 0x2b2730 len 81920 err no 10
[16914.511692] BTRFS warning (device dm-11: state EA): direct IO failed ino 5388 rw 0,0 sector 0x1e57a0 len 94208 err no 10
[16914.511955] BTRFS warning (device dm-11: state EA): direct IO failed ino 5597 rw 0,0 sector 0x2db4b0 len 98304 err no 10
[16915.072962] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[16915.072979] BTRFS info (device dm-11): disk space caching is enabled
[16915.076580] BTRFS info (device dm-11): auto enabling async discard
[16917.110803] btrfs_dev_stat_inc_and_print: 31 callbacks suppressed
[16917.110807] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 1, rd 0, flush 0, corrupt 0, gen 0
[16917.110813] BTRFS warning (device dm-11): direct IO failed ino 5844 rw 1,34817 sector 0x2dea78 len 28672 err no 10
[16917.110849] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[16917.110852] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 2, rd 0, flush 0, corrupt 0, gen 0
[16917.110857] BTRFS error (device dm-11): error writing primary super block to device 1
[16917.110859] BTRFS: error (device dm-11) in write_all_supers:4356: errno=-5 IO failure (1 errors while writing supers)
[16917.111328] BTRFS info (device dm-11: state E): forced readonly
[16917.111336] BTRFS: error (device dm-11: state EA) in btrfs_sync_log:3203: errno=-5 IO failure
[16917.112026] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 2, rd 1, flush 0, corrupt 0, gen 0
[16917.112050] BTRFS warning (device dm-11: state EA): direct IO failed ino 5705 rw 0,0 sector 0x266db8 len 24576 err no 10
[16917.112263] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 2, rd 2, flush 0, corrupt 0, gen 0
[16917.112282] BTRFS warning (device dm-11: state EA): direct IO failed ino 5705 rw 0,0 sector 0x1dbf88 len 4096 err no 10
[16917.113330] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 2, rd 3, flush 0, corrupt 0, gen 0
[16917.113353] BTRFS warning (device dm-11: state EA): direct IO failed ino 5617 rw 0,0 sector 0x1ae600 len 49152 err no 10
[16917.113367] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 2, rd 4, flush 0, corrupt 0, gen 0
[16917.113407] BTRFS warning (device dm-11: state EA): direct IO failed ino 5617 rw 0,0 sector 0x19e688 len 4096 err no 10
[16917.113488] BTRFS warning (device dm-11: state EA): Skipping commit of aborted transaction.
[16917.113492] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[16917.116221] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 3, rd 4, flush 0, corrupt 0, gen 0
[16917.116874] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 4, rd 4, flush 0, corrupt 0, gen 0
[16917.118253] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 5, rd 4, flush 0, corrupt 0, gen 0
[16917.118297] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 6, rd 4, flush 0, corrupt 0, gen 0
[16917.136025] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[16917.143231] BTRFS warning (device dm-11: state EA): direct IO failed ino 5609 rw 0,0 sector 0x25ad38 len 4096 err no 10
[16917.143536] BTRFS warning (device dm-11: state EA): direct IO failed ino 5709 rw 0,0 sector 0x268568 len 73728 err no 10
[16917.144883] BTRFS warning (device dm-11: state EA): direct IO failed ino 5657 rw 0,0 sector 0x309a00 len 4096 err no 10
[16917.149939] BTRFS warning (device dm-11: state EA): direct IO failed ino 5663 rw 0,0 sector 0x19e6d8 len 24576 err no 10
[16917.171391] BTRFS warning (device dm-11: state EA): direct IO failed ino 5709 rw 0,0 sector 0x219da0 len 4096 err no 10
[16917.171403] BTRFS warning (device dm-11: state EA): direct IO failed ino 5709 rw 0,0 sector 0x22c300 len 53248 err no 10
[16917.175152] BTRFS warning (device dm-11: state EA): direct IO failed ino 5612 rw 0,0 sector 0x2dee28 len 20480 err no 10
[16917.178839] BTRFS warning (device dm-11: state EA): direct IO failed ino 5741 rw 0,0 sector 0x3096f8 len 40960 err no 10
[16917.686012] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[16917.686019] BTRFS info (device dm-11): disk space caching is enabled
[16917.689864] BTRFS info (device dm-11): auto enabling async discard
[16919.722471] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[16919.722485] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[16919.722495] BTRFS error (device dm-11): error writing primary super block to device 1
[16919.722498] BTRFS: error (device dm-11) in write_all_supers:4356: errno=-5 IO failure (1 errors while writing supers)
[16919.722892] BTRFS info (device dm-11: state E): forced readonly
[16919.722903] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[16919.722905] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[16919.725244] BTRFS: error (device dm-11: state EA) in btrfs_sync_log:3192: errno=-5 IO failure
[16919.729499] BTRFS warning (device dm-11: state EA): direct IO failed ino 6021 rw 0,0 sector 0x228f48 len 4096 err no 10
[16919.733221] BTRFS warning (device dm-11: state EA): direct IO failed ino 6000 rw 0,0 sector 0x237780 len 8192 err no 10
[16919.733875] BTRFS warning (device dm-11: state EA): direct IO failed ino 5919 rw 0,0 sector 0x1af6a0 len 16384 err no 10
[16919.736059] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[16919.749252] BTRFS warning (device dm-11: state EA): direct IO failed ino 6044 rw 0,0 sector 0x311268 len 12288 err no 10
[16919.749271] BTRFS warning (device dm-11: state EA): direct IO failed ino 6044 rw 0,0 sector 0x2d48a8 len 4096 err no 10
[16919.749661] BTRFS warning (device dm-11: state EA): direct IO failed ino 5887 rw 0,0 sector 0x226af0 len 61440 err no 10
[16919.750541] BTRFS warning (device dm-11: state EA): direct IO failed ino 6113 rw 0,0 sector 0x2b9ba8 len 73728 err no 10
[16919.750706] BTRFS warning (device dm-11: state EA): direct IO failed ino 6122 rw 0,0 sector 0x1adab8 len 36864 err no 10
[16919.751291] BTRFS warning (device dm-11: state EA): direct IO failed ino 5936 rw 0,0 sector 0x274998 len 57344 err no 10
[16919.751872] BTRFS warning (device dm-11: state EA): direct IO failed ino 5952 rw 0,0 sector 0x23bc48 len 36864 err no 10
[16919.752900] BTRFS warning (device dm-11: state EA): direct IO failed ino 5905 rw 0,0 sector 0x26e688 len 53248 err no 10
[16919.755930] BTRFS warning (device dm-11: state EA): direct IO failed ino 6021 rw 0,0 sector 0x233d58 len 36864 err no 10
[16919.756495] BTRFS warning (device dm-11: state EA): direct IO failed ino 6017 rw 0,0 sector 0x2ba0c8 len 36864 err no 10
[16920.265320] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[16920.265328] BTRFS info (device dm-11): disk space caching is enabled
[16920.269069] BTRFS info (device dm-11): auto enabling async discard
[16920.269073] BTRFS info (device dm-11): start tree-log replay
[16920.277553] BTRFS info (device dm-11): the free space cache file (298844160) is invalid, skip it
[16922.354717] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[16922.354723] btrfs_dev_stat_inc_and_print: 72 callbacks suppressed
[16922.354725] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 1, rd 0, flush 0, corrupt 0, gen 0
[16922.354738] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[16922.354740] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 2, rd 0, flush 0, corrupt 0, gen 0
[16922.355106] BTRFS error (device dm-11): error writing primary super block to device 1
[16922.355109] BTRFS: error (device dm-11) in write_all_supers:4356: errno=-5 IO failure (1 errors while writing supers)
[16922.355496] BTRFS info (device dm-11: state E): forced readonly
[16922.355505] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[16922.355512] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[16922.356487] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 2, rd 1, flush 0, corrupt 0, gen 0
[16922.357117] BTRFS warning (device dm-11: state EA): direct IO failed ino 6224 rw 0,0 sector 0x2d7f68 len 49152 err no 10
[16922.362786] BTRFS: error (device dm-11: state EA) in btrfs_sync_log:3192: errno=-5 IO failure
[16922.363541] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 2, rd 2, flush 0, corrupt 0, gen 0
[16922.363561] BTRFS warning (device dm-11: state EA): direct IO failed ino 6187 rw 0,0 sector 0x1bf418 len 20480 err no 10
[16922.363586] BTRFS warning (device dm-11: state EA): Skipping commit of aborted transaction.
[16922.363589] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[16922.365840] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[16922.365932] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 2, rd 3, flush 0, corrupt 0, gen 0
[16922.366253] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 2, rd 4, flush 0, corrupt 0, gen 0
[16922.366277] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 2, rd 5, flush 0, corrupt 0, gen 0
[16922.366292] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 2, rd 6, flush 0, corrupt 0, gen 0
[16922.366311] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 2, rd 7, flush 0, corrupt 0, gen 0
[16922.366345] BTRFS warning (device dm-11: state EA): direct IO failed ino 6233 rw 0,0 sector 0x2f0138 len 49152 err no 10
[16922.366368] BTRFS warning (device dm-11: state EA): direct IO failed ino 6186 rw 0,0 sector 0x2f3da8 len 20480 err no 10
[16922.366378] BTRFS warning (device dm-11: state EA): direct IO failed ino 6186 rw 0,0 sector 0x2d2f80 len 16384 err no 10
[16922.366386] BTRFS warning (device dm-11: state EA): direct IO failed ino 6186 rw 0,0 sector 0x2d2a40 len 4096 err no 10
[16922.366392] BTRFS warning (device dm-11: state EA): direct IO failed ino 6186 rw 0,0 sector 0x2d9b08 len 45056 err no 10
[16922.366573] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 2, rd 8, flush 0, corrupt 0, gen 0
[16922.366585] BTRFS warning (device dm-11: state EA): direct IO failed ino 6256 rw 0,0 sector 0x295a18 len 4096 err no 10
[16922.368664] BTRFS warning (device dm-11: state EA): direct IO failed ino 5487 rw 0,0 sector 0x1f8960 len 12288 err no 10
[16922.369050] BTRFS warning (device dm-11: state EA): direct IO failed ino 6284 rw 0,0 sector 0x1febe0 len 53248 err no 10
[16922.386620] BTRFS warning (device dm-11: state EA): direct IO failed ino 6266 rw 0,0 sector 0x1fa720 len 40960 err no 10
[16922.401109] BTRFS warning (device dm-11: state EA): direct IO failed ino 6222 rw 0,0 sector 0x1ff0a8 len 8192 err no 10
[16922.402731] BTRFS warning (device dm-11: state EA): direct IO failed ino 6293 rw 0,0 sector 0x29d0f0 len 40960 err no 10
[16922.405255] BTRFS warning (device dm-11: state EA): direct IO failed ino 6164 rw 0,0 sector 0x1e3f98 len 4096 err no 10
[16922.885797] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[16922.885805] BTRFS info (device dm-11): disk space caching is enabled
[16922.890509] BTRFS info (device dm-11): auto enabling async discard
[16922.890513] BTRFS info (device dm-11): start tree-log replay
[16923.038121] BTRFS: error (device dm-11: state A) in btrfs_create_new_inode:6432: errno=-5 IO failure
[16923.038643] BTRFS info (device dm-11: state EA): forced readonly
[16923.043440] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[16923.489344] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[16923.489352] BTRFS info (device dm-11): disk space caching is enabled
[16923.493228] BTRFS info (device dm-11): auto enabling async discard
[16924.555562] BTRFS warning (device dm-11): direct IO failed ino 6420 rw 1,34817 sector 0x23d4a8 len 86016 err no 10
[16924.558426] BTRFS: error (device dm-11) in btrfs_commit_transaction:2496: errno=-5 IO failure (Error while writing out transaction)
[16924.559101] BTRFS info (device dm-11: state E): forced readonly
[16924.559113] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[16924.559901] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[16924.563010] BTRFS warning (device dm-11: state EA): Skipping commit of aborted transaction.
[16924.563015] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[16924.571850] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[16925.107375] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[16925.107382] BTRFS info (device dm-11): disk space caching is enabled
[16925.111788] BTRFS info (device dm-11): auto enabling async discard
[16925.111792] BTRFS info (device dm-11): start tree-log replay
[16925.122040] ------------[ cut here ]------------
[16925.122121] WARNING: CPU: 0 PID: 2241463 at fs/btrfs/discard.c:604 btrfs_discard_update_discardable+0x98/0xb0
[16925.122127] 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
[16925.122189] CPU: 0 PID: 2241463 Comm: kworker/u4:10 Tainted: G W 5.19.0-rc8+ #787
[16925.122191] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.13.0-2.fc32 04/01/2014
[16925.122193] Workqueue: btrfs-cache btrfs_work_helper
[16925.122198] RIP: 0010:btrfs_discard_update_discardable+0x98/0xb0
[16925.122200] 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
[16925.122202] RSP: 0018:ffff98e885c73ad0 EFLAGS: 00010246
[16925.122205] RAX: 0000000000000000 RBX: ffff8c6c31acf600 RCX: 0000000000000001
[16925.122207] RDX: 0000000000000000 RSI: ffffffffa7807c93 RDI: ffffffffa78a836e
[16925.122208] RBP: ffff8c6bc4628000 R08: 0000000000000000 R09: 0000000000001000
[16925.122210] R10: 000000000003ad42 R11: 000000000076d301 R12: ffff8c6bc31db010
[16925.122212] R13: ffff8c6bde91d890 R14: ffff8c6bc4628000 R15: ffff8c6bc49c2e00
[16925.122214] FS: 0000000000000000(0000) GS:ffff8c6c3bc00000(0000) knlGS:0000000000000000
[16925.122215] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[16925.122217] CR2: 00007f7b5d232f50 CR3: 0000000104620006 CR4: 0000000000370ef0
[16925.122221] Call Trace:
[16925.122223]
[16925.122228] __btrfs_remove_free_space_cache+0x27/0x30
[16925.122232] load_free_space_cache+0xad2/0xaf0
[16925.122271] caching_thread+0x40b/0x650
[16925.122279] ? lock_release+0x137/0x2d0
[16925.122287] btrfs_work_helper+0xf2/0x3e0
[16925.122290] ? lock_is_held_type+0xe2/0x140
[16925.122297] process_one_work+0x271/0x590
[16925.122305] ? process_one_work+0x590/0x590
[16925.122308] worker_thread+0x52/0x3b0
[16925.122313] ? process_one_work+0x590/0x590
[16925.122315] kthread+0xf0/0x120
[16925.122318] ? kthread_complete_and_exit+0x20/0x20
[16925.122322] ret_from_fork+0x1f/0x30
[16925.122336]
[16925.122337] irq event stamp: 271377
[16925.122338] hardirqs last enabled at (271383): [] __up_console_sem+0x5e/0x70
[16925.122341] hardirqs last disabled at (271388): [] __up_console_sem+0x43/0x70
[16925.122344] softirqs last enabled at (270840): [] __irq_exit_rcu+0xeb/0x160
[16925.122347] softirqs last disabled at (270829): [] __irq_exit_rcu+0xeb/0x160
[16925.122349] ---[ end trace 0000000000000000 ]---
[16925.122352] BTRFS warning (device dm-11): block group 298844160 has wrong amount of free space
[16925.122367] BTRFS warning (device dm-11): failed to load free space cache for block group 298844160, rebuilding it now
[16926.539612] BTRFS: error (device dm-11) in btrfs_commit_transaction:2496: errno=-5 IO failure (Error while writing out transaction)
[16926.540186] BTRFS info (device dm-11: state E): forced readonly
[16926.540191] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[16926.540198] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[16926.542095] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[16926.542717] BTRFS warning (device dm-11: state EA): Skipping commit of aborted transaction.
[16926.542725] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[16927.028738] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[16927.028746] BTRFS info (device dm-11): disk space caching is enabled
[16927.033023] BTRFS info (device dm-11): auto enabling async discard
[16927.033048] BTRFS info (device dm-11): start tree-log replay
[16927.276378] BTRFS warning (device dm-11): direct IO failed ino 6442 rw 1,34817 sector 0x19db10 len 28672 err no 10
[16927.286490] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[16927.289364] BTRFS: error (device dm-11: state A) in btrfs_start_dirty_block_groups:3075: errno=-5 IO failure
[16927.289850] BTRFS info (device dm-11: state EA): forced readonly
[16927.769074] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[16927.769082] BTRFS info (device dm-11): disk space caching is enabled
[16927.773421] BTRFS info (device dm-11): auto enabling async discard
[16927.796732] btrfs_dev_stat_inc_and_print: 112 callbacks suppressed
[16927.796735] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 0, rd 1, flush 0, corrupt 0, gen 0
[16927.796747] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 0, rd 2, flush 0, corrupt 0, gen 0
[16927.797512] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 0, rd 3, flush 0, corrupt 0, gen 0
[16927.797967] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 0, rd 4, flush 0, corrupt 0, gen 0
[16927.798072] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 0, rd 5, flush 0, corrupt 0, gen 0
[16927.798141] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 0, rd 6, flush 0, corrupt 0, gen 0
[16927.798303] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 0, rd 7, flush 0, corrupt 0, gen 0
[16927.798327] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 0, rd 8, flush 0, corrupt 0, gen 0
[16927.798388] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 0, rd 9, flush 0, corrupt 0, gen 0
[16927.798411] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 0, rd 10, flush 0, corrupt 0, gen 0
[16927.806960] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[16927.828330] BTRFS error (device dm-11): error reading free space cache
[16927.828348] BTRFS warning (device dm-11): failed to load free space cache for block group 298844160, rebuilding it now
[16927.830448] BTRFS: error (device dm-11: state A) in __btrfs_free_extent:3078: errno=-5 IO failure
[16927.830778] BTRFS info (device dm-11: state EA): forced readonly
[16927.830782] BTRFS: error (device dm-11: state EA) in btrfs_run_delayed_refs:2141: errno=-5 IO failure
[16928.241189] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[16928.241196] BTRFS info (device dm-11): disk space caching is enabled
[16928.246070] BTRFS info (device dm-11): auto enabling async discard
[16929.295336] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[16929.295347] BTRFS error (device dm-11): error writing primary super block to device 1
[16929.295351] BTRFS: error (device dm-11) in write_all_supers:4356: errno=-5 IO failure (1 errors while writing supers)
[16929.295899] BTRFS info (device dm-11: state E): forced readonly
[16929.295906] BTRFS: error (device dm-11: state EA) in btrfs_sync_log:3203: errno=-5 IO failure
[16929.301034] BTRFS warning (device dm-11: state EA): direct IO failed ino 6460 rw 0,0 sector 0x19dba8 len 4096 err no 10
[16929.304407] BTRFS warning (device dm-11: state EA): direct IO failed ino 6483 rw 0,0 sector 0x237f50 len 36864 err no 10
[16929.307034] BTRFS warning (device dm-11: state EA): direct IO failed ino 6460 rw 0,0 sector 0x21c5d8 len 4096 err no 10
[16929.307264] BTRFS warning (device dm-11: state EA): direct IO failed ino 6471 rw 0,0 sector 0x222250 len 12288 err no 10
[16929.308858] BTRFS warning (device dm-11: state EA): direct IO failed ino 6399 rw 0,0 sector 0x19b088 len 49152 err no 10
[16929.308990] BTRFS warning (device dm-11: state EA): direct IO failed ino 6463 rw 0,0 sector 0x23e830 len 45056 err no 10
[16929.311167] BTRFS warning (device dm-11: state EA): direct IO failed ino 6414 rw 0,0 sector 0x19dc30 len 20480 err no 10
[16929.313345] BTRFS warning (device dm-11: state EA): direct IO failed ino 4377 rw 0,0 sector 0x2b6c80 len 8192 err no 10
[16929.318350] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[16929.347658] BTRFS warning (device dm-11: state EA): direct IO failed ino 6460 rw 0,0 sector 0x21c5d8 len 4096 err no 10
[16929.368231] BTRFS warning (device dm-11: state EA): direct IO failed ino 6448 rw 0,0 sector 0x27c160 len 4096 err no 10
[16929.368645] BTRFS warning (device dm-11: state EA): direct IO failed ino 6472 rw 0,0 sector 0x222ac0 len 4096 err no 10
[16929.849937] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[16929.849945] BTRFS info (device dm-11): disk space caching is enabled
[16929.854687] BTRFS info (device dm-11): auto enabling async discard
[16929.889902] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[16929.903729] BTRFS: error (device dm-11: state A) in __btrfs_free_extent:3078: errno=-5 IO failure
[16929.904104] BTRFS info (device dm-11: state EA): forced readonly
[16929.904109] BTRFS: error (device dm-11: state EA) in btrfs_run_delayed_refs:2141: errno=-5 IO failure
[16930.411606] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[16930.411614] BTRFS info (device dm-11): disk space caching is enabled
[16930.416320] BTRFS info (device dm-11): auto enabling async discard
[16930.450388] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[16930.465422] BTRFS: error (device dm-11: state A) in __btrfs_free_extent:3078: errno=-5 IO failure
[16930.465756] BTRFS info (device dm-11: state EA): forced readonly
[16930.465761] BTRFS: error (device dm-11: state EA) in btrfs_run_delayed_refs:2141: errno=-5 IO failure
[16930.904728] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[16930.904735] BTRFS info (device dm-11): disk space caching is enabled
[16930.908882] BTRFS info (device dm-11): auto enabling async discard
[16930.942465] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[16930.960901] BTRFS: error (device dm-11: state A) in __btrfs_free_extent:3078: errno=-5 IO failure
[16930.961260] BTRFS info (device dm-11: state EA): forced readonly
[16930.961265] BTRFS: error (device dm-11: state EA) in btrfs_run_delayed_refs:2141: errno=-5 IO failure
[16931.384838] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[16931.384846] BTRFS info (device dm-11): disk space caching is enabled
[16931.389066] BTRFS info (device dm-11): auto enabling async discard
[16931.435612] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[16931.449804] BTRFS: error (device dm-11: state A) in __btrfs_free_extent:3078: errno=-5 IO failure
[16931.450161] BTRFS info (device dm-11: state EA): forced readonly
[16931.450168] BTRFS: error (device dm-11: state EA) in btrfs_run_delayed_refs:2141: errno=-5 IO failure
[16931.888483] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[16931.888490] BTRFS info (device dm-11): disk space caching is enabled
[16931.892107] BTRFS info (device dm-11): auto enabling async discard
[16931.909928] BTRFS info (device dm-11): the free space cache file (298844160) is invalid, skip it
[16932.918837] btrfs_dev_stat_inc_and_print: 207 callbacks suppressed
[16932.918841] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 1, rd 0, flush 0, corrupt 0, gen 0
[16932.918884] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 2, rd 0, flush 0, corrupt 0, gen 0
[16932.919008] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 3, rd 0, flush 0, corrupt 0, gen 0
[16932.919033] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 4, rd 0, flush 0, corrupt 0, gen 0
[16932.919047] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 5, rd 0, flush 0, corrupt 0, gen 0
[16932.919050] BTRFS warning (device dm-11): direct IO failed ino 5142 rw 1,34817 sector 0x1d3790 len 4096 err no 10
[16932.921705] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 6, rd 0, flush 0, corrupt 0, gen 0
[16932.922342] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 7, rd 0, flush 0, corrupt 0, gen 0
[16932.924263] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 8, rd 0, flush 0, corrupt 0, gen 0
[16932.926623] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 9, rd 0, flush 0, corrupt 0, gen 0
[16932.928526] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[16932.928659] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 10, rd 0, flush 0, corrupt 0, gen 0
[16932.933882] BTRFS: error (device dm-11: state A) in do_free_extent_accounting:2848: errno=-5 IO failure
[16932.934236] BTRFS info (device dm-11: state EA): forced readonly
[16932.934241] BTRFS: error (device dm-11: state EA) in btrfs_run_delayed_refs:2141: errno=-5 IO failure
[16932.936280] BTRFS warning (device dm-11: state EA): Skipping commit of aborted transaction.
[16933.418180] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[16933.418189] BTRFS info (device dm-11): disk space caching is enabled
[16933.423090] BTRFS info (device dm-11): auto enabling async discard
[16933.423094] BTRFS info (device dm-11): start tree-log replay
[16935.545489] BTRFS warning (device dm-11): direct IO failed ino 6853 rw 1,34817 sector 0x1ecc88 len 32768 err no 10
[16935.545632] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[16935.545648] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[16935.546153] BTRFS error (device dm-11): error writing primary super block to device 1
[16935.546159] BTRFS: error (device dm-11) in write_all_supers:4356: errno=-5 IO failure (1 errors while writing supers)
[16935.546715] BTRFS info (device dm-11: state E): forced readonly
[16935.546721] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[16935.546725] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[16935.548097] BTRFS warning (device dm-11: state EA): direct IO failed ino 4481 rw 0,0 sector 0x1e4478 len 8192 err no 10
[16935.552213] BTRFS warning (device dm-11: state EA): direct IO failed ino 6665 rw 0,0 sector 0x2d7fb0 len 28672 err no 10
[16935.553513] BTRFS warning (device dm-11: state EA): direct IO failed ino 6648 rw 0,0 sector 0x1a7cf0 len 4096 err no 10
[16935.565351] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[16935.585590] BTRFS warning (device dm-11: state EA): direct IO failed ino 6730 rw 0,0 sector 0x1fe850 len 16384 err no 10
[16935.587049] BTRFS warning (device dm-11: state EA): direct IO failed ino 4585 rw 0,0 sector 0x2e27d8 len 8192 err no 10
[16935.587896] BTRFS warning (device dm-11: state EA): direct IO failed ino 6725 rw 0,0 sector 0x2653b0 len 40960 err no 10
[16935.589418] BTRFS warning (device dm-11: state EA): direct IO failed ino 6699 rw 0,0 sector 0x1c6a60 len 65536 err no 10
[16935.590933] BTRFS warning (device dm-11: state EA): direct IO failed ino 6423 rw 0,0 sector 0x1e8bb8 len 20480 err no 10
[16935.592244] BTRFS warning (device dm-11: state EA): direct IO failed ino 6688 rw 0,0 sector 0x21ac20 len 4096 err no 10
[16935.608896] BTRFS warning (device dm-11: state EA): direct IO failed ino 6792 rw 0,0 sector 0x2f4ab8 len 36864 err no 10
[16936.016844] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[16936.016852] BTRFS info (device dm-11): disk space caching is enabled
[16936.034836] BTRFS info (device dm-11): auto enabling async discard
[16937.071815] BTRFS warning (device dm-11): direct IO failed ino 6927 rw 1,34817 sector 0x246c08 len 102400 err no 10
[16937.071840] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[16937.072537] BTRFS error (device dm-11): error writing primary super block to device 1
[16937.072541] BTRFS: error (device dm-11) in write_all_supers:4356: errno=-5 IO failure (1 errors while writing supers)
[16937.072991] BTRFS info (device dm-11: state E): forced readonly
[16937.072995] BTRFS: error (device dm-11: state EA) in btrfs_sync_log:3203: errno=-5 IO failure
[16937.075779] BTRFS warning (device dm-11: state EA): direct IO failed ino 6877 rw 0,0 sector 0x1c6c40 len 69632 err no 10
[16937.084257] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[16937.106212] BTRFS warning (device dm-11: state EA): direct IO failed ino 6948 rw 0,0 sector 0x1c7180 len 20480 err no 10
[16937.597814] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[16937.597822] BTRFS info (device dm-11): disk space caching is enabled
[16937.601418] BTRFS info (device dm-11): auto enabling async discard
[16937.601422] BTRFS info (device dm-11): start tree-log replay
[16937.705328] BTRFS warning (device dm-11): direct IO failed ino 7000 rw 1,34817 sector 0x2d2cf8 len 4096 err no 10
[16937.706516] BTRFS: error (device dm-11: state A) in btrfs_finish_ordered_io:3318: errno=-5 IO failure
[16937.707054] BTRFS info (device dm-11: state EA): forced readonly
[16937.707775] BTRFS: error (device dm-11: state EA) in btrfs_finish_ordered_io:3318: errno=-5 IO failure
[16937.718658] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[16937.735183] BTRFS warning (device dm-11: state EA): direct IO failed ino 7000 rw 0,0 sector 0x2f6b28 len 20480 err no 10
[16937.778561] BTRFS warning (device dm-11: state EA): direct IO failed ino 7002 rw 0,0 sector 0x2d36d8 len 20480 err no 10
[16938.212643] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[16938.212650] BTRFS info (device dm-11): disk space caching is enabled
[16938.216525] BTRFS info (device dm-11): auto enabling async discard
[16940.264784] btrfs_dev_stat_inc_and_print: 348 callbacks suppressed
[16940.264788] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 1, rd 0, flush 0, corrupt 0, gen 0
[16940.264833] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 2, rd 0, flush 0, corrupt 0, gen 0
[16940.264974] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 3, rd 0, flush 0, corrupt 0, gen 0
[16940.265076] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 3, rd 1, flush 0, corrupt 0, gen 0
[16940.265083] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[16940.265086] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 4, rd 1, flush 0, corrupt 0, gen 0
[16940.265093] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[16940.265095] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 5, rd 1, flush 0, corrupt 0, gen 0
[16940.265187] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 5, rd 2, flush 0, corrupt 0, gen 0
[16940.265927] BTRFS error (device dm-11): error writing primary super block to device 1
[16940.265930] BTRFS: error (device dm-11) in write_all_supers:4356: errno=-5 IO failure (1 errors while writing supers)
[16940.266322] BTRFS info (device dm-11: state E): forced readonly
[16940.266330] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[16940.266333] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[16940.266341] BTRFS: error (device dm-11: state EA) in btrfs_sync_log:3192: errno=-5 IO failure
[16940.268535] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 6, rd 2, flush 0, corrupt 0, gen 0
[16940.269031] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 7, rd 2, flush 0, corrupt 0, gen 0
[16940.270011] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 7, rd 3, flush 0, corrupt 0, gen 0
[16940.270025] BTRFS warning (device dm-11: state EA): direct IO failed ino 7069 rw 0,0 sector 0x1f8440 len 24576 err no 10
[16940.271440] BTRFS warning (device dm-11: state EA): direct IO failed ino 7201 rw 0,0 sector 0x2ec328 len 4096 err no 10
[16940.272333] BTRFS warning (device dm-11: state EA): direct IO failed ino 7010 rw 0,0 sector 0x2068e0 len 8192 err no 10
[16940.272372] BTRFS warning (device dm-11: state EA): direct IO failed ino 7131 rw 0,0 sector 0x1f7178 len 40960 err no 10
[16940.272614] BTRFS warning (device dm-11: state EA): direct IO failed ino 7010 rw 0,0 sector 0x206928 len 45056 err no 10
[16940.273216] BTRFS warning (device dm-11: state EA): direct IO failed ino 6998 rw 0,0 sector 0x1811d0 len 69632 err no 10
[16940.281996] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[16940.293045] BTRFS warning (device dm-11: state EA): direct IO failed ino 7023 rw 0,0 sector 0x23f9d0 len 20480 err no 10
[16940.295584] BTRFS warning (device dm-11: state EA): direct IO failed ino 7115 rw 0,0 sector 0x206818 len 8192 err no 10
[16940.296842] BTRFS warning (device dm-11: state EA): direct IO failed ino 7072 rw 0,0 sector 0x302960 len 16384 err no 10
[16940.297584] BTRFS warning (device dm-11: state EA): direct IO failed ino 7134 rw 0,0 sector 0x207e40 len 102400 err no 10
[16940.297736] BTRFS warning (device dm-11: state EA): direct IO failed ino 6429 rw 0,0 sector 0x19b158 len 4096 err no 10
[16940.299992] BTRFS warning (device dm-11: state EA): direct IO failed ino 7087 rw 0,0 sector 0x2d36e0 len 16384 err no 10
[16940.301171] BTRFS warning (device dm-11: state EA): direct IO failed ino 7124 rw 0,0 sector 0x23ed08 len 40960 err no 10
[16940.301707] BTRFS warning (device dm-11: state EA): direct IO failed ino 7023 rw 0,0 sector 0x1fc178 len 4096 err no 10
[16940.321823] BTRFS warning (device dm-11: state EA): direct IO failed ino 7143 rw 0,0 sector 0x205870 len 57344 err no 10
[16940.323531] BTRFS warning (device dm-11: state EA): direct IO failed ino 7115 rw 0,0 sector 0x2a3b10 len 16384 err no 10
[16940.327018] BTRFS warning (device dm-11: state EA): direct IO failed ino 6999 rw 0,0 sector 0x17cda8 len 32768 err no 10
[16940.329566] BTRFS warning (device dm-11: state EA): direct IO failed ino 6878 rw 0,0 sector 0x2f92d0 len 53248 err no 10
[16940.330416] BTRFS warning (device dm-11: state EA): direct IO failed ino 7197 rw 0,0 sector 0x238f08 len 4096 err no 10
[16940.831182] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[16940.831190] BTRFS info (device dm-11): disk space caching is enabled
[16940.835001] BTRFS info (device dm-11): auto enabling async discard
[16940.835006] BTRFS info (device dm-11): start tree-log replay
[16942.175925] BTRFS: error (device dm-11) in btrfs_commit_transaction:2496: errno=-5 IO failure (Error while writing out transaction)
[16942.177102] BTRFS info (device dm-11: state E): forced readonly
[16942.177112] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[16942.177117] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[16942.191036] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[16942.701306] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[16942.701313] BTRFS info (device dm-11): disk space caching is enabled
[16942.705537] BTRFS info (device dm-11): auto enabling async discard
[16942.705541] BTRFS info (device dm-11): start tree-log replay
[16942.714034] BTRFS info (device dm-11): the free space cache file (298844160) is invalid, skip it
[16942.749051] ------------[ cut here ]------------
[16942.749114] WARNING: CPU: 1 PID: 2175719 at fs/btrfs/discard.c:604 btrfs_discard_update_discardable+0x98/0xb0
[16942.749120] 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
[16942.749184] CPU: 1 PID: 2175719 Comm: kworker/u4:1 Tainted: G W 5.19.0-rc8+ #787
[16942.749186] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.13.0-2.fc32 04/01/2014
[16942.749188] Workqueue: btrfs-cache btrfs_work_helper
[16942.749193] RIP: 0010:btrfs_discard_update_discardable+0x98/0xb0
[16942.749196] 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
[16942.749198] RSP: 0018:ffff98e88135bad0 EFLAGS: 00010246
[16942.749201] RAX: 0000000000000000 RBX: ffff8c6c31acf000 RCX: 0000000000000001
[16942.749202] RDX: 0000000000000000 RSI: ffffffffa7807c93 RDI: ffffffffa78a836e
[16942.749204] RBP: ffff8c6bc7ce0000 R08: 0000000000000000 R09: 0000000000000000
[16942.749205] R10: ffff8c6bcfaf5cb0 R11: 0000000000000001 R12: ffff8c6bd6ae5010
[16942.749207] R13: ffff8c6bde8baa00 R14: ffff8c6bc7ce0000 R15: ffff8c6bc7c729a0
[16942.749209] FS: 0000000000000000(0000) GS:ffff8c6c3bd00000(0000) knlGS:0000000000000000
[16942.749211] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[16942.749212] CR2: 00007f594fb5a350 CR3: 0000000116942004 CR4: 0000000000370ee0
[16942.749216] Call Trace:
[16942.749219]
[16942.749223] __btrfs_remove_free_space_cache+0x27/0x30
[16942.749227] load_free_space_cache+0xad2/0xaf0
[16942.749267] caching_thread+0x40b/0x650
[16942.749275] ? lock_release+0x137/0x2d0
[16942.749282] btrfs_work_helper+0xf2/0x3e0
[16942.749285] ? lock_is_held_type+0xe2/0x140
[16942.749292] process_one_work+0x271/0x590
[16942.749302] worker_thread+0x52/0x3b0
[16942.749307] ? process_one_work+0x590/0x590
[16942.749309] kthread+0xf0/0x120
[16942.749312] ? kthread_complete_and_exit+0x20/0x20
[16942.749316] ret_from_fork+0x1f/0x30
[16942.749329]
[16942.749331] irq event stamp: 9352469
[16942.749332] hardirqs last enabled at (9352475): [] __up_console_sem+0x5e/0x70
[16942.749335] hardirqs last disabled at (9352480): [] __up_console_sem+0x43/0x70
[16942.749337] softirqs last enabled at (9351322): [] __irq_exit_rcu+0xeb/0x160
[16942.749340] softirqs last disabled at (9351317): [] __irq_exit_rcu+0xeb/0x160
[16942.749343] ---[ end trace 0000000000000000 ]---
[16942.749345] BTRFS warning (device dm-11): block group 1372585984 has wrong amount of free space
[16942.749348] BTRFS warning (device dm-11): failed to load free space cache for block group 1372585984, rebuilding it now