linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Josef Bacik <jbacik@fusionio.com>
To: Ben Wreder <benwreder@hotmail.com>
Cc: "linux-btrfs@vger.kernel.org" <linux-btrfs@vger.kernel.org>
Subject: Re: Tail packing
Date: Fri, 31 Aug 2012 11:03:19 -0400	[thread overview]
Message-ID: <20120831150319.GB4299@localhost.localdomain> (raw)
In-Reply-To: <DUB117-W3224DDE372041F789CA47FB5A60@phx.gbl>

On Fri, Aug 31, 2012 at 08:40:36AM -0600, Ben Wreder wrote:
> 
> The disk format description implies that btrfs should be able to support tail packing. I just did some experimentation, and while small files are packed, it seems that files occupying more than one block are not. For example, a lot of 32769-byte files will end up taking over 36KB on average (a small excess due to the metadata itself).
> 
> So just to confirm - btrfs does not currently support tail-packing, is that correct?
> 
> If so, is it a planned feature?
>

It does, just only in that it can fit into a leaf block.  Thanks,

Josef

  reply	other threads:[~2012-08-31 15:03 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-08-31 14:40 Tail packing Ben Wreder
2012-08-31 15:03 ` Josef Bacik [this message]
2012-09-02  5:25 ` David Sterba
2012-09-03  1:23   ` Li Zefan
2012-09-03 16:49     ` 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=20120831150319.GB4299@localhost.localdomain \
    --to=jbacik@fusionio.com \
    --cc=benwreder@hotmail.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).