Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Mon, 30 Sep 2002 04:10:08 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Mon, 30 Sep 2002 04:10:07 -0400 Received: from ns.virtualhost.dk ([195.184.98.160]:12449 "EHLO virtualhost.dk") by vger.kernel.org with ESMTP id ; Mon, 30 Sep 2002 04:10:07 -0400 Date: Mon, 30 Sep 2002 10:15:22 +0200 From: Jens Axboe To: Andrew Morton , Linux Kernel Subject: Re: [PATCH] deadline io scheduler Message-ID: <20020930081522.GG27420@suse.de> References: <20020925172024.GH15479@suse.de> <3D92A61E.40BFF2D0@digeo.com> <20020926064455.GC12862@suse.de> <20020926065951.GD12862@suse.de> <20020926085445.A22321@eng2.beaverton.ibm.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020926085445.A22321@eng2.beaverton.ibm.com> Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1559 Lines: 37 On Thu, Sep 26 2002, Patrick Mansfield wrote: > On Thu, Sep 26, 2002 at 08:59:51AM +0200, Jens Axboe wrote: > > On Thu, Sep 26 2002, Jens Axboe wrote: > > BTW, for SCSI, it would be nice to first convert more drivers to use the > > block level queued tagging. That would provide us with a much better > > means to control starvation properly on SCSI as well. > > > > -- > > Jens Axboe > > I haven't look closely at the block tagging, but for the FCP protocol, > there are no tags, just the type of queueing to use (task attributes) > - like ordered, head of queue, untagged, and some others. The tagging > is normally done on the adapter itself (FCP2 protocol AFAIK). Does this > mean block level queued tagging can't help FCP? The generic block level tagging is nothing more than tag management. It can 'tag' a request (assigning it an integer tag), and later let you locate that request by giving it the tag. I suspect you need none of that for FCP. Instead it looks more like you can set the task attributes based on the type of request itself. So you would currently set 'ordered' for a request with REQ_BARRIER set. And you could set 'head of queue' for REQ_URGENT (I'm making this one up :-), etc. Do you need any request management to deal with FCP queueing? It doesn't sound like it. -- 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/