RE: Is it possible for the ext4/btrfs file system to pass some context related info to low level block driver?

2011-05-08 Thread Gao, Yunpeng
>-Original Message- >From: Andreas Dilger [mailto:adil...@dilger.ca] >Sent: Wednesday, May 04, 2011 10:52 PM >To: Gao, Yunpeng >Cc: Martin K. Petersen; linux-btrfs@vger.kernel.org; >linux-e...@vger.kernel.org; linux-fsde...@vger.kernel.org; >linux-...@vger.kernel.org >Subject: Re: Is it pos

Re: Btrfs raid1 "full sized"?

2011-05-08 Thread Claes Gyllenswärd
2011/5/1 cwillu : > On Sun, May 1, 2011 at 12:33 PM, Claes Gyllenswärd > wrote: >> I've tried setting up a raid1 on two drives like this: >> >> mkfs.btrfs -m raid1 -d raid1 /dev/sdb /dev/sdc >> >> Then I copy my old install onto the new drives, and check the drives' status: >> >> # mount | grep "

Re: Compression: per filesystem, or per subvolume?

2011-05-08 Thread kehon
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

Re: [2.6.29-rc2] insert_dir_item hitting assertion during log replay

2011-05-08 Thread Daniel J Blueman
On 12 April 2011 00:07, Daniel J Blueman wrote: > On 11 April 2011 23:32, Josef Bacik wrote: >> On 04/10/2011 04:29 AM, Daniel J Blueman wrote: >>> >>> When rebooting from a crash, thus during log replay on 2.6.29-rc2, >>> btrfs_insert_dir_item caused an assertion failure [1]. The fs was >>> bein

Compression: per filesystem, or per subvolume?

2011-05-08 Thread Fajar A. Nugraha
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 co