From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christoph Hellwig Subject: Re: [PATCH 1/2] block: support different tag allocation policy Date: Mon, 15 Dec 2014 00:08:13 -0800 Message-ID: <20141215080813.GA3982@infradead.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from bombadil.infradead.org ([198.137.202.9]:37682 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750865AbaLOIIQ (ORCPT ); Mon, 15 Dec 2014 03:08:16 -0500 Content-Disposition: inline In-Reply-To: Sender: linux-ide-owner@vger.kernel.org List-Id: linux-ide@vger.kernel.org To: Shaohua Li Cc: linux-ide@vger.kernel.org, Kernel-team@fb.com, Jens Axboe , Tejun Heo On Sun, Dec 14, 2014 at 07:21:49PM -0800, Shaohua Li wrote: > The libata tag allocation is using a round-robin policy. Next patch will > make libata use block generic tag allocation, so let's add a policy to > tag allocation. > > Currently two policies: FIFO (default) and round-robin. What's the benefit of round robin allocation? Why do you only need it for the old simple allocator, and no policy control for the more complex blkpmq allocator?