linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Compession, on filesystem or volume?
@ 2011-12-29 10:51 Remco Hosman
  2011-12-29 11:11 ` Fajar A. Nugraha
  0 siblings, 1 reply; 3+ messages in thread
From: Remco Hosman @ 2011-12-29 10:51 UTC (permalink / raw)
  To: linux-btrfs

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.

Thanks,
Remco

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Compession, on filesystem or volume?
  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
  0 siblings, 1 reply; 3+ messages in thread
From: Fajar A. Nugraha @ 2011-12-29 11:11 UTC (permalink / raw)
  To: Remco Hosman; +Cc: linux-btrfs

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.

-- 
Fajar

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Compession, on filesystem or volume?
  2011-12-29 11:11 ` Fajar A. Nugraha
@ 2011-12-29 12:35   ` Liu Bo
  0 siblings, 0 replies; 3+ messages in thread
From: Liu Bo @ 2011-12-29 12:35 UTC (permalink / raw)
  To: Fajar A. Nugraha; +Cc: Remco Hosman, linux-btrfs

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-12-29 12:35 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 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).