Re: [PATCH 2/2 v2] Btrfs: Per file/directory controls for COW and compression

2011-04-04 Thread Konstantinos Skarlatos
Hello, I would like to ask about the status of this feature/patch, is it accepted into btrfs code, and how can I use it? I am interested in enabling compression in a specific folder(force-compress would be ideal) of a large btrfs volume, and disabling it for the rest. On 21/3/2011 10:57

Odd rebalancing behavior

2011-04-04 Thread Michel Alexandre Salim
I have an external 4-disk enclosure, connected through USB 2.0 (my laptop does not have a USB 3.0 connector, and the eSATA connector somehow does not work); it initially had a 2-disk btrfs soft-RAID1 file system (both data and metadata are RAID1). I recently added two more disks and did a

Re: btrfs balancing start - and stop?

2011-04-04 Thread Stephane Chazelas
2011-04-03 21:35:00 +0200, Helmut Hullen: Hallo, Stephane, Du meintest am 03.04.11: balancing about 2 TByte needed about 20 hours. [...] Hugo has explained the limits of regarding dmesg | grep relocating or (more simple) the last lines of dmesg and looking for the

Re: btrfs subvolume snapshot syntax too smart

2011-04-04 Thread Freddie Cash
On Mon, Apr 4, 2011 at 12:47 PM, Goffredo Baroncelli kreij...@libero.it wrote: On 04/04/2011 09:09 PM, krz...@gmail.com wrote: I understand btrfs intent but same command run twice should not give diffrent results. This really makes snapshot automation hard root@sv12 [/ssd]# btrfs subvolume

Re: [PATCH] Btrfs: fix free space cache when there are pinned extents and clusters V2

2011-04-04 Thread Mitch Harder
On Fri, Apr 1, 2011 at 9:55 AM, Josef Bacik jo...@redhat.com wrote: I noticed a huge problem with the free space cache that was presenting as an early ENOSPC.  Turns out when writing the free space cache out I forgot to take into account pinned extents and more importantly clusters.  This

bug report

2011-04-04 Thread Larry D'Anna
So i made a filesystem image $ dd if=/dev/zero of=root_fs bs=1024 count=$(expr 1024 \* 1024) $ mkfs.btrfs root_fs Then I put some debian on it (my kernel is 2.6.35-27-generic #48-Ubuntu) $ mkdir root $ mount -o loop root_fs root $ debootstrap sid root $ umount root Then i run

Re: [PATCH] Btrfs: fix subvolume mount by name problem when default mount subvolume is set

2011-04-04 Thread Chris Mason
Excerpts from Zhong, Xin's message of 2011-03-31 03:59:22 -0400: We create two subvolumes (meego_root and meego_home) in btrfs root directory. And set meego_root as default mount subvolume. After we remount btrfs, meego_root is mounted to top directory by default. Then when we try to mount