From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mike Galbraith Subject: Re: Deadlocks due to per-process plugging Date: Sat, 21 Jul 2012 09:47:15 +0200 Message-ID: <1342856835.7739.19.camel@marge.simpson.net> References: <20120711133735.GA8122@quack.suse.cz> <20120711201601.GB9779@quack.suse.cz> <20120713123318.GB20361@quack.suse.cz> <20120713144622.GB28715@quack.suse.cz> <1342343673.28142.2.camel@marge.simpson.net> <1342405366.7659.35.camel@marge.simpson.net> <1342432094.7659.39.camel@marge.simpson.net> <1342433303.7659.42.camel@marge.simpson.net> <1342530621.7353.116.camel@marge.simpson.net> <1342586692.7321.45.camel@marge.simpson.net> <1342589411.7321.59.camel@marge.simpson.net> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Cc: Jan Kara , Jeff Moyer , LKML , linux-fsdevel@vger.kernel.org, Tejun Heo , Jens Axboe , mgalbraith@suse.com, Steven Rostedt To: Thomas Gleixner Return-path: In-Reply-To: <1342589411.7321.59.camel@marge.simpson.net> Sender: linux-kernel-owner@vger.kernel.org List-Id: linux-fsdevel.vger.kernel.org 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