Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752709Ab0LWVky (ORCPT ); Thu, 23 Dec 2010 16:40:54 -0500 Received: from mail.linux-iscsi.org ([67.23.28.174]:56682 "EHLO linux-iscsi.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752111Ab0LWVkt (ORCPT ); Thu, 23 Dec 2010 16:40:49 -0500 Subject: Re: [PATCH 01/12] libiscsi: Convert to host_lock less w/ interrupts disabled internally From: "Nicholas A. Bellinger" To: Mike Christie Cc: Boaz Harrosh , linux-scsi , linux-kernel , James Bottomley , Jeff Garzik , Christoph Hellwig , FUJITA Tomonori , Hannes Reinecke , Mike Anderson , Tejun Heo , Vasu Dev , Tim Chen , Andi Kleen , Ravi Anand , Andrew Vasquez , Joe Eykholt , James Smart , Douglas Gilbert , adam radford , Kashyap Desai , MPTFusionLinux In-Reply-To: <4D113BB5.2020802@cs.wisc.edu> References: <1292793727-31957-1-git-send-email-nab@linux-iscsi.org> <1292793727-31957-2-git-send-email-nab@linux-iscsi.org> <4D0FF7E6.2060104@cs.wisc.edu> <4D108726.2080003@panasas.com> <4D113BB5.2020802@cs.wisc.edu> Content-Type: text/plain Date: Thu, 23 Dec 2010 13:33:43 -0800 Message-Id: <1293140023.4649.132.camel@haakon2.linux-iscsi.org> Mime-Version: 1.0 X-Mailer: Evolution 2.22.3.1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1572 Lines: 42 On Tue, 2010-12-21 at 17:43 -0600, Mike Christie wrote: > On 12/21/2010 04:53 AM, Boaz Harrosh wrote: > > On 12/21/2010 02:42 AM, Mike Christie wrote: > >> On 12/19/2010 03:21 PM, Nicholas A. Bellinger wrote: > >>> prepd_fault: > >>> @@ -1732,12 +1728,10 @@ fault: > >>> scsi_out(sc)->resid = scsi_out(sc)->length; > >>> scsi_in(sc)->resid = scsi_in(sc)->length; > >>> } > >>> - done(sc); > >>> - spin_lock(host->host_lock); > >>> + sc->scsi_done(sc); > >>> return 0; > >> > >> > >> Did you mean to send this patch or a different one? I think you sent a > >> patch with this before and I said it was wrong. Did you disagree with > >> that comment or did you change something else so it now works? > > > > Mike hi > > > > I think Nick is gone for the holidays. What I understood is that he's > > waiting for you to fix it. Because he's not sure what the proper solution > > is. Do you have time to look into it? (It will take you much faster then me) > > > > I am still working on it for the 2.6.38 feature window. I was still unsure on the exception path handling concerns you had mentioned in iscsi_queuecommand() wrt to a NULL pointer deference with sc->scsi_done() for SCSI_MLQUEUE_TARGET_BUSY. So at this point I will again defer to your better judgement and await your patch. Thanks Mike! --nab -- 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/