[40311.339618] run fstests generic/648 at 2022-08-04 08:02:48
[40312.217381] BTRFS: device fsid aae98f9a-3753-424f-8f68-9104ec7f6995 devid 1 transid 6 /dev/mapper/vg0-lv9 scanned by mkfs.btrfs (1902188)
[40312.292744] BTRFS info (device dm-9): using crc32c (crc32c-intel) checksum algorithm
[40312.292754] BTRFS info (device dm-9): setting incompat feature flag for COMPRESS_LZO (0x8)
[40312.292757] BTRFS info (device dm-9): use lzo compression, level 0
[40312.292760] BTRFS info (device dm-9): disk space caching is enabled
[40312.316286] BTRFS info (device dm-9): auto enabling async discard
[40312.316545] BTRFS info (device dm-9): checking UUID tree
[40313.295303] BTRFS: device fsid a802cacd-515b-4b6b-bf32-97090cc8b30a devid 1 transid 6 /dev/mapper/vg0-lv9 scanned by mkfs.btrfs (1902270)
[40313.505832] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[40313.505840] BTRFS info (device dm-11): setting incompat feature flag for COMPRESS_LZO (0x8)
[40313.505843] BTRFS info (device dm-11): use lzo compression, level 0
[40313.505845] BTRFS info (device dm-11): disk space caching is enabled
[40313.509713] BTRFS info (device dm-11): auto enabling async discard
[40313.509856] BTRFS info (device dm-11): checking UUID tree
[40313.782695] loop0: detected capacity change from 0 to 6629376
[40313.808556] BTRFS: device fsid 4341cd4c-68ea-4ff6-95e2-61f2d420ae5e devid 1 transid 6 /dev/loop0 scanned by mount (1902332)
[40313.810271] BTRFS info (device loop0): using crc32c (crc32c-intel) checksum algorithm
[40313.810278] BTRFS info (device loop0): disk space caching is enabled
[40313.814396] BTRFS info (device loop0): enabling ssd optimizations
[40313.814400] BTRFS info (device loop0): auto enabling async discard
[40313.814927] BTRFS info (device loop0): checking UUID tree
[40314.876074] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[40314.876092] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 1, rd 0, flush 0, corrupt 0, gen 0
[40314.876911] BTRFS error (device dm-11): error writing primary super block to device 1
[40314.876915] BTRFS: error (device dm-11) in write_all_supers:4356: errno=-5 IO failure (1 errors while writing supers)
[40314.877343] BTRFS info (device dm-11: state E): forced readonly
[40314.877347] BTRFS: error (device dm-11: state EA) in btrfs_sync_log:3205: errno=-5 IO failure
[40314.877658] loop: Write error at byte offset 39944192, length 4096.
[40314.877659] blk_print_req_error: 70 callbacks suppressed
[40314.877663] loop: Write error at byte offset 308379648, length 4096.
[40314.877661] I/O error, dev loop0, sector 0 op 0x1:(WRITE) flags 0x800 phys_seg 0 prio class 0
[40314.877665] loop: Write error at byte offset 578789376, length 4096.
[40314.877668] loop: Write error at byte offset 19271680, length 4096.
[40314.877673] loop: Write error at byte offset 17006592, length 4096.
[40314.877675] loop: Write error at byte offset 579461120, length 4096.
[40314.877677] I/O error, dev loop0, sector 78016 op 0x1:(WRITE) flags 0x1800 phys_seg 17 prio class 0
[40314.877682] BTRFS error (device loop0): bdev /dev/loop0 errs: wr 1, rd 0, flush 0, corrupt 0, gen 0
[40314.877686] I/O error, dev loop0, sector 602304 op 0x1:(WRITE) flags 0x1800 phys_seg 17 prio class 0
[40314.877689] BTRFS error (device loop0): bdev /dev/loop0 errs: wr 2, rd 0, flush 0, corrupt 0, gen 0
[40314.877722] I/O error, dev loop0, sector 1130448 op 0x1:(WRITE) flags 0x800 phys_seg 9 prio class 0
[40314.877724] BTRFS error (device loop0): bdev /dev/loop0 errs: wr 3, rd 0, flush 0, corrupt 0, gen 0
[40314.877756] I/O error, dev loop0, sector 33216 op 0x1:(WRITE) flags 0x0 phys_seg 3 prio class 0
[40314.877758] BTRFS error (device loop0): bdev /dev/loop0 errs: wr 4, rd 0, flush 0, corrupt 0, gen 0
[40314.877770] I/O error, dev loop0, sector 1131760 op 0x1:(WRITE) flags 0x0 phys_seg 15 prio class 0
[40314.877772] BTRFS error (device loop0): bdev /dev/loop0 errs: wr 5, rd 0, flush 0, corrupt 0, gen 0
[40314.878131] I/O error, dev loop0, sector 37640 op 0x1:(WRITE) flags 0x8800 phys_seg 3 prio class 2
[40314.878136] BTRFS error (device loop0): bdev /dev/loop0 errs: wr 6, rd 0, flush 0, corrupt 0, gen 0
[40314.878140] BTRFS warning (device loop0): direct IO failed ino 306 rw 1,34817 sector 0x9308 len 0 err no 10
[40314.879290] BTRFS error (device loop0): bdev /dev/loop0 errs: wr 6, rd 0, flush 1, corrupt 0, gen 0
[40314.879296] BTRFS warning (device loop0): chunk 13631488 missing 1 devices, max tolerance is 0 for writable mount
[40314.879299] BTRFS: error (device loop0) in write_all_supers:4286: errno=-5 IO failure (errors while submitting device barriers.)
[40314.879695] BTRFS info (device loop0: state E): forced readonly
[40314.879699] BTRFS warning (device loop0: state E): Skipping commit of aborted transaction.
[40314.879701] BTRFS: error (device loop0: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[40314.880645] loop: Write error at byte offset 580296704, length 4096.
[40314.880653] loop: Write error at byte offset 580378624, length 4096.
[40314.880655] loop: Write error at byte offset 14270464, length 4096.
[40314.880657] loop: Write error at byte offset 19271680, length 4096.
[40314.880682] I/O error, dev loop0, sector 1133392 op 0x1:(WRITE) flags 0x0 phys_seg 11 prio class 0
[40314.880685] BTRFS error (device loop0: state EA): bdev /dev/loop0 errs: wr 7, rd 0, flush 1, corrupt 0, gen 0
[40314.880722] I/O error, dev loop0, sector 1133552 op 0x1:(WRITE) flags 0x0 phys_seg 12 prio class 0
[40314.880725] BTRFS error (device loop0: state EA): bdev /dev/loop0 errs: wr 8, rd 0, flush 1, corrupt 0, gen 0
[40314.880753] I/O error, dev loop0, sector 27872 op 0x1:(WRITE) flags 0x0 phys_seg 1 prio class 0
[40314.891434] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[40317.441614] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[40317.441625] BTRFS info (device dm-11): use lzo compression, level 0
[40317.441629] BTRFS info (device dm-11): disk space caching is enabled
[40317.445900] BTRFS info (device dm-11): auto enabling async discard
[40317.445906] BTRFS info (device dm-11): start tree-log replay
[40317.448307] BTRFS warning (device dm-11): block group 30408704 has wrong amount of free space
[40317.448324] BTRFS warning (device dm-11): failed to load free space cache for block group 30408704, rebuilding it now
[40317.515922] loop0: detected capacity change from 0 to 6629376
[40317.542800] BTRFS info (device loop0): using crc32c (crc32c-intel) checksum algorithm
[40317.542812] BTRFS info (device loop0): disk space caching is enabled
[40317.548376] BTRFS info (device loop0): enabling ssd optimizations
[40317.548382] BTRFS info (device loop0): auto enabling async discard
[40317.566709] BTRFS warning (device loop0): block group 30408704 has wrong amount of free space
[40317.566735] BTRFS warning (device loop0): failed to load free space cache for block group 30408704, rebuilding it now
[40317.573327] BTRFS info (device loop0): the free space cache file (298844160) is invalid, skip it
[40317.631836] BTRFS warning (device loop0): chunk 13631488 missing 1 devices, max tolerance is 0 for writable mount
[40317.631842] BTRFS: error (device loop0) in write_all_supers:4286: errno=-5 IO failure (errors while submitting device barriers.)
[40317.632272] BTRFS info (device loop0: state E): forced readonly
[40317.632277] BTRFS: error (device loop0: state EA) in btrfs_sync_log:3205: errno=-5 IO failure
[40317.638222] BTRFS: error (device dm-11: state A) in __btrfs_free_extent:3078: errno=-5 IO failure
[40317.638621] BTRFS info (device dm-11: state EA): forced readonly
[40317.638628] BTRFS: error (device dm-11: state EA) in btrfs_run_delayed_refs:2141: errno=-5 IO failure
[40317.648699] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[40320.486305] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[40320.486315] BTRFS info (device dm-11): use lzo compression, level 0
[40320.486318] BTRFS info (device dm-11): disk space caching is enabled
[40320.489217] BTRFS info (device dm-11): auto enabling async discard
[40320.513075] loop0: detected capacity change from 0 to 6629376
[40320.537598] BTRFS info (device loop0): using crc32c (crc32c-intel) checksum algorithm
[40320.537606] BTRFS info (device loop0): disk space caching is enabled
[40320.542320] BTRFS info (device loop0): enabling ssd optimizations
[40320.542324] BTRFS info (device loop0): auto enabling async discard
[40320.559730] BTRFS warning (device loop0): block group 30408704 has wrong amount of free space
[40320.559746] BTRFS warning (device loop0): failed to load free space cache for block group 30408704, rebuilding it now
[40320.563543] BTRFS info (device loop0): the free space cache file (298844160) is invalid, skip it
[40321.632104] btrfs_dev_stat_inc_and_print: 48 callbacks suppressed
[40321.632110] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 1, rd 0, flush 0, corrupt 0, gen 0
[40321.634434] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 2, rd 0, flush 0, corrupt 0, gen 0
[40321.634472] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 3, rd 0, flush 0, corrupt 0, gen 0
[40321.634799] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 4, rd 0, flush 0, corrupt 0, gen 0
[40321.634812] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 5, rd 0, flush 0, corrupt 0, gen 0
[40321.636388] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 6, rd 0, flush 0, corrupt 0, gen 0
[40321.636400] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 7, rd 0, flush 0, corrupt 0, gen 0
[40321.636486] BTRFS: error (device dm-11) in btrfs_commit_transaction:2496: errno=-5 IO failure (Error while writing out transaction)
[40321.637323] BTRFS info (device dm-11: state E): forced readonly
[40321.637329] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[40321.637338] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[40321.638002] BTRFS warning (device dm-11: state EA): Skipping commit of aborted transaction.
[40321.638834] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[40321.639432] lo_write_bvec: 5 callbacks suppressed
[40321.639435] loop: Write error at byte offset 16949248, length 4096.
[40321.639440] blk_print_req_error: 7 callbacks suppressed
[40321.639443] I/O error, dev loop0, sector 0 op 0x1:(WRITE) flags 0x800 phys_seg 0 prio class 0
[40321.639548] I/O error, dev loop0, sector 33104 op 0x1:(WRITE) flags 0x8800 phys_seg 5 prio class 2
[40321.639556] BTRFS error (device loop0): bdev /dev/loop0 errs: wr 1, rd 0, flush 0, corrupt 0, gen 0
[40321.639562] BTRFS warning (device loop0): direct IO failed ino 284 rw 1,34817 sector 0x8150 len 0 err no 10
[40321.640753] loop: Write error at byte offset 13893632, length 4096.
[40321.640819] loop: Write error at byte offset 16949248, length 4096.
[40321.640824] loop: Write error at byte offset 18079744, length 4096.
[40321.640831] I/O error, dev loop0, sector 27136 op 0x1:(WRITE) flags 0x0 phys_seg 1 prio class 0
[40321.640836] BTRFS error (device loop0): bdev /dev/loop0 errs: wr 2, rd 0, flush 0, corrupt 0, gen 0
[40321.640854] I/O error, dev loop0, sector 33104 op 0x1:(WRITE) flags 0x0 phys_seg 4 prio class 0
[40321.640858] BTRFS error (device loop0): bdev /dev/loop0 errs: wr 3, rd 0, flush 0, corrupt 0, gen 0
[40321.640874] I/O error, dev loop0, sector 35312 op 0x1:(WRITE) flags 0x0 phys_seg 2 prio class 0
[40321.641363] loop: Write error at byte offset 584019968, length 4096.
[40321.641370] loop: Write error at byte offset 584134656, length 4096.
[40321.641375] I/O error, dev loop0, sector 1140664 op 0x1:(WRITE) flags 0x0 phys_seg 1 prio class 0
[40321.641377] loop: Write error at byte offset 17653760, length 4096.
[40321.641385] I/O error, dev loop0, sector 1140888 op 0x1:(WRITE) flags 0x0 phys_seg 5 prio class 0
[40321.641433] I/O error, dev loop0, sector 34480 op 0x1:(WRITE) flags 0x0 phys_seg 1 prio class 0
[40321.645492] loop: Write error at byte offset 40189952, length 4096.
[40321.645500] loop: Write error at byte offset 308625408, length 4096.
[40321.645506] I/O error, dev loop0, sector 78496 op 0x1:(WRITE) flags 0x1800 phys_seg 32 prio class 0
[40321.645513] I/O error, dev loop0, sector 602784 op 0x1:(WRITE) flags 0x1800 phys_seg 32 prio class 0
[40321.645653] loop: Write error at byte offset 40337408, length 4096.
[40321.645779] BTRFS: error (device loop0: state A) in do_free_extent_accounting:2848: errno=-5 IO failure
[40321.646318] BTRFS info (device loop0: state EA): forced readonly
[40321.646324] BTRFS: error (device loop0: state EA) in btrfs_run_delayed_refs:2141: errno=-5 IO failure
[40321.646702] BTRFS warning (device loop0: state EA): chunk 13631488 missing 1 devices, max tolerance is 0 for writable mount
[40321.646820] BTRFS: error (device loop0: state EA) in write_all_supers:4286: errno=-5 IO failure (errors while submitting device barriers.)
[40321.647618] BTRFS: error (device loop0: state EA) in btrfs_sync_log:3205: errno=-5 IO failure
[40321.656172] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[40324.675822] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[40324.675829] BTRFS info (device dm-11): use lzo compression, level 0
[40324.675831] BTRFS info (device dm-11): disk space caching is enabled
[40324.679339] BTRFS info (device dm-11): auto enabling async discard
[40324.696718] BTRFS warning (device dm-11): block group 30408704 has wrong amount of free space
[40324.696748] BTRFS warning (device dm-11): failed to load free space cache for block group 30408704, rebuilding it now
[40324.705286] loop0: detected capacity change from 0 to 6629376
[40324.746834] BTRFS info (device loop0): using crc32c (crc32c-intel) checksum algorithm
[40324.746841] BTRFS info (device loop0): disk space caching is enabled
[40324.751600] BTRFS info (device loop0): enabling ssd optimizations
[40324.751603] BTRFS info (device loop0): auto enabling async discard
[40324.782877] BTRFS error (device loop0): error reading free space cache
[40324.782899] BTRFS warning (device loop0): failed to load free space cache for block group 30408704, rebuilding it now
[40324.790452] BTRFS error (device loop0): error reading free space cache
[40324.790458] BTRFS warning (device loop0): failed to load free space cache for block group 298844160, rebuilding it now
[40324.809196] BTRFS: error (device loop0: state A) in btrfs_replace_file_extents:2831: errno=-5 IO failure
[40324.809607] BTRFS info (device loop0: state EA): forced readonly
[40324.811292] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[40324.839328] BTRFS: error (device dm-11: state A) in __btrfs_run_delayed_items:1182: errno=-5 IO failure
[40324.839679] BTRFS info (device dm-11: state EA): forced readonly
[40324.839683] BTRFS warning (device dm-11: state EA): Skipping commit of aborted transaction.
[40324.839685] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[40327.625064] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[40327.625114] BTRFS info (device dm-11): use lzo compression, level 0
[40327.625118] BTRFS info (device dm-11): disk space caching is enabled
[40327.629108] BTRFS info (device dm-11): auto enabling async discard
[40327.651550] BTRFS warning (device dm-11): block group 30408704 has wrong amount of free space
[40327.651576] BTRFS warning (device dm-11): failed to load free space cache for block group 30408704, rebuilding it now
[40327.655647] loop0: detected capacity change from 0 to 6629376
[40327.687132] BTRFS info (device loop0): using crc32c (crc32c-intel) checksum algorithm
[40327.687139] BTRFS info (device loop0): disk space caching is enabled
[40327.691375] BTRFS info (device loop0): enabling ssd optimizations
[40327.691378] BTRFS info (device loop0): auto enabling async discard
[40327.711964] BTRFS warning (device loop0): block group 30408704 has wrong amount of free space
[40327.711989] BTRFS warning (device loop0): failed to load free space cache for block group 30408704, rebuilding it now
[40327.794402] btrfs_dev_stat_inc_and_print: 34 callbacks suppressed
[40327.794405] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 1, rd 0, flush 0, corrupt 0, gen 0
[40327.794413] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 2, rd 0, flush 0, corrupt 0, gen 0
[40327.794437] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 3, rd 0, flush 0, corrupt 0, gen 0
[40327.794441] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 4, rd 0, flush 0, corrupt 0, gen 0
[40327.794479] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[40327.794481] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 5, rd 0, flush 0, corrupt 0, gen 0
[40327.794498] BTRFS error (device dm-11): error writing primary super block to device 1
[40327.794502] BTRFS: error (device dm-11) in write_all_supers:4356: errno=-5 IO failure (1 errors while writing supers)
[40327.794902] BTRFS info (device dm-11: state E): forced readonly
[40327.794907] BTRFS: error (device dm-11: state EA) in btrfs_sync_log:3205: errno=-5 IO failure
[40327.795238] lo_write_bvec: 11 callbacks suppressed
[40327.795239] loop: Write error at byte offset 16965632, length 4096.
[40327.795244] loop: Write error at byte offset 577466368, length 4096.
[40327.795246] loop: Write error at byte offset 577507328, length 4096.
[40327.795247] blk_print_req_error: 16 callbacks suppressed
[40327.795248] loop: Write error at byte offset 18604032, length 4096.
[40327.795249] I/O error, dev loop0, sector 33136 op 0x1:(WRITE) flags 0x8800 phys_seg 4 prio class 2
[40327.795252] loop: Write error at byte offset 584531968, length 4096.
[40327.795258] BTRFS error (device loop0): bdev /dev/loop0 errs: wr 1, rd 0, flush 0, corrupt 0, gen 0
[40327.795262] BTRFS warning (device loop0): direct IO failed ino 382 rw 1,34817 sector 0x8170 len 0 err no 10
[40327.795273] I/O error, dev loop0, sector 1127864 op 0x1:(WRITE) flags 0x8800 phys_seg 9 prio class 2
[40327.795277] BTRFS error (device loop0): bdev /dev/loop0 errs: wr 2, rd 0, flush 0, corrupt 0, gen 0
[40327.795279] BTRFS warning (device loop0): direct IO failed ino 382 rw 1,34817 sector 0x1135b8 len 0 err no 10
[40327.795288] I/O error, dev loop0, sector 36336 op 0x1:(WRITE) flags 0x0 phys_seg 7 prio class 0
[40327.795291] BTRFS error (device loop0): bdev /dev/loop0 errs: wr 3, rd 0, flush 0, corrupt 0, gen 0
[40327.796058] I/O error, dev loop0, sector 0 op 0x1:(WRITE) flags 0x800 phys_seg 0 prio class 0
[40327.796067] I/O error, dev loop0, sector 1127944 op 0x1:(WRITE) flags 0x800 phys_seg 1 prio class 0
[40327.796070] BTRFS error (device loop0): bdev /dev/loop0 errs: wr 4, rd 0, flush 0, corrupt 0, gen 0
[40327.796095] I/O error, dev loop0, sector 1141664 op 0x1:(WRITE) flags 0x0 phys_seg 22 prio class 0
[40327.796099] BTRFS error (device loop0): bdev /dev/loop0 errs: wr 5, rd 0, flush 0, corrupt 0, gen 0
[40327.796816] loop: Write error at byte offset 38797312, length 4096.
[40327.796822] loop: Write error at byte offset 307232768, length 4096.
[40327.796824] loop: Write error at byte offset 584622080, length 4096.
[40327.796826] loop: Write error at byte offset 18718720, length 4096.
[40327.796844] I/O error, dev loop0, sector 75776 op 0x1:(WRITE) flags 0x1800 phys_seg 24 prio class 0
[40327.796849] I/O error, dev loop0, sector 600064 op 0x1:(WRITE) flags 0x1800 phys_seg 24 prio class 0
[40327.796877] I/O error, dev loop0, sector 1141840 op 0x1:(WRITE) flags 0x0 phys_seg 24 prio class 0
[40327.796916] I/O error, dev loop0, sector 36560 op 0x1:(WRITE) flags 0x0 phys_seg 3 prio class 0
[40327.798747] loop: Write error at byte offset 38928384, length 4096.
[40327.801482] BTRFS: error (device loop0: state A) in btrfs_replace_file_extents:2831: errno=-5 IO failure
[40327.801903] BTRFS info (device loop0: state EA): forced readonly
[40327.805875] BTRFS warning (device loop0: state EA): chunk 13631488 missing 1 devices, max tolerance is 0 for writable mount
[40327.805881] BTRFS: error (device loop0: state EA) in write_all_supers:4286: errno=-5 IO failure (errors while submitting device barriers.)
[40327.806345] BTRFS: error (device loop0: state EA) in btrfs_sync_log:3205: errno=-5 IO failure
[40327.806384] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[40330.450303] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[40330.450312] BTRFS info (device dm-11): use lzo compression, level 0
[40330.450314] BTRFS info (device dm-11): disk space caching is enabled
[40330.454244] BTRFS info (device dm-11): auto enabling async discard
[40330.467922] BTRFS warning (device dm-11): block group 30408704 has wrong amount of free space
[40330.467938] BTRFS warning (device dm-11): failed to load free space cache for block group 30408704, rebuilding it now
[40330.475206] loop0: detected capacity change from 0 to 6629376
[40330.503190] BTRFS info (device loop0): using crc32c (crc32c-intel) checksum algorithm
[40330.503197] BTRFS info (device loop0): disk space caching is enabled
[40330.507136] BTRFS info (device loop0): enabling ssd optimizations
[40330.507139] BTRFS info (device loop0): auto enabling async discard
[40330.517850] BTRFS warning (device loop0): block group 30408704 has wrong amount of free space
[40330.517868] BTRFS warning (device loop0): failed to load free space cache for block group 30408704, rebuilding it now
[40331.551473] BTRFS warning (device loop0): chunk 13631488 missing 1 devices, max tolerance is 0 for writable mount
[40331.551480] BTRFS: error (device loop0) in write_all_supers:4286: errno=-5 IO failure (errors while submitting device barriers.)
[40331.551933] BTRFS info (device loop0: state E): forced readonly
[40331.551938] BTRFS warning (device loop0: state E): Skipping commit of aborted transaction.
[40331.551941] BTRFS: error (device loop0: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[40331.557029] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[40331.576101] BTRFS: error (device dm-11: state A) in __btrfs_update_delayed_inode:1089: errno=-5 IO failure
[40331.576445] BTRFS info (device dm-11: state EA): forced readonly
[40331.576450] BTRFS: error (device dm-11: state EA) in __btrfs_run_delayed_items:1182: errno=-5 IO failure
[40331.576792] BTRFS warning (device dm-11: state EA): Skipping commit of aborted transaction.
[40331.576795] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[40331.580290] BTRFS: error (device dm-11: state EA) in do_free_extent_accounting:2848: errno=-5 IO failure
[40331.580618] BTRFS: error (device dm-11: state EA) in btrfs_run_delayed_refs:2141: errno=-5 IO failure
[40334.426747] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[40334.426755] BTRFS info (device dm-11): use lzo compression, level 0
[40334.426758] BTRFS info (device dm-11): disk space caching is enabled
[40334.431390] BTRFS info (device dm-11): auto enabling async discard
[40334.431393] BTRFS info (device dm-11): start tree-log replay
[40334.433799] BTRFS warning (device dm-11): block group 30408704 has wrong amount of free space
[40334.433813] BTRFS warning (device dm-11): failed to load free space cache for block group 30408704, rebuilding it now
[40334.469484] loop0: detected capacity change from 0 to 6629376
[40334.500567] BTRFS info (device loop0): using crc32c (crc32c-intel) checksum algorithm
[40334.500574] BTRFS info (device loop0): disk space caching is enabled
[40334.504933] BTRFS info (device loop0): enabling ssd optimizations
[40334.504936] BTRFS info (device loop0): auto enabling async discard
[40334.504938] BTRFS info (device loop0): start tree-log replay
[40334.510791] ------------[ cut here ]------------
[40334.510859] WARNING: CPU: 1 PID: 1840353 at fs/btrfs/discard.c:604 btrfs_discard_update_discardable+0x98/0xb0
[40334.510868] 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 snd_hda_intel snd_intel_dspcfg iTCO_wdt iTCO_vendor_support intel_rapl_msr snd_hda_codec joydev snd_hwdep intel_rapl_common snd_hda_core virtio_balloon snd_pcm snd_timer snd i2c_i801 soundcore i2c_smbus lpc_ich zram ip_tables xfs crct10dif_pclmul crc32_pclmul crc32c_intel ghash_clmulni_intel serio_raw qemu_fw_cfg
[40334.510931] CPU: 1 PID: 1840353 Comm: kworker/u4:10 Tainted: G        W         5.19.0-rc8+ #786
[40334.510934] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.13.0-2.fc32 04/01/2014
[40334.510938] Workqueue: btrfs-cache btrfs_work_helper
[40334.510945] RIP: 0010:btrfs_discard_update_discardable+0x98/0xb0
[40334.510948] Code: 17 00 00 48 8b 83 80 00 00 00 48 89 83 88 00 00 00 5b 5d c3 cc cc cc cc 48 8d 7b 18 be ff ff ff ff e8 9c 98 7e 00 85 c0 75 ac <0f> 0b eb a8 c3 cc cc cc cc 66 66 2e 0f 1f 84 00 00 00 00 00 0f 1f
[40334.510950] RSP: 0018:ffffba8a46ebfad0 EFLAGS: 00010246
[40334.510953] RAX: 0000000000000000 RBX: ffff987dd2e9e600 RCX: 0000000000000001
[40334.510955] RDX: 0000000000000000 RSI: ffffffff90807c93 RDI: ffffffff908a825e
[40334.510957] RBP: ffff987dd2e38000 R08: 0000000000000000 R09: 000000008027001a
[40334.510958] R10: ffff987ccec47768 R11: 0000000000919500 R12: ffff987dc005c810
[40334.510960] R13: ffff987dd35af480 R14: ffff987dd2e38000 R15: ffff987dc4d0f5b0
[40334.510961] FS:  0000000000000000(0000) GS:ffff987e3bd00000(0000) knlGS:0000000000000000
[40334.510963] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[40334.510965] CR2: 00007fe033dec000 CR3: 0000000153c26005 CR4: 0000000000370ee0
[40334.510971] Call Trace:
[40334.510974]  
[40334.510978]  __btrfs_remove_free_space_cache+0x27/0x30
[40334.510983]  load_free_space_cache+0xad2/0xaf0
[40334.511044]  caching_thread+0x40b/0x650
[40334.511053]  ? lock_release+0x137/0x2d0
[40334.511060]  btrfs_work_helper+0xf2/0x3e0
[40334.511063]  ? lock_is_held_type+0xe2/0x140
[40334.511070]  process_one_work+0x271/0x590
[40334.511079]  ? process_one_work+0x590/0x590
[40334.511081]  worker_thread+0x52/0x3b0
[40334.511086]  ? process_one_work+0x590/0x590
[40334.511089]  kthread+0xf0/0x120
[40334.511091]  ? kthread_complete_and_exit+0x20/0x20
[40334.511096]  ret_from_fork+0x1f/0x30
[40334.511109]  
[40334.511113] irq event stamp: 15615571
[40334.511115] hardirqs last  enabled at (15615577): [] __up_console_sem+0x5e/0x70
[40334.511120] hardirqs last disabled at (15615582): [] __up_console_sem+0x43/0x70
[40334.511122] softirqs last  enabled at (15615498): [] __irq_exit_rcu+0xeb/0x160
[40334.511125] softirqs last disabled at (15615491): [] __irq_exit_rcu+0xeb/0x160
[40334.511127] ---[ end trace 0000000000000000 ]---
[40334.511130] BTRFS warning (device loop0): block group 298844160 has wrong amount of free space
[40334.511147] BTRFS warning (device loop0): failed to load free space cache for block group 298844160, rebuilding it now
[40336.662673] btrfs_dev_stat_inc_and_print: 60 callbacks suppressed
[40336.662678] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 1, rd 0, flush 0, corrupt 0, gen 0
[40336.662731] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[40336.662735] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 2, rd 0, flush 0, corrupt 0, gen 0
[40336.662746] BTRFS error (device dm-11): error writing primary super block to device 1
[40336.662749] BTRFS: error (device dm-11) in write_all_supers:4356: errno=-5 IO failure (1 errors while writing supers)
[40336.663223] BTRFS info (device dm-11: state E): forced readonly
[40336.663228] BTRFS: error (device dm-11: state EA) in btrfs_sync_log:3205: errno=-5 IO failure
[40336.663618] lo_write_bvec: 24 callbacks suppressed
[40336.663621] loop: Write error at byte offset 581009408, length 4096.
[40336.663626] loop: Write error at byte offset 577503232, length 4096.
[40336.663630] loop: Write error at byte offset 637927424, length 4096.
[40336.663637] blk_print_req_error: 26 callbacks suppressed
[40336.663639] I/O error, dev loop0, sector 1134784 op 0x1:(WRITE) flags 0x0 phys_seg 2 prio class 0
[40336.663644] BTRFS error (device loop0): bdev /dev/loop0 errs: wr 1, rd 0, flush 0, corrupt 0, gen 0
[40336.665088] BTRFS warning (device dm-11: state EA): Skipping commit of aborted transaction.
[40336.665092] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[40336.665800] I/O error, dev loop0, sector 0 op 0x1:(WRITE) flags 0x800 phys_seg 0 prio class 0
[40336.665813] I/O error, dev loop0, sector 1127936 op 0x1:(WRITE) flags 0x800 phys_seg 1 prio class 0
[40336.665817] BTRFS error (device loop0): bdev /dev/loop0 errs: wr 2, rd 0, flush 0, corrupt 0, gen 0
[40336.665837] I/O error, dev loop0, sector 1245952 op 0x1:(WRITE) flags 0x8800 phys_seg 13 prio class 2
[40336.665840] BTRFS error (device loop0): bdev /dev/loop0 errs: wr 3, rd 0, flush 0, corrupt 0, gen 0
[40336.665843] BTRFS warning (device loop0): direct IO failed ino 609 rw 1,34817 sector 0x130300 len 0 err no 10
[40336.670433] loop: Write error at byte offset 637927424, length 4096.
[40336.670444] I/O error, dev loop0, sector 1245952 op 0x1:(WRITE) flags 0x800 phys_seg 16 prio class 0
[40336.670448] BTRFS error (device loop0): bdev /dev/loop0 errs: wr 4, rd 0, flush 0, corrupt 0, gen 0
[40336.671278] loop: Write error at byte offset 16973824, length 4096.
[40336.671287] I/O error, dev loop0, sector 33152 op 0x1:(WRITE) flags 0x8800 phys_seg 1 prio class 2
[40336.671291] BTRFS error (device loop0): bdev /dev/loop0 errs: wr 5, rd 0, flush 0, corrupt 0, gen 0
[40336.671295] BTRFS warning (device loop0): direct IO failed ino 580 rw 1,34817 sector 0x8180 len 0 err no 10
[40336.671546] loop: Write error at byte offset 577503232, length 4096.
[40336.671555] I/O error, dev loop0, sector 1127936 op 0x1:(WRITE) flags 0x0 phys_seg 1 prio class 0
[40336.671559] BTRFS error (device loop0): bdev /dev/loop0 errs: wr 6, rd 0, flush 0, corrupt 0, gen 0
[40336.671562] BTRFS error (device loop0): bdev /dev/loop0 errs: wr 6, rd 0, flush 1, corrupt 0, gen 0
[40336.671574] BTRFS warning (device loop0): chunk 13631488 missing 1 devices, max tolerance is 0 for writable mount
[40336.671577] BTRFS: error (device loop0) in write_all_supers:4286: errno=-5 IO failure (errors while submitting device barriers.)
[40336.672094] BTRFS info (device loop0: state E): forced readonly
[40336.672098] BTRFS: error (device loop0: state EA) in btrfs_sync_log:3205: errno=-5 IO failure
[40336.672519] loop: Write error at byte offset 637992960, length 4096.
[40336.672530] I/O error, dev loop0, sector 1246080 op 0x1:(WRITE) flags 0x0 phys_seg 9 prio class 0
[40336.672535] BTRFS error (device loop0: state EA): bdev /dev/loop0 errs: wr 7, rd 0, flush 1, corrupt 0, gen 0
[40336.673733] loop: Write error at byte offset 637992960, length 4096.
[40336.673743] I/O error, dev loop0, sector 1246080 op 0x1:(WRITE) flags 0x800 phys_seg 4 prio class 0
[40336.674511] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[40336.674883] loop: Write error at byte offset 637992960, length 4096.
[40336.674892] I/O error, dev loop0, sector 1246080 op 0x1:(WRITE) flags 0x800 phys_seg 4 prio class 0
[40336.675652] loop: Write error at byte offset 577503232, length 4096.
[40339.250795] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[40339.250805] BTRFS info (device dm-11): use lzo compression, level 0
[40339.250808] BTRFS info (device dm-11): disk space caching is enabled
[40339.255065] BTRFS info (device dm-11): auto enabling async discard
[40339.255070] BTRFS info (device dm-11): start tree-log replay
[40339.256862] BTRFS warning (device dm-11): block group 30408704 has wrong amount of free space
[40339.256877] BTRFS warning (device dm-11): failed to load free space cache for block group 30408704, rebuilding it now
[40339.311352] loop0: detected capacity change from 0 to 6629376
[40339.356331] BTRFS info (device loop0): using crc32c (crc32c-intel) checksum algorithm
[40339.356338] BTRFS info (device loop0): disk space caching is enabled
[40339.360882] BTRFS info (device loop0): enabling ssd optimizations
[40339.360886] BTRFS info (device loop0): auto enabling async discard
[40339.360888] BTRFS info (device loop0): start tree-log replay
[40339.365040] BTRFS info (device loop0): the free space cache file (298844160) is invalid, skip it
[40340.462552] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[40340.462578] BTRFS error (device dm-11): error writing primary super block to device 1
[40340.462584] BTRFS: error (device dm-11) in write_all_supers:4356: errno=-5 IO failure (1 errors while writing supers)
[40340.463061] BTRFS info (device dm-11: state E): forced readonly
[40340.463066] BTRFS: error (device dm-11: state EA) in btrfs_sync_log:3205: errno=-5 IO failure
[40340.465408] BTRFS warning (device loop0): lost page write due to IO error on /dev/loop0 (-5)
[40340.467033] BTRFS error (device loop0): error writing primary super block to device 1
[40340.467037] BTRFS: error (device loop0) in write_all_supers:4356: errno=-5 IO failure (1 errors while writing supers)
[40340.467442] BTRFS info (device loop0: state E): forced readonly
[40340.467446] BTRFS: error (device loop0: state EA) in btrfs_sync_log:3205: errno=-5 IO failure
[40340.475189] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[40343.326640] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[40343.326649] BTRFS info (device dm-11): use lzo compression, level 0
[40343.326651] BTRFS info (device dm-11): disk space caching is enabled
[40343.331060] BTRFS info (device dm-11): auto enabling async discard
[40343.331065] BTRFS info (device dm-11): start tree-log replay
[40343.372775] loop0: detected capacity change from 0 to 6629376
[40343.429037] BTRFS info (device loop0): using crc32c (crc32c-intel) checksum algorithm
[40343.429045] BTRFS info (device loop0): disk space caching is enabled
[40343.435042] BTRFS info (device loop0): enabling ssd optimizations
[40343.435047] BTRFS info (device loop0): auto enabling async discard
[40343.494392] btrfs_dev_stat_inc_and_print: 25 callbacks suppressed
[40343.494397] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 0, rd 1, flush 0, corrupt 0, gen 0
[40343.494579] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 0, rd 2, flush 0, corrupt 0, gen 0
[40343.497434] blk_print_req_error: 22 callbacks suppressed
[40343.497436] I/O error, dev loop0, sector 78656 op 0x0:(READ) flags 0x1000 phys_seg 4 prio class 0
[40343.497442] BTRFS error (device loop0): bdev /dev/loop0 errs: wr 0, rd 1, flush 0, corrupt 0, gen 0
[40343.500203] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 0, rd 3, flush 0, corrupt 0, gen 0
[40343.501213] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 0, rd 4, flush 0, corrupt 0, gen 0
[40343.501408] I/O error, dev loop0, sector 602944 op 0x0:(READ) flags 0x1000 phys_seg 4 prio class 0
[40343.501414] BTRFS error (device loop0): bdev /dev/loop0 errs: wr 0, rd 2, flush 0, corrupt 0, gen 0
[40343.502448] BTRFS: error (device loop0: state A) in btrfs_finish_ordered_io:3318: errno=-5 IO failure
[40343.502960] BTRFS info (device loop0: state EA): forced readonly
[40343.504070] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 0, rd 5, flush 0, corrupt 0, gen 0
[40343.504951] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 0, rd 6, flush 0, corrupt 0, gen 0
[40343.505442] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 0, rd 7, flush 0, corrupt 0, gen 0
[40343.505455] I/O error, dev loop0, sector 86176 op 0x0:(READ) flags 0x1000 phys_seg 4 prio class 0
[40343.505459] BTRFS error (device loop0: state EA): bdev /dev/loop0 errs: wr 0, rd 3, flush 0, corrupt 0, gen 0
[40343.505547] I/O error, dev loop0, sector 78656 op 0x0:(READ) flags 0x1000 phys_seg 4 prio class 0
[40343.506752] I/O error, dev loop0, sector 78656 op 0x0:(READ) flags 0x1000 phys_seg 4 prio class 0
[40343.506836] I/O error, dev loop0, sector 610464 op 0x0:(READ) flags 0x1000 phys_seg 4 prio class 0
[40343.506885] I/O error, dev loop0, sector 602944 op 0x0:(READ) flags 0x1000 phys_seg 4 prio class 0
[40343.506993] I/O error, dev loop0, sector 78656 op 0x0:(READ) flags 0x1000 phys_seg 4 prio class 0
[40343.507012] BTRFS: error (device loop0: state EA) in btrfs_finish_ordered_io:3318: errno=-5 IO failure
[40343.507481] BTRFS: error (device loop0: state EA) in btrfs_finish_ordered_io:3318: errno=-5 IO failure
[40343.513397] I/O error, dev loop0, sector 86176 op 0x0:(READ) flags 0x1000 phys_seg 4 prio class 0
[40343.515803] I/O error, dev loop0, sector 610464 op 0x0:(READ) flags 0x1000 phys_seg 4 prio class 0
[40343.518507] BTRFS: error (device dm-11: state A) in do_free_extent_accounting:2848: errno=-5 IO failure
[40343.518893] BTRFS info (device dm-11: state EA): forced readonly
[40343.518898] BTRFS: error (device dm-11: state EA) in btrfs_run_delayed_refs:2141: errno=-5 IO failure
[40343.521595] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[40346.360520] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[40346.360530] BTRFS info (device dm-11): use lzo compression, level 0
[40346.360533] BTRFS info (device dm-11): disk space caching is enabled
[40346.364443] BTRFS info (device dm-11): auto enabling async discard
[40346.386462] loop0: detected capacity change from 0 to 6629376
[40346.436237] BTRFS info (device loop0): using crc32c (crc32c-intel) checksum algorithm
[40346.436245] BTRFS info (device loop0): disk space caching is enabled
[40346.440507] BTRFS info (device loop0): enabling ssd optimizations
[40346.440511] BTRFS info (device loop0): auto enabling async discard
[40348.535084] btrfs_dev_stat_inc_and_print: 64 callbacks suppressed
[40348.535088] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 1, rd 0, flush 0, corrupt 0, gen 0
[40348.535107] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 2, rd 0, flush 0, corrupt 0, gen 0
[40348.535119] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 3, rd 0, flush 0, corrupt 0, gen 0
[40348.535603] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 4, rd 0, flush 0, corrupt 0, gen 0
[40348.535956] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 5, rd 0, flush 0, corrupt 0, gen 0
[40348.536045] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 6, rd 0, flush 0, corrupt 0, gen 0
[40348.537908] blk_print_req_error: 34 callbacks suppressed
[40348.537910] I/O error, dev loop0, sector 128 op 0x1:(WRITE) flags 0x3800 phys_seg 1 prio class 0
[40348.537915] BTRFS warning (device loop0): lost page write due to IO error on /dev/loop0 (-5)
[40348.537918] BTRFS error (device loop0): bdev /dev/loop0 errs: wr 1, rd 0, flush 0, corrupt 0, gen 0
[40348.538112] BTRFS error (device loop0): error writing primary super block to device 1
[40348.538115] BTRFS: error (device loop0) in write_all_supers:4356: errno=-5 IO failure (1 errors while writing supers)
[40348.538520] BTRFS info (device loop0: state E): forced readonly
[40348.538529] BTRFS warning (device loop0: state E): Skipping commit of aborted transaction.
[40348.538532] BTRFS: error (device loop0: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[40348.541225] BTRFS: error (device loop0: state EA) in btrfs_sync_log:3194: errno=-5 IO failure
[40348.544819] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 7, rd 0, flush 0, corrupt 0, gen 0
[40348.544920] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 8, rd 0, flush 0, corrupt 0, gen 0
[40348.548095] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 9, rd 0, flush 0, corrupt 0, gen 0
[40348.550115] lo_write_bvec: 20 callbacks suppressed
[40348.550117] loop: Write error at byte offset 672833536, length 4096.
[40348.550126] I/O error, dev loop0, sector 1313768 op 0x1:(WRITE) flags 0x0 phys_seg 16 prio class 0
[40348.550146] loop: Write error at byte offset 666312704, length 4096.
[40348.550166] loop: Write error at byte offset 672919552, length 4096.
[40348.550224] I/O error, dev loop0, sector 1301392 op 0x1:(WRITE) flags 0x0 phys_seg 7 prio class 0
[40348.550257] I/O error, dev loop0, sector 1314296 op 0x1:(WRITE) flags 0x0 phys_seg 9 prio class 0
[40348.550702] loop: Write error at byte offset 672960512, length 4096.
[40348.550712] I/O error, dev loop0, sector 1314376 op 0x1:(WRITE) flags 0x0 phys_seg 13 prio class 0
[40348.550733] loop: Write error at byte offset 645951488, length 4096.
[40348.550744] I/O error, dev loop0, sector 1261624 op 0x1:(WRITE) flags 0x0 phys_seg 6 prio class 0
[40348.550780] loop: Write error at byte offset 673013760, length 4096.
[40348.550790] I/O error, dev loop0, sector 1314480 op 0x1:(WRITE) flags 0x0 phys_seg 12 prio class 0
[40348.551461] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[40348.571521] BTRFS: error (device dm-11: state A) in __btrfs_update_delayed_inode:1089: errno=-5 IO failure
[40348.572061] BTRFS info (device dm-11: state EA): forced readonly
[40348.574888] BTRFS: error (device dm-11: state EA) in __btrfs_run_delayed_items:1182: errno=-5 IO failure
[40348.575227] BTRFS warning (device dm-11: state EA): Skipping commit of aborted transaction.
[40348.575230] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[40348.577174] BTRFS: error (device dm-11: state EA) in do_free_extent_accounting:2848: errno=-5 IO failure
[40348.577555] BTRFS: error (device dm-11: state EA) in btrfs_run_delayed_refs:2141: errno=-5 IO failure
[40350.573963] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[40350.573971] BTRFS info (device dm-11): use lzo compression, level 0
[40350.573974] BTRFS info (device dm-11): disk space caching is enabled
[40350.578113] BTRFS info (device dm-11): auto enabling async discard
[40350.578117] BTRFS info (device dm-11): start tree-log replay
[40350.655566] loop0: detected capacity change from 0 to 6629376
[40350.713891] BTRFS info (device loop0): using crc32c (crc32c-intel) checksum algorithm
[40350.713898] BTRFS info (device loop0): disk space caching is enabled
[40350.719333] BTRFS info (device loop0): enabling ssd optimizations
[40350.719337] BTRFS info (device loop0): auto enabling async discard
[40350.719339] BTRFS info (device loop0): start tree-log replay
[40350.726074] BTRFS info (device loop0): the free space cache file (298844160) is invalid, skip it
[40350.859807] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[40350.859823] BTRFS error (device dm-11): error writing primary super block to device 1
[40350.859826] BTRFS: error (device dm-11) in write_all_supers:4356: errno=-5 IO failure (1 errors while writing supers)
[40350.860235] BTRFS info (device dm-11: state E): forced readonly
[40350.860240] BTRFS: error (device dm-11: state EA) in btrfs_sync_log:3205: errno=-5 IO failure
[40350.860652] I/O error, dev loop0, sector 0 op 0x1:(WRITE) flags 0x800 phys_seg 0 prio class 0
[40350.860712] BTRFS warning (device loop0): chunk 13631488 missing 1 devices, max tolerance is 0 for writable mount
[40350.860715] BTRFS: error (device loop0) in write_all_supers:4286: errno=-5 IO failure (errors while submitting device barriers.)
[40350.861186] BTRFS info (device loop0: state E): forced readonly
[40350.861191] BTRFS: error (device loop0: state EA) in btrfs_sync_log:3205: errno=-5 IO failure
[40350.862499] I/O error, dev loop0, sector 79008 op 0x0:(READ) flags 0x1000 phys_seg 4 prio class 0
[40350.862631] I/O error, dev loop0, sector 603296 op 0x0:(READ) flags 0x1000 phys_seg 4 prio class 0
[40350.873773] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[40353.531697] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[40353.531704] BTRFS info (device dm-11): use lzo compression, level 0
[40353.531707] BTRFS info (device dm-11): disk space caching is enabled
[40353.536131] BTRFS info (device dm-11): auto enabling async discard
[40353.536135] BTRFS info (device dm-11): start tree-log replay
[40353.596823] loop0: detected capacity change from 0 to 6629376
[40353.651669] BTRFS info (device loop0): using crc32c (crc32c-intel) checksum algorithm
[40353.651676] BTRFS info (device loop0): disk space caching is enabled
[40353.657270] BTRFS info (device loop0): enabling ssd optimizations
[40353.657274] BTRFS info (device loop0): auto enabling async discard
[40354.681495] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[40354.681502] btrfs_dev_stat_inc_and_print: 87 callbacks suppressed
[40354.681503] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 1, rd 0, flush 0, corrupt 0, gen 0
[40354.681513] BTRFS error (device dm-11): error writing primary super block to device 1
[40354.681515] BTRFS: error (device dm-11) in write_all_supers:4356: errno=-5 IO failure (1 errors while writing supers)
[40354.681922] BTRFS info (device dm-11: state E): forced readonly
[40354.681926] BTRFS: error (device dm-11: state EA) in btrfs_sync_log:3205: errno=-5 IO failure
[40354.682238] loop: Write error at byte offset 18563072, length 4096.
[40354.682243] loop: Write error at byte offset 678969344, length 4096.
[40354.682246] loop: Write error at byte offset 678895616, length 4096.
[40354.682247] blk_print_req_error: 24 callbacks suppressed
[40354.682251] I/O error, dev loop0, sector 36256 op 0x1:(WRITE) flags 0x800 phys_seg 1 prio class 0
[40354.682257] BTRFS error (device loop0): bdev /dev/loop0 errs: wr 1, rd 0, flush 0, corrupt 0, gen 0
[40354.682261] I/O error, dev loop0, sector 0 op 0x1:(WRITE) flags 0x800 phys_seg 0 prio class 0
[40354.682277] I/O error, dev loop0, sector 1326112 op 0x1:(WRITE) flags 0x8800 phys_seg 4 prio class 2
[40354.682281] BTRFS error (device loop0): bdev /dev/loop0 errs: wr 2, rd 0, flush 0, corrupt 0, gen 0
[40354.682283] BTRFS warning (device loop0): direct IO failed ino 715 rw 1,34817 sector 0x143c20 len 0 err no 10
[40354.682294] I/O error, dev loop0, sector 1325968 op 0x1:(WRITE) flags 0x800 phys_seg 11 prio class 0
[40354.682297] BTRFS error (device loop0): bdev /dev/loop0 errs: wr 3, rd 0, flush 0, corrupt 0, gen 0
[40354.683126] BTRFS error (device loop0): bdev /dev/loop0 errs: wr 3, rd 0, flush 1, corrupt 0, gen 0
[40354.683131] BTRFS warning (device loop0): chunk 13631488 missing 1 devices, max tolerance is 0 for writable mount
[40354.683134] BTRFS: error (device loop0) in write_all_supers:4286: errno=-5 IO failure (errors while submitting device barriers.)
[40354.683540] BTRFS info (device loop0: state E): forced readonly
[40354.683544] BTRFS: error (device loop0: state EA) in btrfs_sync_log:3205: errno=-5 IO failure
[40354.686149] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 1, rd 1, flush 0, corrupt 0, gen 0
[40354.689154] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 1, rd 2, flush 0, corrupt 0, gen 0
[40354.689347] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 1, rd 3, flush 0, corrupt 0, gen 0
[40354.689363] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 1, rd 4, flush 0, corrupt 0, gen 0
[40354.689375] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 1, rd 5, flush 0, corrupt 0, gen 0
[40354.689947] loop: Write error at byte offset 678895616, length 4096.
[40354.689953] loop: Write error at byte offset 678998016, length 4096.
[40354.689955] loop: Write error at byte offset 592949248, length 4096.
[40354.689957] loop: Write error at byte offset 679243776, length 4096.
[40354.689980] I/O error, dev loop0, sector 1325968 op 0x1:(WRITE) flags 0x0 phys_seg 14 prio class 0
[40354.690022] I/O error, dev loop0, sector 1326168 op 0x1:(WRITE) flags 0x0 phys_seg 31 prio class 0
[40354.690094] I/O error, dev loop0, sector 1158104 op 0x1:(WRITE) flags 0x0 phys_seg 1 prio class 0
[40354.690102] I/O error, dev loop0, sector 1326648 op 0x1:(WRITE) flags 0x0 phys_seg 16 prio class 0
[40354.691207] loop: Write error at byte offset 18931712, length 4096.
[40354.691213] loop: Write error at byte offset 679366656, length 4096.
[40354.691295] I/O error, dev loop0, sector 36976 op 0x1:(WRITE) flags 0x0 phys_seg 1 prio class 0
[40354.691306] I/O error, dev loop0, sector 1326888 op 0x1:(WRITE) flags 0x0 phys_seg 17 prio class 0
[40354.693716] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[40357.403157] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[40357.403165] BTRFS info (device dm-11): use lzo compression, level 0
[40357.403167] BTRFS info (device dm-11): disk space caching is enabled
[40357.407069] BTRFS info (device dm-11): auto enabling async discard
[40357.407073] BTRFS info (device dm-11): start tree-log replay
[40357.486015] loop0: detected capacity change from 0 to 6629376
[40357.543668] BTRFS info (device loop0): using crc32c (crc32c-intel) checksum algorithm
[40357.543674] BTRFS info (device loop0): disk space caching is enabled
[40357.549404] BTRFS info (device loop0): enabling ssd optimizations
[40357.549407] BTRFS info (device loop0): auto enabling async discard
[40357.549409] BTRFS info (device loop0): start tree-log replay
[40357.625977] BTRFS info (device loop0): checking UUID tree
[40357.685063] loop: Write error at byte offset 39763968, length 4096.
[40357.688819] BTRFS: error (device dm-11: state A) in __btrfs_run_delayed_items:1182: errno=-5 IO failure
[40357.689165] BTRFS info (device dm-11: state EA): forced readonly
[40357.689169] BTRFS warning (device dm-11: state EA): Skipping commit of aborted transaction.
[40357.689172] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[40357.694102] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[40357.712577] BTRFS: error (device loop0: state A) in do_free_extent_accounting:2848: errno=-5 IO failure
[40357.712940] BTRFS info (device loop0: state EA): forced readonly
[40357.712944] BTRFS: error (device loop0: state EA) in btrfs_run_delayed_refs:2141: errno=-5 IO failure
[40360.435248] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[40360.435256] BTRFS info (device dm-11): use lzo compression, level 0
[40360.435259] BTRFS info (device dm-11): disk space caching is enabled
[40360.438836] BTRFS info (device dm-11): auto enabling async discard
[40360.438839] BTRFS info (device dm-11): start tree-log replay
[40360.574446] loop0: detected capacity change from 0 to 6629376
[40360.636782] BTRFS info (device loop0): using crc32c (crc32c-intel) checksum algorithm
[40360.636789] BTRFS info (device loop0): disk space caching is enabled
[40360.642179] BTRFS info (device loop0): enabling ssd optimizations
[40360.642183] BTRFS info (device loop0): auto enabling async discard
[40360.646054] BTRFS info (device loop0): checking UUID tree
[40361.686200] btrfs_dev_stat_inc_and_print: 85 callbacks suppressed
[40361.686204] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 1, rd 0, flush 0, corrupt 0, gen 0
[40361.686482] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 2, rd 0, flush 0, corrupt 0, gen 0
[40361.686675] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 3, rd 0, flush 0, corrupt 0, gen 0
[40361.687532] blk_print_req_error: 17 callbacks suppressed
[40361.687534] I/O error, dev loop0, sector 128 op 0x1:(WRITE) flags 0x3800 phys_seg 1 prio class 0
[40361.687539] BTRFS warning (device loop0): lost page write due to IO error on /dev/loop0 (-5)
[40361.687542] BTRFS error (device loop0): bdev /dev/loop0 errs: wr 1, rd 0, flush 0, corrupt 0, gen 0
[40361.687557] BTRFS error (device loop0): error writing primary super block to device 1
[40361.687559] BTRFS: error (device loop0) in write_all_supers:4356: errno=-5 IO failure (1 errors while writing supers)
[40361.687980] BTRFS info (device loop0: state E): forced readonly
[40361.687986] BTRFS: error (device loop0: state EA) in btrfs_sync_log:3205: errno=-5 IO failure
[40361.689898] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[40361.693028] BTRFS warning (device loop0: state EA): Skipping commit of aborted transaction.
[40361.693035] BTRFS: error (device loop0: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[40361.699147] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 4, rd 0, flush 0, corrupt 0, gen 0
[40361.699702] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 5, rd 0, flush 0, corrupt 0, gen 0
[40361.699911] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 6, rd 0, flush 0, corrupt 0, gen 0
[40361.699917] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 7, rd 0, flush 0, corrupt 0, gen 0
[40361.700206] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 8, rd 0, flush 0, corrupt 0, gen 0
[40361.700212] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 9, rd 0, flush 0, corrupt 0, gen 0
[40361.708544] BTRFS: error (device dm-11: state A) in btrfs_run_delayed_refs:2141: errno=-5 IO failure
[40361.708926] BTRFS info (device dm-11: state EA): forced readonly
[40364.643126] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[40364.643134] BTRFS info (device dm-11): use lzo compression, level 0
[40364.643137] BTRFS info (device dm-11): disk space caching is enabled
[40364.646463] BTRFS info (device dm-11): auto enabling async discard
[40364.646467] BTRFS info (device dm-11): start tree-log replay
[40364.648247] BTRFS warning (device dm-11): block group 30408704 has wrong amount of free space
[40364.648261] BTRFS warning (device dm-11): failed to load free space cache for block group 30408704, rebuilding it now
[40364.749554] loop0: detected capacity change from 0 to 6629376
[40364.813519] BTRFS info (device loop0): using crc32c (crc32c-intel) checksum algorithm
[40364.813525] BTRFS info (device loop0): disk space caching is enabled
[40364.818375] BTRFS info (device loop0): enabling ssd optimizations
[40364.818378] BTRFS info (device loop0): auto enabling async discard
[40364.818380] BTRFS info (device loop0): start tree-log replay
[40364.822928] BTRFS info (device loop0): the free space cache file (298844160) is invalid, skip it
[40364.938834] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[40364.963869] BTRFS: error (device dm-11) in btrfs_commit_transaction:2496: errno=-5 IO failure (Error while writing out transaction)
[40364.964338] BTRFS info (device dm-11: state E): forced readonly
[40364.964342] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[40364.964345] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[40364.966600] lo_write_bvec: 12 callbacks suppressed
[40364.966603] loop: Write error at byte offset 17424384, length 4096.
[40364.966615] I/O error, dev loop0, sector 34032 op 0x1:(WRITE) flags 0x800 phys_seg 12 prio class 0
[40364.967384] loop: Write error at byte offset 307855360, length 4096.
[40364.967391] loop: Write error at byte offset 39419904, length 4096.
[40364.967393] loop: Write error at byte offset 307724288, length 4096.
[40364.967395] loop: Write error at byte offset 39288832, length 4096.
[40364.967400] I/O error, dev loop0, sector 601280 op 0x1:(WRITE) flags 0x1800 phys_seg 8 prio class 0
[40364.967405] I/O error, dev loop0, sector 76992 op 0x1:(WRITE) flags 0x1800 phys_seg 8 prio class 0
[40364.967417] I/O error, dev loop0, sector 601024 op 0x1:(WRITE) flags 0x1800 phys_seg 28 prio class 0
[40364.967420] I/O error, dev loop0, sector 76736 op 0x1:(WRITE) flags 0x1800 phys_seg 28 prio class 0
[40364.967458] BTRFS: error (device loop0) in btrfs_commit_transaction:2496: errno=-5 IO failure (Error while writing out transaction)
[40364.968011] BTRFS info (device loop0: state E): forced readonly
[40364.968016] BTRFS warning (device loop0: state E): Skipping commit of aborted transaction.
[40364.968018] BTRFS: error (device loop0: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[40367.757542] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[40367.757550] BTRFS info (device dm-11): use lzo compression, level 0
[40367.757552] BTRFS info (device dm-11): disk space caching is enabled
[40367.761168] BTRFS info (device dm-11): auto enabling async discard
[40367.761172] BTRFS info (device dm-11): start tree-log replay
[40367.861411] loop0: detected capacity change from 0 to 6629376
[40367.922134] BTRFS info (device loop0): using crc32c (crc32c-intel) checksum algorithm
[40367.922141] BTRFS info (device loop0): disk space caching is enabled
[40367.927170] BTRFS info (device loop0): enabling ssd optimizations
[40367.927173] BTRFS info (device loop0): auto enabling async discard
[40367.961771] btrfs_dev_stat_inc_and_print: 28 callbacks suppressed
[40367.961775] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 0, rd 1, flush 0, corrupt 0, gen 0
[40367.961788] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 1, rd 1, flush 0, corrupt 0, gen 0
[40367.961793] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 2, rd 1, flush 0, corrupt 0, gen 0
[40367.961815] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 3, rd 1, flush 0, corrupt 0, gen 0
[40367.961819] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 4, rd 1, flush 0, corrupt 0, gen 0
[40367.961828] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 5, rd 1, flush 0, corrupt 0, gen 0
[40367.961832] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 6, rd 1, flush 0, corrupt 0, gen 0
[40367.961863] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 7, rd 1, flush 0, corrupt 0, gen 0
[40367.961867] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 8, rd 1, flush 0, corrupt 0, gen 0
[40367.961890] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 9, rd 1, flush 0, corrupt 0, gen 0
[40367.961960] I/O error, dev loop0, sector 79616 op 0x0:(READ) flags 0x1000 phys_seg 4 prio class 0
[40367.962093] I/O error, dev loop0, sector 603904 op 0x0:(READ) flags 0x1000 phys_seg 4 prio class 0
[40367.962335] I/O error, dev loop0, sector 79616 op 0x0:(READ) flags 0x1000 phys_seg 4 prio class 0
[40367.962395] I/O error, dev loop0, sector 603904 op 0x0:(READ) flags 0x1000 phys_seg 4 prio class 0
[40367.963069] loop: Write error at byte offset 39157760, length 4096.
[40367.963094] loop: Write error at byte offset 307593216, length 4096.
[40367.963100] I/O error, dev loop0, sector 76480 op 0x1:(WRITE) flags 0x1800 phys_seg 12 prio class 0
[40367.963106] I/O error, dev loop0, sector 600768 op 0x1:(WRITE) flags 0x1800 phys_seg 12 prio class 0
[40367.970970] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[40367.984865] BTRFS: error (device dm-11: state A) in btrfs_run_delayed_refs:2141: errno=-5 IO failure
[40367.985207] BTRFS info (device dm-11: state EA): forced readonly
[40367.986857] BTRFS: error (device loop0: state A) in __btrfs_run_delayed_items:1182: errno=-5 IO failure
[40367.987197] BTRFS info (device loop0: state EA): forced readonly
[40367.987200] BTRFS warning (device loop0: state EA): Skipping commit of aborted transaction.
[40367.987203] BTRFS: error (device loop0: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[40367.988855] I/O error, dev loop0, sector 76256 op 0x0:(READ) flags 0x1000 phys_seg 4 prio class 0
[40367.988867] I/O error, dev loop0, sector 33904 op 0x0:(READ) flags 0x80700 phys_seg 16 prio class 0
[40367.989431] I/O error, dev loop0, sector 33904 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 0
[40367.990135] BTRFS error (device loop0: state EA): error reading free space cache
[40367.990185] BTRFS warning (device loop0: state EA): failed to load free space cache for block group 298844160, rebuilding it now
[40367.990642] I/O error, dev loop0, sector 79360 op 0x0:(READ) flags 0x1000 phys_seg 4 prio class 0
[40367.990962] loop: Write error at byte offset 17424384, length 4096.
[40367.991785] loop: Write error at byte offset 17424384, length 4096.
[40370.796970] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[40370.796979] BTRFS info (device dm-11): use lzo compression, level 0
[40370.796981] BTRFS info (device dm-11): disk space caching is enabled
[40370.800585] BTRFS info (device dm-11): auto enabling async discard
[40370.821395] loop0: detected capacity change from 0 to 6629376
[40370.847395] BTRFS info (device loop0): using crc32c (crc32c-intel) checksum algorithm
[40370.847401] BTRFS info (device loop0): disk space caching is enabled
[40370.889879] BTRFS info (device loop0): enabling ssd optimizations
[40370.889884] BTRFS info (device loop0): auto enabling async discard
[40371.968056] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[40371.968077] BTRFS error (device dm-11): error writing primary super block to device 1
[40371.968081] BTRFS: error (device dm-11) in write_all_supers:4356: errno=-5 IO failure (1 errors while writing supers)
[40371.968483] BTRFS info (device dm-11: state E): forced readonly
[40371.968488] BTRFS: error (device dm-11: state EA) in btrfs_sync_log:3205: errno=-5 IO failure
[40371.968882] loop: Write error at byte offset 692330496, length 4096.
[40371.968944] loop: Write error at byte offset 696086528, length 4096.
[40371.968947] loop: Write error at byte offset 16580608, length 4096.
[40371.968949] loop: Write error at byte offset 575922176, length 4096.
[40371.968951] loop: Write error at byte offset 696266752, length 4096.
[40371.968953] loop: Write error at byte offset 696385536, length 4096.
[40371.968955] loop: Write error at byte offset 696619008, length 4096.
[40371.968957] loop: Write error at byte offset 576753664, length 4096.
[40371.968959] loop: Write error at byte offset 576757760, length 4096.
[40371.968961] loop: Write error at byte offset 696754176, length 4096.
[40371.969279] BTRFS warning (device loop0): chunk 13631488 missing 1 devices, max tolerance is 0 for writable mount
[40371.969285] BTRFS: error (device loop0) in write_all_supers:4286: errno=-5 IO failure (errors while submitting device barriers.)
[40371.969766] BTRFS info (device loop0: state E): forced readonly
[40371.969771] BTRFS: error (device loop0: state EA) in btrfs_sync_log:3205: errno=-5 IO failure
[40371.984754] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[40374.920621] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[40374.920629] BTRFS info (device dm-11): use lzo compression, level 0
[40374.920631] BTRFS info (device dm-11): disk space caching is enabled
[40374.924187] BTRFS info (device dm-11): auto enabling async discard
[40374.924191] BTRFS info (device dm-11): start tree-log replay
[40374.988885] loop0: detected capacity change from 0 to 6629376
[40375.063306] BTRFS info (device loop0): using crc32c (crc32c-intel) checksum algorithm
[40375.063313] BTRFS info (device loop0): disk space caching is enabled
[40375.071361] BTRFS info (device loop0): enabling ssd optimizations
[40375.071365] BTRFS info (device loop0): auto enabling async discard
[40377.159716] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[40377.159726] btrfs_dev_stat_inc_and_print: 40 callbacks suppressed
[40377.159729] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 1, rd 0, flush 0, corrupt 0, gen 0
[40377.159764] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[40377.159768] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 2, rd 0, flush 0, corrupt 0, gen 0
[40377.159780] BTRFS error (device dm-11): error writing primary super block to device 1
[40377.159784] BTRFS: error (device dm-11) in write_all_supers:4356: errno=-5 IO failure (1 errors while writing supers)
[40377.160383] BTRFS info (device dm-11: state E): forced readonly
[40377.160400] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[40377.160406] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[40377.160432] BTRFS: error (device dm-11: state EA) in btrfs_sync_log:3194: errno=-5 IO failure
[40377.161741] blk_print_req_error: 27 callbacks suppressed
[40377.161744] I/O error, dev loop0, sector 0 op 0x1:(WRITE) flags 0x800 phys_seg 0 prio class 0
[40377.163723] BTRFS error (device loop0): bdev /dev/loop0 errs: wr 0, rd 0, flush 1, corrupt 0, gen 0
[40377.163736] BTRFS warning (device loop0): chunk 13631488 missing 1 devices, max tolerance is 0 for writable mount
[40377.163743] BTRFS: error (device loop0) in write_all_supers:4286: errno=-5 IO failure (errors while submitting device barriers.)
[40377.164693] BTRFS info (device loop0: state E): forced readonly
[40377.164701] BTRFS: error (device loop0: state EA) in btrfs_sync_log:3205: errno=-5 IO failure
[40377.178171] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[40379.229043] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[40379.229055] BTRFS info (device dm-11): use lzo compression, level 0
[40379.229059] BTRFS info (device dm-11): disk space caching is enabled
[40379.234509] BTRFS info (device dm-11): auto enabling async discard
[40379.234515] BTRFS info (device dm-11): start tree-log replay
[40379.292166] loop0: detected capacity change from 0 to 6629376
[40379.367722] BTRFS info (device loop0): using crc32c (crc32c-intel) checksum algorithm
[40379.367728] BTRFS info (device loop0): disk space caching is enabled
[40379.373479] BTRFS info (device loop0): enabling ssd optimizations
[40379.373484] BTRFS info (device loop0): auto enabling async discard
[40379.373486] BTRFS info (device loop0): start tree-log replay
[40380.527775] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[40380.527782] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 1, rd 0, flush 0, corrupt 0, gen 0
[40380.527798] BTRFS error (device dm-11): error writing primary super block to device 1
[40380.527803] BTRFS: error (device dm-11) in write_all_supers:4356: errno=-5 IO failure (1 errors while writing supers)
[40380.528197] BTRFS info (device dm-11: state E): forced readonly
[40380.528202] BTRFS: error (device dm-11: state EA) in btrfs_sync_log:3205: errno=-5 IO failure
[40380.528537] lo_write_bvec: 13 callbacks suppressed
[40380.528539] loop: Write error at byte offset 40435712, length 4096.
[40380.528544] loop: Write error at byte offset 308871168, length 4096.
[40380.528546] loop: Write error at byte offset 40468480, length 4096.
[40380.528548] loop: Write error at byte offset 308903936, length 4096.
[40380.528551] loop: Write error at byte offset 40583168, length 4096.
[40380.528553] loop: Write error at byte offset 309018624, length 4096.
[40380.528555] loop: Write error at byte offset 730574848, length 4096.
[40380.528557] loop: Write error at byte offset 730705920, length 4096.
[40380.528561] loop: Write error at byte offset 711630848, length 4096.
[40380.528559] I/O error, dev loop0, sector 78976 op 0x1:(WRITE) flags 0x1800 phys_seg 3 prio class 0
[40380.528570] BTRFS error (device loop0): bdev /dev/loop0 errs: wr 1, rd 0, flush 0, corrupt 0, gen 0
[40380.528576] I/O error, dev loop0, sector 603264 op 0x1:(WRITE) flags 0x1800 phys_seg 3 prio class 0
[40380.528579] BTRFS error (device loop0): bdev /dev/loop0 errs: wr 2, rd 0, flush 0, corrupt 0, gen 0
[40380.528581] I/O error, dev loop0, sector 0 op 0x1:(WRITE) flags 0x800 phys_seg 0 prio class 0
[40380.528593] I/O error, dev loop0, sector 79040 op 0x1:(WRITE) flags 0x1800 phys_seg 16 prio class 0
[40380.528596] BTRFS error (device loop0): bdev /dev/loop0 errs: wr 3, rd 0, flush 0, corrupt 0, gen 0
[40380.528599] I/O error, dev loop0, sector 603328 op 0x1:(WRITE) flags 0x1800 phys_seg 16 prio class 0
[40380.528601] BTRFS error (device loop0): bdev /dev/loop0 errs: wr 4, rd 0, flush 0, corrupt 0, gen 0
[40380.528636] I/O error, dev loop0, sector 79264 op 0x1:(WRITE) flags 0x1800 phys_seg 8 prio class 0
[40380.528639] BTRFS error (device loop0): bdev /dev/loop0 errs: wr 5, rd 0, flush 0, corrupt 0, gen 0
[40380.528641] I/O error, dev loop0, sector 603552 op 0x1:(WRITE) flags 0x1800 phys_seg 8 prio class 0
[40380.528643] BTRFS error (device loop0): bdev /dev/loop0 errs: wr 6, rd 0, flush 0, corrupt 0, gen 0
[40380.528662] I/O error, dev loop0, sector 1426904 op 0x1:(WRITE) flags 0x800 phys_seg 18 prio class 0
[40380.528722] I/O error, dev loop0, sector 1427160 op 0x1:(WRITE) flags 0x800 phys_seg 11 prio class 0
[40380.534816] loop: Write error at byte offset 712810496, length 4096.
[40380.535222] BTRFS warning (device loop0): chunk 13631488 missing 1 devices, max tolerance is 0 for writable mount
[40380.535226] BTRFS: error (device loop0) in write_all_supers:4286: errno=-5 IO failure (errors while submitting device barriers.)
[40380.535656] BTRFS info (device loop0: state E): forced readonly
[40380.535660] BTRFS: error (device loop0: state EA) in btrfs_sync_log:3205: errno=-5 IO failure
[40380.535722] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[40383.503104] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[40383.503119] BTRFS info (device dm-11): use lzo compression, level 0
[40383.503122] BTRFS info (device dm-11): disk space caching is enabled
[40383.506217] BTRFS info (device dm-11): auto enabling async discard
[40383.506221] BTRFS info (device dm-11): start tree-log replay
[40383.575315] loop0: detected capacity change from 0 to 6629376
[40383.653035] BTRFS info (device loop0): using crc32c (crc32c-intel) checksum algorithm
[40383.653042] BTRFS info (device loop0): disk space caching is enabled
[40383.658767] BTRFS info (device loop0): enabling ssd optimizations
[40383.658771] BTRFS info (device loop0): auto enabling async discard
[40383.675566] BTRFS warning (device loop0): block group 30408704 has wrong amount of free space
[40383.675594] BTRFS warning (device loop0): failed to load free space cache for block group 30408704, rebuilding it now
[40384.709050] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[40384.718501] btrfs_dev_stat_inc_and_print: 492 callbacks suppressed
[40384.718504] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 1, rd 0, flush 0, corrupt 0, gen 0
[40384.719124] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 2, rd 0, flush 0, corrupt 0, gen 0
[40384.719761] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 3, rd 0, flush 0, corrupt 0, gen 0
[40384.720504] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 4, rd 0, flush 0, corrupt 0, gen 0
[40384.720616] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 5, rd 0, flush 0, corrupt 0, gen 0
[40384.720749] blk_print_req_error: 244 callbacks suppressed
[40384.720751] I/O error, dev loop0, sector 128 op 0x1:(WRITE) flags 0x3800 phys_seg 1 prio class 0
[40384.720756] BTRFS warning (device loop0): lost page write due to IO error on /dev/loop0 (-5)
[40384.720759] BTRFS error (device loop0): bdev /dev/loop0 errs: wr 1, rd 0, flush 0, corrupt 0, gen 0
[40384.722211] BTRFS error (device loop0): error writing primary super block to device 1
[40384.722215] BTRFS: error (device loop0) in write_all_supers:4356: errno=-5 IO failure (1 errors while writing supers)
[40384.722642] BTRFS info (device loop0: state E): forced readonly
[40384.722646] BTRFS: error (device loop0: state EA) in btrfs_sync_log:3205: errno=-5 IO failure
[40384.725469] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 5, rd 1, flush 0, corrupt 0, gen 0
[40384.725512] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 5, rd 2, flush 0, corrupt 0, gen 0
[40384.726103] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 5, rd 3, flush 0, corrupt 0, gen 0
[40384.726157] I/O error, dev loop0, sector 79584 op 0x0:(READ) flags 0x1000 phys_seg 2 prio class 0
[40384.726162] BTRFS error (device loop0: state EA): bdev /dev/loop0 errs: wr 1, rd 1, flush 0, corrupt 0, gen 0
[40384.729761] I/O error, dev loop0, sector 1444040 op 0x1:(WRITE) flags 0x0 phys_seg 43 prio class 0
[40384.729857] I/O error, dev loop0, sector 1444384 op 0x1:(WRITE) flags 0x0 phys_seg 7 prio class 0
[40384.729941] I/O error, dev loop0, sector 1444904 op 0x1:(WRITE) flags 0x0 phys_seg 17 prio class 0
[40384.729980] I/O error, dev loop0, sector 1445040 op 0x1:(WRITE) flags 0x0 phys_seg 4 prio class 0
[40384.730760] I/O error, dev loop0, sector 1443824 op 0x1:(WRITE) flags 0x0 phys_seg 15 prio class 0
[40384.730805] I/O error, dev loop0, sector 1444472 op 0x1:(WRITE) flags 0x0 phys_seg 13 prio class 0
[40384.730836] I/O error, dev loop0, sector 1444672 op 0x1:(WRITE) flags 0x0 phys_seg 6 prio class 0
[40384.730854] I/O error, dev loop0, sector 1444768 op 0x1:(WRITE) flags 0x0 phys_seg 9 prio class 0
[40384.742019] BTRFS: error (device dm-11: state A) in btrfs_run_delayed_refs:2141: errno=-5 IO failure
[40384.742397] BTRFS info (device dm-11: state EA): forced readonly
[40387.670716] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[40387.670724] BTRFS info (device dm-11): use lzo compression, level 0
[40387.670727] BTRFS info (device dm-11): disk space caching is enabled
[40387.674571] BTRFS info (device dm-11): auto enabling async discard
[40387.674575] BTRFS info (device dm-11): start tree-log replay
[40387.681845] BTRFS info (device dm-11): the free space cache file (298844160) is invalid, skip it
[40387.815696] loop0: detected capacity change from 0 to 6629376
[40387.888018] BTRFS info (device loop0): using crc32c (crc32c-intel) checksum algorithm
[40387.888025] BTRFS info (device loop0): disk space caching is enabled
[40387.892761] BTRFS info (device loop0): enabling ssd optimizations
[40387.892766] BTRFS info (device loop0): auto enabling async discard
[40387.892768] BTRFS info (device loop0): start tree-log replay
[40387.898270] ------------[ cut here ]------------
[40387.898338] WARNING: CPU: 1 PID: 1851537 at fs/btrfs/discard.c:604 btrfs_discard_update_discardable+0x98/0xb0
[40387.898344] 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 snd_hda_intel snd_intel_dspcfg iTCO_wdt iTCO_vendor_support intel_rapl_msr snd_hda_codec joydev snd_hwdep intel_rapl_common snd_hda_core virtio_balloon snd_pcm snd_timer snd i2c_i801 soundcore i2c_smbus lpc_ich zram ip_tables xfs crct10dif_pclmul crc32_pclmul crc32c_intel ghash_clmulni_intel serio_raw qemu_fw_cfg
[40387.898407] CPU: 1 PID: 1851537 Comm: kworker/u4:11 Tainted: G        W         5.19.0-rc8+ #786
[40387.898409] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.13.0-2.fc32 04/01/2014
[40387.898411] Workqueue: btrfs-cache btrfs_work_helper
[40387.898416] RIP: 0010:btrfs_discard_update_discardable+0x98/0xb0
[40387.898418] Code: 17 00 00 48 8b 83 80 00 00 00 48 89 83 88 00 00 00 5b 5d c3 cc cc cc cc 48 8d 7b 18 be ff ff ff ff e8 9c 98 7e 00 85 c0 75 ac <0f> 0b eb a8 c3 cc cc cc cc 66 66 2e 0f 1f 84 00 00 00 00 00 0f 1f
[40387.898421] RSP: 0018:ffffba8a46203ad0 EFLAGS: 00010246
[40387.898424] RAX: 0000000000000000 RBX: ffff987dcd22f400 RCX: 0000000000000001
[40387.898426] RDX: 0000000000000000 RSI: ffffffff90807c93 RDI: ffffffff908a825e
[40387.898427] RBP: ffff987de94f8000 R08: 0000000000000000 R09: 0000000000001000
[40387.898429] R10: 00000000000529a2 R11: 0000000000921000 R12: ffff987dd5eb4010
[40387.898430] R13: ffff987e260e3350 R14: ffff987de94f8000 R15: ffff987dc39c05b0
[40387.898432] FS:  0000000000000000(0000) GS:ffff987e3bd00000(0000) knlGS:0000000000000000
[40387.898434] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[40387.898436] CR2: 00007f8e9572ede0 CR3: 000000013a9f2005 CR4: 0000000000370ee0
[40387.898463] Call Trace:
[40387.898465]  
[40387.898469]  __btrfs_remove_free_space_cache+0x27/0x30
[40387.898474]  load_free_space_cache+0xad2/0xaf0
[40387.898513]  caching_thread+0x40b/0x650
[40387.898522]  ? lock_release+0x137/0x2d0
[40387.898529]  btrfs_work_helper+0xf2/0x3e0
[40387.898532]  ? lock_is_held_type+0xe2/0x140
[40387.898538]  process_one_work+0x271/0x590
[40387.898547]  ? process_one_work+0x590/0x590
[40387.898550]  worker_thread+0x52/0x3b0
[40387.898554]  ? process_one_work+0x590/0x590
[40387.898557]  kthread+0xf0/0x120
[40387.898560]  ? kthread_complete_and_exit+0x20/0x20
[40387.898564]  ret_from_fork+0x1f/0x30
[40387.898577]  
[40387.898579] irq event stamp: 1772803
[40387.898580] hardirqs last  enabled at (1772809): [] __up_console_sem+0x5e/0x70
[40387.898583] hardirqs last disabled at (1772814): [] __up_console_sem+0x43/0x70
[40387.898585] softirqs last  enabled at (1772706): [] __irq_exit_rcu+0xeb/0x160
[40387.898588] softirqs last disabled at (1772699): [] __irq_exit_rcu+0xeb/0x160
[40387.898590] ---[ end trace 0000000000000000 ]---
[40387.898593] BTRFS warning (device loop0): block group 298844160 has wrong amount of free space
[40387.898610] BTRFS warning (device loop0): failed to load free space cache for block group 298844160, rebuilding it now
[40388.114563] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[40388.114635] BTRFS error (device dm-11): error writing primary super block to device 1
[40388.114640] BTRFS: error (device dm-11) in write_all_supers:4356: errno=-5 IO failure (1 errors while writing supers)
[40388.115075] BTRFS info (device dm-11: state E): forced readonly
[40388.115080] BTRFS: error (device dm-11: state EA) in btrfs_sync_log:3205: errno=-5 IO failure
[40388.115497] lo_write_bvec: 12 callbacks suppressed
[40388.115499] loop: Write error at byte offset 39190528, length 4096.
[40388.115502] loop: Write error at byte offset 307625984, length 4096.
[40388.115505] loop: Write error at byte offset 39337984, length 4096.
[40388.115508] loop: Write error at byte offset 307773440, length 4096.
[40388.119095] BTRFS warning (device loop0): chunk 13631488 missing 1 devices, max tolerance is 0 for writable mount
[40388.119100] BTRFS: error (device loop0) in write_all_supers:4286: errno=-5 IO failure (errors while submitting device barriers.)
[40388.119602] BTRFS info (device loop0: state E): forced readonly
[40388.119607] BTRFS: error (device loop0: state EA) in btrfs_sync_log:3205: errno=-5 IO failure
[40388.124638] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[40390.821508] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[40390.821518] BTRFS info (device dm-11): use lzo compression, level 0
[40390.821522] BTRFS info (device dm-11): disk space caching is enabled
[40390.825804] BTRFS info (device dm-11): auto enabling async discard
[40390.825810] BTRFS info (device dm-11): start tree-log replay
[40390.886858] loop0: detected capacity change from 0 to 6629376
[40390.981947] BTRFS info (device loop0): using crc32c (crc32c-intel) checksum algorithm
[40390.981956] BTRFS info (device loop0): disk space caching is enabled
[40390.987909] BTRFS info (device loop0): enabling ssd optimizations
[40390.987913] BTRFS info (device loop0): auto enabling async discard
[40392.069255] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[40392.069261] btrfs_dev_stat_inc_and_print: 32 callbacks suppressed
[40392.069262] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 1, rd 0, flush 0, corrupt 0, gen 0
[40392.069280] BTRFS error (device dm-11): error writing primary super block to device 1
[40392.069285] BTRFS: error (device dm-11) in write_all_supers:4356: errno=-5 IO failure (1 errors while writing supers)
[40392.069705] BTRFS info (device dm-11: state E): forced readonly
[40392.069880] BTRFS: error (device dm-11: state EA) in btrfs_sync_log:3205: errno=-5 IO failure
[40392.070204] loop: Write error at byte offset 748199936, length 4096.
[40392.070211] loop: Write error at byte offset 711725056, length 4096.
[40392.070211] blk_print_req_error: 9 callbacks suppressed
[40392.070213] I/O error, dev loop0, sector 0 op 0x1:(WRITE) flags 0x800 phys_seg 0 prio class 0
[40392.070216] loop: Write error at byte offset 748212224, length 4096.
[40392.070219] loop: Write error at byte offset 746758144, length 4096.
[40392.070336] I/O error, dev loop0, sector 1390088 op 0x1:(WRITE) flags 0x0 phys_seg 1 prio class 0
[40392.070340] BTRFS error (device loop0): bdev /dev/loop0 errs: wr 1, rd 0, flush 0, corrupt 0, gen 0
[40392.070356] I/O error, dev loop0, sector 1461352 op 0x1:(WRITE) flags 0x8800 phys_seg 8 prio class 2
[40392.070359] BTRFS error (device loop0): bdev /dev/loop0 errs: wr 2, rd 0, flush 0, corrupt 0, gen 0
[40392.070361] BTRFS warning (device loop0): direct IO failed ino 783 rw 1,34817 sector 0x164c68 len 0 err no 10
[40392.070371] I/O error, dev loop0, sector 1458512 op 0x1:(WRITE) flags 0x8800 phys_seg 2 prio class 2
[40392.070373] BTRFS error (device loop0): bdev /dev/loop0 errs: wr 3, rd 0, flush 0, corrupt 0, gen 0
[40392.070375] BTRFS warning (device loop0): direct IO failed ino 1093 rw 1,34817 sector 0x164150 len 0 err no 10
[40392.071765] I/O error, dev loop0, sector 1461328 op 0x1:(WRITE) flags 0x0 phys_seg 2 prio class 0
[40392.071771] BTRFS error (device loop0): bdev /dev/loop0 errs: wr 4, rd 0, flush 0, corrupt 0, gen 0
[40392.073604] BTRFS warning (device dm-11: state EA): Skipping commit of aborted transaction.
[40392.073608] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[40392.074432] BTRFS error (device loop0): bdev /dev/loop0 errs: wr 4, rd 0, flush 1, corrupt 0, gen 0
[40392.074438] BTRFS warning (device loop0): chunk 13631488 missing 1 devices, max tolerance is 0 for writable mount
[40392.074441] BTRFS: error (device loop0) in write_all_supers:4286: errno=-5 IO failure (errors while submitting device barriers.)
[40392.074829] BTRFS info (device loop0: state E): forced readonly
[40392.074832] BTRFS warning (device loop0: state E): Skipping commit of aborted transaction.
[40392.074834] BTRFS: error (device loop0: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[40392.078043] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[40392.081963] loop: Write error at byte offset 748199936, length 4096.
[40392.081974] loop: Write error at byte offset 15798272, length 4096.
[40392.081983] I/O error, dev loop0, sector 1461328 op 0x1:(WRITE) flags 0x0 phys_seg 14 prio class 0
[40392.081990] BTRFS error (device loop0: state EA): bdev /dev/loop0 errs: wr 5, rd 0, flush 1, corrupt 0, gen 0
[40392.082038] I/O error, dev loop0, sector 30856 op 0x1:(WRITE) flags 0x0 phys_seg 1 prio class 0
[40392.082041] BTRFS error (device loop0: state EA): bdev /dev/loop0 errs: wr 6, rd 0, flush 1, corrupt 0, gen 0
[40392.086512] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 1, rd 1, flush 0, corrupt 0, gen 0
[40392.086657] BTRFS error (device dm-11: state EA): bdev /dev/mapper/error-test errs: wr 1, rd 2, flush 0, corrupt 0, gen 0
[40392.086699] I/O error, dev loop0, sector 86368 op 0x0:(READ) flags 0x1000 phys_seg 4 prio class 0
[40392.086929] I/O error, dev loop0, sector 610656 op 0x0:(READ) flags 0x1000 phys_seg 4 prio class 0
[40392.087897] I/O error, dev loop0, sector 76224 op 0x0:(READ) flags 0x1000 phys_seg 4 prio class 0
[40394.833528] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[40394.833538] BTRFS info (device dm-11): use lzo compression, level 0
[40394.833541] BTRFS info (device dm-11): disk space caching is enabled
[40394.992147] BTRFS info (device dm-11): auto enabling async discard
[40394.992154] BTRFS info (device dm-11): start tree-log replay
[40394.999202] BTRFS info (device dm-11): the free space cache file (298844160) is invalid, skip it
[40395.044607] loop0: detected capacity change from 0 to 6629376
[40395.120404] BTRFS info (device loop0): using crc32c (crc32c-intel) checksum algorithm
[40395.120412] BTRFS info (device loop0): disk space caching is enabled
[40395.126313] BTRFS info (device loop0): enabling ssd optimizations
[40395.126317] BTRFS info (device loop0): auto enabling async discard
[40395.126319] BTRFS info (device loop0): start tree-log replay
[40397.260538] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[40397.260544] btrfs_dev_stat_inc_and_print: 12 callbacks suppressed
[40397.260546] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 1, rd 0, flush 0, corrupt 0, gen 0
[40397.260559] BTRFS warning (device dm-11): lost page write due to IO error on /dev/mapper/error-test (-5)
[40397.260562] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 2, rd 0, flush 0, corrupt 0, gen 0
[40397.260609] BTRFS error (device dm-11): error writing primary super block to device 1
[40397.260613] BTRFS: error (device dm-11) in write_all_supers:4356: errno=-5 IO failure (1 errors while writing supers)
[40397.261060] BTRFS info (device dm-11: state E): forced readonly
[40397.261070] BTRFS warning (device dm-11: state E): Skipping commit of aborted transaction.
[40397.261073] BTRFS: error (device dm-11: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[40397.261479] BTRFS: error (device dm-11: state EA) in btrfs_sync_log:3194: errno=-5 IO failure
[40397.261805] loop: Write error at byte offset 768901120, length 4096.
[40397.261808] blk_print_req_error: 1 callbacks suppressed
[40397.261810] I/O error, dev loop0, sector 128 op 0x1:(WRITE) flags 0x3800 phys_seg 1 prio class 0
[40397.261815] BTRFS warning (device loop0): lost page write due to IO error on /dev/loop0 (-5)
[40397.261818] BTRFS error (device loop0): bdev /dev/loop0 errs: wr 1, rd 0, flush 0, corrupt 0, gen 0
[40397.263307] I/O error, dev loop0, sector 1501760 op 0x1:(WRITE) flags 0x8800 phys_seg 12 prio class 2
[40397.263312] BTRFS error (device loop0): bdev /dev/loop0 errs: wr 2, rd 0, flush 0, corrupt 0, gen 0
[40397.263317] BTRFS warning (device loop0): direct IO failed ino 1108 rw 1,34817 sector 0x16ea40 len 0 err no 10
[40397.264162] loop: Write error at byte offset 763805696, length 4096.
[40397.264170] I/O error, dev loop0, sector 1491808 op 0x1:(WRITE) flags 0x8800 phys_seg 1 prio class 2
[40397.264174] BTRFS error (device loop0): bdev /dev/loop0 errs: wr 3, rd 0, flush 0, corrupt 0, gen 0
[40397.264177] BTRFS warning (device loop0): direct IO failed ino 1121 rw 1,34817 sector 0x16c360 len 0 err no 10
[40397.264307] loop: Write error at byte offset 768901120, length 4096.
[40397.264314] I/O error, dev loop0, sector 1501760 op 0x1:(WRITE) flags 0x8800 phys_seg 9 prio class 2
[40397.264317] BTRFS error (device loop0): bdev /dev/loop0 errs: wr 4, rd 0, flush 0, corrupt 0, gen 0
[40397.264320] BTRFS warning (device loop0): direct IO failed ino 1111 rw 1,34817 sector 0x16ea40 len 0 err no 10
[40397.265101] loop: Write error at byte offset 768901120, length 4096.
[40397.265109] I/O error, dev loop0, sector 1501760 op 0x1:(WRITE) flags 0x8800 phys_seg 13 prio class 2
[40397.265113] BTRFS error (device loop0): bdev /dev/loop0 errs: wr 5, rd 0, flush 0, corrupt 0, gen 0
[40397.265116] BTRFS warning (device loop0): direct IO failed ino 1173 rw 1,34817 sector 0x16ea40 len 0 err no 10
[40397.267979] loop: Write error at byte offset 768901120, length 4096.
[40397.267986] BTRFS error (device loop0): error writing primary super block to device 1
[40397.267988] I/O error, dev loop0, sector 1501760 op 0x1:(WRITE) flags 0x800 phys_seg 15 prio class 0
[40397.267990] BTRFS: error (device loop0) in write_all_supers:4356: errno=-5 IO failure (1 errors while writing supers)
[40397.267992] BTRFS error (device loop0): bdev /dev/loop0 errs: wr 6, rd 0, flush 0, corrupt 0, gen 0
[40397.268386] BTRFS info (device loop0: state E): forced readonly
[40397.268395] BTRFS warning (device loop0: state E): Skipping commit of aborted transaction.
[40397.268397] BTRFS: error (device loop0: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[40397.269073] BTRFS: error (device loop0: state EA) in btrfs_sync_log:3194: errno=-5 IO failure
[40397.270669] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[40397.272035] loop: Write error at byte offset 729444352, length 4096.
[40397.272042] loop: Write error at byte offset 768966656, length 4096.
[40397.272049] I/O error, dev loop0, sector 1424696 op 0x1:(WRITE) flags 0x0 phys_seg 1 prio class 0
[40397.272053] BTRFS error (device loop0: state EA): bdev /dev/loop0 errs: wr 7, rd 0, flush 0, corrupt 0, gen 0
[40397.272065] I/O error, dev loop0, sector 1501888 op 0x1:(WRITE) flags 0x0 phys_seg 6 prio class 0
[40397.272068] BTRFS error (device loop0: state EA): bdev /dev/loop0 errs: wr 8, rd 0, flush 0, corrupt 0, gen 0
[40397.275794] loop: Write error at byte offset 768966656, length 4096.
[40397.275816] I/O error, dev loop0, sector 1501888 op 0x1:(WRITE) flags 0x800 phys_seg 5 prio class 0
[40397.276304] loop: Write error at byte offset 768966656, length 4096.
[40397.276313] I/O error, dev loop0, sector 1501888 op 0x1:(WRITE) flags 0x800 phys_seg 6 prio class 0
[40397.276711] loop: Write error at byte offset 768901120, length 4096.
[40399.198977] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[40399.198984] BTRFS info (device dm-11): use lzo compression, level 0
[40399.198987] BTRFS info (device dm-11): disk space caching is enabled
[40399.202771] BTRFS info (device dm-11): auto enabling async discard
[40399.202775] BTRFS info (device dm-11): start tree-log replay
[40399.282165] loop0: detected capacity change from 0 to 6629376
[40399.315483] BTRFS info (device loop0): using crc32c (crc32c-intel) checksum algorithm
[40399.315490] BTRFS info (device loop0): disk space caching is enabled
[40399.391293] BTRFS info (device loop0): enabling ssd optimizations
[40399.391298] BTRFS info (device loop0): auto enabling async discard
[40399.391300] BTRFS info (device loop0): start tree-log replay
[40399.394340] BTRFS warning (device loop0): block group 30408704 has wrong amount of free space
[40399.394358] BTRFS warning (device loop0): failed to load free space cache for block group 30408704, rebuilding it now
[40399.397708] BTRFS info (device loop0): the free space cache file (298844160) is invalid, skip it
[40401.591763] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[40401.611217] BTRFS warning (device loop0): chunk 13631488 missing 1 devices, max tolerance is 0 for writable mount
[40401.611224] BTRFS: error (device loop0) in write_all_supers:4286: errno=-5 IO failure (errors while submitting device barriers.)
[40401.611671] BTRFS info (device loop0: state E): forced readonly
[40401.611681] BTRFS warning (device loop0: state E): Skipping commit of aborted transaction.
[40401.611683] BTRFS: error (device loop0: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[40401.612371] BTRFS: error (device loop0: state EA) in btrfs_sync_log:3194: errno=-5 IO failure
[40401.628197] BTRFS: error (device dm-11: state A) in btrfs_run_delayed_refs:2141: errno=-5 IO failure
[40401.628819] BTRFS info (device dm-11: state EA): forced readonly
[40403.587543] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[40403.587551] BTRFS info (device dm-11): use lzo compression, level 0
[40403.587553] BTRFS info (device dm-11): disk space caching is enabled
[40403.591668] BTRFS info (device dm-11): auto enabling async discard
[40403.591672] BTRFS info (device dm-11): start tree-log replay
[40403.594069] BTRFS warning (device dm-11): block group 30408704 has wrong amount of free space
[40403.594085] BTRFS warning (device dm-11): failed to load free space cache for block group 30408704, rebuilding it now
[40403.688352] loop0: detected capacity change from 0 to 6629376
[40403.718539] BTRFS info (device loop0): using crc32c (crc32c-intel) checksum algorithm
[40403.718546] BTRFS info (device loop0): disk space caching is enabled
[40403.783709] BTRFS info (device loop0): enabling ssd optimizations
[40403.783713] BTRFS info (device loop0): auto enabling async discard
[40403.783715] BTRFS info (device loop0): start tree-log replay
[40403.790189] BTRFS info (device loop0): the free space cache file (298844160) is invalid, skip it
[40405.915890] btrfs_dev_stat_inc_and_print: 73 callbacks suppressed
[40405.915894] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 1, rd 0, flush 0, corrupt 0, gen 0
[40405.915911] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 2, rd 0, flush 0, corrupt 0, gen 0
[40405.915919] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 3, rd 0, flush 0, corrupt 0, gen 0
[40405.915926] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 4, rd 0, flush 0, corrupt 0, gen 0
[40405.917001] blk_print_req_error: 16 callbacks suppressed
[40405.917003] I/O error, dev loop0, sector 128 op 0x1:(WRITE) flags 0x3800 phys_seg 1 prio class 0
[40405.917008] BTRFS warning (device loop0): lost page write due to IO error on /dev/loop0 (-5)
[40405.917011] BTRFS error (device loop0): bdev /dev/loop0 errs: wr 1, rd 0, flush 0, corrupt 0, gen 0
[40405.917530] BTRFS error (device loop0): error writing primary super block to device 1
[40405.917533] BTRFS: error (device loop0) in write_all_supers:4356: errno=-5 IO failure (1 errors while writing supers)
[40405.917953] BTRFS info (device loop0: state E): forced readonly
[40405.917963] BTRFS warning (device loop0: state E): Skipping commit of aborted transaction.
[40405.917966] BTRFS: error (device loop0: state EA) in cleanup_transaction:2007: errno=-5 IO failure
[40405.923992] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 5, rd 0, flush 0, corrupt 0, gen 0
[40405.926963] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 6, rd 0, flush 0, corrupt 0, gen 0
[40405.927639] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 7, rd 0, flush 0, corrupt 0, gen 0
[40405.927717] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 8, rd 0, flush 0, corrupt 0, gen 0
[40405.929579] BTRFS error (device dm-11): bdev /dev/mapper/error-test errs: wr 9, rd 0, flush 0, corrupt 0, gen 0
[40405.932025] BTRFS: error (device dm-11: state A) in __btrfs_free_extent:3078: errno=-5 IO failure
[40405.932292] BTRFS: error (device loop0: state EA) in btrfs_sync_log:3194: errno=-5 IO failure
[40405.932708] BTRFS info (device dm-11: state EA): forced readonly
[40405.933032] BTRFS: error (device dm-11: state EA) in btrfs_run_delayed_refs:2141: errno=-5 IO failure
[40405.942329] lo_write_bvec: 14 callbacks suppressed
[40405.942332] loop: Write error at byte offset 829554688, length 4096.
[40405.942340] loop: Write error at byte offset 810659840, length 4096.
[40405.942345] loop: Write error at byte offset 726503424, length 4096.
[40405.942342] I/O error, dev loop0, sector 1619984 op 0x1:(WRITE) flags 0x0 phys_seg 4 prio class 0
[40405.942347] loop: Write error at byte offset 829558784, length 4096.
[40405.942349] loop: Write error at byte offset 829636608, length 4096.
[40405.942351] loop: Write error at byte offset 777408512, length 4096.
[40405.942353] loop: Write error at byte offset 823668736, length 4096.
[40405.942355] loop: Write error at byte offset 829767680, length 4096.
[40405.942457] I/O error, dev loop0, sector 1583320 op 0x1:(WRITE) flags 0x0 phys_seg 2 prio class 0
[40405.942487] I/O error, dev loop0, sector 1418952 op 0x1:(WRITE) flags 0x0 phys_seg 1 prio class 0
[40405.942498] I/O error, dev loop0, sector 1620232 op 0x1:(WRITE) flags 0x0 phys_seg 4 prio class 0
[40405.942555] I/O error, dev loop0, sector 1620384 op 0x1:(WRITE) flags 0x0 phys_seg 6 prio class 0
[40405.942645] I/O error, dev loop0, sector 1518376 op 0x1:(WRITE) flags 0x0 phys_seg 2 prio class 0
[40405.942667] I/O error, dev loop0, sector 1608728 op 0x1:(WRITE) flags 0x0 phys_seg 3 prio class 0
[40405.942726] I/O error, dev loop0, sector 1620640 op 0x1:(WRITE) flags 0x0 phys_seg 2 prio class 0
[40405.954183] Buffer I/O error on dev dm-11, logical block 2621424, async page read
[40405.980097] I/O error, dev loop0, sector 32776 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 2
[40405.980113] BTRFS warning (device loop0: state EA): direct IO failed ino 1361 rw 0,0 sector 0x8008 len 0 err no 10
[40405.982016] BTRFS warning (device loop0: state EA): direct IO failed ino 1327 rw 0,0 sector 0x1812e0 len 0 err no 10
[40405.998658] BTRFS warning (device loop0: state EA): direct IO failed ino 1385 rw 0,0 sector 0x1891a0 len 0 err no 10
[40406.000301] BTRFS warning (device loop0: state EA): direct IO failed ino 1331 rw 0,0 sector 0x7fe8 len 0 err no 10
[40406.000738] BTRFS warning (device loop0: state EA): direct IO failed ino 1344 rw 0,0 sector 0x1878b8 len 0 err no 10
[40406.000967] BTRFS warning (device loop0: state EA): direct IO failed ino 1272 rw 0,0 sector 0x1848d0 len 0 err no 10
[40406.004968] BTRFS warning (device loop0: state EA): direct IO failed ino 1314 rw 0,0 sector 0x189770 len 0 err no 10
[40406.006611] BTRFS warning (device loop0: state EA): direct IO failed ino 770 rw 0,0 sector 0x17eca8 len 0 err no 10
[40406.012870] BTRFS warning (device loop0: state EA): direct IO failed ino 1395 rw 0,0 sector 0x188be0 len 0 err no 10
[40406.012885] BTRFS warning (device loop0: state EA): direct IO failed ino 1395 rw 0,0 sector 0x188bf0 len 0 err no 10
[40406.014239] BTRFS warning (device loop0: state EA): direct IO failed ino 1346 rw 0,0 sector 0x153ea0 len 0 err no 10
[40406.014276] BTRFS warning (device loop0: state EA): direct IO failed ino 1346 rw 0,0 sector 0x188f40 len 0 err no 10
[40408.629477] BTRFS info (device dm-11): using crc32c (crc32c-intel) checksum algorithm
[40408.629486] BTRFS info (device dm-11): use lzo compression, level 0
[40408.629489] BTRFS info (device dm-11): disk space caching is enabled
[40408.770998] BTRFS info (device dm-11): auto enabling async discard
[40408.771004] BTRFS info (device dm-11): start tree-log replay
[40408.773698] BTRFS warning (device dm-11): block group 30408704 has wrong amount of free space
[40408.773717] BTRFS warning (device dm-11): failed to load free space cache for block group 30408704, rebuilding it now
[40408.775437] BTRFS info (device dm-11): the free space cache file (298844160) is invalid, skip it
[40408.871447] loop0: detected capacity change from 0 to 6629376
[40408.897759] BTRFS info (device loop0): using crc32c (crc32c-intel) checksum algorithm
[40408.897766] BTRFS info (device loop0): disk space caching is enabled
[40408.902692] BTRFS info (device loop0): enabling ssd optimizations
[40408.902696] BTRFS info (device loop0): auto enabling async discard
[40408.902698] BTRFS info (device loop0): start tree-log replay