Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1760287Ab1CDVoM (ORCPT ); Fri, 4 Mar 2011 16:44:12 -0500 Received: from mx1.redhat.com ([209.132.183.28]:8143 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1760219Ab1CDVoK (ORCPT ); Fri, 4 Mar 2011 16:44:10 -0500 Date: Fri, 4 Mar 2011 16:43:59 -0500 From: Mike Snitzer To: Shaohua Li Cc: Jens Axboe , linux-kernel@vger.kernel.org, hch@infradead.org Subject: Re: [PATCH 05/10] block: remove per-queue plugging Message-ID: <20110304214359.GA18442@redhat.com> References: <1295659049-2688-1-git-send-email-jaxboe@fusionio.com> <1295659049-2688-6-git-send-email-jaxboe@fusionio.com> <20110303221353.GA10366@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1229 Lines: 32 On Fri, Mar 04 2011 at 8:02am -0500, Shaohua Li wrote: > 2011/3/4 Mike Snitzer : > > I'm now hitting a lockdep issue, while running a 'for-2.6.39/stack-plug' > > kernel, when I try an fsync heavy workload to a request-based mpath > > device (the kernel ultimately goes down in flames, I've yet to look at > > the crashdump I took) > > > > > > ======================================================= > > [ INFO: possible circular locking dependency detected ] > > 2.6.38-rc6-snitm+ #2 > > ------------------------------------------------------- > > ffsb/3110 is trying to acquire lock: > > ?(&(&q->__queue_lock)->rlock){..-...}, at: [] flush_plug_list+0xbc/0x135 > > > > but task is already holding lock: > > ?(&rq->lock){-.-.-.}, at: [] schedule+0x16a/0x725 > > > > which lock already depends on the new lock. > I hit this too. Can you check if attached debug patch fixes it? Fixes it for me. Thanks, Mike -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/