Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750949AbWCNRUB (ORCPT ); Tue, 14 Mar 2006 12:20:01 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751367AbWCNRUB (ORCPT ); Tue, 14 Mar 2006 12:20:01 -0500 Received: from dsl093-040-174.pdx1.dsl.speakeasy.net ([66.93.40.174]:62378 "EHLO aria.kroah.org") by vger.kernel.org with ESMTP id S1750882AbWCNRUA (ORCPT ); Tue, 14 Mar 2006 12:20:00 -0500 Date: Tue, 14 Mar 2006 09:19:51 -0800 From: Greg KH To: Christoph Hellwig , "Moore, Eric" , linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org, James.Bottomley@SteelEye.com, hch@lst.de Subject: Re: [PATCH ] drivers/base/bus.c - export reprobe Message-ID: <20060314171951.GA22678@suse.de> References: <20060314153455.GA8071@suse.de> <20060314170855.GA18342@infradead.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20060314170855.GA18342@infradead.org> User-Agent: Mutt/1.5.11 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1118 Lines: 33 On Tue, Mar 14, 2006 at 05:08:55PM +0000, Christoph Hellwig wrote: > On Tue, Mar 14, 2006 at 07:34:55AM -0800, Greg KH wrote: > > Also, it looks like USB needs to call this function, (based on the > > comment)? Care to switch that code over to have it use it too? > > what comment do you think indicates that? It's needed for raid drivers > that I saw the: + if (dev->driver) {^M + if (dev->parent) /* Needed for USB */^M + down(&dev->parent->sem);^M portion and thought it came from USB core code somewhere. Or are you referring to the need for USB-storage here? > > a) expose physical volumes but set the no_uld_attach flag to hide them > from sd > b) allow only raid volume creation/deletion so this flag may be set/cleared > at runtime Ok, fair enough, just was a bit confused. thanks, greg k-h - 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/