From owner-cvs-src@FreeBSD.ORG Mon May 31 22:32:27 2004 Return-Path: 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 8A40316A4CE; Mon, 31 May 2004 22:32:27 -0700 (PDT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6DF1143D1F; Mon, 31 May 2004 22:32:27 -0700 (PDT) (envelope-from scottl@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.11/8.12.11) with ESMTP id i515WRXp066359; Mon, 31 May 2004 22:32:27 -0700 (PDT) (envelope-from scottl@repoman.freebsd.org) Received: (from scottl@localhost) by repoman.freebsd.org (8.12.11/8.12.11/Submit) id i515WRFI066358; Mon, 31 May 2004 22:32:27 -0700 (PDT) (envelope-from scottl) Message-Id: <200406010532.i515WRFI066358@repoman.freebsd.org> From: Scott Long Date: Mon, 31 May 2004 22:32:27 -0700 (PDT) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/dev/aac aac.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 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, 01 Jun 2004 05:32:27 -0000 scottl 2004/05/31 22:32:27 PDT FreeBSD src repository Modified files: sys/dev/aac aac.c Log: Collapse aac_map_command() into aac_startio(). Check the AAC_QUEUE_FRZN in every iteration of aac_startio(). This ensures that a command that is deferred for lack of resources doesn't immediately get retried in the aac_startio() loop. This avoids an almost certain livelock. Revision Changes Path 1.92 +31 -43 src/sys/dev/aac/aac.c