Re: [BUG] btrfs quota

2013-03-31 Thread Arne Jansen
Hello Wang, On 03/31/13 03:44, Wang Shilong wrote: Hello Arne, Jan, When i run stresstest with quota enabled, i hit a panic where btrfs_find_all_roots() is called. Would you please double check it. On what kernel version do you hit this (git commit id preferred)? Can you send us the

[PATCH V3] Btrfs: kill some BUG_ONs() in the find_parent_nodes()

2013-03-31 Thread Wang Shilong
From: Wang Shilong wangsl-f...@cn.fujitsu.com The reason that BUG_ON() happens in these places is just because of ENOMEM. We try ro return ENOMEM rather than trigger BUG_ON(), the caller will abort the transaction thus avoiding the kernel panic. Signed-off-by: Wang Shilong

Re: [BUG] btrfs quota

2013-03-31 Thread Wang Shilong
Hello Arne, Hello Wang, On 03/31/13 03:44, Wang Shilong wrote: Hello Arne, Jan, When i run stresstest with quota enabled, i hit a panic where btrfs_find_all_roots() is called. Would you please double check it. On what kernel version do you hit this (git commit id preferred)? Can

[PATCH V2] Btrfs: fix double free in the iterate_extent_inodes()

2013-03-31 Thread Wang Shilong
From: Wang Shilong wangsl-f...@cn.fujitsu.com If btrfs_find_all_roots() fails, 'roots' has been freed or 'roots' fails to allocate. We don't need to free it outside btrfs_find_all_roots() again.Fix it. Signed-off-by: Wang Shilong wangsl-f...@cn.fujitsu.com --- Changelog: V1-v2: remove

Re: [PATCH] Btrfs: cleanup to remove reduplicate code in iterate_extent_inode()

2013-03-31 Thread Wang Shilong
Just ignore this patch, i have merge the correct modification of this patch to the [patch V2] fix double free in the iterate_extent_inodes(). Thanks, Wang On 03/30/13 12:55, Wang Shilong wrote: snip On 03/29/13 14:42, Wang Shilong wrote: From: Wang Shilong wangsl-f...@cn.fujitsu.com

Re: [BUG] btrfs quota

2013-03-31 Thread Wang Shilong
Hello Arne, However, I remember that i have hit this panic in several kernel version. And i will double check it tomorrow when i am in the work.. If possible, i will send you the message from dmesg. Thanks, Wang Hello Wang, On 03/31/13 03:44, Wang Shilong wrote: Hello Arne, Jan, When i

BTRFS error in __btrfs_inc_extent_ref:1935: Object already exists

2013-03-31 Thread Roman Mamedov
Hello, Trying to balance a 2TB filesystem on the 3.8.5 kernel: Label: 'p2' uuid: 01f6cc8b-d305-40e1-bac8-8fdd548f611e Total devices 1 FS bytes used 1.32TB devid1 size 1.80TB used 1.37TB path /dev/sda2 System: total=4.00MB, used=156.00KB Data+Metadata: total=1.37TB,

[PATCH] btrfs-progs: delete unused function get_mountpt

2013-03-31 Thread Anand Jain
and get_btrfs_mount has replaced it Signed-off-by: Anand Jain anand.j...@oracle.com --- utils.c | 35 --- 1 file changed, 35 deletions(-) diff --git a/utils.c b/utils.c index b9b675d..0a4a971 100644 --- a/utils.c +++ b/utils.c @@ -976,41 +976,6 @@