[ 756.226116] BTRFS error (device dm-2): tree first key mismatch detected, bytenr=1166186053632 parent_transid=31136 key expected=(1995819548672,169,0) has=(1749212258304,168,262144) [ 756.226136] BTRFS error (device dm-2): tree first key mismatch detected, bytenr=1166186053632 parent_transid=31136 key expected=(1995819548672,169,0) has=(1749212258304,168,262144) [ 756.229237] BTRFS info (device dm-2): scrub: not finished on devid 2 with status: -117 [ 777.876662] ------------[ cut here ]------------ [ 777.876670] BTRFS: Transaction aborted (error -17) [ 777.876714] WARNING: CPU: 1 PID: 3469 at fs/btrfs/extent-tree.c:2159 btrfs_run_delayed_refs+0x196/0x1e0 [ 777.876729] Modules linked in: libfc scsi_transport_fc iscsi_ibft sha256_ssse3 dm_crypt vfat fat dm_round_robin dm_multipath raid10 raid456 async_raid6_recov async_memcpy async_pq async_xor async_tx raid1 raid0 uinput snd_seq_dummy snd_hrtimer nft_objref nf_conntrack_netbios_ns nf_conntrack_broadcast 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 ip_set rfkill nf_tables nfnetlink qrtr iTCO_wdt intel_pmc_bxt ppdev gpio_ich iTCO_vendor_support i915 snd_hda_codec_realtek snd_hda_codec_generic ledtrig_audio snd_hda_intel snd_intel_dspcfg snd_intel_sdw_acpi snd_hda_codec snd_hda_core snd_hwdep coretemp snd_seq snd_seq_device snd_pcm pcspkr snd_timer video parport_pc snd ttm parport soundcore lpc_ich i2c_i801 i2c_smbus acpi_cpufreq zram isofs squashfs serio_raw ata_generic pata_acpi r8169 uas usb_storage sunrpc be2iscsi bnx2i cnic uio cxgb4i cxgb4 tls cxgb3i cxgb3 [ 777.876968] mdio libcxgbi libcxgb qla4xxx iscsi_boot_sysfs iscsi_tcp libiscsi_tcp libiscsi scsi_transport_iscsi loop ip6_tables ip_tables ipmi_devintf ipmi_msghandler fuse [ 777.877004] CPU: 1 PID: 3469 Comm: btrfs-transacti Not tainted 5.17.5-300.fc36.x86_64 #1 [ 777.877013] Hardware name: MICRO-STAR INTERNATIONAL CO.,LTD MS-7529/G31TM-P35 (MS-7529), BIOS V4.4 11/25/2009 [ 777.877017] RIP: 0010:btrfs_run_delayed_refs+0x196/0x1e0 [ 777.877030] Code: 48 8d 91 48 0a 00 00 f0 48 0f ba 2a 03 72 20 83 f8 fb 74 39 83 f8 e2 74 34 89 c6 48 c7 c7 60 11 65 86 89 04 24 e8 e3 0f 7d 00 <0f> 0b 8b 04 24 89 c1 ba 6f 08 00 00 48 89 df 89 04 24 48 c7 c6 80 [ 777.877036] RSP: 0018:ffffa5c68258bdb0 EFLAGS: 00010282 [ 777.877042] RAX: 0000000000000026 RBX: ffff92aa82302750 RCX: 0000000000000000 [ 777.877046] RDX: 0000000000000001 RSI: ffffffff86665ad5 RDI: 00000000ffffffff [ 777.877050] RBP: ffff92aa4ae62b78 R08: 0000000000000000 R09: ffffa5c68258bbf0 [ 777.877054] R10: ffffa5c68258bbe8 R11: 0000000000000003 R12: ffff92aac3a57060 [ 777.877057] R13: ffff92aac3a57010 R14: ffff92aac3a57018 R15: ffff92aa4ae62a00 [ 777.877062] FS: 0000000000000000(0000) GS:ffff92aaebc80000(0000) knlGS:0000000000000000 [ 777.877067] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 777.877071] CR2: 00007fb85e21b000 CR3: 0000000101f42000 CR4: 00000000000006e0 [ 777.877076] Call Trace: [ 777.877081] [ 777.877091] commit_cowonly_roots+0x1e4/0x240 [ 777.877102] btrfs_commit_transaction+0x4e9/0xb00 [ 777.877110] ? start_transaction+0xc3/0x5e0 [ 777.877118] transaction_kthread+0x13a/0x1a0 [ 777.877125] ? btrfs_cleanup_transaction.isra.0+0x540/0x540 [ 777.877132] kthread+0xe9/0x110 [ 777.877139] ? kthread_complete_and_exit+0x20/0x20 [ 777.877145] ret_from_fork+0x22/0x30 [ 777.877157] [ 777.877159] ---[ end trace 0000000000000000 ]--- [ 777.877167] BTRFS: error (device dm-2) in btrfs_run_delayed_refs:2159: errno=-17 Object already exists [ 777.877179] BTRFS info (device dm-2): forced readonly [ 777.877206] BTRFS warning (device dm-2): Skipping commit of aborted transaction. [ 777.877213] BTRFS: error (device dm-2) in cleanup_transaction:1974: errno=-17 Object already exists [ 777.877379] BTRFS info (device dm-2): scrub: finished on devid 3 with status: 0