Re: Balancing takes forever

2011-07-02 Thread cwillu
On Fri, Jul 1, 2011 at 4:32 PM, Christian cdys...@gmail.com wrote: I tried to balance my home folder. The disk spins and after an hour it hasn't completed. This is a 300 GB home directory about half full. I know balance takes while, but how long should it take? This is a 7200 rpm disk on a

Re: [PATCH v2] print parent ID in btrfs suvolume list

2011-07-02 Thread Goffredo Baroncelli
On 07/01/2011 12:21 PM, Andreas Philipp wrote: There was some discussion on where subvolumes live in. Why do we not simply print the parent ID for each subvolume in btrfs subvolume list? This patch adds this functionality when called with parameter -p. Can I ask you to update the man page

Re: [PATCH] Btrfs: initial online fsck support

2011-07-02 Thread Hubert Kario
On Friday 01 of July 2011 19:48:36 Andi Kleen wrote: Li Zefan l...@cn.fujitsu.com writes: This is an initial version of online fsck. What it does is: - check the dir item and dir index pointing to a file. - check the structure of extents of a file. As furthur work, we should

Re: [PATCH] Btrfs: initial online fsck support

2011-07-02 Thread Andi Kleen
The two big features of btrfs are self-healing and online fsck, those have to Are they? be implemented in kernel space. Why? There have been online fscks in user space in the past, e.g. the various schemes using LVM snapshots for ext* and other related work on the BSD FFS. I don't see any

TRIM support

2011-07-02 Thread Leonidas Spyropoulos
Hello, I just installed an archlinux with btrfs root partition and would like to set the correct mount properties Following this: https://wiki.archlinux.org/index.php/Solid_State_Drives it says there that I should use the discard mount parameter to enable TRIM. I would like to ask by using ssd

Re: [PATCH] Btrfs: initial online fsck support

2011-07-02 Thread Hubert Kario
On Saturday 02 of July 2011 19:04:43 Andi Kleen wrote: The two big features of btrfs are self-healing and online fsck, those have to Are they? they are scheduled to be, just like RAID5/6, mixed RAID in single FS... be implemented in kernel space. Why? There have been online fscks in

Re: TRIM support

2011-07-02 Thread Calvin Walton
On Sat, 2011-07-02 at 19:08 +0100, Leonidas Spyropoulos wrote: Hello, I just installed an archlinux with btrfs root partition and would like to set the correct mount properties Following this: https://wiki.archlinux.org/index.php/Solid_State_Drives it says there that I should use the

Re: Balancing takes forever

2011-07-02 Thread Christian
On 07/02/2011 01:47 AM, cwillu wrote: Balance currently rewrites everything, and does it in a not-terribly-efficient way. It's probably done by now (8 hours since your message), which isn't unusual. There's some improvements in the pipeline, but they're not in a released kernel yet.

[PATCH] Btrfs: don't panic if we get an error while balancing V2

2011-07-02 Thread Josef Bacik
A user reported an error where if we try to balance an fs after a device has been removed it will blow up. This is because we get an EIO back and this is where BUG_ON(ret) bites us in the ass. To fix we just exit. Thanks, Reported-by: Anand Jain anand.j...@oracle.com Signed-off-by: Josef Bacik

Re: [GIT PULL] Btrfs updates for 3.1

2011-07-02 Thread Josef Bacik
On 07/01/2011 04:39 PM, Josef Bacik wrote: Hey Chris, Since I'm going on vacation next week I wanted to get everything ready for you in case you get bored with fsck and want to put together a 3.1 tree :). If you can pull

Re: TRIM support

2011-07-02 Thread Leonidas Spyropoulos
On Sat, Jul 2, 2011 at 11:39 PM, Leonidas Spyropoulos artafi...@gmail.com wrote: On Sat, Jul 2, 2011 at 8:45 PM, Calvin Walton calvin.wal...@kepstin.ca wrote: On Sat, 2011-07-02 at 19:08 +0100, Leonidas Spyropoulos wrote: Hello, I just installed an archlinux with btrfs root partition and