From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754042AbeAREjZ (ORCPT ); Wed, 17 Jan 2018 23:39:25 -0500 Received: from mail-pf0-f173.google.com ([209.85.192.173]:36115 "EHLO mail-pf0-f173.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753175AbeAREjX (ORCPT ); Wed, 17 Jan 2018 23:39:23 -0500 X-Google-Smtp-Source: ACJfBos4vhBBnBlrQ3p0nFYocKePlbSUaAN2iSATSQ3o9m2bZ6sWMY3Alb2phIr+lPEmtjNRiPH+bQ== Subject: Re: [PATCH] blk-mq: don't dispatch request in blk_mq_request_direct_issue if queue is busy To: Ming Lei , linux-block@vger.kernel.org, Mike Snitzer , dm-devel@redhat.com Cc: Christoph Hellwig , Bart Van Assche , linux-kernel@vger.kernel.org References: <20180118040659.20202-1-ming.lei@redhat.com> From: Jens Axboe Message-ID: <5f7edaad-6541-4e9d-996c-db982fa283a9@kernel.dk> Date: Wed, 17 Jan 2018 21:39:20 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:58.0) Gecko/20100101 Thunderbird/58.0 MIME-Version: 1.0 In-Reply-To: <20180118040659.20202-1-ming.lei@redhat.com> Content-Type: text/plain; charset=utf-8 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 1/17/18 9:06 PM, Ming Lei wrote: > If we run into blk_mq_request_direct_issue(), when queue is busy, we > don't want to dispatch this request into hctx->dispatch_list, and > what we need to do is to return the queue busy info to caller, so > that caller can deal with it well. Thanks for fixing this up, applied. -- Jens Axboe