Re: [RFC] btrfs fi df output [Was Re: BTRF - Storage Usage]

2012-09-29 Thread Goffredo Baroncelli
On 09/28/2012 10:13 PM, Hugo Mills wrote: Summary: Disk_size: 135.00 GiB Disk_allocated: 10.51 GiB Disk_unallocated: 124.49 GiB Used:2.59 GiB Free_(Estimated): 91.93 GiB

[PATCH 1/2] btrfs: remove unused function btrfs_insert_some_items()

2012-09-29 Thread Robin Dong
From: Robin Dong san...@taobao.com The function btrfs_insert_some_items() would not be called by any other functions, so remove it. Signed-off-by: Robin Dong san...@taobao.com --- fs/btrfs/ctree.c | 143 -- 1 files changed, 0 insertions(+),

[PATCH 2/2] btrfs: move inline function code to header file

2012-09-29 Thread Robin Dong
From: Robin Dong san...@taobao.com When building btrfs from kernel code, it will report: fs/btrfs/extent_io.h:281: warning: 'extent_buffer_page' declared inline after being called fs/btrfs/extent_io.h:281: warning: previous declaration of 'extent_buffer_page' was here

Re: [RFC] btrfs fi df output [Was Re: BTRF - Storage Usage]

2012-09-29 Thread Sébastien Maury
Hi, First of all, i've to say that i'm not a linux specialist, so that means my point of view is balanced between a linux admin and a user. I may also say stupid things, so pleas excuse me in advance :p The first difference between the original command and the discussed one is on the value

[josef-btrfs:master 81/82] fs/btrfs/disk-io.c:34:28: fatal error: asm/cpufeature.h: No such file or directory

2012-09-29 Thread Fengguang Wu
Hi Josef, FYI, kernel build failed on tree: git://git.kernel.org/pub/scm/linux/kernel/git/josef/btrfs-next.git master head: 5aeafaaac9c84f3e2297914c748243bb34b0c5c5 commit: 5aeafaaac9c84f3e2297914c748243bb34b0c5c5 [81/82] Btrfs: do not async metadata csumming in certain situations config:

Re: [RFC] btrfs fi df output [Was Re: BTRF - Storage Usage]

2012-09-29 Thread Goffredo Baroncelli
Hi Sébastien, On 09/29/2012 11:59 AM, Sébastien Maury wrote: Hi, First of all, i've to say that i'm not a linux specialist, so that means my point of view is balanced between a linux admin and a user. I may also say stupid things, so pleas excuse me in advance :p The first difference between

[PATCH] Btrfs: shrink_delalloc check bdi write congested

2012-09-29 Thread Itaru Kitayama
In srhink_delalloc(), writeback starts if idle, also check the bdi is not write congested. The patch is against the head of the btrfs-next. Signed-off-by: Itaru Kitayama kitay...@cl.bb4u.ne.jp fs/btrfs/extent-tree.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

Re: [PATCH] Btrfs: shrink_delalloc check bdi write congested

2012-09-29 Thread David Sterba
On Sat, Sep 29, 2012 at 10:20:09PM +0900, Itaru Kitayama wrote: --- a/fs/btrfs/extent-tree.c +++ b/fs/btrfs/extent-tree.c @@ -3712,7 +3712,7 @@ static void shrink_delalloc(struct btrfs_root *root, u64 t while (delalloc_bytes loops 3) { max_reclaim =

Re: [PATCH] Btrfs progs: quota groups support

2012-09-29 Thread Diego Calleja
On Viernes, 10 de agosto de 2012 15:51:07 Jan Schmidt escribió: From: Arne Jansen sensi...@gmx.net Signed-off-by: Jan Schmidt list.bt...@jan-o-sch.net Signed-off-by: Arne Jansen sensi...@gmx.net --- This is the rebased version of Arne's qgroup patch set. He's the original author, which is

Btrfsck: root 256 inode 581419 errors 100. Can I heal this file system?

2012-09-29 Thread Adam Ryczkowski
Welcome. I was using this btrfs file system on kernel 3.6 rc4 and rc5 and 3.5.4 on Mint 13 (which is based on Ubuntu 12.04). Now, I found the following output of btrfsck /dev/sda8 (which was of course off-line at that time): checking extents checking fs roots root 256 inode 581419 errors 100

Re: [PATCH] Btrfs: shrink_delalloc check bdi write congested

2012-09-29 Thread Itaru Kitayama
Resubmit this after the checkpatch test. In srhink_delalloc(), writeback starts if idle, also check the bdi is not write congested. The patch is against the head of the btrfs-next. Signed-off-by: Itaru Kitayama kitay...@cl.bb4.ne.jp diff --git a/fs/btrfs/extent-tree.c b/fs/btrfs/extent-tree.c

Re: [PATCH] Btrfs: shrink_delalloc check bdi write congested

2012-09-29 Thread Itaru Kitayama
This is the correct one. Signed-off-by: Itaru Kitayama kitay...@cl.bb4.ne.jp diff --git a/fs/btrfs/extent-tree.c b/fs/btrfs/extent-tree.c index efb044e..c032dbe 100644 --- a/fs/btrfs/extent-tree.c +++ b/fs/btrfs/extent-tree.c @@ -3712,8 +3712,9 @@ static void shrink_delalloc(struct btrfs_root