Re: [PATCH 1/2] tracing: add __print_symbolic_u64 to avoid warnings on 32bit machine

2011-04-29 Thread liubo
ping? On 04/19/2011 09:35 AM, liubo wrote: Filesystem, like Btrfs, has some ULL macros, and when these macros are passed to tracepoints'__print_symbolic(), there will be 64-32 truncate WARNINGS during compiling on 32bit box. Signed-off-by: Liu Bo liubo2...@cn.fujitsu.com ---

abysmal performance

2011-04-29 Thread John Wyzer
Currently on commit 7cf96da3ec7ca225acf4f284b0e904a1f5f98821 Author: Tsutomu Itoh t-i...@jp.fujitsu.com Date: Mon Apr 25 19:43:53 2011 -0400 Btrfs: cleanup error handling in inode.c merged into 2.6.38.4 I'm on a btrfs filesystem that has been used for some time. Let's say nine months.

Re: abysmal performance

2011-04-29 Thread Chris Mason
Excerpts from John Wyzer's message of 2011-04-29 10:46:08 -0400: Currently on commit 7cf96da3ec7ca225acf4f284b0e904a1f5f98821 Author: Tsutomu Itoh t-i...@jp.fujitsu.com Date: Mon Apr 25 19:43:53 2011 -0400 Btrfs: cleanup error handling in inode.c merged into 2.6.38.4 I'm on a

Re: [PATCH 05/12] btrfs: remove useless mutex lock/unlock sequences

2011-04-29 Thread David Sterba
On Mon, Apr 25, 2011 at 08:12:59AM -0400, Chris Mason wrote: This code tests whether the mutex_lock can be acquired, and when the mutex_lock can be taken, it try again. So I think that it is not a meaningless code. Correct, this code is waiting for the current lock holder to finish. It's

Premature -ENOSPC on btrfs?

2011-04-29 Thread Darrick J. Wong
Hi, I was giving btrfs (2.6.39-rc4) a quick tryout today and noticed some odd behavior when running a rather stupid test. First, I create a 1GB test fs, format it, and mount it. Then, I run the following command to create a huge file, truncate it, rewrite it, and report what size file got

Re: Premature -ENOSPC on btrfs?

2011-04-29 Thread Darrick J. Wong
On Fri, Apr 29, 2011 at 06:00:16PM -0600, cwillu wrote: On Fri, Apr 29, 2011 at 5:48 PM, Darrick J. Wong djw...@us.ibm.com wrote: Hi, I was giving btrfs (2.6.39-rc4) a quick tryout today and noticed some odd behavior when running a rather stupid test. First, I create a 1GB test fs,

Re: Premature -ENOSPC on btrfs?

2011-04-29 Thread cwillu
On Fri, Apr 29, 2011 at 6:16 PM, Darrick J. Wong djw...@us.ibm.com wrote: On Fri, Apr 29, 2011 at 06:00:16PM -0600, cwillu wrote: On Fri, Apr 29, 2011 at 5:48 PM, Darrick J. Wong djw...@us.ibm.com wrote: Hi, I was giving btrfs (2.6.39-rc4) a quick tryout today and noticed some odd

Re: Premature -ENOSPC on btrfs?

2011-04-29 Thread Darrick J. Wong
On Fri, Apr 29, 2011 at 06:24:16PM -0600, cwillu wrote: On Fri, Apr 29, 2011 at 6:16 PM, Darrick J. Wong djw...@us.ibm.com wrote: On Fri, Apr 29, 2011 at 06:00:16PM -0600, cwillu wrote: On Fri, Apr 29, 2011 at 5:48 PM, Darrick J. Wong djw...@us.ibm.com wrote: Hi, I was giving btrfs

Re: Premature -ENOSPC on btrfs?

2011-04-29 Thread Helmut Hullen
Hallo, Darrick, Du meintest am 29.04.11: First, I create a 1GB test fs, format it, in which way? RAID0, RAID1, mix or something else? Strangely, df reports that free space remains, and I can even create a second file to fill the empty space, so clearly the fs isn't full yet. df tells,

Rename a btrfs filesystem?

2011-04-29 Thread Evert Vorster
Hi there. Just a quick question: How do I rename an existing btrfs filesystem without destroying all the subvolumes on it? From mkfs.btrfs it says -L sets the initial filesystem label. With ext2, 3 and 4 the filesystem label can be changed with tune2fs. Does similar functionality exist in

Re: Rename a btrfs filesystem?

2011-04-29 Thread Fajar A. Nugraha
On Sat, Apr 30, 2011 at 9:24 AM, Evert Vorster evors...@gmail.com wrote: Hi there. Just a quick question: How do I rename an existing btrfs filesystem without destroying all the subvolumes on it? From mkfs.btrfs it says -L sets the initial filesystem label. With ext2, 3 and 4 the