From owner-freebsd-scsi@FreeBSD.ORG Tue Mar 29 10:00:59 2005 Return-Path: Delivered-To: freebsd-scsi@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5B78E16A4CE; Tue, 29 Mar 2005 10:00:59 +0000 (GMT) Received: from cs1.cs.huji.ac.il (cs1.cs.huji.ac.il [132.65.16.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0C87843D1F; Tue, 29 Mar 2005 10:00:59 +0000 (GMT) (envelope-from danny@cs.huji.ac.il) Received: from pampa.cs.huji.ac.il ([132.65.80.32]) by cs1.cs.huji.ac.il with esmtp id 1DGDWo-000EY1-Dy; Tue, 29 Mar 2005 12:00:54 +0200 X-Mailer: exmh version 2.7.0 06/18/2004 with nmh-1.0.4 To: Scott Long Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Tue, 29 Mar 2005 12:00:54 +0200 From: Danny Braniss Message-ID: cc: current@FreeBSD.ORG cc: scsi@freebsd.org Subject: iSCSI/CAM X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Mar 2005 10:00:59 -0000 Im doing some of the CAM stuff (mainly tag opening) from userland, and runing into sync. problem. the rescan command is basically async. and it's done by the driver, my iscontrol program, after starting the iSCSI, will, if so configured, do a tag opening request, but unless the rescan finished, it will fail. so, Q: how can i know that the rescan finished? thanks, danny PS: the first public beta is not far way.