From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Fri, 27 Sep 2002 18:02:16 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Fri, 27 Sep 2002 18:02:16 -0400 Received: from e33.co.us.ibm.com ([32.97.110.131]:60580 "EHLO e33.co.us.ibm.com") by vger.kernel.org with ESMTP id ; Fri, 27 Sep 2002 18:02:14 -0400 Date: Fri, 27 Sep 2002 15:08:26 -0700 From: Mike Anderson To: James Bottomley Cc: mjacob@feral.com, "Justin T. Gibbs" , Andrew Morton , Jens Axboe , "Pedro M. Rodrigues" , Mathieu Chouquet-Stringer , linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: Warning - running *really* short on DMA buffers while doingfiletransfers Message-ID: <20020927220826.GE1366@beaverton.ibm.com> Mail-Followup-To: James Bottomley , mjacob@feral.com, "Justin T. Gibbs" , Andrew Morton , Jens Axboe , "Pedro M. Rodrigues" , Mathieu Chouquet-Stringer , linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org References: <200209272123.g8RLNAi21161@localhost.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200209272123.g8RLNAi21161@localhost.localdomain> User-Agent: Mutt/1.4i X-Operating-System: Linux 2.0.32 on an i486 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org James Bottomley [James.Bottomley@SteelEye.com] wrote: > mjacob@feral.com said: > > Duh. There had been race conditions in the past which caused all of us > > HBA writers to in fact start swalloing things like QFULL and > > maintaining internal queues. > > That was true of 2.2, 2.3 (and I think early 2.4) but it isn't true of late > 2.4 and 2.5 > The current model appears to not be ideal. We go through the process of starting a cmd only to find out the adapter really knew we could not start this command. We then put this request back on the head of the queue while it is holding resources (a request that possibly could have more merging and mem from the scsi_sg_pools). I thought there was discussion previously on mid-layer queue adjustments during the (? attach patch ?) but I am having trouble finding it. -andmike -- Michael Anderson andmike@us.ibm.com