Metadata size

2010-10-14 Thread Hugo Mills
I'm a little concerned about the size of my metadata. I'm doing raid10 on both data and metadata, and: h...@vlad:mnt $ sudo btrfs fi df /mnt Data: total=488.01GB, used=487.23GB Metadata: total=3.01GB, used=677.73MB System: total=11.88MB, used=52.00KB h...@vlad:mnt $ find /mnt | wc -l 20137

Re: btrfs filesystem df not working

2010-10-14 Thread Leonidas Spyropoulos
On Wed, Oct 13, 2010 at 4:08 PM, Chris Mason chris.ma...@oracle.com wrote: On Wed, Oct 13, 2010 at 10:52:57AM +0100, Leonidas Spyropoulos wrote: On Wed, Oct 13, 2010 at 1:43 AM, Chris Mason chris.ma...@oracle.com wrote: On Tue, Oct 12, 2010 at 02:45:19PM +0100, Leonidas Spyropoulos wrote: On

PATCH zeroing ioctl21 flags progs-side

2010-10-14 Thread David Nicol
This is once again the whole patch starting from 075587c96c2f39e227847d13ca0ef305b13cd7d3 (Chris Mason, April 06 2010) The difference between this one and yesterday's is: 1: the file descriptor leak is corrected 2: the ioctl21 flags field is explicitly zeroed, for forwards compatibility. The

PATCH added flags to cleaner-wait structure kernel-side

2010-10-14 Thread David Nicol
This is once again based on 2ebc3464781ad24474abcbd2274e6254689853b5 (Dan Rosenberg July 19 2010) The delta between this and the previous ioctl#21 kernel patch I posted is that this one defines the flags field in the arguments structure, and has a comment about the intended semantics of it, and

Re: btrfs filesystem df not working

2010-10-14 Thread Chris Mason
On Thu, Oct 14, 2010 at 12:45:59PM +0100, Leonidas Spyropoulos wrote: On Wed, Oct 13, 2010 at 4:08 PM, Chris Mason chris.ma...@oracle.com wrote: On Wed, Oct 13, 2010 at 10:52:57AM +0100, Leonidas Spyropoulos wrote: On Wed, Oct 13, 2010 at 1:43 AM, Chris Mason chris.ma...@oracle.com wrote:

[PATCH] Btrfs: fix df regression

2010-10-14 Thread Josef Bacik
The new ENOSPC stuff breaks out the raid types which breaks the way we were reporting df to the system. This fixes it back so that Available is the total space available to data and used is the actual bytes used by the filesystem. This means that Available is Total - data used - all of the