All of lore.kernel.org
 help / color / mirror / Atom feed
From: Tomasz Chmielewski <tch@virtall.com>
To: linux-btrfs@vger.kernel.org
Subject: converting lzo compression to zlib compression?
Date: Mon, 17 Jun 2013 02:16:53 +0900	[thread overview]
Message-ID: <20130617021653.4718a5e0@virtall.com> (raw)

I have a btrfs filesystem mounted with "compress=lzo" now.

I'd like to see how much space would I save by converting it to zlib.


Would it be possible to convert lzo compression to zlib compression
with the following:

- mount the filesystem with "compress=zlib"
- run balance
- when balance finishes, the data would be compressed with zlib

Would this work as above, or do I have to copy the data out and back to
convert from lzo compression to zlib compression?


-- 
Tomasz Chmielewski
http://wpkg.org



             reply	other threads:[~2013-06-16 17:17 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-06-16 17:16 Tomasz Chmielewski [this message]
2013-06-17  2:11 ` converting lzo compression to zlib compression? Liu Bo
2013-06-17 15:16 ` 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=20130617021653.4718a5e0@virtall.com \
    --to=tch@virtall.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 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.