Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S262153AbTEZTUO (ORCPT ); Mon, 26 May 2003 15:20:14 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S262161AbTEZTUO (ORCPT ); Mon, 26 May 2003 15:20:14 -0400 Received: from ns.virtualhost.dk ([195.184.98.160]:62421 "EHLO virtualhost.dk") by vger.kernel.org with ESMTP id S262153AbTEZTUN (ORCPT ); Mon, 26 May 2003 15:20:13 -0400 Date: Mon, 26 May 2003 21:33:27 +0200 From: Jens Axboe To: James Bottomley Cc: torvalds@transmeta.com, Linux Kernel Subject: Re: [BK PATCHES] add ata scsi driver Message-ID: <20030526193327.GN845@suse.de> References: <1053972773.2298.177.camel@mulgrave> <20030526181852.GL845@suse.de> <1053974830.1768.190.camel@mulgrave> <20030526190707.GM845@suse.de> <1053976644.2298.194.camel@mulgrave> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1053976644.2298.194.camel@mulgrave> Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1124 Lines: 27 On Mon, May 26 2003, James Bottomley wrote: > On Mon, 2003-05-26 at 15:07, Jens Axboe wrote: > > Alright, so what do you need? Start out with X tags, shrink to Y (based > > on repeated queue full conditions)? Anything else? > > Actually, it's easier than that: just an API to alter the number of tags > in the block layer (really only the size of your internal hash table). > The actual heuristics of when to alter the queue depth is the province > of the individual drivers (although Doug Ledford was going to come up > with a generic implementation). That's actually what I meant, that the SCSI layer would call down into the block layer to set the size. I don't/want to know about queue full conditions. The internal memory requirements for the queue table is small (a bit per tag), so I think we can basically get away with just decrementing ->max_depth. -- Jens Axboe - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/