linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Compression: per filesystem, or per subvolume?
@ 2011-05-08 13:35 Fajar A. Nugraha
  2011-05-08 13:59 ` kehon
       [not found] ` <BANLkTikS522HZBv+05md-okRey37aZd6gA@mail.gmail.com>
  0 siblings, 2 replies; 3+ messages in thread
From: Fajar A. Nugraha @ 2011-05-08 13:35 UTC (permalink / raw)
  To: linux-btrfs

Currently using Ubuntu Natty, kernel 2.6.38-9-generic, I have these
mount points using btrs subvolumes

$ mount -t btrfs
/dev/sda2 on / type btrfs (rw,noatime,subvolid=256,compress-force=zlib)
/dev/sda2 on /home type btrfs (rw,noatime,subvolid=258,compress=lzo)

Yet dmesg seems to show only zlib compression enabled
$ dmesg | grep btrfs
[   11.097908] btrfs: force zlib compression

Is this by design, or a bug?

-- 
Fajar

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

* Re: Compression: per filesystem, or per subvolume?
  2011-05-08 13:35 Compression: per filesystem, or per subvolume? Fajar A. Nugraha
@ 2011-05-08 13:59 ` kehon
       [not found] ` <BANLkTikS522HZBv+05md-okRey37aZd6gA@mail.gmail.com>
  1 sibling, 0 replies; 3+ messages in thread
From: kehon @ 2011-05-08 13:59 UTC (permalink / raw)
  To: linux-btrfs

[-- Attachment #1: Type: text/plain, Size: 822 bytes --]

At the moment btrfs doesn't support separate compression for volumes on
the same filesystem.

On 05/08/11 at 08:35pm, Fajar A. Nugraha wrote:
> Currently using Ubuntu Natty, kernel 2.6.38-9-generic, I have these
> mount points using btrs subvolumes
> 
> $ mount -t btrfs
> /dev/sda2 on / type btrfs (rw,noatime,subvolid=256,compress-force=zlib)
> /dev/sda2 on /home type btrfs (rw,noatime,subvolid=258,compress=lzo)
> 
> Yet dmesg seems to show only zlib compression enabled
> $ dmesg | grep btrfs
> [   11.097908] btrfs: force zlib compression
> 
> Is this by design, or a bug?
> 
> -- 
> Fajar
> --
> 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

[-- Attachment #2: Type: application/pgp-signature, Size: 836 bytes --]

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

* Re: Compression: per filesystem, or per subvolume?
       [not found] ` <BANLkTikS522HZBv+05md-okRey37aZd6gA@mail.gmail.com>
@ 2011-05-10  9:51   ` Fajar A. Nugraha
  0 siblings, 0 replies; 3+ messages in thread
From: Fajar A. Nugraha @ 2011-05-10  9:51 UTC (permalink / raw)
  To: linux-btrfs

On Sun, May 8, 2011 at 8:38 PM, cwillu <cwillu@gmail.com> wrote:
> It's by not-implemented-yet.=A0 Mount options are still currently glo=
bal to
> the filesystem.

Thanks for the info. I was testing combination of grub2, btrfs "/"
without separate /boot, and lzo. Using lzo feels much faster compared
to zlib, so right now I just use separate /boot/grub in ext4 to make
it work correctly.

--=20
=46ajar

>
> On May 8, 2011 7:35 AM, "Fajar A. Nugraha" <list@fajar.net> wrote:
>> Currently using Ubuntu Natty, kernel 2.6.38-9-generic, I have these
>> mount points using btrs subvolumes
>>
>> $ mount -t btrfs
>> /dev/sda2 on / type btrfs (rw,noatime,subvolid=3D256,compress-force=3D=
zlib)
>> /dev/sda2 on /home type btrfs (rw,noatime,subvolid=3D258,compress=3D=
lzo)
>>
>> Yet dmesg seems to show only zlib compression enabled
>> $ dmesg | grep btrfs
>> [ 11.097908] btrfs: force zlib compression
>>
>> Is this by design, or a bug?
--
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

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

end of thread, other threads:[~2011-05-10  9:51 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-05-08 13:35 Compression: per filesystem, or per subvolume? Fajar A. Nugraha
2011-05-08 13:59 ` kehon
     [not found] ` <BANLkTikS522HZBv+05md-okRey37aZd6gA@mail.gmail.com>
2011-05-10  9:51   ` Fajar A. Nugraha

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).