From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751133AbVJQRRq (ORCPT ); Mon, 17 Oct 2005 13:17:46 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751128AbVJQRRq (ORCPT ); Mon, 17 Oct 2005 13:17:46 -0400 Received: from mail.kroah.org ([69.55.234.183]:11905 "EHLO perch.kroah.org") by vger.kernel.org with ESMTP id S1751133AbVJQRRp (ORCPT ); Mon, 17 Oct 2005 13:17:45 -0400 Date: Mon, 17 Oct 2005 10:17:13 -0700 From: Greg KH To: Christoph Hellwig , "Kolli, Neela Syam" , Russell King , Linux Kernel List , Andrew Morton , linux-scsi@vger.kernel.org Subject: Re: [PATCH 2/2] Convert megaraid to use pci_driver shutdown metho d Message-ID: <20051017171713.GE1251@kroah.com> References: <0E3FA95632D6D047BA649F95DAB60E5707232141@exa-atlanta> <20051017134228.GA31938@infradead.org> <20051017170855.GA1251@kroah.com> <20051017171025.GA9540@infradead.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20051017171025.GA9540@infradead.org> User-Agent: Mutt/1.5.11 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Oct 17, 2005 at 06:10:25PM +0100, Christoph Hellwig wrote: > On Mon, Oct 17, 2005 at 10:08:55AM -0700, Greg KH wrote: > > On Mon, Oct 17, 2005 at 02:42:28PM +0100, Christoph Hellwig wrote: > > > On Mon, Oct 17, 2005 at 09:26:12AM -0400, Kolli, Neela Syam wrote: > > > > Patch looks good. Thanks for the patch. > > > > > > another 2.6.14 candidate, without it we'd easily get corruption > > > on shutdown when the root filesystem is on megaraid. > > > > No, the megaraid shutdown method will be called, only if that member > > isn't set will the pci shutdown call be made. So this should be safe > > today, right? > > If that actually got fixed it's fine indeed. The code today is: /* FIXME, once all of the existing PCI drivers have been fixed to set * the pci shutdown function, this test can go away. */ if (!drv->driver.shutdown) drv->driver.shutdown = pci_device_shutdown; so we should be fine. thanks, greg k-h