Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755412AbXEROAf (ORCPT ); Fri, 18 May 2007 10:00:35 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1755224AbXEROA2 (ORCPT ); Fri, 18 May 2007 10:00:28 -0400 Received: from hp3.statik.TU-Cottbus.De ([141.43.120.68]:39790 "EHLO hp3.statik.tu-cottbus.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754522AbXEROA1 (ORCPT ); Fri, 18 May 2007 10:00:27 -0400 Message-ID: <464DB17A.4050004@s5r6.in-berlin.de> Date: Fri, 18 May 2007 16:00:26 +0200 From: Stefan Richter User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8.1.2) Gecko/20070222 SeaMonkey/1.1.1 MIME-Version: 1.0 To: Peter Jones CC: Dave Jones , Matthew Wilcox , Benjamin LaHaise , James Bottomley , Linux Kernel Mailing List , linux-scsi@vger.kernel.org, kernel-packagers@vger.kernel.org Subject: Re: Asynchronous scsi scanning References: <20070517172023.GL10562@parisc-linux.org> <20070517182414.GA12170@infradead.org> <20070517185115.GA13207@infradead.org> <20070517193953.GM10562@parisc-linux.org> <20070517194326.GC30571@kvack.org> <20070517213043.GN10562@parisc-linux.org> <20070517214234.GA398@redhat.com> <464CD092.6050300@redhat.com> In-Reply-To: <464CD092.6050300@redhat.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1006 Lines: 23 Peter Jones wrote: > So really, either way means we need to update the tools. It also > doesn't really solve the problem -- when I insert "usb-storage", the > SCSI scan may still finish while we're still enumerating the bus for USB > devices. (I'd be willing to believe I'm wrong about this specific > example, but I suspect the principle still applies for some other driver.) > > In practice, we wind up doing the compare/timeout loop as on > /proc/scsi/scsi, but on /proc/bus/usb/devices or > /sys/bus/ieee1394/drivers/sbp2 instead. sbp2 and its successor fw-sbp2 are not yet integrated with scsi_wait_scan, but should be _some_ day. http://bugzilla.kernel.org/show_bug.cgi?id=3225#c2 -- Stefan Richter -=====-=-=== -=-= =--=- http://arcgraph.de/sr/ - 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/