linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* btrfs_free_extent
@ 2021-12-19 15:24 Tuetuopay
  2021-12-19 23:42 ` btrfs_free_extent Qu Wenruo
  0 siblings, 1 reply; 7+ messages in thread
From: Tuetuopay @ 2021-12-19 15:24 UTC (permalink / raw)
  To: linux-btrfs

[-- Attachment #1: Type: text/plain, Size: 3864 bytes --]

Hi,

I need some advice on a btrfs raid-1 volume that shows a few corruptions
on some places. I have some files that triggered some safeguards on
write, which ended up remounting the fs as read-only.

Over on IRC, multicore suggested me to run a readonly check, whose
output is here:

# btrfs check --readonly
/dev/disk/by-uuid/e944a837-f89b-48ea-80fd-40b2bec8f21b 
Opening filesystem to check...
Checking filesystem on /dev/disk/by-uuid/e944a837-f89b-48ea-80fd-40b2bec8f21b
UUID: e944a837-f89b-48ea-80fd-40b2bec8f21b
[1/7] checking root items
[2/7] checking extents
tree backref 9882747355136 root 7 not found in extent tree
backref 9882747355136 root 23 not referenced back 0x556ea3cb07d0
incorrect global backref count on 9882747355136 found 2 wanted 1
backpointer mismatch on [9882747355136 16384]
ERROR: errors found in extent allocation tree or chunk allocation
[3/7] checking free space cache
[4/7] checking fs roots
root 5 inode 1626695 errors 40000
Dir items with mismatch hash:
	name: fendor.qti.hardware.sigma_miracast@1.0-impl.so namelen: 46 wanted
0x12c67915 has 0x0471bc31
root 5 inode 1626696 errors 2000, link count wrong
	unresolved ref dir 1626695 index 2 namelen 46 name
vendor.qti.hardware.sigma_miracast@1.0-impl.so filetype 1 errors 1, no
dir item
ERROR: errors found in fs roots
found 6870080626688 bytes used, error(s) found
total csum bytes: 6668958308
total tree bytes: 9075539968
total fs tree bytes: 1478344704
total extent tree bytes: 243793920
btree space waste bytes: 820626944
file data blocks allocated: 326941710356480
 referenced 6854941941760

They suggested that I run a non-ro check, but warned that it could do
more harm than good, hence this email seeking advice. Has check any
chance to fix the issue?

I think I should also mention that I'm fine deleting those specific
files as I can get them back somewhat easily.

To finish off, here is the information requested by the wiki page:

$ uname -a
Linux gimli 5.10.70-3ware #1 SMP Wed Dec 15 03:46:13 CET 2021 x86_64 GNU/Linux
$ btrfs fi show
Label: none  uuid: 381bd0ef-20cb-4517-b825-d45630a6ca0a
	Total devices 1 FS bytes used 65.49GiB
	devid    1 size 111.79GiB used 111.79GiB path /dev/sdk1

Label: 'storage'  uuid: e944a837-f89b-48ea-80fd-40b2bec8f21b
	Total devices 5 FS bytes used 6.25TiB
	devid    1 size 2.73TiB used 2.50TiB path /dev/sdd
	devid    2 size 2.73TiB used 2.50TiB path /dev/sdc
	devid    4 size 931.51GiB used 702.00GiB path /dev/sdf
	devid    6 size 3.64TiB used 3.41TiB path /dev/sdg
	devid    7 size 3.64TiB used 3.41TiB path /dev/sdh

$ btrfs fi df /media/storage
Data, RAID1: total=6.25TiB, used=6.24TiB
System, RAID1: total=32.00MiB, used=944.00KiB
Metadata, RAID1: total=10.00GiB, used=8.45GiB
GlobalReserve, single: total=512.00MiB, used=0.00B
$ btrfs --version
btrfs-progs v5.10.1

The dmesg is attached to the email, but most of the `BTRFS critical` log
lines related to name corruption have been removed to get the file to 200KB.

Some things to note:
- I recently upgraded the machine from Debian 9 to 11, getting the
kernel from 4.9 to 5.10, but the issue already existed on 4.9 (it even
started there, prompting me to replace a drive as I though it to be the
source of the corruption).
- The kernel is almost the vanilla debian bullseye kernel, with an added
(tiny) patch to fix an issue between 3Ware RAID cards and AMD Ryzen
CPUs. It should not affect the BTRFS subsystem as it adds a quirk to the
PCIe subsystem.
- I have a few name mismatches, which can be seen in the logs too. While
I'd love someday to get rid of them, I simply moved the affected files
in a corner for now. That's not the issue I'm trying to solve now
(though if someone can help, I'd be glad). They come from a ZIP archive,
so deleting them is fine, but I can't as I only get "Input/Output error"
when trying to rm them.

Thank you very much to whoever can help!

[-- Attachment #2: dmesg.log --]
[-- Type: application/octet-stream, Size: 57673 bytes --]

[328169.606385] ------------[ cut here ]------------
[328169.606414] WARNING: CPU: 7 PID: 996208 at fs/btrfs/extent-tree.c:3090 __btrfs_free_extent+0x6d4/0x910 [btrfs]
[328169.606415] Modules linked in: xt_nat(E) xt_tcpudp(E) veth(E) xt_conntrack(E) nft_chain_nat(E) xt_MASQUERADE(E) nf_nat(E) nf_conntrack_netlink(E) nf_conntrack(E) nf_defrag_ipv6(E) nf_defrag_ipv4(E) xfrm_user(E) xfrm_algo(E) nft_counter(E) xt_addrtype(E) nft_compat(E) nf_tables(E) nfnetlink(E) br_netfilter(E) bridge(E) stp(E) llc(E) wireguard(E) libchacha20poly1305(E) chacha_x86_64(E) poly1305_x86_64(E) ip6_udp_tunnel(E) udp_tunnel(E) libblake2s(E) rdma_ucm(E) blake2s_x86_64(E) rdma_cm(E) curve25519_x86_64(E) iw_cm(E) libcurve25519_generic(E) ib_cm(E) libchacha(E) libblake2s_generic(E) overlay(E) ipmi_ssif(E) snd_hda_intel(E) snd_intel_dspcfg(E) soundwire_intel(E) soundwire_generic_allocation(E) snd_soc_core(E) edac_mce_amd(E) snd_compress(E) kvm_amd(E) soundwire_cadence(E) kvm(E) irqbypass(E) snd_hda_codec(E) snd_hda_core(E) ghash_clmulni_intel(E) snd_hwdep(E) soundwire_bus(E) snd_pcm(E) ast(E) aesni_intel(E) drm_vram_helper(E) snd_timer(E) drm_ttm_helper(E) libaes(E) crypto_simd(E) snd(E)
[328169.606448]  ttm(E) cdc_ether(E) cryptd(E) soundcore(E) usbnet(E) glue_helper(E) acpi_ipmi(E) mii(E) drm_kms_helper(E) sp5100_tco(E) ipmi_si(E) ccp(E) cec(E) wmi_bmof(E) joydev(E) evdev(E) k10temp(E) rapl(E) pcspkr(E) sg(E) ipmi_devintf(E) watchdog(E) rng_core(E) ipmi_msghandler(E) acpi_cpufreq(E) button(E) nfsd(E) auth_rpcgss(E) nfs_acl(E) lockd(E) grace(E) drm(E) fuse(E) configfs(E) sunrpc(E) ip_tables(E) x_tables(E) autofs4(E) btrfs(E) blake2b_generic(E) xor(E) raid6_pq(E) libcrc32c(E) crc32c_generic(E) mlx4_ib(E) ib_uverbs(E) mlx4_en(E) ib_core(E) hid_generic(E) usbhid(E) hid(E) sd_mod(E) t10_pi(E) crc_t10dif(E) crct10dif_generic(E) igb(E) ahci(E) xhci_pci(E) crct10dif_pclmul(E) i2c_algo_bit(E) crct10dif_common(E) crc32_pclmul(E) libahci(E) dca(E) crc32c_intel(E) xhci_hcd(E) ptp(E) i2c_piix4(E) libata(E) 3w_9xxx(E) pps_core(E) usbcore(E) scsi_mod(E) mlx4_core(E) usb_common(E) wmi(E) gpio_amdpt(E) gpio_generic(E)
[328169.606492] CPU: 7 PID: 996208 Comm: btrfs-transacti Tainted: G            E     5.10.70-3ware #1
[328169.606493] Hardware name: To Be Filled By O.E.M. To Be Filled By O.E.M./X470D4U, BIOS P3.50 11/02/2020
[328169.606515] RIP: 0010:__btrfs_free_extent+0x6d4/0x910 [btrfs]
[328169.606518] Code: 44 e6 0f 0b e9 50 d3 0a 00 41 8d 44 24 01 39 c8 0f 85 77 d2 0a 00 45 89 66 40 44 89 e1 c7 44 24 18 02 00 00 00 e9 a1 fd ff ff <0f> 0b 49 8b 3e e8 92 56 00 00 ff 74 24 18 4d 89 f8 48 89 d9 4c 8b
[328169.606519] RSP: 0018:ffff97bf4ba27c60 EFLAGS: 00010246
[328169.606521] RAX: 00000000fffffffe RBX: 0000000000000000 RCX: 0000000000000000
[328169.606522] RDX: 00000000fffffffe RSI: 0000000000000000 RDI: ffff8cb419a7e108
[328169.606523] RBP: 000008fd01a54000 R08: 0000000000000000 R09: ffff8cb5116e73f0
[328169.606524] R10: 000159e0cbb4a430 R11: 0000000000000001 R12: 00000000fffffffe
[328169.606525] R13: ffff8cb501b70c98 R14: ffff8cb5116e73f0 R15: 0000000000000007
[328169.606526] FS:  0000000000000000(0000) GS:ffff8cb7fe9c0000(0000) knlGS:0000000000000000
[328169.606527] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[328169.606528] CR2: 00007facbec02928 CR3: 0000000108d64000 CR4: 00000000003506e0
[328169.606529] Call Trace:
[328169.606537]  ? kmem_cache_free+0x3e5/0x410
[328169.606558]  ? __btrfs_run_delayed_refs+0xf6f/0xfc0 [btrfs]
[328169.606586]  ? btrfs_merge_delayed_refs+0x19f/0x1d0 [btrfs]
[328169.606607]  __btrfs_run_delayed_refs+0x256/0xfc0 [btrfs]
[328169.606629]  btrfs_run_delayed_refs+0x73/0x200 [btrfs]
[328169.606652]  btrfs_commit_transaction+0x57/0xb40 [btrfs]
[328169.606675]  ? start_transaction+0xd2/0x580 [btrfs]
[328169.606679]  ? usleep_range+0x80/0x80
[328169.606701]  transaction_kthread+0x14c/0x170 [btrfs]
[328169.606723]  ? btrfs_cleanup_transaction.isra.0+0x590/0x590 [btrfs]
[328169.606726]  kthread+0x11b/0x140
[328169.606728]  ? __kthread_bind_mask+0x60/0x60
[328169.606731]  ret_from_fork+0x22/0x30
[328169.606734] ---[ end trace 4cb235a2137cbd12 ]---
[328169.606737] BTRFS info (device sdd): leaf 5963069292544 gen 193132 total ptrs 273 free space 449 owner 2
[328169.606739] 	item 0 key (9882743308288 169 0) itemoff 16250 itemsize 33
[328169.606740] 		extent refs 1 gen 77855 flags 2
[328169.606740] 		ref#0: tree block backref root 2
[328169.606742] 	item 1 key (9882743324672 169 0) itemoff 16217 itemsize 33
[328169.606743] 		extent refs 1 gen 80918 flags 2
[328169.606744] 		ref#0: tree block backref root 7
[328169.606745] 	item 2 key (9882743341056 169 0) itemoff 16184 itemsize 33
[328169.606746] 		extent refs 1 gen 80918 flags 2
[328169.606747] 		ref#0: tree block backref root 7
[328169.606748] 	item 3 key (9882743357440 169 0) itemoff 16151 itemsize 33
[328169.606749] 		extent refs 1 gen 82721 flags 2
[328169.606750] 		ref#0: tree block backref root 7
[328169.606751] 	item 4 key (9882743373824 169 0) itemoff 16118 itemsize 33
[328169.606752] 		extent refs 1 gen 80918 flags 2
[328169.606752] 		ref#0: tree block backref root 7
[328169.606754] 	item 5 key (9882743390208 169 0) itemoff 16085 itemsize 33
[328169.606755] 		extent refs 1 gen 151053 flags 2
[328169.606755] 		ref#0: tree block backref root 7
[328169.606757] 	item 6 key (9882743406592 169 0) itemoff 16052 itemsize 33
[328169.606758] 		extent refs 1 gen 80918 flags 2
[328169.606758] 		ref#0: tree block backref root 7
[328169.606759] 	item 7 key (9882743422976 169 0) itemoff 16019 itemsize 33
[328169.606760] 		extent refs 1 gen 81271 flags 2
[328169.606761] 		ref#0: tree block backref root 7
[328169.606762] 	item 8 key (9882743439360 169 0) itemoff 15986 itemsize 33
[328169.606763] 		extent refs 1 gen 81271 flags 2
[328169.606763] 		ref#0: tree block backref root 7
[328169.606765] 	item 9 key (9882743455744 169 0) itemoff 15953 itemsize 33
[328169.606766] 		extent refs 1 gen 82721 flags 2
[328169.606766] 		ref#0: tree block backref root 7
[328169.606768] 	item 10 key (9882743472128 169 0) itemoff 15920 itemsize 33
[328169.606768] 		extent refs 1 gen 82566 flags 2
[328169.606769] 		ref#0: tree block backref root 7
[328169.606770] 	item 11 key (9882743488512 169 0) itemoff 15887 itemsize 33
[328169.606771] 		extent refs 1 gen 151053 flags 2
[328169.606772] 		ref#0: tree block backref root 7
[328169.606773] 	item 12 key (9882743504896 169 0) itemoff 15854 itemsize 33
[328169.606774] 		extent refs 1 gen 82721 flags 2
[328169.606775] 		ref#0: tree block backref root 7
[328169.606776] 	item 13 key (9882743521280 169 0) itemoff 15821 itemsize 33
[328169.606777] 		extent refs 1 gen 82721 flags 2
[328169.606777] 		ref#0: tree block backref root 7
[328169.606779] 	item 14 key (9882743537664 169 0) itemoff 15788 itemsize 33
[328169.606779] 		extent refs 1 gen 141895 flags 2
[328169.606780] 		ref#0: tree block backref root 7
[328169.606781] 	item 15 key (9882743554048 169 0) itemoff 15755 itemsize 33
[328169.606782] 		extent refs 1 gen 82721 flags 2
[328169.606783] 		ref#0: tree block backref root 7
[328169.606784] 	item 16 key (9882743570432 169 0) itemoff 15722 itemsize 33
[328169.606785] 		extent refs 1 gen 111743 flags 2
[328169.606785] 		ref#0: tree block backref root 7
[328169.606787] 	item 17 key (9882743586816 169 0) itemoff 15689 itemsize 33
[328169.606787] 		extent refs 1 gen 81899 flags 2
[328169.606788] 		ref#0: tree block backref root 7
[328169.606789] 	item 18 key (9882743603200 169 0) itemoff 15656 itemsize 33
[328169.606790] 		extent refs 1 gen 141895 flags 2
[328169.606791] 		ref#0: tree block backref root 2
[328169.606792] 	item 19 key (9882743619584 169 0) itemoff 15623 itemsize 33
[328169.606793] 		extent refs 1 gen 82721 flags 2
[328169.606793] 		ref#0: tree block backref root 7
[328169.606795] 	item 20 key (9882743635968 169 0) itemoff 15590 itemsize 33
[328169.606796] 		extent refs 1 gen 141895 flags 2
[328169.606796] 		ref#0: tree block backref root 7
[328169.606797] 	item 21 key (9882743652352 169 0) itemoff 15557 itemsize 33
[328169.606798] 		extent refs 1 gen 141895 flags 2
[328169.606799] 		ref#0: tree block backref root 7
[328169.606800] 	item 22 key (9882743668736 169 0) itemoff 15524 itemsize 33
[328169.606801] 		extent refs 1 gen 111742 flags 2
[328169.606801] 		ref#0: tree block backref root 7
[328169.606803] 	item 23 key (9882743685120 169 0) itemoff 15491 itemsize 33
[328169.606804] 		extent refs 1 gen 80918 flags 2
[328169.606804] 		ref#0: tree block backref root 7
[328169.606805] 	item 24 key (9882743701504 169 0) itemoff 15458 itemsize 33
[328169.606806] 		extent refs 1 gen 80918 flags 2
[328169.606807] 		ref#0: tree block backref root 7
[328169.606808] 	item 25 key (9882743717888 169 0) itemoff 15425 itemsize 33
[328169.606809] 		extent refs 1 gen 82721 flags 2
[328169.606810] 		ref#0: tree block backref root 7
[328169.606811] 	item 26 key (9882743734272 169 0) itemoff 15392 itemsize 33
[328169.606812] 		extent refs 1 gen 82721 flags 2
[328169.606812] 		ref#0: tree block backref root 7
[328169.606814] 	item 27 key (9882743750656 169 0) itemoff 15359 itemsize 33
[328169.606814] 		extent refs 1 gen 80566 flags 2
[328169.606815] 		ref#0: tree block backref root 2
[328169.606816] 	item 28 key (9882743783424 169 0) itemoff 15326 itemsize 33
[328169.606817] 		extent refs 1 gen 82721 flags 2
[328169.606818] 		ref#0: tree block backref root 7
[328169.606819] 	item 29 key (9882743799808 169 0) itemoff 15293 itemsize 33
[328169.606820] 		extent refs 1 gen 81899 flags 2
[328169.606820] 		ref#0: tree block backref root 7
[328169.606822] 	item 30 key (9882743816192 169 0) itemoff 15260 itemsize 33
[328169.606822] 		extent refs 1 gen 80001 flags 2
[328169.606823] 		ref#0: tree block backref root 7
[328169.606824] 	item 31 key (9882743832576 169 0) itemoff 15227 itemsize 33
[328169.606825] 		extent refs 1 gen 81899 flags 2
[328169.606826] 		ref#0: tree block backref root 7
[328169.606827] 	item 32 key (9882743848960 169 0) itemoff 15194 itemsize 33
[328169.606828] 		extent refs 1 gen 81899 flags 2
[328169.606828] 		ref#0: tree block backref root 7
[328169.606830] 	item 33 key (9882743865344 169 0) itemoff 15161 itemsize 33
[328169.606830] 		extent refs 1 gen 81899 flags 2
[328169.606831] 		ref#0: tree block backref root 7
[328169.606832] 	item 34 key (9882743881728 169 0) itemoff 15128 itemsize 33
[328169.606833] 		extent refs 1 gen 80303 flags 2
[328169.606834] 		ref#0: tree block backref root 7
[328169.606835] 	item 35 key (9882743898112 169 0) itemoff 15095 itemsize 33
[328169.606836] 		extent refs 1 gen 81899 flags 2
[328169.606836] 		ref#0: tree block backref root 7
[328169.606838] 	item 36 key (9882743914496 169 0) itemoff 15062 itemsize 33
[328169.606839] 		extent refs 1 gen 80001 flags 2
[328169.606839] 		ref#0: tree block backref root 7
[328169.606840] 	item 37 key (9882743930880 169 0) itemoff 15029 itemsize 33
[328169.606841] 		extent refs 1 gen 81271 flags 2
[328169.606842] 		ref#0: tree block backref root 7
[328169.606843] 	item 38 key (9882743947264 169 0) itemoff 14996 itemsize 33
[328169.606844] 		extent refs 1 gen 80918 flags 2
[328169.606844] 		ref#0: tree block backref root 7
[328169.606846] 	item 39 key (9882743963648 169 0) itemoff 14963 itemsize 33
[328169.606847] 		extent refs 1 gen 111742 flags 2
[328169.606847] 		ref#0: tree block backref root 7
[328169.606848] 	item 40 key (9882743980032 169 0) itemoff 14930 itemsize 33
[328169.606849] 		extent refs 1 gen 111742 flags 2
[328169.606850] 		ref#0: tree block backref root 7
[328169.606851] 	item 41 key (9882743996416 169 0) itemoff 14897 itemsize 33
[328169.606852] 		extent refs 1 gen 81903 flags 2
[328169.606852] 		ref#0: tree block backref root 7
[328169.606854] 	item 42 key (9882744012800 169 0) itemoff 14864 itemsize 33
[328169.606855] 		extent refs 1 gen 81902 flags 2
[328169.606855] 		ref#0: tree block backref root 7
[328169.606857] 	item 43 key (9882744029184 169 0) itemoff 14831 itemsize 33
[328169.606857] 		extent refs 1 gen 111743 flags 2
[328169.606858] 		ref#0: tree block backref root 7
[328169.606859] 	item 44 key (9882744045568 169 0) itemoff 14798 itemsize 33
[328169.606860] 		extent refs 1 gen 80920 flags 2
[328169.606861] 		ref#0: tree block backref root 7
[328169.606862] 	item 45 key (9882744061952 169 0) itemoff 14765 itemsize 33
[328169.606863] 		extent refs 1 gen 81271 flags 2
[328169.606863] 		ref#0: tree block backref root 7
[328169.606865] 	item 46 key (9882744078336 169 0) itemoff 14732 itemsize 33
[328169.606865] 		extent refs 1 gen 141895 flags 2
[328169.606866] 		ref#0: tree block backref root 7
[328169.606867] 	item 47 key (9882744094720 169 0) itemoff 14699 itemsize 33
[328169.606868] 		extent refs 1 gen 111742 flags 2
[328169.606869] 		ref#0: tree block backref root 7
[328169.606870] 	item 48 key (9882744111104 169 0) itemoff 14666 itemsize 33
[328169.606871] 		extent refs 1 gen 82566 flags 2
[328169.606871] 		ref#0: tree block backref root 7
[328169.606873] 	item 49 key (9882744127488 169 0) itemoff 14633 itemsize 33
[328169.606873] 		extent refs 1 gen 80920 flags 2
[328169.606874] 		ref#0: tree block backref root 7
[328169.606875] 	item 50 key (9882744143872 169 0) itemoff 14600 itemsize 33
[328169.606876] 		extent refs 1 gen 141893 flags 2
[328169.606877] 		ref#0: tree block backref root 7
[328169.606878] 	item 51 key (9882744160256 169 0) itemoff 14567 itemsize 33
[328169.606879] 		extent refs 1 gen 82721 flags 2
[328169.606879] 		ref#0: tree block backref root 7
[328169.606881] 	item 52 key (9882744176640 169 0) itemoff 14534 itemsize 33
[328169.606881] 		extent refs 1 gen 82721 flags 2
[328169.606882] 		ref#0: tree block backref root 7
[328169.606883] 	item 53 key (9882744193024 169 0) itemoff 14501 itemsize 33
[328169.606884] 		extent refs 1 gen 80001 flags 2
[328169.606885] 		ref#0: tree block backref root 7
[328169.606886] 	item 54 key (9882744209408 169 0) itemoff 14468 itemsize 33
[328169.606887] 		extent refs 1 gen 80920 flags 2
[328169.606887] 		ref#0: tree block backref root 7
[328169.606889] 	item 55 key (9882744225792 169 0) itemoff 14435 itemsize 33
[328169.606890] 		extent refs 1 gen 82566 flags 2
[328169.606890] 		ref#0: tree block backref root 7
[328169.606891] 	item 56 key (9882744242176 169 0) itemoff 14402 itemsize 33
[328169.606892] 		extent refs 1 gen 82566 flags 2
[328169.606893] 		ref#0: tree block backref root 7
[328169.606894] 	item 57 key (9882744258560 169 0) itemoff 14369 itemsize 33
[328169.606895] 		extent refs 1 gen 80085 flags 2
[328169.606896] 		ref#0: tree block backref root 7
[328169.606897] 	item 58 key (9882744274944 169 0) itemoff 14336 itemsize 33
[328169.606898] 		extent refs 1 gen 82566 flags 2
[328169.606898] 		ref#0: tree block backref root 7
[328169.606900] 	item 59 key (9882744291328 169 0) itemoff 14303 itemsize 33
[328169.606900] 		extent refs 1 gen 80001 flags 2
[328169.606901] 		ref#0: tree block backref root 7
[328169.606902] 	item 60 key (9882744307712 169 0) itemoff 14270 itemsize 33
[328169.606903] 		extent refs 1 gen 111742 flags 2
[328169.606904] 		ref#0: tree block backref root 7
[328169.606905] 	item 61 key (9882744324096 169 0) itemoff 14237 itemsize 33
[328169.606906] 		extent refs 1 gen 80567 flags 2
[328169.606906] 		ref#0: tree block backref root 7
[328169.606908] 	item 62 key (9882744340480 169 0) itemoff 14204 itemsize 33
[328169.606908] 		extent refs 1 gen 151053 flags 2
[328169.606909] 		ref#0: tree block backref root 7
[328169.606910] 	item 63 key (9882744356864 169 0) itemoff 14171 itemsize 33
[328169.606911] 		extent refs 1 gen 81271 flags 2
[328169.606912] 		ref#0: tree block backref root 7
[328169.606913] 	item 64 key (9882744373248 169 0) itemoff 14138 itemsize 33
[328169.606914] 		extent refs 1 gen 111743 flags 2
[328169.606914] 		ref#0: tree block backref root 7
[328169.606916] 	item 65 key (9882744389632 169 0) itemoff 14105 itemsize 33
[328169.606917] 		extent refs 1 gen 82721 flags 2
[328169.606917] 		ref#0: tree block backref root 7
[328169.606918] 	item 66 key (9882744406016 169 0) itemoff 14072 itemsize 33
[328169.606919] 		extent refs 1 gen 82721 flags 2
[328169.606920] 		ref#0: tree block backref root 7
[328169.606921] 	item 67 key (9882744422400 169 0) itemoff 14039 itemsize 33
[328169.606922] 		extent refs 1 gen 80301 flags 2
[328169.606922] 		ref#0: tree block backref root 7
[328169.606924] 	item 68 key (9882744438784 169 0) itemoff 14006 itemsize 33
[328169.606925] 		extent refs 1 gen 82566 flags 2
[328169.606925] 		ref#0: tree block backref root 7
[328169.606926] 	item 69 key (9882744455168 169 0) itemoff 13973 itemsize 33
[328169.606927] 		extent refs 1 gen 111743 flags 2
[328169.606928] 		ref#0: tree block backref root 7
[328169.606929] 	item 70 key (9882744471552 169 0) itemoff 13940 itemsize 33
[328169.606930] 		extent refs 1 gen 82566 flags 2
[328169.606930] 		ref#0: tree block backref root 7
[328169.606932] 	item 71 key (9882744487936 169 0) itemoff 13907 itemsize 33
[328169.606933] 		extent refs 1 gen 82566 flags 2
[328169.606933] 		ref#0: tree block backref root 7
[328169.606934] 	item 72 key (9882744504320 169 0) itemoff 13874 itemsize 33
[328169.606935] 		extent refs 1 gen 82566 flags 2
[328169.606936] 		ref#0: tree block backref root 7
[328169.606937] 	item 73 key (9882744520704 169 0) itemoff 13841 itemsize 33
[328169.606938] 		extent refs 1 gen 80001 flags 2
[328169.606938] 		ref#0: tree block backref root 7
[328169.606940] 	item 74 key (9882744537088 169 0) itemoff 13808 itemsize 33
[328169.606941] 		extent refs 1 gen 82566 flags 2
[328169.606941] 		ref#0: tree block backref root 7
[328169.606943] 	item 75 key (9882744553472 169 0) itemoff 13775 itemsize 33
[328169.606943] 		extent refs 1 gen 82566 flags 2
[328169.606944] 		ref#0: tree block backref root 7
[328169.606945] 	item 76 key (9882744569856 169 0) itemoff 13742 itemsize 33
[328169.606946] 		extent refs 1 gen 82566 flags 2
[328169.606947] 		ref#0: tree block backref root 7
[328169.606948] 	item 77 key (9882744586240 169 0) itemoff 13709 itemsize 33
[328169.606949] 		extent refs 1 gen 82721 flags 2
[328169.606949] 		ref#0: tree block backref root 7
[328169.606951] 	item 78 key (9882744602624 169 0) itemoff 13676 itemsize 33
[328169.606951] 		extent refs 1 gen 80085 flags 2
[328169.606952] 		ref#0: tree block backref root 7
[328169.606953] 	item 79 key (9882744619008 169 0) itemoff 13643 itemsize 33
[328169.606954] 		extent refs 1 gen 80001 flags 2
[328169.606955] 		ref#0: tree block backref root 7
[328169.606956] 	item 80 key (9882744635392 169 0) itemoff 13610 itemsize 33
[328169.606957] 		extent refs 1 gen 80085 flags 2
[328169.606957] 		ref#0: tree block backref root 7
[328169.606959] 	item 81 key (9882744651776 169 0) itemoff 13577 itemsize 33
[328169.606959] 		extent refs 1 gen 80085 flags 2
[328169.606960] 		ref#0: tree block backref root 2
[328169.606961] 	item 82 key (9882744668160 169 0) itemoff 13544 itemsize 33
[328169.606962] 		extent refs 1 gen 82721 flags 2
[328169.606963] 		ref#0: tree block backref root 7
[328169.606964] 	item 83 key (9882744684544 169 0) itemoff 13511 itemsize 33
[328169.606965] 		extent refs 1 gen 82566 flags 2
[328169.606965] 		ref#0: tree block backref root 7
[328169.606967] 	item 84 key (9882744700928 169 0) itemoff 13478 itemsize 33
[328169.606967] 		extent refs 1 gen 82566 flags 2
[328169.606968] 		ref#0: tree block backref root 7
[328169.606969] 	item 85 key (9882744717312 169 0) itemoff 13445 itemsize 33
[328169.606970] 		extent refs 1 gen 80085 flags 2
[328169.606971] 		ref#0: tree block backref root 7
[328169.606972] 	item 86 key (9882744733696 169 0) itemoff 13412 itemsize 33
[328169.606973] 		extent refs 1 gen 80001 flags 2
[328169.606973] 		ref#0: tree block backref root 7
[328169.606975] 	item 87 key (9882744750080 169 0) itemoff 13379 itemsize 33
[328169.606975] 		extent refs 1 gen 80085 flags 2
[328169.606976] 		ref#0: tree block backref root 7
[328169.606977] 	item 88 key (9882744766464 169 0) itemoff 13346 itemsize 33
[328169.606978] 		extent refs 1 gen 82566 flags 2
[328169.606979] 		ref#0: tree block backref root 7
[328169.606980] 	item 89 key (9882744782848 169 0) itemoff 13313 itemsize 33
[328169.606981] 		extent refs 1 gen 82721 flags 2
[328169.606981] 		ref#0: tree block backref root 7
[328169.606983] 	item 90 key (9882744799232 169 0) itemoff 13280 itemsize 33
[328169.606983] 		extent refs 1 gen 79845 flags 2
[328169.606984] 		ref#0: tree block backref root 7
[328169.606985] 	item 91 key (9882744815616 169 0) itemoff 13247 itemsize 33
[328169.606986] 		extent refs 1 gen 80085 flags 2
[328169.606987] 		ref#0: tree block backref root 7
[328169.606988] 	item 92 key (9882744832000 169 0) itemoff 13214 itemsize 33
[328169.606989] 		extent refs 1 gen 82721 flags 2
[328169.606989] 		ref#0: tree block backref root 7
[328169.606991] 	item 93 key (9882744848384 169 0) itemoff 13181 itemsize 33
[328169.606992] 		extent refs 1 gen 111743 flags 2
[328169.606992] 		ref#0: tree block backref root 7
[328169.606993] 	item 94 key (9882744864768 169 0) itemoff 13148 itemsize 33
[328169.606994] 		extent refs 1 gen 82567 flags 2
[328169.606995] 		ref#0: tree block backref root 7
[328169.606996] 	item 95 key (9882744881152 169 0) itemoff 13115 itemsize 33
[328169.606997] 		extent refs 1 gen 151053 flags 2
[328169.606997] 		ref#0: tree block backref root 7
[328169.606999] 	item 96 key (9882744897536 169 0) itemoff 13082 itemsize 33
[328169.607000] 		extent refs 1 gen 82566 flags 2
[328169.607000] 		ref#0: tree block backref root 7
[328169.607002] 	item 97 key (9882744913920 169 0) itemoff 13049 itemsize 33
[328169.607002] 		extent refs 1 gen 82566 flags 2
[328169.607003] 		ref#0: tree block backref root 7
[328169.607004] 	item 98 key (9882744930304 169 0) itemoff 13016 itemsize 33
[328169.607005] 		extent refs 1 gen 80001 flags 2
[328169.607005] 		ref#0: tree block backref root 7
[328169.607007] 	item 99 key (9882744946688 169 0) itemoff 12983 itemsize 33
[328169.607008] 		extent refs 1 gen 80001 flags 2
[328169.607008] 		ref#0: tree block backref root 7
[328169.607010] 	item 100 key (9882744963072 169 0) itemoff 12950 itemsize 33
[328169.607010] 		extent refs 1 gen 80001 flags 2
[328169.607011] 		ref#0: tree block backref root 7
[328169.607012] 	item 101 key (9882744979456 169 0) itemoff 12917 itemsize 33
[328169.607013] 		extent refs 1 gen 80001 flags 2
[328169.607013] 		ref#0: tree block backref root 7
[328169.607015] 	item 102 key (9882744995840 169 0) itemoff 12884 itemsize 33
[328169.607016] 		extent refs 1 gen 82566 flags 2
[328169.607016] 		ref#0: tree block backref root 7
[328169.607018] 	item 103 key (9882745012224 169 0) itemoff 12851 itemsize 33
[328169.607018] 		extent refs 1 gen 82566 flags 2
[328169.607019] 		ref#0: tree block backref root 7
[328169.607020] 	item 104 key (9882745028608 169 0) itemoff 12818 itemsize 33
[328169.607021] 		extent refs 1 gen 80001 flags 2
[328169.607022] 		ref#0: tree block backref root 7
[328169.607023] 	item 105 key (9882745044992 169 0) itemoff 12785 itemsize 33
[328169.607024] 		extent refs 1 gen 111743 flags 2
[328169.607024] 		ref#0: tree block backref root 7
[328169.607026] 	item 106 key (9882745061376 169 0) itemoff 12752 itemsize 33
[328169.607027] 		extent refs 1 gen 111742 flags 2
[328169.607027] 		ref#0: tree block backref root 7
[328169.607029] 	item 107 key (9882745094144 169 0) itemoff 12719 itemsize 33
[328169.607029] 		extent refs 1 gen 79845 flags 2
[328169.607030] 		ref#0: tree block backref root 7
[328169.607031] 	item 108 key (9882745110528 169 0) itemoff 12686 itemsize 33
[328169.607032] 		extent refs 1 gen 111742 flags 2
[328169.607032] 		ref#0: tree block backref root 7
[328169.607034] 	item 109 key (9882745126912 169 0) itemoff 12653 itemsize 33
[328169.607035] 		extent refs 1 gen 80001 flags 2
[328169.607035] 		ref#0: tree block backref root 7
[328169.607037] 	item 110 key (9882745143296 169 0) itemoff 12620 itemsize 33
[328169.607037] 		extent refs 1 gen 80001 flags 2
[328169.607038] 		ref#0: tree block backref root 7
[328169.607039] 	item 111 key (9882745159680 169 0) itemoff 12587 itemsize 33
[328169.607040] 		extent refs 1 gen 82568 flags 2
[328169.607041] 		ref#0: tree block backref root 7
[328169.607042] 	item 112 key (9882745176064 169 0) itemoff 12554 itemsize 33
[328169.607043] 		extent refs 1 gen 111742 flags 2
[328169.607043] 		ref#0: tree block backref root 7
[328169.607045] 	item 113 key (9882745192448 169 0) itemoff 12521 itemsize 33
[328169.607045] 		extent refs 1 gen 80001 flags 2
[328169.607046] 		ref#0: tree block backref root 7
[328169.607047] 	item 114 key (9882745208832 169 0) itemoff 12488 itemsize 33
[328169.607048] 		extent refs 1 gen 111742 flags 2
[328169.607049] 		ref#0: tree block backref root 7
[328169.607050] 	item 115 key (9882745225216 169 0) itemoff 12455 itemsize 33
[328169.607051] 		extent refs 1 gen 82567 flags 2
[328169.607051] 		ref#0: tree block backref root 7
[328169.607053] 	item 116 key (9882745257984 169 0) itemoff 12422 itemsize 33
[328169.607054] 		extent refs 1 gen 82721 flags 2
[328169.607054] 		ref#0: tree block backref root 7
[328169.607056] 	item 117 key (9882745307136 169 0) itemoff 12389 itemsize 33
[328169.607056] 		extent refs 1 gen 80001 flags 2
[328169.607057] 		ref#0: tree block backref root 7
[328169.607058] 	item 118 key (9882745323520 169 0) itemoff 12356 itemsize 33
[328169.607059] 		extent refs 1 gen 80001 flags 2
[328169.607059] 		ref#0: tree block backref root 7
[328169.607061] 	item 119 key (9882745339904 169 0) itemoff 12323 itemsize 33
[328169.607062] 		extent refs 1 gen 80001 flags 2
[328169.607062] 		ref#0: tree block backref root 7
[328169.607064] 	item 120 key (9882745356288 169 0) itemoff 12290 itemsize 33
[328169.607064] 		extent refs 1 gen 141895 flags 2
[328169.607065] 		ref#0: tree block backref root 7
[328169.607066] 	item 121 key (9882745372672 169 0) itemoff 12257 itemsize 33
[328169.607067] 		extent refs 1 gen 81903 flags 2
[328169.607068] 		ref#0: tree block backref root 7
[328169.607069] 	item 122 key (9882745389056 169 0) itemoff 12224 itemsize 33
[328169.607070] 		extent refs 1 gen 82566 flags 2
[328169.607070] 		ref#0: tree block backref root 7
[328169.607072] 	item 123 key (9882745405440 169 0) itemoff 12191 itemsize 33
[328169.607073] 		extent refs 1 gen 82566 flags 2
[328169.607073] 		ref#0: tree block backref root 7
[328169.607075] 	item 124 key (9882745421824 169 0) itemoff 12158 itemsize 33
[328169.607075] 		extent refs 1 gen 80921 flags 2
[328169.607076] 		ref#0: tree block backref root 7
[328169.607077] 	item 125 key (9882745438208 169 0) itemoff 12125 itemsize 33
[328169.607078] 		extent refs 1 gen 82566 flags 2
[328169.607079] 		ref#0: tree block backref root 7
[328169.607080] 	item 126 key (9882745454592 169 0) itemoff 12092 itemsize 33
[328169.607081] 		extent refs 1 gen 82567 flags 2
[328169.607081] 		ref#0: tree block backref root 7
[328169.607083] 	item 127 key (9882745470976 169 0) itemoff 12059 itemsize 33
[328169.607084] 		extent refs 1 gen 80921 flags 2
[328169.607084] 		ref#0: tree block backref root 7
[328169.607086] 	item 128 key (9882745487360 169 0) itemoff 12026 itemsize 33
[328169.607086] 		extent refs 1 gen 82567 flags 2
[328169.607087] 		ref#0: tree block backref root 7
[328169.607088] 	item 129 key (9882745503744 169 0) itemoff 11993 itemsize 33
[328169.607089] 		extent refs 1 gen 141893 flags 2
[328169.607089] 		ref#0: tree block backref root 7
[328169.607091] 	item 130 key (9882745520128 169 0) itemoff 11960 itemsize 33
[328169.607092] 		extent refs 1 gen 81903 flags 2
[328169.607092] 		ref#0: tree block backref root 7
[328169.607094] 	item 131 key (9882745536512 169 0) itemoff 11927 itemsize 33
[328169.607094] 		extent refs 1 gen 141893 flags 2
[328169.607095] 		ref#0: tree block backref root 7
[328169.607096] 	item 132 key (9882745552896 169 0) itemoff 11894 itemsize 33
[328169.607097] 		extent refs 1 gen 141893 flags 2
[328169.607098] 		ref#0: tree block backref root 7
[328169.607099] 	item 133 key (9882745569280 169 0) itemoff 11861 itemsize 33
[328169.607100] 		extent refs 1 gen 151053 flags 2
[328169.607100] 		ref#0: tree block backref root 7
[328169.607102] 	item 134 key (9882745585664 169 0) itemoff 11828 itemsize 33
[328169.607102] 		extent refs 1 gen 82721 flags 2
[328169.607103] 		ref#0: tree block backref root 7
[328169.607104] 	item 135 key (9882745602048 169 0) itemoff 11795 itemsize 33
[328169.607105] 		extent refs 1 gen 82721 flags 2
[328169.607106] 		ref#0: tree block backref root 7
[328169.607107] 	item 136 key (9882745618432 169 0) itemoff 11762 itemsize 33
[328169.607108] 		extent refs 1 gen 82566 flags 2
[328169.607108] 		ref#0: tree block backref root 7
[328169.607110] 	item 137 key (9882745634816 169 0) itemoff 11729 itemsize 33
[328169.607111] 		extent refs 1 gen 80085 flags 2
[328169.607111] 		ref#0: tree block backref root 7
[328169.607113] 	item 138 key (9882745651200 169 0) itemoff 11696 itemsize 33
[328169.607113] 		extent refs 1 gen 80565 flags 2
[328169.607114] 		ref#0: tree block backref root 7
[328169.607115] 	item 139 key (9882745667584 169 0) itemoff 11663 itemsize 33
[328169.607116] 		extent refs 1 gen 151053 flags 2
[328169.607117] 		ref#0: tree block backref root 7
[328169.607118] 	item 140 key (9882745683968 169 0) itemoff 11630 itemsize 33
[328169.607119] 		extent refs 1 gen 82721 flags 2
[328169.607119] 		ref#0: tree block backref root 7
[328169.607121] 	item 141 key (9882745700352 169 0) itemoff 11597 itemsize 33
[328169.607121] 		extent refs 1 gen 81901 flags 2
[328169.607122] 		ref#0: tree block backref root 7
[328169.607123] 	item 142 key (9882745716736 169 0) itemoff 11564 itemsize 33
[328169.607124] 		extent refs 1 gen 80085 flags 2
[328169.607125] 		ref#0: tree block backref root 7
[328169.607126] 	item 143 key (9882745733120 169 0) itemoff 11531 itemsize 33
[328169.607127] 		extent refs 1 gen 80921 flags 2
[328169.607127] 		ref#0: tree block backref root 7
[328169.607129] 	item 144 key (9882745749504 169 0) itemoff 11498 itemsize 33
[328169.607130] 		extent refs 1 gen 82566 flags 2
[328169.607130] 		ref#0: tree block backref root 7
[328169.607131] 	item 145 key (9882745765888 169 0) itemoff 11465 itemsize 33
[328169.607132] 		extent refs 1 gen 80921 flags 2
[328169.607133] 		ref#0: tree block backref root 7
[328169.607134] 	item 146 key (9882745782272 169 0) itemoff 11432 itemsize 33
[328169.607135] 		extent refs 1 gen 80921 flags 2
[328169.607135] 		ref#0: tree block backref root 7
[328169.607137] 	item 147 key (9882745798656 169 0) itemoff 11399 itemsize 33
[328169.607138] 		extent refs 1 gen 80921 flags 2
[328169.607138] 		ref#0: tree block backref root 7
[328169.607140] 	item 148 key (9882745815040 169 0) itemoff 11366 itemsize 33
[328169.607140] 		extent refs 1 gen 141893 flags 2
[328169.607141] 		ref#0: tree block backref root 7
[328169.607142] 	item 149 key (9882745831424 169 0) itemoff 11333 itemsize 33
[328169.607143] 		extent refs 1 gen 82569 flags 2
[328169.607144] 		ref#0: tree block backref root 7
[328169.607145] 	item 150 key (9882745847808 169 0) itemoff 11300 itemsize 33
[328169.607146] 		extent refs 1 gen 82567 flags 2
[328169.607146] 		ref#0: tree block backref root 7
[328169.607148] 	item 151 key (9882745864192 169 0) itemoff 11267 itemsize 33
[328169.607149] 		extent refs 1 gen 81903 flags 2
[328169.607149] 		ref#0: tree block backref root 7
[328169.607150] 	item 152 key (9882745880576 169 0) itemoff 11234 itemsize 33
[328169.607151] 		extent refs 1 gen 82567 flags 2
[328169.607152] 		ref#0: tree block backref root 7
[328169.607153] 	item 153 key (9882745896960 169 0) itemoff 11201 itemsize 33
[328169.607154] 		extent refs 1 gen 82567 flags 2
[328169.607154] 		ref#0: tree block backref root 7
[328169.607156] 	item 154 key (9882745913344 169 0) itemoff 11168 itemsize 33
[328169.607157] 		extent refs 1 gen 80921 flags 2
[328169.607157] 		ref#0: tree block backref root 7
[328169.607159] 	item 155 key (9882745929728 169 0) itemoff 11135 itemsize 33
[328169.607159] 		extent refs 1 gen 151053 flags 2
[328169.607160] 		ref#0: tree block backref root 7
[328169.607161] 	item 156 key (9882745962496 169 0) itemoff 11102 itemsize 33
[328169.607162] 		extent refs 1 gen 151053 flags 2
[328169.607163] 		ref#0: tree block backref root 7
[328169.607164] 	item 157 key (9882745978880 169 0) itemoff 11069 itemsize 33
[328169.607165] 		extent refs 1 gen 82721 flags 2
[328169.607165] 		ref#0: tree block backref root 7
[328169.607167] 	item 158 key (9882745995264 169 0) itemoff 11036 itemsize 33
[328169.607167] 		extent refs 1 gen 80085 flags 2
[328169.607168] 		ref#0: tree block backref root 7
[328169.607169] 	item 159 key (9882746011648 169 0) itemoff 11003 itemsize 33
[328169.607170] 		extent refs 1 gen 81901 flags 2
[328169.607171] 		ref#0: tree block backref root 7
[328169.607172] 	item 160 key (9882746028032 169 0) itemoff 10970 itemsize 33
[328169.607173] 		extent refs 1 gen 82721 flags 2
[328169.607173] 		ref#0: tree block backref root 7
[328169.607175] 	item 161 key (9882746044416 169 0) itemoff 10937 itemsize 33
[328169.607176] 		extent refs 1 gen 80921 flags 2
[328169.607176] 		ref#0: tree block backref root 7
[328169.607178] 	item 162 key (9882746060800 169 0) itemoff 10904 itemsize 33
[328169.607178] 		extent refs 1 gen 82568 flags 2
[328169.607179] 		ref#0: tree block backref root 7
[328169.607180] 	item 163 key (9882746077184 169 0) itemoff 10871 itemsize 33
[328169.607181] 		extent refs 1 gen 80085 flags 2
[328169.607182] 		ref#0: tree block backref root 7
[328169.607183] 	item 164 key (9882746093568 169 0) itemoff 10838 itemsize 33
[328169.607184] 		extent refs 1 gen 80085 flags 2
[328169.607184] 		ref#0: tree block backref root 7
[328169.607186] 	item 165 key (9882746109952 169 0) itemoff 10805 itemsize 33
[328169.607187] 		extent refs 1 gen 80085 flags 2
[328169.607187] 		ref#0: tree block backref root 7
[328169.607188] 	item 166 key (9882746126336 169 0) itemoff 10772 itemsize 33
[328169.607189] 		extent refs 1 gen 80085 flags 2
[328169.607190] 		ref#0: tree block backref root 7
[328169.607191] 	item 167 key (9882746142720 169 0) itemoff 10739 itemsize 33
[328169.607192] 		extent refs 1 gen 80001 flags 2
[328169.607193] 		ref#0: tree block backref root 7
[328169.607194] 	item 168 key (9882746159104 169 0) itemoff 10706 itemsize 33
[328169.607195] 		extent refs 1 gen 80085 flags 2
[328169.607195] 		ref#0: tree block backref root 7
[328169.607197] 	item 169 key (9882746175488 169 0) itemoff 10673 itemsize 33
[328169.607197] 		extent refs 1 gen 82721 flags 2
[328169.607198] 		ref#0: tree block backref root 7
[328169.607199] 	item 170 key (9882746191872 169 0) itemoff 10640 itemsize 33
[328169.607200] 		extent refs 1 gen 82721 flags 2
[328169.607201] 		ref#0: tree block backref root 7
[328169.607202] 	item 171 key (9882746208256 169 0) itemoff 10607 itemsize 33
[328169.607203] 		extent refs 1 gen 82569 flags 2
[328169.607203] 		ref#0: tree block backref root 7
[328169.607205] 	item 172 key (9882746224640 169 0) itemoff 10574 itemsize 33
[328169.607205] 		extent refs 1 gen 82569 flags 2
[328169.607206] 		ref#0: tree block backref root 7
[328169.607207] 	item 173 key (9882746241024 169 0) itemoff 10541 itemsize 33
[328169.607208] 		extent refs 1 gen 82569 flags 2
[328169.607209] 		ref#0: tree block backref root 7
[328169.607210] 	item 174 key (9882746257408 169 0) itemoff 10508 itemsize 33
[328169.607211] 		extent refs 1 gen 84477 flags 2
[328169.607211] 		ref#0: tree block backref root 5
[328169.607213] 	item 175 key (9882746273792 169 0) itemoff 10475 itemsize 33
[328169.607214] 		extent refs 1 gen 80001 flags 2
[328169.607214] 		ref#0: tree block backref root 7
[328169.607216] 	item 176 key (9882746290176 169 0) itemoff 10442 itemsize 33
[328169.607216] 		extent refs 1 gen 151053 flags 2
[328169.607217] 		ref#0: tree block backref root 7
[328169.607218] 	item 177 key (9882746306560 169 0) itemoff 10409 itemsize 33
[328169.607219] 		extent refs 1 gen 80919 flags 2
[328169.607220] 		ref#0: tree block backref root 7
[328169.607221] 	item 178 key (9882746322944 169 0) itemoff 10376 itemsize 33
[328169.607222] 		extent refs 1 gen 80919 flags 2
[328169.607222] 		ref#0: tree block backref root 7
[328169.607224] 	item 179 key (9882746339328 169 0) itemoff 10343 itemsize 33
[328169.607224] 		extent refs 1 gen 82721 flags 2
[328169.607225] 		ref#0: tree block backref root 7
[328169.607226] 	item 180 key (9882746355712 169 0) itemoff 10310 itemsize 33
[328169.607227] 		extent refs 1 gen 151053 flags 2
[328169.607228] 		ref#0: tree block backref root 7
[328169.607229] 	item 181 key (9882746372096 169 0) itemoff 10277 itemsize 33
[328169.607230] 		extent refs 1 gen 81901 flags 2
[328169.607230] 		ref#0: tree block backref root 7
[328169.607232] 	item 182 key (9882746388480 169 0) itemoff 10244 itemsize 33
[328169.607233] 		extent refs 1 gen 141895 flags 2
[328169.607233] 		ref#0: tree block backref root 7
[328169.607234] 	item 183 key (9882746404864 169 0) itemoff 10211 itemsize 33
[328169.607235] 		extent refs 1 gen 141893 flags 2
[328169.607236] 		ref#0: tree block backref root 7
[328169.607237] 	item 184 key (9882746421248 169 0) itemoff 10178 itemsize 33
[328169.607238] 		extent refs 1 gen 80001 flags 2
[328169.607238] 		ref#0: tree block backref root 7
[328169.607240] 	item 185 key (9882746437632 169 0) itemoff 10145 itemsize 33
[328169.607241] 		extent refs 1 gen 81901 flags 2
[328169.607241] 		ref#0: tree block backref root 7
[328169.607243] 	item 186 key (9882746454016 169 0) itemoff 10112 itemsize 33
[328169.607243] 		extent refs 1 gen 81901 flags 2
[328169.607244] 		ref#0: tree block backref root 7
[328169.607245] 	item 187 key (9882746470400 169 0) itemoff 10079 itemsize 33
[328169.607246] 		extent refs 1 gen 141893 flags 2
[328169.607247] 		ref#0: tree block backref root 7
[328169.607248] 	item 188 key (9882746486784 169 0) itemoff 10046 itemsize 33
[328169.607249] 		extent refs 1 gen 82566 flags 2
[328169.607249] 		ref#0: tree block backref root 7
[328169.607251] 	item 189 key (9882746503168 169 0) itemoff 10013 itemsize 33
[328169.607251] 		extent refs 1 gen 80001 flags 2
[328169.607252] 		ref#0: tree block backref root 7
[328169.607253] 	item 190 key (9882746519552 169 0) itemoff 9980 itemsize 33
[328169.607254] 		extent refs 1 gen 82566 flags 2
[328169.607255] 		ref#0: tree block backref root 7
[328169.607256] 	item 191 key (9882746535936 169 0) itemoff 9947 itemsize 33
[328169.607257] 		extent refs 1 gen 81904 flags 2
[328169.607257] 		ref#0: tree block backref root 5
[328169.607259] 	item 192 key (9882746552320 169 0) itemoff 9914 itemsize 33
[328169.607260] 		extent refs 1 gen 80001 flags 2
[328169.607260] 		ref#0: tree block backref root 7
[328169.607261] 	item 193 key (9882746568704 169 0) itemoff 9881 itemsize 33
[328169.607262] 		extent refs 1 gen 80001 flags 2
[328169.607263] 		ref#0: tree block backref root 7
[328169.607264] 	item 194 key (9882746585088 169 0) itemoff 9848 itemsize 33
[328169.607265] 		extent refs 1 gen 82566 flags 2
[328169.607265] 		ref#0: tree block backref root 7
[328169.607267] 	item 195 key (9882746601472 169 0) itemoff 9815 itemsize 33
[328169.607268] 		extent refs 1 gen 82566 flags 2
[328169.607268] 		ref#0: tree block backref root 7
[328169.607270] 	item 196 key (9882746617856 169 0) itemoff 9782 itemsize 33
[328169.607270] 		extent refs 1 gen 82566 flags 2
[328169.607271] 		ref#0: tree block backref root 7
[328169.607272] 	item 197 key (9882746634240 169 0) itemoff 9749 itemsize 33
[328169.607273] 		extent refs 1 gen 80919 flags 2
[328169.607274] 		ref#0: tree block backref root 7
[328169.607275] 	item 198 key (9882746650624 169 0) itemoff 9716 itemsize 33
[328169.607276] 		extent refs 1 gen 80919 flags 2
[328169.607276] 		ref#0: tree block backref root 7
[328169.607278] 	item 199 key (9882746667008 169 0) itemoff 9683 itemsize 33
[328169.607278] 		extent refs 1 gen 80085 flags 2
[328169.607279] 		ref#0: tree block backref root 7
[328169.607280] 	item 200 key (9882746683392 169 0) itemoff 9650 itemsize 33
[328169.607281] 		extent refs 1 gen 84479 flags 2
[328169.607282] 		ref#0: tree block backref root 5
[328169.607283] 	item 201 key (9882746699776 169 0) itemoff 9617 itemsize 33
[328169.607284] 		extent refs 1 gen 82568 flags 2
[328169.607284] 		ref#0: tree block backref root 7
[328169.607286] 	item 202 key (9882746716160 169 0) itemoff 9584 itemsize 33
[328169.607286] 		extent refs 1 gen 80085 flags 2
[328169.607287] 		ref#0: tree block backref root 7
[328169.607288] 	item 203 key (9882746732544 169 0) itemoff 9551 itemsize 33
[328169.607289] 		extent refs 1 gen 111747 flags 2
[328169.607290] 		ref#0: tree block backref root 7
[328169.607291] 	item 204 key (9882746748928 169 0) itemoff 9518 itemsize 33
[328169.607292] 		extent refs 1 gen 151051 flags 2
[328169.607292] 		ref#0: tree block backref root 7
[328169.607294] 	item 205 key (9882746765312 169 0) itemoff 9485 itemsize 33
[328169.607295] 		extent refs 1 gen 80303 flags 2
[328169.607295] 		ref#0: tree block backref root 7
[328169.607297] 	item 206 key (9882746781696 169 0) itemoff 9452 itemsize 33
[328169.607297] 		extent refs 1 gen 84477 flags 2
[328169.607298] 		ref#0: tree block backref root 5
[328169.607299] 	item 207 key (9882746798080 169 0) itemoff 9419 itemsize 33
[328169.607300] 		extent refs 1 gen 151053 flags 2
[328169.607300] 		ref#0: tree block backref root 7
[328169.607302] 	item 208 key (9882746814464 169 0) itemoff 9386 itemsize 33
[328169.607303] 		extent refs 1 gen 82721 flags 2
[328169.607303] 		ref#0: tree block backref root 7
[328169.607305] 	item 209 key (9882746830848 169 0) itemoff 9353 itemsize 33
[328169.607305] 		extent refs 1 gen 80919 flags 2
[328169.607306] 		ref#0: tree block backref root 7
[328169.607307] 	item 210 key (9882746847232 169 0) itemoff 9320 itemsize 33
[328169.607308] 		extent refs 1 gen 80303 flags 2
[328169.607309] 		ref#0: tree block backref root 7
[328169.607310] 	item 211 key (9882746863616 169 0) itemoff 9287 itemsize 33
[328169.607311] 		extent refs 1 gen 80084 flags 2
[328169.607311] 		ref#0: tree block backref root 7
[328169.607313] 	item 212 key (9882746880000 169 0) itemoff 9254 itemsize 33
[328169.607313] 		extent refs 1 gen 98406 flags 2
[328169.607314] 		ref#0: tree block backref root 7
[328169.607315] 	item 213 key (9882746896384 169 0) itemoff 9221 itemsize 33
[328169.607316] 		extent refs 1 gen 80567 flags 2
[328169.607317] 		ref#0: tree block backref root 7
[328169.607318] 	item 214 key (9882746912768 169 0) itemoff 9188 itemsize 33
[328169.607319] 		extent refs 1 gen 82721 flags 2
[328169.607319] 		ref#0: tree block backref root 7
[328169.607321] 	item 215 key (9882746929152 169 0) itemoff 9155 itemsize 33
[328169.607322] 		extent refs 1 gen 80086 flags 2
[328169.607322] 		ref#0: tree block backref root 7
[328169.607323] 	item 216 key (9882746945536 169 0) itemoff 9122 itemsize 33
[328169.607324] 		extent refs 1 gen 80084 flags 2
[328169.607325] 		ref#0: tree block backref root 7
[328169.607326] 	item 217 key (9882746961920 169 0) itemoff 9089 itemsize 33
[328169.607327] 		extent refs 1 gen 80920 flags 2
[328169.607327] 		ref#0: tree block backref root 7
[328169.607329] 	item 218 key (9882746978304 169 0) itemoff 9056 itemsize 33
[328169.607330] 		extent refs 1 gen 82569 flags 2
[328169.607330] 		ref#0: tree block backref root 7
[328169.607331] 	item 219 key (9882746994688 169 0) itemoff 9023 itemsize 33
[328169.607332] 		extent refs 1 gen 80568 flags 2
[328169.607333] 		ref#0: tree block backref root 7
[328169.607334] 	item 220 key (9882747011072 169 0) itemoff 8990 itemsize 33
[328169.607335] 		extent refs 1 gen 80084 flags 2
[328169.607335] 		ref#0: tree block backref root 7
[328169.607337] 	item 221 key (9882747027456 169 0) itemoff 8957 itemsize 33
[328169.607338] 		extent refs 1 gen 82569 flags 2
[328169.607338] 		ref#0: tree block backref root 7
[328169.607340] 	item 222 key (9882747043840 169 0) itemoff 8924 itemsize 33
[328169.607340] 		extent refs 1 gen 111743 flags 2
[328169.607341] 		ref#0: tree block backref root 7
[328169.607342] 	item 223 key (9882747060224 169 0) itemoff 8891 itemsize 33
[328169.607343] 		extent refs 1 gen 82567 flags 2
[328169.607344] 		ref#0: tree block backref root 7
[328169.607345] 	item 224 key (9882747076608 169 0) itemoff 8858 itemsize 33
[328169.607346] 		extent refs 1 gen 80084 flags 2
[328169.607346] 		ref#0: tree block backref root 7
[328169.607348] 	item 225 key (9882747092992 169 0) itemoff 8825 itemsize 33
[328169.607348] 		extent refs 1 gen 80920 flags 2
[328169.607349] 		ref#0: tree block backref root 7
[328169.607350] 	item 226 key (9882747109376 169 0) itemoff 8792 itemsize 33
[328169.607351] 		extent refs 1 gen 80001 flags 2
[328169.607352] 		ref#0: tree block backref root 7
[328169.607353] 	item 227 key (9882747125760 169 0) itemoff 8759 itemsize 33
[328169.607354] 		extent refs 1 gen 82567 flags 2
[328169.607354] 		ref#0: tree block backref root 7
[328169.607356] 	item 228 key (9882747142144 169 0) itemoff 8726 itemsize 33
[328169.607357] 		extent refs 1 gen 80084 flags 2
[328169.607357] 		ref#0: tree block backref root 7
[328169.607358] 	item 229 key (9882747158528 169 0) itemoff 8693 itemsize 33
[328169.607359] 		extent refs 1 gen 82569 flags 2
[328169.607360] 		ref#0: tree block backref root 7
[328169.607361] 	item 230 key (9882747174912 169 0) itemoff 8660 itemsize 33
[328169.607362] 		extent refs 1 gen 82569 flags 2
[328169.607362] 		ref#0: tree block backref root 7
[328169.607364] 	item 231 key (9882747191296 169 0) itemoff 8627 itemsize 33
[328169.607365] 		extent refs 1 gen 82569 flags 2
[328169.607365] 		ref#0: tree block backref root 7
[328169.607367] 	item 232 key (9882747207680 169 0) itemoff 8594 itemsize 33
[328169.607367] 		extent refs 1 gen 82566 flags 2
[328169.607368] 		ref#0: tree block backref root 7
[328169.607369] 	item 233 key (9882747224064 169 0) itemoff 8561 itemsize 33
[328169.607370] 		extent refs 1 gen 111743 flags 2
[328169.607370] 		ref#0: tree block backref root 7
[328169.607372] 	item 234 key (9882747240448 169 0) itemoff 8528 itemsize 33
[328169.607373] 		extent refs 1 gen 80084 flags 2
[328169.607373] 		ref#0: tree block backref root 7
[328169.607375] 	item 235 key (9882747256832 169 0) itemoff 8495 itemsize 33
[328169.607375] 		extent refs 1 gen 80084 flags 2
[328169.607376] 		ref#0: tree block backref root 7
[328169.607377] 	item 236 key (9882747273216 169 0) itemoff 8462 itemsize 33
[328169.607378] 		extent refs 1 gen 82721 flags 2
[328169.607379] 		ref#0: tree block backref root 7
[328169.607380] 	item 237 key (9882747289600 169 0) itemoff 8429 itemsize 33
[328169.607381] 		extent refs 1 gen 84477 flags 2
[328169.607381] 		ref#0: tree block backref root 5
[328169.607383] 	item 238 key (9882747305984 169 0) itemoff 8396 itemsize 33
[328169.607383] 		extent refs 1 gen 80084 flags 2
[328169.607384] 		ref#0: tree block backref root 7
[328169.607385] 	item 239 key (9882747322368 169 0) itemoff 8363 itemsize 33
[328169.607386] 		extent refs 1 gen 82721 flags 2
[328169.607387] 		ref#0: tree block backref root 7
[328169.607388] 	item 240 key (9882747338752 169 0) itemoff 8330 itemsize 33
[328169.607389] 		extent refs 1 gen 82721 flags 2
[328169.607389] 		ref#0: tree block backref root 7
[328169.607391] 	item 241 key (9882747355136 169 0) itemoff 8297 itemsize 33
[328169.607391] 		extent refs 1 gen 80001 flags 2
[328169.607392] 		ref#0: tree block backref root 23
[328169.607393] 	item 242 key (9882747371520 169 0) itemoff 8264 itemsize 33
[328169.607394] 		extent refs 1 gen 82567 flags 2
[328169.607395] 		ref#0: tree block backref root 7
[328169.607396] 	item 243 key (9882747387904 169 0) itemoff 8231 itemsize 33
[328169.607397] 		extent refs 1 gen 82721 flags 2
[328169.607397] 		ref#0: tree block backref root 7
[328169.607399] 	item 244 key (9882747404288 169 0) itemoff 8198 itemsize 33
[328169.607399] 		extent refs 1 gen 80001 flags 2
[328169.607400] 		ref#0: tree block backref root 7
[328169.607401] 	item 245 key (9882747420672 169 0) itemoff 8165 itemsize 33
[328169.607402] 		extent refs 1 gen 82721 flags 2
[328169.607403] 		ref#0: tree block backref root 7
[328169.607404] 	item 246 key (9882747437056 169 0) itemoff 8132 itemsize 33
[328169.607405] 		extent refs 1 gen 98406 flags 2
[328169.607405] 		ref#0: tree block backref root 7
[328169.607407] 	item 247 key (9882747453440 169 0) itemoff 8099 itemsize 33
[328169.607407] 		extent refs 1 gen 80303 flags 2
[328169.607408] 		ref#0: tree block backref root 7
[328169.607409] 	item 248 key (9882747469824 169 0) itemoff 8066 itemsize 33
[328169.607410] 		extent refs 1 gen 82566 flags 2
[328169.607411] 		ref#0: tree block backref root 7
[328169.607412] 	item 249 key (9882747486208 169 0) itemoff 8033 itemsize 33
[328169.607413] 		extent refs 1 gen 82721 flags 2
[328169.607413] 		ref#0: tree block backref root 7
[328169.607415] 	item 250 key (9882747502592 169 0) itemoff 8000 itemsize 33
[328169.607415] 		extent refs 1 gen 76666 flags 2
[328169.607416] 		ref#0: tree block backref root 7
[328169.607417] 	item 251 key (9882747518976 169 0) itemoff 7967 itemsize 33
[328169.607418] 		extent refs 1 gen 76666 flags 2
[328169.607419] 		ref#0: tree block backref root 7
[328169.607420] 	item 252 key (9882747535360 169 0) itemoff 7934 itemsize 33
[328169.607421] 		extent refs 1 gen 76666 flags 2
[328169.607421] 		ref#0: tree block backref root 7
[328169.607423] 	item 253 key (9882747551744 169 0) itemoff 7901 itemsize 33
[328169.607423] 		extent refs 1 gen 76666 flags 2
[328169.607424] 		ref#0: tree block backref root 7
[328169.607425] 	item 254 key (9882747568128 169 0) itemoff 7868 itemsize 33
[328169.607426] 		extent refs 1 gen 76666 flags 2
[328169.607427] 		ref#0: tree block backref root 7
[328169.607428] 	item 255 key (9882747584512 169 0) itemoff 7835 itemsize 33
[328169.607429] 		extent refs 1 gen 76666 flags 2
[328169.607429] 		ref#0: tree block backref root 7
[328169.607431] 	item 256 key (9882747600896 169 0) itemoff 7802 itemsize 33
[328169.607431] 		extent refs 1 gen 76666 flags 2
[328169.607432] 		ref#0: tree block backref root 7
[328169.607433] 	item 257 key (9882747617280 169 0) itemoff 7769 itemsize 33
[328169.607434] 		extent refs 1 gen 80920 flags 2
[328169.607435] 		ref#0: tree block backref root 7
[328169.607436] 	item 258 key (9882747650048 169 0) itemoff 7736 itemsize 33
[328169.607437] 		extent refs 1 gen 111743 flags 2
[328169.607437] 		ref#0: tree block backref root 7
[328169.607439] 	item 259 key (9882747666432 169 0) itemoff 7703 itemsize 33
[328169.607439] 		extent refs 1 gen 111743 flags 2
[328169.607440] 		ref#0: tree block backref root 7
[328169.607441] 	item 260 key (9882747682816 169 0) itemoff 7670 itemsize 33
[328169.607442] 		extent refs 1 gen 80084 flags 2
[328169.607443] 		ref#0: tree block backref root 7
[328169.607444] 	item 261 key (9882747699200 169 0) itemoff 7637 itemsize 33
[328169.607445] 		extent refs 1 gen 80084 flags 2
[328169.607445] 		ref#0: tree block backref root 7
[328169.607447] 	item 262 key (9882747715584 169 0) itemoff 7604 itemsize 33
[328169.607448] 		extent refs 1 gen 80084 flags 2
[328169.607448] 		ref#0: tree block backref root 7
[328169.607449] 	item 263 key (9882747731968 169 0) itemoff 7571 itemsize 33
[328169.607450] 		extent refs 1 gen 84477 flags 2
[328169.607451] 		ref#0: tree block backref root 5
[328169.607452] 	item 264 key (9882747748352 169 0) itemoff 7538 itemsize 33
[328169.607453] 		extent refs 1 gen 81904 flags 2
[328169.607453] 		ref#0: tree block backref root 7
[328169.607455] 	item 265 key (9882747764736 169 0) itemoff 7505 itemsize 33
[328169.607456] 		extent refs 1 gen 81904 flags 2
[328169.607456] 		ref#0: tree block backref root 7
[328169.607457] 	item 266 key (9882747781120 169 0) itemoff 7472 itemsize 33
[328169.607458] 		extent refs 1 gen 151053 flags 2
[328169.607459] 		ref#0: tree block backref root 7
[328169.607460] 	item 267 key (9882747797504 169 0) itemoff 7439 itemsize 33
[328169.607461] 		extent refs 1 gen 76666 flags 2
[328169.607461] 		ref#0: tree block backref root 7
[328169.607463] 	item 268 key (9882747813888 169 0) itemoff 7406 itemsize 33
[328169.607464] 		extent refs 1 gen 76666 flags 2
[328169.607464] 		ref#0: tree block backref root 7
[328169.607465] 	item 269 key (9882747830272 169 0) itemoff 7373 itemsize 33
[328169.607466] 		extent refs 1 gen 76666 flags 2
[328169.607467] 		ref#0: tree block backref root 7
[328169.607468] 	item 270 key (9882747846656 169 0) itemoff 7340 itemsize 33
[328169.607469] 		extent refs 1 gen 151053 flags 2
[328169.607469] 		ref#0: tree block backref root 7
[328169.607471] 	item 271 key (9882747863040 169 0) itemoff 7307 itemsize 33
[328169.607471] 		extent refs 1 gen 76884 flags 2
[328169.607472] 		ref#0: tree block backref root 7
[328169.607473] 	item 272 key (9882747879424 169 0) itemoff 7274 itemsize 33
[328169.607474] 		extent refs 1 gen 76666 flags 2
[328169.607475] 		ref#0: tree block backref root 7
[328169.607477] BTRFS error (device sdd): unable to find ref byte nr 9882747355136 parent 0 root 7  owner 0 offset 0
[328169.609922] ------------[ cut here ]------------
[328169.609923] BTRFS: Transaction aborted (error -2)
[328169.609963] WARNING: CPU: 7 PID: 996208 at fs/btrfs/extent-tree.c:3096 __btrfs_free_extent+0x72d/0x910 [btrfs]
[328169.609963] Modules linked in: xt_nat(E) xt_tcpudp(E) veth(E) xt_conntrack(E) nft_chain_nat(E) xt_MASQUERADE(E) nf_nat(E) nf_conntrack_netlink(E) nf_conntrack(E) nf_defrag_ipv6(E) nf_defrag_ipv4(E) xfrm_user(E) xfrm_algo(E) nft_counter(E) xt_addrtype(E) nft_compat(E) nf_tables(E) nfnetlink(E) br_netfilter(E) bridge(E) stp(E) llc(E) wireguard(E) libchacha20poly1305(E) chacha_x86_64(E) poly1305_x86_64(E) ip6_udp_tunnel(E) udp_tunnel(E) libblake2s(E) rdma_ucm(E) blake2s_x86_64(E) rdma_cm(E) curve25519_x86_64(E) iw_cm(E) libcurve25519_generic(E) ib_cm(E) libchacha(E) libblake2s_generic(E) overlay(E) ipmi_ssif(E) snd_hda_intel(E) snd_intel_dspcfg(E) soundwire_intel(E) soundwire_generic_allocation(E) snd_soc_core(E) edac_mce_amd(E) snd_compress(E) kvm_amd(E) soundwire_cadence(E) kvm(E) irqbypass(E) snd_hda_codec(E) snd_hda_core(E) ghash_clmulni_intel(E) snd_hwdep(E) soundwire_bus(E) snd_pcm(E) ast(E) aesni_intel(E) drm_vram_helper(E) snd_timer(E) drm_ttm_helper(E) libaes(E) crypto_simd(E) snd(E)
[328169.609999]  ttm(E) cdc_ether(E) cryptd(E) soundcore(E) usbnet(E) glue_helper(E) acpi_ipmi(E) mii(E) drm_kms_helper(E) sp5100_tco(E) ipmi_si(E) ccp(E) cec(E) wmi_bmof(E) joydev(E) evdev(E) k10temp(E) rapl(E) pcspkr(E) sg(E) ipmi_devintf(E) watchdog(E) rng_core(E) ipmi_msghandler(E) acpi_cpufreq(E) button(E) nfsd(E) auth_rpcgss(E) nfs_acl(E) lockd(E) grace(E) drm(E) fuse(E) configfs(E) sunrpc(E) ip_tables(E) x_tables(E) autofs4(E) btrfs(E) blake2b_generic(E) xor(E) raid6_pq(E) libcrc32c(E) crc32c_generic(E) mlx4_ib(E) ib_uverbs(E) mlx4_en(E) ib_core(E) hid_generic(E) usbhid(E) hid(E) sd_mod(E) t10_pi(E) crc_t10dif(E) crct10dif_generic(E) igb(E) ahci(E) xhci_pci(E) crct10dif_pclmul(E) i2c_algo_bit(E) crct10dif_common(E) crc32_pclmul(E) libahci(E) dca(E) crc32c_intel(E) xhci_hcd(E) ptp(E) i2c_piix4(E) libata(E) 3w_9xxx(E) pps_core(E) usbcore(E) scsi_mod(E) mlx4_core(E) usb_common(E) wmi(E) gpio_amdpt(E) gpio_generic(E)
[328169.610034] CPU: 7 PID: 996208 Comm: btrfs-transacti Tainted: G        W   E     5.10.70-3ware #1
[328169.610034] Hardware name: To Be Filled By O.E.M. To Be Filled By O.E.M./X470D4U, BIOS P3.50 11/02/2020
[328169.610055] RIP: 0010:__btrfs_free_extent+0x72d/0x910 [btrfs]
[328169.610057] Code: 45 50 f0 48 0f ba a8 40 0a 00 00 02 0f 92 c0 41 58 84 c0 0f 85 aa d1 0a 00 be fe ff ff ff 48 c7 c7 b0 8b 6f c0 e8 b6 af 44 e6 <0f> 0b e9 92 d1 0a 00 c7 44 24 14 f4 ff ff ff e9 d8 fc ff ff 0f 1f
[328169.610058] RSP: 0018:ffff97bf4ba27c60 EFLAGS: 00010286
[328169.610059] RAX: 0000000000000000 RBX: 0000000000000000 RCX: ffff8cb7fe9d8a08
[328169.610060] RDX: 00000000ffffffd8 RSI: 0000000000000027 RDI: ffff8cb7fe9d8a00
[328169.610061] RBP: 000008fd01a54000 R08: 0000000000000000 R09: ffff97bf4ba27a80
[328169.610062] R10: ffff97bf4ba27a78 R11: ffff8cb80f3045e8 R12: 00000000fffffffe
[328169.610063] R13: ffff8cb501b70c98 R14: ffff8cb5116e73f0 R15: 0000000000000007
[328169.610064] FS:  0000000000000000(0000) GS:ffff8cb7fe9c0000(0000) knlGS:0000000000000000
[328169.610065] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[328169.610066] CR2: 00007facbec02928 CR3: 0000000108d64000 CR4: 00000000003506e0
[328169.610067] Call Trace:
[328169.610070]  ? kmem_cache_free+0x3e5/0x410
[328169.610091]  ? __btrfs_run_delayed_refs+0xf6f/0xfc0 [btrfs]
[328169.610128]  ? btrfs_merge_delayed_refs+0x19f/0x1d0 [btrfs]
[328169.610155]  __btrfs_run_delayed_refs+0x256/0xfc0 [btrfs]
[328169.610179]  btrfs_run_delayed_refs+0x73/0x200 [btrfs]
[328169.610205]  btrfs_commit_transaction+0x57/0xb40 [btrfs]
[328169.610231]  ? start_transaction+0xd2/0x580 [btrfs]
[328169.610238]  ? usleep_range+0x80/0x80
[328169.610261]  transaction_kthread+0x14c/0x170 [btrfs]
[328169.610288]  ? btrfs_cleanup_transaction.isra.0+0x590/0x590 [btrfs]
[328169.610296]  kthread+0x11b/0x140
[328169.610301]  ? __kthread_bind_mask+0x60/0x60
[328169.610305]  ret_from_fork+0x22/0x30
[328169.610309] ---[ end trace 4cb235a2137cbd13 ]---
[328169.610314] BTRFS: error (device sdd) in __btrfs_free_extent:3096: errno=-2 No such entry
[328169.612696] BTRFS info (device sdd): forced readonly
[328169.612700] BTRFS: error (device sdd) in btrfs_run_delayed_refs:2148: errno=-2 No such entry
[366234.561639] BTRFS info (device sdd): flagging fs with big metadata feature
[366234.561642] BTRFS info (device sdd): disk space caching is enabled
[366234.561643] BTRFS info (device sdd): has skinny extents

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: btrfs_free_extent
  2021-12-19 15:24 btrfs_free_extent Tuetuopay
@ 2021-12-19 23:42 ` Qu Wenruo
  2021-12-20  9:35   ` btrfs_free_extent Tuetuopay
  0 siblings, 1 reply; 7+ messages in thread
From: Qu Wenruo @ 2021-12-19 23:42 UTC (permalink / raw)
  To: Tuetuopay, linux-btrfs



On 2021/12/19 23:24, Tuetuopay wrote:
> Hi,
>
> I need some advice on a btrfs raid-1 volume that shows a few corruptions
> on some places. I have some files that triggered some safeguards on
> write, which ended up remounting the fs as read-only.
>
> Over on IRC, multicore suggested me to run a readonly check, whose
> output is here:
>
> # btrfs check --readonly
> /dev/disk/by-uuid/e944a837-f89b-48ea-80fd-40b2bec8f21b
> Opening filesystem to check...
> Checking filesystem on /dev/disk/by-uuid/e944a837-f89b-48ea-80fd-40b2bec8f21b
> UUID: e944a837-f89b-48ea-80fd-40b2bec8f21b
> [1/7] checking root items
> [2/7] checking extents
> tree backref 9882747355136 root 7 not found in extent tree
> backref 9882747355136 root 23 not referenced back 0x556ea3cb07d0

This is one corruption in extent tree, we don't have root 23 at all.
Only root 7 is correct.

On the other hand, 23 = 0x17, while 7 = 0x07.

So, see a pattern here?

Thus recommend to memtest to make sure it's not a memory bitflip causing
the corruption in the first hand.

> incorrect global backref count on 9882747355136 found 2 wanted 1
> backpointer mismatch on [9882747355136 16384]
> ERROR: errors found in extent allocation tree or chunk allocation
> [3/7] checking free space cache
> [4/7] checking fs roots
> root 5 inode 1626695 errors 40000
> Dir items with mismatch hash:
> 	name: fendor.qti.hardware.sigma_miracast@1.0-impl.so namelen: 46 wanted
> 0x12c67915 has 0x0471bc31
> root 5 inode 1626696 errors 2000, link count wrong
> 	unresolved ref dir 1626695 index 2 namelen 46 name
> vendor.qti.hardware.sigma_miracast@1.0-impl.so filetype 1 errors 1, no
> dir item

This can also be caused by memory bitfip.

Fortunately, both cases should be repairable.
But that should only be done after you have checked your memory.
You won't want to have unreliable memory which can definitely cause more
damage during repair.

But it's still better to keep important data backed up.

> ERROR: errors found in fs roots
> found 6870080626688 bytes used, error(s) found
> total csum bytes: 6668958308
> total tree bytes: 9075539968
> total fs tree bytes: 1478344704
> total extent tree bytes: 243793920
> btree space waste bytes: 820626944
> file data blocks allocated: 326941710356480
>   referenced 6854941941760
>
> They suggested that I run a non-ro check, but warned that it could do
> more harm than good, hence this email seeking advice. Has check any
> chance to fix the issue?
>
> I think I should also mention that I'm fine deleting those specific
> files as I can get them back somewhat easily.
>
> To finish off, here is the information requested by the wiki page:
>
> $ uname -a
> Linux gimli 5.10.70-3ware #1 SMP Wed Dec 15 03:46:13 CET 2021 x86_64 GNU/Linux

One thing to mention is, if you're running kernel newer than v5.11, the
last corruption (the one on name hash mismatch) can be detected early,
without writing the corrupted data back to disk.

Thus it's recommended to use newer kernel.

Thanks,
Qu

> $ btrfs fi show
> Label: none  uuid: 381bd0ef-20cb-4517-b825-d45630a6ca0a
> 	Total devices 1 FS bytes used 65.49GiB
> 	devid    1 size 111.79GiB used 111.79GiB path /dev/sdk1
>
> Label: 'storage'  uuid: e944a837-f89b-48ea-80fd-40b2bec8f21b
> 	Total devices 5 FS bytes used 6.25TiB
> 	devid    1 size 2.73TiB used 2.50TiB path /dev/sdd
> 	devid    2 size 2.73TiB used 2.50TiB path /dev/sdc
> 	devid    4 size 931.51GiB used 702.00GiB path /dev/sdf
> 	devid    6 size 3.64TiB used 3.41TiB path /dev/sdg
> 	devid    7 size 3.64TiB used 3.41TiB path /dev/sdh
>
> $ btrfs fi df /media/storage
> Data, RAID1: total=6.25TiB, used=6.24TiB
> System, RAID1: total=32.00MiB, used=944.00KiB
> Metadata, RAID1: total=10.00GiB, used=8.45GiB
> GlobalReserve, single: total=512.00MiB, used=0.00B
> $ btrfs --version
> btrfs-progs v5.10.1
>
> The dmesg is attached to the email, but most of the `BTRFS critical` log
> lines related to name corruption have been removed to get the file to 200KB.
>
> Some things to note:
> - I recently upgraded the machine from Debian 9 to 11, getting the
> kernel from 4.9 to 5.10, but the issue already existed on 4.9 (it even
> started there, prompting me to replace a drive as I though it to be the
> source of the corruption).
> - The kernel is almost the vanilla debian bullseye kernel, with an added
> (tiny) patch to fix an issue between 3Ware RAID cards and AMD Ryzen
> CPUs. It should not affect the BTRFS subsystem as it adds a quirk to the
> PCIe subsystem.
> - I have a few name mismatches, which can be seen in the logs too. While
> I'd love someday to get rid of them, I simply moved the affected files
> in a corner for now. That's not the issue I'm trying to solve now
> (though if someone can help, I'd be glad). They come from a ZIP archive,
> so deleting them is fine, but I can't as I only get "Input/Output error"
> when trying to rm them.
>
> Thank you very much to whoever can help!

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: btrfs_free_extent
  2021-12-19 23:42 ` btrfs_free_extent Qu Wenruo
@ 2021-12-20  9:35   ` Tuetuopay
  2021-12-20 20:30     ` btrfs_free_extent Tuetuopay
  0 siblings, 1 reply; 7+ messages in thread
From: Tuetuopay @ 2021-12-20  9:35 UTC (permalink / raw)
  To: Qu Wenruo; +Cc: linux-btrfs

Hi, thanks for the swift reply!

On déc. 20 2021, at 12:42 am, Qu Wenruo <quwenruo.btrfs@gmx.com> wrote:
> On 2021/12/19 23:24, Tuetuopay wrote:
>> Hi,
>>  
>> I need some advice on a btrfs raid-1 volume that shows a few corruptions
>> on some places. I have some files that triggered some safeguards on
>> write, which ended up remounting the fs as read-only.
>>  
>> Over on IRC, multicore suggested me to run a readonly check, whose
>> output is here:
>>  
>> # btrfs check --readonly
>> /dev/disk/by-uuid/e944a837-f89b-48ea-80fd-40b2bec8f21b
>> Opening filesystem to check...
>> Checking filesystem on /dev/disk/by-uuid/e944a837-f89b-48ea-80fd-40b2bec8f21b
>> UUID: e944a837-f89b-48ea-80fd-40b2bec8f21b
>> [1/7] checking root items
>> [2/7] checking extents
>> tree backref 9882747355136 root 7 not found in extent tree
>> backref 9882747355136 root 23 not referenced back 0x556ea3cb07d0
>  
> This is one corruption in extent tree, we don't have root 23 at all.
> Only root 7 is correct.
>  
> On the other hand, 23 = 0x17, while 7 = 0x07.
>  
> So, see a pattern here?
>  
> Thus recommend to memtest to make sure it's not a memory bitflip causing
> the corruption in the first hand.

That definitely looks like a bitflip to me.

>> incorrect global backref count on 9882747355136 found 2 wanted 1
>> backpointer mismatch on [9882747355136 16384]
>> ERROR: errors found in extent allocation tree or chunk allocation
>> [3/7] checking free space cache
>> [4/7] checking fs roots
>> root 5 inode 1626695 errors 40000
>> Dir items with mismatch hash:
>> 	name: fendor.qti.hardware.sigma_miracast@1.0-impl.so namelen: 46 wanted
>> 0x12c67915 has 0x0471bc31
>> root 5 inode 1626696 errors 2000, link count wrong
>> 	unresolved ref dir 1626695 index 2 namelen 46 name
>> vendor.qti.hardware.sigma_miracast@1.0-impl.so filetype 1 errors 1, no
>> dir item
>  
> This can also be caused by memory bitfip.
>  
> Fortunately, both cases should be repairable.
> But that should only be done after you have checked your memory.
> You won't want to have unreliable memory which can definitely cause more
> damage during repair.
>  
> But it's still better to keep important data backed up.

Yes, definitely a bitflip, f = 0x66 and v = 0x76.

>> ERROR: errors found in fs roots
>> found 6870080626688 bytes used, error(s) found
>> total csum bytes: 6668958308
>> total tree bytes: 9075539968
>> total fs tree bytes: 1478344704
>> total extent tree bytes: 243793920
>> btree space waste bytes: 820626944
>> file data blocks allocated: 326941710356480
>>   referenced 6854941941760
>>  
>> They suggested that I run a non-ro check, but warned that it could do
>> more harm than good, hence this email seeking advice. Has check any
>> chance to fix the issue?
>>  
>> I think I should also mention that I'm fine deleting those specific
>> files as I can get them back somewhat easily.
>>  
>> To finish off, here is the information requested by the wiki page:
>>  
>> $ uname -a
>> Linux gimli 5.10.70-3ware #1 SMP Wed Dec 15 03:46:13 CET 2021 x86_64 GNU/Linux
>  
> One thing to mention is, if you're running kernel newer than v5.11, the
> last corruption (the one on name hash mismatch) can be detected early,
> without writing the corrupted data back to disk.
>  
> Thus it's recommended to use newer kernel.

Amazing advice. I'll definitely upgrade the kernel, likely latest.

> Thanks,
> Qu

Thank you very much to you! I just started a full memtest on the
machine. I expect it to be good, since the RAM is brand new (just
swapped the whole system due to the previous motherboard dying), but you
never know. I'll get back to you with the results!

Also, if I can get my hands on a DDR3 system, I'll test the old ram to
be sure. If this ends up being a RAM issue, I'll send back the current
one and buy some ECC memory.

Thanks,
Alexis

>> $ btrfs fi show
>> Label: none  uuid: 381bd0ef-20cb-4517-b825-d45630a6ca0a
>> 	Total devices 1 FS bytes used 65.49GiB
>> 	devid    1 size 111.79GiB used 111.79GiB path /dev/sdk1
>>  
>> Label: 'storage'  uuid: e944a837-f89b-48ea-80fd-40b2bec8f21b
>> 	Total devices 5 FS bytes used 6.25TiB
>> 	devid    1 size 2.73TiB used 2.50TiB path /dev/sdd
>> 	devid    2 size 2.73TiB used 2.50TiB path /dev/sdc
>> 	devid    4 size 931.51GiB used 702.00GiB path /dev/sdf
>> 	devid    6 size 3.64TiB used 3.41TiB path /dev/sdg
>> 	devid    7 size 3.64TiB used 3.41TiB path /dev/sdh
>>  
>> $ btrfs fi df /media/storage
>> Data, RAID1: total=6.25TiB, used=6.24TiB
>> System, RAID1: total=32.00MiB, used=944.00KiB
>> Metadata, RAID1: total=10.00GiB, used=8.45GiB
>> GlobalReserve, single: total=512.00MiB, used=0.00B
>> $ btrfs --version
>> btrfs-progs v5.10.1
>>  
>> The dmesg is attached to the email, but most of the `BTRFS critical` log
>> lines related to name corruption have been removed to get the file to 200KB.
>>  
>> Some things to note:
>> - I recently upgraded the machine from Debian 9 to 11, getting the
>> kernel from 4.9 to 5.10, but the issue already existed on 4.9 (it even
>> started there, prompting me to replace a drive as I though it to be the
>> source of the corruption).
>> - The kernel is almost the vanilla debian bullseye kernel, with an added
>> (tiny) patch to fix an issue between 3Ware RAID cards and AMD Ryzen
>> CPUs. It should not affect the BTRFS subsystem as it adds a quirk to the
>> PCIe subsystem.
>> - I have a few name mismatches, which can be seen in the logs too. While
>> I'd love someday to get rid of them, I simply moved the affected files
>> in a corner for now. That's not the issue I'm trying to solve now
>> (though if someone can help, I'd be glad). They come from a ZIP archive,
>> so deleting them is fine, but I can't as I only get "Input/Output error"
>> when trying to rm them.
>>  
>> Thank you very much to whoever can help!
>

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: btrfs_free_extent
  2021-12-20  9:35   ` btrfs_free_extent Tuetuopay
@ 2021-12-20 20:30     ` Tuetuopay
  2021-12-20 23:20       ` btrfs_free_extent Qu Wenruo
  0 siblings, 1 reply; 7+ messages in thread
From: Tuetuopay @ 2021-12-20 20:30 UTC (permalink / raw)
  To: Qu Wenruo; +Cc: linux-btrfs

Hi,

It's me again. I have completed several memtest86+ passes without errors
whatsoever, so this RAM can be considered good. Also, following your
advice, I built and upgraded the kernel to the latest stable, i.e. 5.15.10.

What is the next step to (hopefully) fix the error? Is it to run `btrfs
check` but not in readonly mode. I think I'll need to upgrade
btrfs-progs too since I'm now running 5.15.10 instead of 5.10.70.

Thank you so much in advance!

Alexis

On déc. 20 2021, at 10:35 am, Tuetuopay <tuetuopay@me.com> wrote:
> Hi, thanks for the swift reply!
>  
> On déc. 20 2021, at 12:42 am, Qu Wenruo <quwenruo.btrfs@gmx.com> wrote:
>> On 2021/12/19 23:24, Tuetuopay wrote:
>>> Hi,
>>>   
>>> I need some advice on a btrfs raid-1 volume that shows a few corruptions
>>> on some places. I have some files that triggered some safeguards on
>>> write, which ended up remounting the fs as read-only.
>>>   
>>> Over on IRC, multicore suggested me to run a readonly check, whose
>>> output is here:
>>>   
>>> # btrfs check --readonly
>>> /dev/disk/by-uuid/e944a837-f89b-48ea-80fd-40b2bec8f21b
>>> Opening filesystem to check...
>>> Checking filesystem on /dev/disk/by-uuid/e944a837-f89b-48ea-80fd-40b2bec8f21b
>>> UUID: e944a837-f89b-48ea-80fd-40b2bec8f21b
>>> [1/7] checking root items
>>> [2/7] checking extents
>>> tree backref 9882747355136 root 7 not found in extent tree
>>> backref 9882747355136 root 23 not referenced back 0x556ea3cb07d0
>>   
>> This is one corruption in extent tree, we don't have root 23 at all.
>> Only root 7 is correct.
>>   
>> On the other hand, 23 = 0x17, while 7 = 0x07.
>>   
>> So, see a pattern here?
>>   
>> Thus recommend to memtest to make sure it's not a memory bitflip causing
>> the corruption in the first hand.
>  
> That definitely looks like a bitflip to me.
>  
>>> incorrect global backref count on 9882747355136 found 2 wanted 1
>>> backpointer mismatch on [9882747355136 16384]
>>> ERROR: errors found in extent allocation tree or chunk allocation
>>> [3/7] checking free space cache
>>> [4/7] checking fs roots
>>> root 5 inode 1626695 errors 40000
>>> Dir items with mismatch hash:
>>> 	name: fendor.qti.hardware.sigma_miracast@1.0-impl.so namelen: 46 wanted
>>> 0x12c67915 has 0x0471bc31
>>> root 5 inode 1626696 errors 2000, link count wrong
>>> 	unresolved ref dir 1626695 index 2 namelen 46 name
>>> vendor.qti.hardware.sigma_miracast@1.0-impl.so filetype 1 errors 1, no
>>> dir item
>>   
>> This can also be caused by memory bitfip.
>>   
>> Fortunately, both cases should be repairable.
>> But that should only be done after you have checked your memory.
>> You won't want to have unreliable memory which can definitely cause more
>> damage during repair.
>>   
>> But it's still better to keep important data backed up.
>  
> Yes, definitely a bitflip, f = 0x66 and v = 0x76.
>  
>>> ERROR: errors found in fs roots
>>> found 6870080626688 bytes used, error(s) found
>>> total csum bytes: 6668958308
>>> total tree bytes: 9075539968
>>> total fs tree bytes: 1478344704
>>> total extent tree bytes: 243793920
>>> btree space waste bytes: 820626944
>>> file data blocks allocated: 326941710356480
>>>   referenced 6854941941760
>>>   
>>> They suggested that I run a non-ro check, but warned that it could do
>>> more harm than good, hence this email seeking advice. Has check any
>>> chance to fix the issue?
>>>   
>>> I think I should also mention that I'm fine deleting those specific
>>> files as I can get them back somewhat easily.
>>>   
>>> To finish off, here is the information requested by the wiki page:
>>>   
>>> $ uname -a
>>> Linux gimli 5.10.70-3ware #1 SMP Wed Dec 15 03:46:13 CET 2021 x86_64 GNU/Linux
>>   
>> One thing to mention is, if you're running kernel newer than v5.11, the
>> last corruption (the one on name hash mismatch) can be detected early,
>> without writing the corrupted data back to disk.
>>   
>> Thus it's recommended to use newer kernel.
>  
> Amazing advice. I'll definitely upgrade the kernel, likely latest.
>  
>> Thanks,
>> Qu
>  
> Thank you very much to you! I just started a full memtest on the
> machine. I expect it to be good, since the RAM is brand new (just
> swapped the whole system due to the previous motherboard dying), but you
> never know. I'll get back to you with the results!
>  
> Also, if I can get my hands on a DDR3 system, I'll test the old ram to
> be sure. If this ends up being a RAM issue, I'll send back the current
> one and buy some ECC memory.
>  
> Thanks,
> Alexis
>  
>>> $ btrfs fi show
>>> Label: none  uuid: 381bd0ef-20cb-4517-b825-d45630a6ca0a
>>> 	Total devices 1 FS bytes used 65.49GiB
>>> 	devid    1 size 111.79GiB used 111.79GiB path /dev/sdk1
>>>   
>>> Label: 'storage'  uuid: e944a837-f89b-48ea-80fd-40b2bec8f21b
>>> 	Total devices 5 FS bytes used 6.25TiB
>>> 	devid    1 size 2.73TiB used 2.50TiB path /dev/sdd
>>> 	devid    2 size 2.73TiB used 2.50TiB path /dev/sdc
>>> 	devid    4 size 931.51GiB used 702.00GiB path /dev/sdf
>>> 	devid    6 size 3.64TiB used 3.41TiB path /dev/sdg
>>> 	devid    7 size 3.64TiB used 3.41TiB path /dev/sdh
>>>   
>>> $ btrfs fi df /media/storage
>>> Data, RAID1: total=6.25TiB, used=6.24TiB
>>> System, RAID1: total=32.00MiB, used=944.00KiB
>>> Metadata, RAID1: total=10.00GiB, used=8.45GiB
>>> GlobalReserve, single: total=512.00MiB, used=0.00B
>>> $ btrfs --version
>>> btrfs-progs v5.10.1
>>>   
>>> The dmesg is attached to the email, but most of the `BTRFS critical` log
>>> lines related to name corruption have been removed to get the file
>>> to 200KB.
>>>   
>>> Some things to note:
>>> - I recently upgraded the machine from Debian 9 to 11, getting the
>>> kernel from 4.9 to 5.10, but the issue already existed on 4.9 (it even
>>> started there, prompting me to replace a drive as I though it to be the
>>> source of the corruption).
>>> - The kernel is almost the vanilla debian bullseye kernel, with an added
>>> (tiny) patch to fix an issue between 3Ware RAID cards and AMD Ryzen
>>> CPUs. It should not affect the BTRFS subsystem as it adds a quirk to the
>>> PCIe subsystem.
>>> - I have a few name mismatches, which can be seen in the logs too. While
>>> I'd love someday to get rid of them, I simply moved the affected files
>>> in a corner for now. That's not the issue I'm trying to solve now
>>> (though if someone can help, I'd be glad). They come from a ZIP archive,
>>> so deleting them is fine, but I can't as I only get "Input/Output error"
>>> when trying to rm them.
>>>   
>>> Thank you very much to whoever can help!
>>

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: btrfs_free_extent
  2021-12-20 20:30     ` btrfs_free_extent Tuetuopay
@ 2021-12-20 23:20       ` Qu Wenruo
  2021-12-21  2:05         ` btrfs_free_extent Tuetuopay
  0 siblings, 1 reply; 7+ messages in thread
From: Qu Wenruo @ 2021-12-20 23:20 UTC (permalink / raw)
  To: Tuetuopay; +Cc: linux-btrfs



On 2021/12/21 04:30, Tuetuopay wrote:
> Hi,
>
> It's me again. I have completed several memtest86+ passes without errors
> whatsoever, so this RAM can be considered good. Also, following your
> advice, I built and upgraded the kernel to the latest stable, i.e. 5.15.10.
>
> What is the next step to (hopefully) fix the error? Is it to run `btrfs
> check` but not in readonly mode. I think I'll need to upgrade
> btrfs-progs too since I'm now running 5.15.10 instead of 5.10.70.

Yes, latest btrfs-progs is always recommended.

After backing up the important data and upgrading btrfs-progs, "btrfs
check --repair" could at least solve the extent tree problem.

Thanks,
Qu
>
> Thank you so much in advance!
>
> Alexis
>
> On déc. 20 2021, at 10:35 am, Tuetuopay <tuetuopay@me.com> wrote:
>> Hi, thanks for the swift reply!
>>
>> On déc. 20 2021, at 12:42 am, Qu Wenruo <quwenruo.btrfs@gmx.com> wrote:
>>> On 2021/12/19 23:24, Tuetuopay wrote:
>>>> Hi,
>>>>
>>>> I need some advice on a btrfs raid-1 volume that shows a few corruptions
>>>> on some places. I have some files that triggered some safeguards on
>>>> write, which ended up remounting the fs as read-only.
>>>>
>>>> Over on IRC, multicore suggested me to run a readonly check, whose
>>>> output is here:
>>>>
>>>> # btrfs check --readonly
>>>> /dev/disk/by-uuid/e944a837-f89b-48ea-80fd-40b2bec8f21b
>>>> Opening filesystem to check...
>>>> Checking filesystem on /dev/disk/by-uuid/e944a837-f89b-48ea-80fd-40b2bec8f21b
>>>> UUID: e944a837-f89b-48ea-80fd-40b2bec8f21b
>>>> [1/7] checking root items
>>>> [2/7] checking extents
>>>> tree backref 9882747355136 root 7 not found in extent tree
>>>> backref 9882747355136 root 23 not referenced back 0x556ea3cb07d0
>>>
>>> This is one corruption in extent tree, we don't have root 23 at all.
>>> Only root 7 is correct.
>>>
>>> On the other hand, 23 = 0x17, while 7 = 0x07.
>>>
>>> So, see a pattern here?
>>>
>>> Thus recommend to memtest to make sure it's not a memory bitflip causing
>>> the corruption in the first hand.
>>
>> That definitely looks like a bitflip to me.
>>
>>>> incorrect global backref count on 9882747355136 found 2 wanted 1
>>>> backpointer mismatch on [9882747355136 16384]
>>>> ERROR: errors found in extent allocation tree or chunk allocation
>>>> [3/7] checking free space cache
>>>> [4/7] checking fs roots
>>>> root 5 inode 1626695 errors 40000
>>>> Dir items with mismatch hash:
>>>> 	name: fendor.qti.hardware.sigma_miracast@1.0-impl.so namelen: 46 wanted
>>>> 0x12c67915 has 0x0471bc31
>>>> root 5 inode 1626696 errors 2000, link count wrong
>>>> 	unresolved ref dir 1626695 index 2 namelen 46 name
>>>> vendor.qti.hardware.sigma_miracast@1.0-impl.so filetype 1 errors 1, no
>>>> dir item
>>>
>>> This can also be caused by memory bitfip.
>>>
>>> Fortunately, both cases should be repairable.
>>> But that should only be done after you have checked your memory.
>>> You won't want to have unreliable memory which can definitely cause more
>>> damage during repair.
>>>
>>> But it's still better to keep important data backed up.
>>
>> Yes, definitely a bitflip, f = 0x66 and v = 0x76.
>>
>>>> ERROR: errors found in fs roots
>>>> found 6870080626688 bytes used, error(s) found
>>>> total csum bytes: 6668958308
>>>> total tree bytes: 9075539968
>>>> total fs tree bytes: 1478344704
>>>> total extent tree bytes: 243793920
>>>> btree space waste bytes: 820626944
>>>> file data blocks allocated: 326941710356480
>>>>    referenced 6854941941760
>>>>
>>>> They suggested that I run a non-ro check, but warned that it could do
>>>> more harm than good, hence this email seeking advice. Has check any
>>>> chance to fix the issue?
>>>>
>>>> I think I should also mention that I'm fine deleting those specific
>>>> files as I can get them back somewhat easily.
>>>>
>>>> To finish off, here is the information requested by the wiki page:
>>>>
>>>> $ uname -a
>>>> Linux gimli 5.10.70-3ware #1 SMP Wed Dec 15 03:46:13 CET 2021 x86_64 GNU/Linux
>>>
>>> One thing to mention is, if you're running kernel newer than v5.11, the
>>> last corruption (the one on name hash mismatch) can be detected early,
>>> without writing the corrupted data back to disk.
>>>
>>> Thus it's recommended to use newer kernel.
>>
>> Amazing advice. I'll definitely upgrade the kernel, likely latest.
>>
>>> Thanks,
>>> Qu
>>
>> Thank you very much to you! I just started a full memtest on the
>> machine. I expect it to be good, since the RAM is brand new (just
>> swapped the whole system due to the previous motherboard dying), but you
>> never know. I'll get back to you with the results!
>>
>> Also, if I can get my hands on a DDR3 system, I'll test the old ram to
>> be sure. If this ends up being a RAM issue, I'll send back the current
>> one and buy some ECC memory.
>>
>> Thanks,
>> Alexis
>>
>>>> $ btrfs fi show
>>>> Label: none  uuid: 381bd0ef-20cb-4517-b825-d45630a6ca0a
>>>> 	Total devices 1 FS bytes used 65.49GiB
>>>> 	devid    1 size 111.79GiB used 111.79GiB path /dev/sdk1
>>>>
>>>> Label: 'storage'  uuid: e944a837-f89b-48ea-80fd-40b2bec8f21b
>>>> 	Total devices 5 FS bytes used 6.25TiB
>>>> 	devid    1 size 2.73TiB used 2.50TiB path /dev/sdd
>>>> 	devid    2 size 2.73TiB used 2.50TiB path /dev/sdc
>>>> 	devid    4 size 931.51GiB used 702.00GiB path /dev/sdf
>>>> 	devid    6 size 3.64TiB used 3.41TiB path /dev/sdg
>>>> 	devid    7 size 3.64TiB used 3.41TiB path /dev/sdh
>>>>
>>>> $ btrfs fi df /media/storage
>>>> Data, RAID1: total=6.25TiB, used=6.24TiB
>>>> System, RAID1: total=32.00MiB, used=944.00KiB
>>>> Metadata, RAID1: total=10.00GiB, used=8.45GiB
>>>> GlobalReserve, single: total=512.00MiB, used=0.00B
>>>> $ btrfs --version
>>>> btrfs-progs v5.10.1
>>>>
>>>> The dmesg is attached to the email, but most of the `BTRFS critical` log
>>>> lines related to name corruption have been removed to get the file
>>>> to 200KB.
>>>>
>>>> Some things to note:
>>>> - I recently upgraded the machine from Debian 9 to 11, getting the
>>>> kernel from 4.9 to 5.10, but the issue already existed on 4.9 (it even
>>>> started there, prompting me to replace a drive as I though it to be the
>>>> source of the corruption).
>>>> - The kernel is almost the vanilla debian bullseye kernel, with an added
>>>> (tiny) patch to fix an issue between 3Ware RAID cards and AMD Ryzen
>>>> CPUs. It should not affect the BTRFS subsystem as it adds a quirk to the
>>>> PCIe subsystem.
>>>> - I have a few name mismatches, which can be seen in the logs too. While
>>>> I'd love someday to get rid of them, I simply moved the affected files
>>>> in a corner for now. That's not the issue I'm trying to solve now
>>>> (though if someone can help, I'd be glad). They come from a ZIP archive,
>>>> so deleting them is fine, but I can't as I only get "Input/Output error"
>>>> when trying to rm them.
>>>>
>>>> Thank you very much to whoever can help!
>>>

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: btrfs_free_extent
  2021-12-20 23:20       ` btrfs_free_extent Qu Wenruo
@ 2021-12-21  2:05         ` Tuetuopay
  2021-12-21  2:34           ` btrfs_free_extent Qu Wenruo
  0 siblings, 1 reply; 7+ messages in thread
From: Tuetuopay @ 2021-12-21  2:05 UTC (permalink / raw)
  To: Qu Wenruo; +Cc: linux-btrfs

Hi,

Thank you so much for your advice. The check in repair mode did indeed
work without issue, and the issues I had with the files now seem gone.
I'm stressing a bit the drives right now to see if everything's solved,
but it looks like it.

Cheers!
Alexis

On déc. 21 2021, at 12:20 am, Qu Wenruo <quwenruo.btrfs@gmx.com> wrote:
> On 2021/12/21 04:30, Tuetuopay wrote:
>> Hi,
>>  
>> It's me again. I have completed several memtest86+ passes without errors
>> whatsoever, so this RAM can be considered good. Also, following your
>> advice, I built and upgraded the kernel to the latest stable, i.e. 5.15.10.
>>  
>> What is the next step to (hopefully) fix the error? Is it to run `btrfs
>> check` but not in readonly mode. I think I'll need to upgrade
>> btrfs-progs too since I'm now running 5.15.10 instead of 5.10.70.
>  
> Yes, latest btrfs-progs is always recommended.
>  
> After backing up the important data and upgrading btrfs-progs, "btrfs
> check --repair" could at least solve the extent tree problem.
>  
> Thanks,
> Qu
>>  
>> Thank you so much in advance!
>>  
>> Alexis
>>  
>> On déc. 20 2021, at 10:35 am, Tuetuopay <tuetuopay@me.com> wrote:
>>> Hi, thanks for the swift reply!
>>>  
>>> On déc. 20 2021, at 12:42 am, Qu Wenruo <quwenruo.btrfs@gmx.com> wrote:
>>>> On 2021/12/19 23:24, Tuetuopay wrote:
>>>>> Hi,
>>>>>  
>>>>> I need some advice on a btrfs raid-1 volume that shows a few corruptions
>>>>> on some places. I have some files that triggered some safeguards on
>>>>> write, which ended up remounting the fs as read-only.
>>>>>  
>>>>> Over on IRC, multicore suggested me to run a readonly check, whose
>>>>> output is here:
>>>>>  
>>>>> # btrfs check --readonly
>>>>> /dev/disk/by-uuid/e944a837-f89b-48ea-80fd-40b2bec8f21b
>>>>> Opening filesystem to check...
>>>>> Checking filesystem on /dev/disk/by-uuid/e944a837-f89b-48ea-80fd-40b2bec8f21b
>>>>> UUID: e944a837-f89b-48ea-80fd-40b2bec8f21b
>>>>> [1/7] checking root items
>>>>> [2/7] checking extents
>>>>> tree backref 9882747355136 root 7 not found in extent tree
>>>>> backref 9882747355136 root 23 not referenced back 0x556ea3cb07d0
>>>>  
>>>> This is one corruption in extent tree, we don't have root 23 at all.
>>>> Only root 7 is correct.
>>>>  
>>>> On the other hand, 23 = 0x17, while 7 = 0x07.
>>>>  
>>>> So, see a pattern here?
>>>>  
>>>> Thus recommend to memtest to make sure it's not a memory bitflip causing
>>>> the corruption in the first hand.
>>>  
>>> That definitely looks like a bitflip to me.
>>>  
>>>>> incorrect global backref count on 9882747355136 found 2 wanted 1
>>>>> backpointer mismatch on [9882747355136 16384]
>>>>> ERROR: errors found in extent allocation tree or chunk allocation
>>>>> [3/7] checking free space cache
>>>>> [4/7] checking fs roots
>>>>> root 5 inode 1626695 errors 40000
>>>>> Dir items with mismatch hash:
>>>>> 	name: fendor.qti.hardware.sigma_miracast@1.0-impl.so namelen: 46 wanted
>>>>> 0x12c67915 has 0x0471bc31
>>>>> root 5 inode 1626696 errors 2000, link count wrong
>>>>> 	unresolved ref dir 1626695 index 2 namelen 46 name
>>>>> vendor.qti.hardware.sigma_miracast@1.0-impl.so filetype 1 errors
>>>>> 1, no
>>>>> dir item
>>>>  
>>>> This can also be caused by memory bitfip.
>>>>  
>>>> Fortunately, both cases should be repairable.
>>>> But that should only be done after you have checked your memory.
>>>> You won't want to have unreliable memory which can definitely cause more
>>>> damage during repair.
>>>>  
>>>> But it's still better to keep important data backed up.
>>>  
>>> Yes, definitely a bitflip, f = 0x66 and v = 0x76.
>>>  
>>>>> ERROR: errors found in fs roots
>>>>> found 6870080626688 bytes used, error(s) found
>>>>> total csum bytes: 6668958308
>>>>> total tree bytes: 9075539968
>>>>> total fs tree bytes: 1478344704
>>>>> total extent tree bytes: 243793920
>>>>> btree space waste bytes: 820626944
>>>>> file data blocks allocated: 326941710356480
>>>>>    referenced 6854941941760
>>>>>  
>>>>> They suggested that I run a non-ro check, but warned that it could do
>>>>> more harm than good, hence this email seeking advice. Has check any
>>>>> chance to fix the issue?
>>>>>  
>>>>> I think I should also mention that I'm fine deleting those specific
>>>>> files as I can get them back somewhat easily.
>>>>>  
>>>>> To finish off, here is the information requested by the wiki page:
>>>>>  
>>>>> $ uname -a
>>>>> Linux gimli 5.10.70-3ware #1 SMP Wed Dec 15 03:46:13 CET 2021
>>>>> x86_64 GNU/Linux
>>>>  
>>>> One thing to mention is, if you're running kernel newer than v5.11, the
>>>> last corruption (the one on name hash mismatch) can be detected early,
>>>> without writing the corrupted data back to disk.
>>>>  
>>>> Thus it's recommended to use newer kernel.
>>>  
>>> Amazing advice. I'll definitely upgrade the kernel, likely latest.
>>>  
>>>> Thanks,
>>>> Qu
>>>  
>>> Thank you very much to you! I just started a full memtest on the
>>> machine. I expect it to be good, since the RAM is brand new (just
>>> swapped the whole system due to the previous motherboard dying), but you
>>> never know. I'll get back to you with the results!
>>>  
>>> Also, if I can get my hands on a DDR3 system, I'll test the old ram to
>>> be sure. If this ends up being a RAM issue, I'll send back the current
>>> one and buy some ECC memory.
>>>  
>>> Thanks,
>>> Alexis
>>>  
>>>>> $ btrfs fi show
>>>>> Label: none  uuid: 381bd0ef-20cb-4517-b825-d45630a6ca0a
>>>>> 	Total devices 1 FS bytes used 65.49GiB
>>>>> 	devid    1 size 111.79GiB used 111.79GiB path /dev/sdk1
>>>>>  
>>>>> Label: 'storage'  uuid: e944a837-f89b-48ea-80fd-40b2bec8f21b
>>>>> 	Total devices 5 FS bytes used 6.25TiB
>>>>> 	devid    1 size 2.73TiB used 2.50TiB path /dev/sdd
>>>>> 	devid    2 size 2.73TiB used 2.50TiB path /dev/sdc
>>>>> 	devid    4 size 931.51GiB used 702.00GiB path /dev/sdf
>>>>> 	devid    6 size 3.64TiB used 3.41TiB path /dev/sdg
>>>>> 	devid    7 size 3.64TiB used 3.41TiB path /dev/sdh
>>>>>  
>>>>> $ btrfs fi df /media/storage
>>>>> Data, RAID1: total=6.25TiB, used=6.24TiB
>>>>> System, RAID1: total=32.00MiB, used=944.00KiB
>>>>> Metadata, RAID1: total=10.00GiB, used=8.45GiB
>>>>> GlobalReserve, single: total=512.00MiB, used=0.00B
>>>>> $ btrfs --version
>>>>> btrfs-progs v5.10.1
>>>>>  
>>>>> The dmesg is attached to the email, but most of the `BTRFS
>>>>> critical` log
>>>>> lines related to name corruption have been removed to get the file
>>>>> to 200KB.
>>>>>  
>>>>> Some things to note:
>>>>> - I recently upgraded the machine from Debian 9 to 11, getting the
>>>>> kernel from 4.9 to 5.10, but the issue already existed on 4.9 (it even
>>>>> started there, prompting me to replace a drive as I though it to
>>>>> be the
>>>>> source of the corruption).
>>>>> - The kernel is almost the vanilla debian bullseye kernel, with an added
>>>>> (tiny) patch to fix an issue between 3Ware RAID cards and AMD Ryzen
>>>>> CPUs. It should not affect the BTRFS subsystem as it adds a quirk
>>>>> to the
>>>>> PCIe subsystem.
>>>>> - I have a few name mismatches, which can be seen in the logs too. While
>>>>> I'd love someday to get rid of them, I simply moved the affected files
>>>>> in a corner for now. That's not the issue I'm trying to solve now
>>>>> (though if someone can help, I'd be glad). They come from a ZIP archive,
>>>>> so deleting them is fine, but I can't as I only get "Input/Output error"
>>>>> when trying to rm them.
>>>>>  
>>>>> Thank you very much to whoever can help!
>>>>  
>

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: btrfs_free_extent
  2021-12-21  2:05         ` btrfs_free_extent Tuetuopay
@ 2021-12-21  2:34           ` Qu Wenruo
  0 siblings, 0 replies; 7+ messages in thread
From: Qu Wenruo @ 2021-12-21  2:34 UTC (permalink / raw)
  To: Tuetuopay, Qu Wenruo; +Cc: linux-btrfs



On 2021/12/21 10:05, Tuetuopay wrote:
> Hi,
> 
> Thank you so much for your advice. The check in repair mode did indeed
> work without issue, and the issues I had with the files now seem gone.
> I'm stressing a bit the drives right now to see if everything's solved,
> but it looks like it.

To be safe, another read-only btrfs-check would tell you if all the 
metadata problems are gone.

And for data correctness, scrub is always the way you go.

Thanks,
Qu

> 
> Cheers!
> Alexis
> 
> On déc. 21 2021, at 12:20 am, Qu Wenruo <quwenruo.btrfs@gmx.com> wrote:
>> On 2021/12/21 04:30, Tuetuopay wrote:
>>> Hi,
>>>   
>>> It's me again. I have completed several memtest86+ passes without errors
>>> whatsoever, so this RAM can be considered good. Also, following your
>>> advice, I built and upgraded the kernel to the latest stable, i.e. 5.15.10.
>>>   
>>> What is the next step to (hopefully) fix the error? Is it to run `btrfs
>>> check` but not in readonly mode. I think I'll need to upgrade
>>> btrfs-progs too since I'm now running 5.15.10 instead of 5.10.70.
>>   
>> Yes, latest btrfs-progs is always recommended.
>>   
>> After backing up the important data and upgrading btrfs-progs, "btrfs
>> check --repair" could at least solve the extent tree problem.
>>   
>> Thanks,
>> Qu
>>>   
>>> Thank you so much in advance!
>>>   
>>> Alexis
>>>   
>>> On déc. 20 2021, at 10:35 am, Tuetuopay <tuetuopay@me.com> wrote:
>>>> Hi, thanks for the swift reply!
>>>>   
>>>> On déc. 20 2021, at 12:42 am, Qu Wenruo <quwenruo.btrfs@gmx.com> wrote:
>>>>> On 2021/12/19 23:24, Tuetuopay wrote:
>>>>>> Hi,
>>>>>>   
>>>>>> I need some advice on a btrfs raid-1 volume that shows a few corruptions
>>>>>> on some places. I have some files that triggered some safeguards on
>>>>>> write, which ended up remounting the fs as read-only.
>>>>>>   
>>>>>> Over on IRC, multicore suggested me to run a readonly check, whose
>>>>>> output is here:
>>>>>>   
>>>>>> # btrfs check --readonly
>>>>>> /dev/disk/by-uuid/e944a837-f89b-48ea-80fd-40b2bec8f21b
>>>>>> Opening filesystem to check...
>>>>>> Checking filesystem on /dev/disk/by-uuid/e944a837-f89b-48ea-80fd-40b2bec8f21b
>>>>>> UUID: e944a837-f89b-48ea-80fd-40b2bec8f21b
>>>>>> [1/7] checking root items
>>>>>> [2/7] checking extents
>>>>>> tree backref 9882747355136 root 7 not found in extent tree
>>>>>> backref 9882747355136 root 23 not referenced back 0x556ea3cb07d0
>>>>>   
>>>>> This is one corruption in extent tree, we don't have root 23 at all.
>>>>> Only root 7 is correct.
>>>>>   
>>>>> On the other hand, 23 = 0x17, while 7 = 0x07.
>>>>>   
>>>>> So, see a pattern here?
>>>>>   
>>>>> Thus recommend to memtest to make sure it's not a memory bitflip causing
>>>>> the corruption in the first hand.
>>>>   
>>>> That definitely looks like a bitflip to me.
>>>>   
>>>>>> incorrect global backref count on 9882747355136 found 2 wanted 1
>>>>>> backpointer mismatch on [9882747355136 16384]
>>>>>> ERROR: errors found in extent allocation tree or chunk allocation
>>>>>> [3/7] checking free space cache
>>>>>> [4/7] checking fs roots
>>>>>> root 5 inode 1626695 errors 40000
>>>>>> Dir items with mismatch hash:
>>>>>> 	name: fendor.qti.hardware.sigma_miracast@1.0-impl.so namelen: 46 wanted
>>>>>> 0x12c67915 has 0x0471bc31
>>>>>> root 5 inode 1626696 errors 2000, link count wrong
>>>>>> 	unresolved ref dir 1626695 index 2 namelen 46 name
>>>>>> vendor.qti.hardware.sigma_miracast@1.0-impl.so filetype 1 errors
>>>>>> 1, no
>>>>>> dir item
>>>>>   
>>>>> This can also be caused by memory bitfip.
>>>>>   
>>>>> Fortunately, both cases should be repairable.
>>>>> But that should only be done after you have checked your memory.
>>>>> You won't want to have unreliable memory which can definitely cause more
>>>>> damage during repair.
>>>>>   
>>>>> But it's still better to keep important data backed up.
>>>>   
>>>> Yes, definitely a bitflip, f = 0x66 and v = 0x76.
>>>>   
>>>>>> ERROR: errors found in fs roots
>>>>>> found 6870080626688 bytes used, error(s) found
>>>>>> total csum bytes: 6668958308
>>>>>> total tree bytes: 9075539968
>>>>>> total fs tree bytes: 1478344704
>>>>>> total extent tree bytes: 243793920
>>>>>> btree space waste bytes: 820626944
>>>>>> file data blocks allocated: 326941710356480
>>>>>>     referenced 6854941941760
>>>>>>   
>>>>>> They suggested that I run a non-ro check, but warned that it could do
>>>>>> more harm than good, hence this email seeking advice. Has check any
>>>>>> chance to fix the issue?
>>>>>>   
>>>>>> I think I should also mention that I'm fine deleting those specific
>>>>>> files as I can get them back somewhat easily.
>>>>>>   
>>>>>> To finish off, here is the information requested by the wiki page:
>>>>>>   
>>>>>> $ uname -a
>>>>>> Linux gimli 5.10.70-3ware #1 SMP Wed Dec 15 03:46:13 CET 2021
>>>>>> x86_64 GNU/Linux
>>>>>   
>>>>> One thing to mention is, if you're running kernel newer than v5.11, the
>>>>> last corruption (the one on name hash mismatch) can be detected early,
>>>>> without writing the corrupted data back to disk.
>>>>>   
>>>>> Thus it's recommended to use newer kernel.
>>>>   
>>>> Amazing advice. I'll definitely upgrade the kernel, likely latest.
>>>>   
>>>>> Thanks,
>>>>> Qu
>>>>   
>>>> Thank you very much to you! I just started a full memtest on the
>>>> machine. I expect it to be good, since the RAM is brand new (just
>>>> swapped the whole system due to the previous motherboard dying), but you
>>>> never know. I'll get back to you with the results!
>>>>   
>>>> Also, if I can get my hands on a DDR3 system, I'll test the old ram to
>>>> be sure. If this ends up being a RAM issue, I'll send back the current
>>>> one and buy some ECC memory.
>>>>   
>>>> Thanks,
>>>> Alexis
>>>>   
>>>>>> $ btrfs fi show
>>>>>> Label: none  uuid: 381bd0ef-20cb-4517-b825-d45630a6ca0a
>>>>>> 	Total devices 1 FS bytes used 65.49GiB
>>>>>> 	devid    1 size 111.79GiB used 111.79GiB path /dev/sdk1
>>>>>>   
>>>>>> Label: 'storage'  uuid: e944a837-f89b-48ea-80fd-40b2bec8f21b
>>>>>> 	Total devices 5 FS bytes used 6.25TiB
>>>>>> 	devid    1 size 2.73TiB used 2.50TiB path /dev/sdd
>>>>>> 	devid    2 size 2.73TiB used 2.50TiB path /dev/sdc
>>>>>> 	devid    4 size 931.51GiB used 702.00GiB path /dev/sdf
>>>>>> 	devid    6 size 3.64TiB used 3.41TiB path /dev/sdg
>>>>>> 	devid    7 size 3.64TiB used 3.41TiB path /dev/sdh
>>>>>>   
>>>>>> $ btrfs fi df /media/storage
>>>>>> Data, RAID1: total=6.25TiB, used=6.24TiB
>>>>>> System, RAID1: total=32.00MiB, used=944.00KiB
>>>>>> Metadata, RAID1: total=10.00GiB, used=8.45GiB
>>>>>> GlobalReserve, single: total=512.00MiB, used=0.00B
>>>>>> $ btrfs --version
>>>>>> btrfs-progs v5.10.1
>>>>>>   
>>>>>> The dmesg is attached to the email, but most of the `BTRFS
>>>>>> critical` log
>>>>>> lines related to name corruption have been removed to get the file
>>>>>> to 200KB.
>>>>>>   
>>>>>> Some things to note:
>>>>>> - I recently upgraded the machine from Debian 9 to 11, getting the
>>>>>> kernel from 4.9 to 5.10, but the issue already existed on 4.9 (it even
>>>>>> started there, prompting me to replace a drive as I though it to
>>>>>> be the
>>>>>> source of the corruption).
>>>>>> - The kernel is almost the vanilla debian bullseye kernel, with an added
>>>>>> (tiny) patch to fix an issue between 3Ware RAID cards and AMD Ryzen
>>>>>> CPUs. It should not affect the BTRFS subsystem as it adds a quirk
>>>>>> to the
>>>>>> PCIe subsystem.
>>>>>> - I have a few name mismatches, which can be seen in the logs too. While
>>>>>> I'd love someday to get rid of them, I simply moved the affected files
>>>>>> in a corner for now. That's not the issue I'm trying to solve now
>>>>>> (though if someone can help, I'd be glad). They come from a ZIP archive,
>>>>>> so deleting them is fine, but I can't as I only get "Input/Output error"
>>>>>> when trying to rm them.
>>>>>>   
>>>>>> Thank you very much to whoever can help!
>>>>>   
>>
> 


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2021-12-21  2:34 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-12-19 15:24 btrfs_free_extent Tuetuopay
2021-12-19 23:42 ` btrfs_free_extent Qu Wenruo
2021-12-20  9:35   ` btrfs_free_extent Tuetuopay
2021-12-20 20:30     ` btrfs_free_extent Tuetuopay
2021-12-20 23:20       ` btrfs_free_extent Qu Wenruo
2021-12-21  2:05         ` btrfs_free_extent Tuetuopay
2021-12-21  2:34           ` btrfs_free_extent Qu Wenruo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).