lkml.org 
[lkml]   [2012]   [Jul]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: Deadlocks due to per-process plugging
From
Date
On Wed, 2012-07-18 at 07:30 +0200, Mike Galbraith wrote: 
> On Wed, 2012-07-18 at 06:44 +0200, Mike Galbraith wrote:
>
> > The patch in question for missing Cc. Maybe should be only mutex, but I
> > see no reason why IO dependency can only possibly exist for mutexes...
>
> Well that was easy, box quickly said "nope, mutex only does NOT cut it".

And I also learned (ouch) that both doesn't cut it either. Ksoftirqd
(or sirq-blk) being nailed by q->lock in blk_done_softirq() is.. not
particularly wonderful. As long as that doesn't happen, IO deadlock
doesn't happen, troublesome filesystems just work. If it does happen
though, you've instantly got a problem.

-Mike



\
 
 \ /
  Last update: 2012-07-21 10:21    [W:0.096 / U:3.140 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site