Linux Btrfs filesystem development
 help / color / mirror / Atom feed
* understanding csum tree
@ 2015-11-12 14:51 Lakshmipathi.G
  0 siblings, 0 replies; only message in thread
From: Lakshmipathi.G @ 2015-11-12 14:51 UTC (permalink / raw)
  To: linux-btrfs

Hi -

I trying to understand csum tree and its entries.

1) create a filenamed 'ab' with 100KB of data.  I can see csum entry for
this:

item 0 key (EXTENT_CSUM EXTENT_CSUM 4239360) itemoff 3895 itemsize 100

2) created another named 'zb1' with 100KB of data. I can't find csum
entry for this.Looks like item-0 is extended with csum of zb1.

item 0 key (EXTENT_CSUM EXTENT_CSUM 4239360) itemoff 3795 itemsize 200

If I need to read/print only the csum of 'zb1' file - how to achieve
that? thanks!

btrfs-debug-tree output : http://pastebin.com/tzKLX2ZU
after creating zb1 file : http://pastebin.com/WzjJuzFB

Cheers,
Lakshmipathi.G 


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2015-11-12 15:22 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-11-12 14:51 understanding csum tree Lakshmipathi.G

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox