From owner-freebsd-current@FreeBSD.ORG Thu Feb 4 08:47:03 2010 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 432951065670 for ; Thu, 4 Feb 2010 08:47:03 +0000 (UTC) (envelope-from mavbsd@gmail.com) Received: from mail-fx0-f224.google.com (mail-fx0-f224.google.com [209.85.220.224]) by mx1.freebsd.org (Postfix) with ESMTP id BF51C8FC0C for ; Thu, 4 Feb 2010 08:47:02 +0000 (UTC) Received: by fxm24 with SMTP id 24so487411fxm.3 for ; Thu, 04 Feb 2010 00:47:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:message-id:date:from :user-agent:mime-version:to:cc:subject:references:in-reply-to :x-enigmail-version:content-type:content-transfer-encoding; bh=+5TWNzJEFLH2vTzTG9iJ6ziT29hSGYcIIDZG0qZGyj0=; b=Nd16qW/xj2mnVWiAyhh/XlSJGSvoNDK28OU+FvzgVgqFLz0/C5CXfROWjrJps1h9gH jZsS5c2UwEkz86kPH2rK+b26LoouUo9zaiNaWY4Egf43pzGgJ8ev4ZP3/jkz/gTY6OFO lcco0T1vLMAcLgh0Hs21iQPWDHaja2epUSZw4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:x-enigmail-version:content-type :content-transfer-encoding; b=jnlAXR6THUVzgVDyeibjS51jKLL9FgbWa2/msPOENGgQxGCY81KUyq0Wnb5j3xRtbL Oi7H4OAxOzJUAEm4QeN2UC1bmKOuEeppP2jbAAR1fqwfLp1njwoeRaiPtrY6ydeMqZw2 fGB2s/irHS6htKpYvD8ddyYltZneaouK/76PM= Received: by 10.223.164.156 with SMTP id e28mr799291fay.27.1265273221701; Thu, 04 Feb 2010 00:47:01 -0800 (PST) Received: from mavbook.mavhome.dp.ua (pc.mavhome.dp.ua [212.86.226.226]) by mx.google.com with ESMTPS id 13sm3602032fxm.1.2010.02.04.00.47.00 (version=SSLv3 cipher=RC4-MD5); Thu, 04 Feb 2010 00:47:01 -0800 (PST) Sender: Alexander Motin Message-ID: <4B6A8981.5090200@FreeBSD.org> Date: Thu, 04 Feb 2010 10:46:57 +0200 From: Alexander Motin User-Agent: Thunderbird 2.0.0.23 (X11/20091212) MIME-Version: 1.0 To: Marcel Moolenaar References: <4B68A18E.1030500@FreeBSD.org> <305C4541-4245-45C9-9FCC-9C6AF4E47DD6@mac.com> <4B68A812.40103@FreeBSD.org> <971A22CA-B14A-4CBC-8D6D-FEB3A4EA2425@mac.com> <4B68B7AC.8050908@FreeBSD.org> <4B69F782.5050108@FreeBSD.org> <800D6F19-6286-4ECB-84D8-F9E37F529552@mac.com> In-Reply-To: <800D6F19-6286-4ECB-84D8-F9E37F529552@mac.com> X-Enigmail-Version: 0.96.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: "current@freebsd.org mailing list" Subject: Re: CAM verbosity (xpt_release_devq(0): requested 1 > present 0) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Feb 2010 08:47:03 -0000 Marcel Moolenaar wrote: > On Feb 3, 2010, at 2:24 PM, Alexander Motin wrote: > >> Do you receive message like "tagged openings now %d" in verbose log? It >> should be there if queue size was adjusted. > > No, that's the problem and it has always been the problem: the > queue never gets adjusted, because when the "adjust openings" > request is sent up with, say, 120 openings, there are already > 121 or more requests queued. This prevents the queue from > being adjusted (XPT fails, doesn't propagate an error down but > expects any interested drivers to try again in case of a > failure)... I don't think you are right here. That message should appear always, independently from result of resize. The only reason why it may not show, is if resize wasn't tried at all due to false result of INQ_DATA_TQ_ENABLED(&dev->inq_data). In other cases number of openings should be adjusted, independently from number of running requests (queue shrinking may be delayed). -- Alexander Motin