From owner-freebsd-scsi@FreeBSD.ORG Sun Jun 4 03:05:24 2006 Return-Path: X-Original-To: scsi@freebsd.org 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 11B6D16A474 for ; Sun, 4 Jun 2006 03:05:24 +0000 (UTC) (envelope-from mjacob@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id BD10343D4C for ; Sun, 4 Jun 2006 03:05:23 +0000 (GMT) (envelope-from mjacob@FreeBSD.org) Received: from freefall.freebsd.org (mjacob@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k5435N0S083346 for ; Sun, 4 Jun 2006 03:05:23 GMT (envelope-from mjacob@freefall.freebsd.org) Received: (from mjacob@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k5435Nm3083345 for scsi@freebsd.org; Sun, 4 Jun 2006 03:05:23 GMT (envelope-from mjacob) Date: Sun, 4 Jun 2006 03:05:23 GMT From: Matt Jacob Message-Id: <200606040305.k5435Nm3083345@freefall.freebsd.org> To: scsi@freebsd.org Cc: Subject: changes to cam_xpt to support sequential scanning (!parallel) X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Jun 2006 03:05:24 -0000 One solution that Scott suggested to some of the negotiation issues for the MPT was to not do parallel problem, i.e., all targets in parallel. The patch at http://people.freebsd.org/~mjacob/CAM_PATCHES_FOR_SEQSCAN does just that and I've had quite good success with it so far. I add a new flat, PIM_SEQSCAN, which cases xpt_scan_bus to *not* scan all targets in parallel but rather to scan them sequentially. Comments? The code also does some cleanups under failure conditions. After a bit more testing I'd like to put this in if there are no objections so I can get the mpt U320 stuff off my back for a while.