From: Liu Bo <bo.li.liu@oracle.com>
To: Tomasz Chmielewski <tch@virtall.com>
Cc: linux-btrfs@vger.kernel.org
Subject: Re: converting lzo compression to zlib compression?
Date: Mon, 17 Jun 2013 10:11:25 +0800 [thread overview]
Message-ID: <20130617021124.GA30460@localhost.localdomain> (raw)
In-Reply-To: <20130617021653.4718a5e0@virtall.com>
On Mon, Jun 17, 2013 at 02:16:53AM +0900, Tomasz Chmielewski wrote:
> 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?
Hi,
I'm afraid the above won't work, cause balance is not aware of the
compression so that it won't decompress the data.
thanks,
liubo
>
>
> --
> Tomasz Chmielewski
> http://wpkg.org
>
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
next prev parent reply other threads:[~2013-06-17 2:11 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-06-16 17:16 converting lzo compression to zlib compression? Tomasz Chmielewski
2013-06-17 2:11 ` Liu Bo [this message]
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=20130617021124.GA30460@localhost.localdomain \
--to=bo.li.liu@oracle.com \
--cc=linux-btrfs@vger.kernel.org \
--cc=tch@virtall.com \
/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.