From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mx1.redhat.com ([209.132.183.28]:45026 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753278AbdJMAUx (ORCPT ); Thu, 12 Oct 2017 20:20:53 -0400 Date: Fri, 13 Oct 2017 08:20:37 +0800 From: Ming Lei To: Bart Van Assche Cc: Jens Axboe , linux-block@vger.kernel.org, Christoph Hellwig , Bart Van Assche , Laurence Oberman , Paolo Valente , Oleksandr Natalenko , Tom Nguyen , linux-kernel@vger.kernel.org, linux-scsi@vger.kernel.org, Omar Sandoval , John Garry Subject: Re: [PATCH V7 5/6] blk-mq-sched: improve dispatching from sw queue Message-ID: <20171013002036.GB24715@ming.t460p> References: <20171012183704.22326-1-ming.lei@redhat.com> <20171012183704.22326-6-ming.lei@redhat.com> <2852603f-ce98-9f8e-8d86-1d601445a1ff@wdc.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: <2852603f-ce98-9f8e-8d86-1d601445a1ff@wdc.com> Sender: linux-block-owner@vger.kernel.org List-Id: linux-block@vger.kernel.org On Thu, Oct 12, 2017 at 11:48:22AM -0700, Bart Van Assche wrote: > On 10/12/17 11:37, Ming Lei wrote: > > [ ... ] > > > > This patch improves dispatching from sw queue by using the callback of > > .get_budget and .put_budget > > > > Reviewed-by: Omar Sandoval > > Reviewed-by: Bart Van Assche > > Signed-off-by: Ming Lei > > --- > > > > Jens/Omar, once .get_budget is introduced, it can be unusual to > > return busy from .queue_rq, so we can't use the approach discussed > > to decide to take one by one or flush all. Then this patch > > simply checks if .get_budget is implemented, looks it is reasonable, > > and in future it is even possible to take more requests by getting > > enough budget first. > > [ ... ] > > Version 7 of this patch differs significantly from the version I reviewed so > I think you should remove my Reviewed-by tag. OK, no problem, the only difference is on the introduced .get_budget(). -- Ming