From owner-cvs-src@FreeBSD.ORG Tue Nov 14 08:45:50 2006 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 139C916A407; Tue, 14 Nov 2006 08:45:50 +0000 (UTC) (envelope-from mjacob@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id D61CE43D68; Tue, 14 Nov 2006 08:45:49 +0000 (GMT) (envelope-from mjacob@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.6/8.13.6) with ESMTP id kAE8jn8J068886; Tue, 14 Nov 2006 08:45:49 GMT (envelope-from mjacob@repoman.freebsd.org) Received: (from mjacob@localhost) by repoman.freebsd.org (8.13.6/8.13.4/Submit) id kAE8jnYY068885; Tue, 14 Nov 2006 08:45:49 GMT (envelope-from mjacob) Message-Id: <200611140845.kAE8jnYY068885@repoman.freebsd.org> From: Matt Jacob Date: Tue, 14 Nov 2006 08:45:49 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/dev/isp isp.c isp_freebsd.c isp_freebsd.h isp_library.c isp_library.h isp_pci.c isp_stds.h ispvar.h X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Nov 2006 08:45:50 -0000 mjacob 2006-11-14 08:45:49 UTC FreeBSD src repository Modified files: sys/dev/isp isp.c isp_freebsd.c isp_freebsd.h isp_library.c isp_library.h isp_pci.c isp_stds.h ispvar.h Log: Push things closer to path failover by implementing loop down and gone device timers and zombie state entries. There are tunables that can be used to select a number of parameters. loop_down_limit - how long to wait for loop to come back up before declaring all devices dead (default 300 seconds) gone_device_time- how long to wait for a device that has appeared to leave the loop or fabric to reappear (default 30 seconds) Internal tunables include (which should be externalized): quick_boot_time- how long to wait when booting for loop to come up change_is_bad- whether or not to accept devices with the same WWNN/WWPN that reappear at a different PortID as being the 'same' device. Keen students of some of the subtle issues here will ask how one can keep devices from being re-accepted at all (the answer is to set a gone_device_time to zero- that effectively would be the same thing). Revision Changes Path 1.129 +246 -226 src/sys/dev/isp/isp.c 1.127 +531 -152 src/sys/dev/isp/isp_freebsd.c 1.95 +34 -104 src/sys/dev/isp/isp_freebsd.h 1.7 +53 -6 src/sys/dev/isp/isp_library.c 1.4 +1 -0 src/sys/dev/isp/isp_library.h 1.125 +25 -3 src/sys/dev/isp/isp_pci.c 1.2 +14 -1 src/sys/dev/isp/isp_stds.h 1.79 +38 -5 src/sys/dev/isp/ispvar.h