Linux Btrfs filesystem development
 help / color / mirror / Atom feed
From: "Lakshmipathi.G" <lakshmipathi.g@giis.co.in>
To: linux-btrfs@vger.kernel.org
Subject: understanding csum tree
Date: Thu, 12 Nov 2015 20:21:58 +0530	[thread overview]
Message-ID: <20151112145158.GA13251@giis.domain.name> (raw)

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 


                 reply	other threads:[~2015-11-12 15:22 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20151112145158.GA13251@giis.domain.name \
    --to=lakshmipathi.g@giis.co.in \
    --cc=linux-btrfs@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox