From owner-freebsd-scsi@FreeBSD.ORG Fri Apr 30 04:57:16 2010 Return-Path: Delivered-To: freebsd-scsi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 478F8106566B; Fri, 30 Apr 2010 04:57:16 +0000 (UTC) (envelope-from mavbsd@gmail.com) Received: from mail-fx0-f54.google.com (mail-fx0-f54.google.com [209.85.161.54]) by mx1.freebsd.org (Postfix) with ESMTP id 720308FC1F; Fri, 30 Apr 2010 04:57:14 +0000 (UTC) Received: by fxm15 with SMTP id 15so1628929fxm.13 for ; Thu, 29 Apr 2010 21:57:05 -0700 (PDT) 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=UkEXl69YYhL31X3Ib5+d+FiYsnboyIm6FEb9Rq64imA=; b=RWSSZ+lY4igaXThqC+2gfD+hNL9dRN48UrM7bEUUVYVyV9peb2HzxtYvYRVono99Dj 2NYLqYdSVTZsn4/hfVqElO3bwOwVPIqLAoWiYn43P1rVZMyKQ5G57KTrcnlrjjco5X3f P2zH+csKESTO7x9d+8HQGUTIUQdfj+iXaIpvU= 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=HKxvhLbrFefj5JATchvBYZH06N6R9yQ2dWGemwCpQEwkls4ha1LpDWMeLnSiCtPsrR DKy10/+s0yEUgt7YnDP/aL6KhD1rl72iBQGTGdAzYy7ekLHkFjdaHWkwJm4qngWLOaVx 4b6Bs5kf6BbRVSEVVjBnWs1fTn3bkNgBhQDQE= Received: by 10.102.17.22 with SMTP id 22mr5883465muq.37.1272603425281; Thu, 29 Apr 2010 21:57:05 -0700 (PDT) Received: from mavbook.mavhome.dp.ua (pc.mavhome.dp.ua [212.86.226.226]) by mx.google.com with ESMTPS id y2sm7231003mug.51.2010.04.29.21.57.03 (version=SSLv3 cipher=RC4-MD5); Thu, 29 Apr 2010 21:57:04 -0700 (PDT) Sender: Alexander Motin Message-ID: <4BDA6310.10902@FreeBSD.org> Date: Fri, 30 Apr 2010 07:56:48 +0300 From: Alexander Motin User-Agent: Thunderbird 2.0.0.24 (X11/20100402) MIME-Version: 1.0 To: Scott Long References: <4BD98DE2.8020703@FreeBSD.org> <4A883035-3570-4FCC-B8EB-F205BD6D640D@samsco.org> In-Reply-To: <4A883035-3570-4FCC-B8EB-F205BD6D640D@samsco.org> X-Enigmail-Version: 0.96.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-scsi@FreeBSD.org, FreeBSD Stable , Pete French , Robert Noland Subject: Re: MFC of "Large set of CAM improvements" breaks I/O to Adaptec 29160 SCSI controller 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: Fri, 30 Apr 2010 04:57:16 -0000 Scott Long wrote: > On Apr 29, 2010, at 7:47 AM, Robert Noland wrote: >> >> Scott Long wrote: >>> On Apr 29, 2010, at 2:50 AM, Pete French wrote: >>>>> Thanks. First step successful - I can steadily reproduce problem on >>>>> CURRENT. raidtest with 200 I/O streams over gmirror of two disks on same >>>>> channel triggers issue in seconds. Any I/O on channel dying after both >>>>> disks report "Queue full" error same time. The rest of system works >>>>> fine. If I preliminarily manually adjust queue depth of one disk - >>>>> everything works fine. I'll investigate it tomorrow. >>>> Glad you have managed to dupliate it - the queue depth thing is >>>> inetersting, what changes did you make ? I can try them here and see >>>> if they improve the situation on either of my two machines. >>>> >>> For the record, queue-full is a common, expected condition in CAM. It's not something that should be avoided =-) >> Should we maybe have a counter in sysctl rather than flooding the console with these messages then? > > That's a pretty good idea. I'll make it happen. It is already hidden behind bootverbose. Hiding it deeper will make unclear why CAM requeues the rest of commands (also reported under bootverbose). I've tuned log messages a bit recently and they seem to be more consistent and readable now IMHO. -- Alexander Motin