Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1030844AbXEOMCn (ORCPT ); Tue, 15 May 2007 08:02:43 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1757407AbXEOMCf (ORCPT ); Tue, 15 May 2007 08:02:35 -0400 Received: from palinux.external.hp.com ([192.25.206.14]:41827 "EHLO mail.parisc-linux.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755887AbXEOMCe (ORCPT ); Tue, 15 May 2007 08:02:34 -0400 Date: Tue, 15 May 2007 06:02:28 -0600 From: Matthew Wilcox To: Simon Arlott Cc: James Bottomley , Dave Jones , Linux Kernel Mailing List , linux-scsi@vger.kernel.org, kernel-packagers@vger.kernel.org Subject: Asynchronous scsi scanning Message-ID: <20070515120228.GI10562@parisc-linux.org> References: <20070513160608.GA29024@redhat.com> <1179072655.3723.42.camel@mulgrave.il.steeleye.com> <1179073116.3723.45.camel@mulgrave.il.steeleye.com> <1179153096.3703.23.camel@mulgrave.il.steeleye.com> <17841.simon.1179228389@5ec7c279.invalid> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <17841.simon.1179228389@5ec7c279.invalid> User-Agent: Mutt/1.5.13 (2006-08-11) Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1152 Lines: 23 On Tue, May 15, 2007 at 12:26:29PM +0100, Simon Arlott wrote: > I've already suggested a sysfs attribute - or something equivalent - would > be much better. It's just one function that a user might want to run multiple > times (e.g. after adding scsi devices?) - why should loading a module be used > for this? It's easy to suggest a sysfs attribute. What you've failed to do is suggest the pathname of the sysfs attribute, the contents of it, or the semantics of it (read-only? read-write? write-only? blocking?) My personal favourite would be to add a new verb to /proc/scsi/scsi, but James dislikes that idea. I'd *really* like to hear from distro people. What is the most convenient way for you to implement "load all the scsi modules, then wait until all devices are found"? James and I had thought that loading a new module would be the easiest way for you, but it seems inconvenient for you. - 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/