From owner-freebsd-scsi Sun Mar 14 18:48:50 1999 Delivered-To: freebsd-scsi@freebsd.org Received: from panzer.plutotech.com (panzer.plutotech.com [206.168.67.125]) by hub.freebsd.org (Postfix) with ESMTP id A9E1C154AB for ; Sun, 14 Mar 1999 18:48:48 -0800 (PST) (envelope-from ken@panzer.plutotech.com) Received: (from ken@localhost) by panzer.plutotech.com (8.9.3/8.8.5) id TAA16122; Sun, 14 Mar 1999 19:48:27 -0700 (MST) From: "Kenneth D. Merry" Message-Id: <199903150248.TAA16122@panzer.plutotech.com> Subject: Re: error messages from bt driver In-Reply-To: <19990314211454.A13537@milf18.bus.net> from "Chuck O'Donnell" at "Mar 14, 1999 9:14:54 pm" To: cao@bus.net (Chuck O'Donnell) Date: Sun, 14 Mar 1999 19:48:27 -0700 (MST) Cc: scsi@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL43 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-scsi@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Chuck O'Donnell wrote... > On Sun, Mar 14, 1999 at 04:46:41PM -0700, Kenneth D. Merry wrote: > > Chuck O'Donnell wrote... > > > Attached below is a diff for the quirk, can you take a look and make > > > sure I did it correctly? > > > > I would set the minimum to 2, but if the controller never tells us > > that the queue is full for the drive in question, you'll never get > > down that low.. > > I haven't quite figured out exactly what mintags does in the big > picture yet, still reading through the code and doc. I think I found > where it is used in cam_periph.c, I'll look more tomorrow. mintags is the hard minimum for the number of oustanding tags for a given device. If you look at the quirk entries for the Quantum Atlas II drives, you'll notice that the maximum is 32, and the minimum is 24. That's because the Atlas II continually returns queue full, until we have reached the minimum. So, we set the minimum to 24, and then just retry if we get a queue full and we're already at the minimum. Ken -- Kenneth Merry ken@plutotech.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message