Re: [PATCH] Btrfs: fix heavy delalloc related deadlock

2013-08-21 Thread Miao Xie
Josef On mon, 19 Aug 2013 08:49:52 -0400, Josef Bacik wrote: On Mon, Aug 19, 2013 at 10:31:15AM +0800, Miao Xie wrote: On wed, 14 Aug 2013 11:41:00 -0400, Josef Bacik wrote: I added a patch where we started taking the ordered operations mutex when we waited on ordered extents. We need this

Re: [PATCH] Btrfs: fix heavy delalloc related deadlock

2013-08-21 Thread Josef Bacik
On Wed, Aug 21, 2013 at 02:31:29PM +0800, Miao Xie wrote: Josef On mon, 19 Aug 2013 08:49:52 -0400, Josef Bacik wrote: On Mon, Aug 19, 2013 at 10:31:15AM +0800, Miao Xie wrote: On wed, 14 Aug 2013 11:41:00 -0400, Josef Bacik wrote: I added a patch where we started taking the ordered

Re: [PATCH] Btrfs: fix heavy delalloc related deadlock

2013-08-18 Thread Miao Xie
On wed, 14 Aug 2013 11:41:00 -0400, Josef Bacik wrote: I added a patch where we started taking the ordered operations mutex when we waited on ordered extents. We need this because we splice the list and process it, so if a flusher came in during this scenario it would think the list was

[PATCH] Btrfs: fix heavy delalloc related deadlock

2013-08-14 Thread Josef Bacik
I added a patch where we started taking the ordered operations mutex when we waited on ordered extents. We need this because we splice the list and process it, so if a flusher came in during this scenario it would think the list was empty and we'd usually get an early ENOSPC. The problem with

[PATCH] Btrfs: fix heavy delalloc related deadlock

2013-08-14 Thread Josef Bacik
I added a patch where we started taking the ordered operations mutex when we waited on ordered extents. We need this because we splice the list and process it, so if a flusher came in during this scenario it would think the list was empty and we'd usually get an early ENOSPC. The problem with