Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S263195AbVEYFtY (ORCPT ); Wed, 25 May 2005 01:49:24 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S263199AbVEYFtY (ORCPT ); Wed, 25 May 2005 01:49:24 -0400 Received: from pentafluge.infradead.org ([213.146.154.40]:41384 "EHLO pentafluge.infradead.org") by vger.kernel.org with ESMTP id S263195AbVEYFtT (ORCPT ); Wed, 25 May 2005 01:49:19 -0400 Date: Wed, 25 May 2005 06:49:14 +0100 From: Christoph Hellwig To: "Salyzyn, Mark" Cc: James Bottomley , Arjan van de Ven , "Bagalkote, Sreenivas" , linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org, Matt_Domsch@Dell.com, Andrew Morton , Christoph Hellwig Subject: Re: [PATCH 2.6.12-rc4-mm1 3/4] megaraid_sas: updating the driver Message-ID: <20050525054914.GA8574@infradead.org> Mail-Followup-To: Christoph Hellwig , "Salyzyn, Mark" , James Bottomley , Arjan van de Ven , "Bagalkote, Sreenivas" , linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org, Matt_Domsch@Dell.com, Andrew Morton References: <60807403EABEB443939A5A7AA8A7458B01399B22@otce2k01.adaptec.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <60807403EABEB443939A5A7AA8A7458B01399B22@otce2k01.adaptec.com> User-Agent: Mutt/1.4.1i X-SRS-Rewrite: SMTP reverse-path rewritten from by pentafluge.infradead.org See http://www.infradead.org/rpr.html Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 742 Lines: 16 On Tue, May 24, 2005 at 04:45:05PM -0400, Salyzyn, Mark wrote: > Could I get an historical (2.4 & Distribution) perspective on this. At > which point, or what code/include/manifest/version delineating it, would > you say the driver is no longer, if ever, required to place a lock > (host_lock or io_request_lock) around the scsi_done call? > > I expect (or hope) the answer to be: always needs io_request_lock in > 2.4, never needed the host_lock in 2.5+. You don't need any lock in 2.4 either. - 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/