All of lore.kernel.org
 help / color / mirror / Atom feed
From: Paolo Bonzini <bonzini@gnu.org>
To: Alexander Graf <agraf@suse.de>
Cc: Kevin Wolf <kwolf@redhat.com>,
	qemu-devel@nongnu.org, Christoph Hellwig <hch@lst.de>
Subject: [Qemu-devel] Re: [PATCH] Add tar container format
Date: Mon, 17 Aug 2009 14:05:26 +0200	[thread overview]
Message-ID: <4A894786.1040306@gnu.org> (raw)
In-Reply-To: <1F7A05E1-0B0B-4C68-B07B-2F36B9BECF81@suse.de>


> Bzip2 is supposed to be chunkable, but I haven't found anyone who did
> this yet and my knowledge in compression is pretty small.

Bzip2 proceeds in chunks of approximately 100-900 KB size.  However, the 
size is taken after an initial RLE compression pass.  So bzip2 is only 
chunkable if you remove the initial RLE compression---this means hacking 
the bzip2 executable (see ADD_CHAR_TO_BLOCK and add_pair_to_block) in 
bzip2's bzlib.c.

Using GIO may have been a good idea a few years ago, but it seems a bit 
overengineered given that the block layer of qemu works well and it is 
pretty complex.

Paolo

      parent reply	other threads:[~2009-08-17 12:05 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-08-05 15:33 [Qemu-devel] [PATCH] Add tar container format Alexander Graf
2009-08-13 22:57 ` Anthony Liguori
2009-08-13 23:08   ` Alexander Graf
2009-08-13 23:13     ` Anthony Liguori
2009-08-13 23:15       ` Anthony Liguori
2009-08-15 20:36       ` Christoph Hellwig
2009-08-17 12:05     ` Paolo Bonzini [this message]

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=4A894786.1040306@gnu.org \
    --to=bonzini@gnu.org \
    --cc=agraf@suse.de \
    --cc=hch@lst.de \
    --cc=kwolf@redhat.com \
    --cc=qemu-devel@nongnu.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.