Re: btrfs: fix race in reada

2012-04-30 Thread Dan Carpenter
On Mon, Apr 30, 2012 at 01:23:29PM +0200, Arne Jansen wrote: > On 30.04.2012 13:11, Dan Carpenter wrote: > > Hello Arne Jansen, > > > > The patch 8c9c2bf7a3c4: "btrfs: fix race in reada" from Feb 25, 2012, > > leads to the following warning: >

Re: btrfs: fix race in reada

2012-04-30 Thread Dan Carpenter
On Mon, Apr 30, 2012 at 01:23:29PM +0200, Arne Jansen wrote: > On 30.04.2012 13:11, Dan Carpenter wrote: > > Hello Arne Jansen, > > > > The patch 8c9c2bf7a3c4: "btrfs: fix race in reada" from Feb 25, 2012, > > leads to the following warning: >

Re: btrfs: fix race in reada

2012-04-30 Thread Arne Jansen
On 30.04.2012 13:11, Dan Carpenter wrote: > Hello Arne Jansen, > > The patch 8c9c2bf7a3c4: "btrfs: fix race in reada" from Feb 25, 2012, > leads to the following warning: > fs/btrfs/reada.c:308 reada_find_zone() >warn: 'zone' was already free

re: btrfs: fix race in reada

2012-04-30 Thread Dan Carpenter
Hello Arne Jansen, The patch 8c9c2bf7a3c4: "btrfs: fix race in reada" from Feb 25, 2012, leads to the following warning: fs/btrfs/reada.c:308 reada_find_zone() warn: 'zone' was already freed. @@ -307,13 +302,15 @@ again: ret = radix_tree_inse

Re: [PATCH] btrfs: fix race in reada

2012-03-15 Thread Andrea Gelmini
On Sat, Feb 25, 2012 at 09:09:30AM +0100, Arne Jansen wrote: > When inserting into the radix tree returns EEXIST, get the existing > entry without giving up the spinlock in between. > There was a race for both the zones trees and the extent tree. I'm using this patch without problem since you publ

[PATCH] btrfs: fix race in reada

2012-02-25 Thread Arne Jansen
When inserting into the radix tree returns EEXIST, get the existing entry without giving up the spinlock in between. There was a race for both the zones trees and the extent tree. Signed-off-by: Arne Jansen --- fs/btrfs/reada.c | 36 1 files changed, 16 ins