From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752767AbdJLSsn (ORCPT ); Thu, 12 Oct 2017 14:48:43 -0400 Received: from esa6.hgst.iphmx.com ([216.71.154.45]:7586 "EHLO esa6.hgst.iphmx.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751759AbdJLSsl (ORCPT ); Thu, 12 Oct 2017 14:48:41 -0400 X-IronPort-AV: E=Sophos;i="5.43,367,1503331200"; d="scan'208";a="58074333" Subject: Re: [PATCH V7 5/6] blk-mq-sched: improve dispatching from sw queue To: Ming Lei , Jens Axboe , linux-block@vger.kernel.org, Christoph Hellwig Cc: 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 References: <20171012183704.22326-1-ming.lei@redhat.com> <20171012183704.22326-6-ming.lei@redhat.com> From: Bart Van Assche Message-ID: <2852603f-ce98-9f8e-8d86-1d601445a1ff@wdc.com> Date: Thu, 12 Oct 2017 11:48:22 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 MIME-Version: 1.0 In-Reply-To: <20171012183704.22326-6-ming.lei@redhat.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. Bart.