From mboxrd@z Thu Jan 1 00:00:00 1970 From: Matthew Wilcox Subject: Re: How to know the completion of SCSI scan? Date: Fri, 10 Jul 2009 14:20:05 -0600 Message-ID: <20090710202005.GC21772@parisc-linux.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from palinux.external.hp.com ([192.25.206.14]:59602 "EHLO mail.parisc-linux.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751401AbZGJUUG (ORCPT ); Fri, 10 Jul 2009 16:20:06 -0400 Content-Disposition: inline In-Reply-To: Sender: linux-scsi-owner@vger.kernel.org List-Id: linux-scsi@vger.kernel.org To: ?????? Cc: linux-scsi@vger.kernel.org On Thu, Jul 09, 2009 at 04:54:59PM +0800, ?????? wrote: > Hello, > > Some FC HBA drivers scan luns asynchronously. So, the init of these > driver modules will return before the completion of scsi scan. If > other drivers depend on the completion of the scanning of the Luns, > how do they get the information? They should call scsi_complete_async_scans() -- Matthew Wilcox Intel Open Source Technology Centre "Bill, look, we understand that you're interested in selling us this operating system, but compare it to ours. We can't possibly take such a retrograde step."