linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Arne Jansen <sensille@gmx.net>
To: Santosh Hosamani <Santosh_Hosamani@mindtree.com>
Cc: "linux-btrfs@vger.kernel.org" <linux-btrfs@vger.kernel.org>
Subject: Re: Bug in btrfs-debug-tree for two  or more devices.
Date: Tue, 12 Jun 2012 18:49:58 +0200	[thread overview]
Message-ID: <4FD77336.6050800@gmx.net> (raw)
In-Reply-To: <24763ECA27C26742BD79B0D67389CD0E071B3067@MTW02MBX05.mindtree.com>

On 06/12/2012 08:53 AM, Santosh Hosamani wrote:
> 
> Hi btrfs folks,
>                 I am working on btrfs filesystem on how it manages the free space. And found out btrfs maintain a ctree which manages the physical location of the chunks and stripes of the filesystem.
> Btrfs-debug-tree also gives the information on the chunk tree
> 
> I created btrfs on single device and two device.I have attached the output of both on running btrfs-debug-tree.
> For single device sum of all the length in the chunks will add upto the total used bytes which is expected behavior.
> 
> But for two devices sum of all lengths in the chunks does not add to the total bytes .Am I missing something .
> Also I notice that for the second device the superblock location 0x10000 is not considered as used .
> 
> I would be really grateful if you folks can answer my query.

It's definitely not a bug in debug-tree, but just a problem in
interpreting the result. Could you please paste the output of
btrfs-debug-tree -d? This way it is easier to see what's
bothering you :)

> 
> I hav run these tests on SLES11-sp2-x86
> Kernel 3.0.13.0.27-default
> 
> If you want any further clarification I would be wiiling to help you guys on this.
> 
> Thanks,
> Santosh Hosamani
> 
> 
> 
> ________________________________
> 
> http://www.mindtree.com/email/disclaimer.html


  parent reply	other threads:[~2012-06-12 16:49 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-06-12  6:53 Bug in btrfs-debug-tree for two or more devices Santosh Hosamani
2012-06-12 14:57 ` Randy Barlow
2012-06-13  8:43   ` Santosh Hosamani
2012-06-12 15:22 ` Duncan
2012-06-12 16:49 ` Arne Jansen [this message]
2012-06-13  4:39   ` Santosh Hosamani
2012-06-12 20:06 ` Hugo Mills
2012-06-13  8:40   ` Santosh Hosamani
2012-06-12 22:58 ` David Sterba

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=4FD77336.6050800@gmx.net \
    --to=sensille@gmx.net \
    --cc=Santosh_Hosamani@mindtree.com \
    --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;
as well as URLs for NNTP newsgroup(s).