Re: [PATCH v3] Btrfs: fix wrong super generation mismatch when scrubbing supers

2013-12-03 Thread Miao Xie
On tue, 3 Dec 2013 14:08:24 +0800, Liu Bo wrote: On Tue, Dec 03, 2013 at 01:06:34PM +0800, Wang Shilong wrote: Hi Liu, On 12/03/2013 12:57 PM, Liu Bo wrote: On Tue, Dec 03, 2013 at 01:33:39AM +0800, Wang Shilong wrote: From: Wang Shilong wangsl.f...@cn.fujitsu.com We came a race

Re: [PATCH 12/18] ocfs2: use generic posix ACL infrastructure

2013-12-03 Thread Christoph Hellwig
On Tue, Dec 03, 2013 at 12:00:07AM +0100, Jan Kara wrote: Hum, this changes the cluster locking. Previously ocfs2_acl_get() used from ocfs2_acl_chmod() grabbed cluster wide inode lock. Now getting of ACL isn't protected by the inode lock. That being said the cluster locking around setattr

btrfs-ino-cache runs on every boot for 6 minutes

2013-12-03 Thread Szőts Ákos
Dear list members, I'm not sure if this a bug or an intended behaviour, since I've yet to find a reliable source with Google search. My problem is the following: with the 3.12 kernel on every single boot (even when the computer was shut down clear) the process [btrfs-ino-cache] is preventing

Re: btrfs-ino-cache runs on every boot for 6 minutes

2013-12-03 Thread Duncan
Szőts Ákos posted on Tue, 03 Dec 2013 12:28:26 +0100 as excerpted: Dear list members, I'm not sure if this a bug or an intended behaviour, since I've yet to find a reliable source with Google search. My problem is the following: with the 3.12 kernel on every single boot (even when the

[PATCH] Btrfs: fix pass of transid with wrong endianness in send.c

2013-12-03 Thread Filipe David Borba Manana
From sparse: fs/btrfs/send.c:2190:9: warning: incorrect type in argument 3 (different base types) fs/btrfs/send.c:2190:9:expected unsigned long long [unsigned] [usertype] value fs/btrfs/send.c:2190:9:got restricted __le64 [usertype] ctransid fs/btrfs/send.c:2195:17: warning: incorrect

Re: [PATCH] Btrfs: optimize btrfs_lookup_extent_info() - extent refcount mismatches?

2013-12-03 Thread David Sterba
On Fri, Nov 29, 2013 at 07:55:37PM +, Filipe David Manana wrote: On Fri, Nov 29, 2013 at 3:45 PM, David Sterba dste...@suse.cz wrote: Hi, On Fri, Jul 05, 2013 at 09:32:05PM +0100, Filipe David Borba Manana wrote: If we're looking for a metadata item in the tree and the search fails

Fwd: no space left on balance

2013-12-03 Thread E V
Looks like the same issue as kernel bugzilla 66221 just different config. debian wheezy with hand built 3.11.9. Ideas for fixing would be great. I guess I'll try deleting a couple snapshots and try again. btrfs balance start -dconvert=single /mirror ERROR: error during balancing '/mirror' - No

Re: [PATCH v7 04/13] Btrfs: disable qgroups accounting when quata_enable is 0

2013-12-03 Thread Alex Lyakas
Hi Liu, Jan, What happens to struct qgroup_updates sitting in trans-qgroup_ref_list in case the transaction aborts? It seems that they are not freed. For example, if we are in btrfs_commit_transaction() and: - call create_pending_snapshots() - call btrfs_run_delayed_items() and this fails So we

btrfs-cleaner leaves CPU pinned to 100%

2013-12-03 Thread Adam G
Hello, After a recent kernel upgrade I noticed the fans blowing at full throttle on my laptop. There is currently very low load on the machine and nothing out of the ordinary has occurred to lead me to believe this is normal behavior. Here is a link to the perf output I managed to capture

Re: [PATCH] Btrfs: optimize btrfs_lookup_extent_info() - extent refcount mismatches?

2013-12-03 Thread Josef Bacik
On Tue, Dec 3, 2013 at 8:43 AM, David Sterba dste...@suse.cz wrote: On Fri, Nov 29, 2013 at 07:55:37PM +, Filipe David Manana wrote: On Fri, Nov 29, 2013 at 3:45 PM, David Sterba dste...@suse.cz wrote: Hi, On Fri, Jul 05, 2013 at 09:32:05PM +0100, Filipe David Borba Manana wrote: If

Re: [RFC PATCH] Btrfs: Add linear chunk allocation support.

2013-12-03 Thread David Sterba
On Mon, Dec 02, 2013 at 12:23:02PM +0630, chandan wrote: This patch implements the *core* of the idea suggested at https://btrfs.wiki.kernel.org/index.php/Project_ideas#Linear_chunk_allocation_mode. Other required changes (e.g. balance/restripe) will be made based on the reviews obtained for

Re: btrfs-ino-cache runs on every boot for 6 minutes

2013-12-03 Thread Liu Bo
On Tue, Dec 03, 2013 at 12:28:26PM +0100, Szőts Ákos wrote: Dear list members, I'm not sure if this a bug or an intended behaviour, since I've yet to find a reliable source with Google search. My problem is the following: with the 3.12 kernel on every single boot (even when the computer

Re: [PATCH v3] Btrfs: fix wrong super generation mismatch when scrubbing supers

2013-12-03 Thread Wang Shilong
On 12/04/2013 03:14 AM, Sebastian Ochmann wrote: Hello, I know, the discussion on how to fix the problem best is still on-going, but I wanted to add that I tried v3 of the patch against btrfs-next on my machine. Without the patch, I was able to reproduce the problem within a few minutes;