All of lore.kernel.org
 help / color / mirror / Atom feed
From: Liu Bo <liubo2009@cn.fujitsu.com>
To: "Fajar A. Nugraha" <list@fajar.net>
Cc: Remco Hosman <remco@hosman.xs4all.nl>, linux-btrfs@vger.kernel.org
Subject: Re: Compession, on filesystem or volume?
Date: Thu, 29 Dec 2011 20:35:00 +0800	[thread overview]
Message-ID: <4EFC5E74.70600@cn.fujitsu.com> (raw)
In-Reply-To: <CAG1y0sf2QFbD5_6xK1iHtdaBLBtZsNFgk1KrTpavNfZQX-CH1w@mail.gmail.com>

On 12/29/2011 07:11 PM, Fajar A. Nugraha wrote:
> On Thu, Dec 29, 2011 at 5:51 PM, Remco Hosman <remco@hosman.xs4all.nl> wrote:
>> Hi,
>>
>> Something i could not find in the documentation i managed to find:
>> if you mount with compress=lzo and rebalance, is compression on for that
>> filesystem or only a single volume?
>>
>> eg, can i have a @boot volume uncompressed and @ and @home compressed.
> 
> Last time I asked a similar question, the answer was no. It's per filesystem.
> 
> however you can change compression of individual files between
> zlib/lzo using "btrfs fi defragment -c", regardless of what the
> filesystem is currently mounted with.
> 

for individual files and directories, we can also set them compress via 
FS_IOC_SETFLAGS.

thanks,
liubo

      reply	other threads:[~2011-12-29 12:35 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-12-29 10:51 Compession, on filesystem or volume? Remco Hosman
2011-12-29 11:11 ` Fajar A. Nugraha
2011-12-29 12:35   ` Liu Bo [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=4EFC5E74.70600@cn.fujitsu.com \
    --to=liubo2009@cn.fujitsu.com \
    --cc=linux-btrfs@vger.kernel.org \
    --cc=list@fajar.net \
    --cc=remco@hosman.xs4all.nl \
    /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.