On 04/24/2012 10:15 PM, Chris Mason wrote:
> On Tue, Apr 24, 2012 at 09:50:39AM +0800, Liu Bo wrote:
>> On 04/24/2012 01:33 AM, Josef Bacik wrote:
>>
>>> We can deadlock waiting for pages to end writeback because we are doing an
>>> allocation while hold a tree lock since the ordered extent stuff
On Tue, Apr 24, 2012 at 09:50:39AM +0800, Liu Bo wrote:
> On 04/24/2012 01:33 AM, Josef Bacik wrote:
>
> > We can deadlock waiting for pages to end writeback because we are doing an
> > allocation while hold a tree lock since the ordered extent stuff will
> > require tree locks. A quick easy way
On 04/24/2012 01:33 AM, Josef Bacik wrote:
> We can deadlock waiting for pages to end writeback because we are doing an
> allocation while hold a tree lock since the ordered extent stuff will
> require tree locks. A quick easy way to fix this is to end page writeback
> before we do our ordered io
We can deadlock waiting for pages to end writeback because we are doing an
allocation while hold a tree lock since the ordered extent stuff will
require tree locks. A quick easy way to fix this is to end page writeback
before we do our ordered io stuff, which works fine since we don't really
need