From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mike Christie Subject: Re: [PATCH 01/12] libiscsi: Convert to host_lock less w/ interrupts disabled internally Date: Mon, 20 Dec 2010 18:36:53 -0600 Message-ID: <4D0FF6A5.9040209@cs.wisc.edu> References: <1292793727-31957-1-git-send-email-nab@linux-iscsi.org> <1292793727-31957-2-git-send-email-nab@linux-iscsi.org> <20101219233835.GJ1263@parisc-linux.org> <1292807703.20840.29.camel@haakon2.linux-iscsi.org> <1292808126.20840.33.camel@haakon2.linux-iscsi.org> <20101220020758.GK1263@parisc-linux.org> <1292837413.20840.47.camel@haakon2.linux-iscsi.org> Reply-To: open-iscsi-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Return-path: In-Reply-To: <1292837413.20840.47.camel-Y1+j5t8j3WgjMeEPmliV8E/sVC8ogwMJ@public.gmane.org> List-Post: , List-Help: , List-Archive: Sender: open-iscsi-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org List-Subscribe: , List-Unsubscribe: , To: "Nicholas A. Bellinger" Cc: Matthew Wilcox , linux-scsi , linux-kernel , James Bottomley , Jeff Garzik , Christoph Hellwig , FUJITA Tomonori , Hannes Reinecke , Open iSCSI List-Id: linux-scsi@vger.kernel.org On 12/20/2010 03:30 AM, Nicholas A. Bellinger wrote: > After a quick audit of iscsi_session->lock usage, and I see that > iscsi_complete_pdu(), iscsi_tmf_timedout(), iscsi_eh_cmd_timed_out(), > iscsi_check_transport_timeouts() are using spin_lock(), and > iscsi_session_failure() and iscsi_conn_failure() are using > spin_lock_irqsave(). > > Mike and Hannes, would you guys mind commenting on this..? From what I > can determine these should all be converted to use spin_lock_bh(), > yes..? > Yeah, they can use _bh locking. I was going to use them for qla4xxx eh, which does iscsi processing in its irq, but we never did. -- You received this message because you are subscribed to the Google Groups "open-iscsi" group. To post to this group, send email to open-iscsi-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to open-iscsi+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/open-iscsi?hl=en.