Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp9002881imu; Tue, 4 Dec 2018 19:01:28 -0800 (PST) X-Google-Smtp-Source: AFSGD/WJOkTP9DoXvSH/O5Qhg+xJKia2jPEyqbS4ytYy3pom7qilj95E/GCclXNgUkeyPC2upjAj X-Received: by 2002:a63:2946:: with SMTP id p67mr19287868pgp.317.1543978888125; Tue, 04 Dec 2018 19:01:28 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543978888; cv=none; d=google.com; s=arc-20160816; b=kRAwAWYz6IGWhiYIz3n/JhXbY6IuluA75XgDXU0oS+qizJE4yLVsMClNe3L5UMvC0K Ku+jZqPPd4vTdEMb9swEAphWU7WnKwSJ9Tnti8HV5UdiabfNWPvW6dWGOc2gzJUnmFmq 7mD4mNnfkbTD+5FfWD7VJb4V5h/MlcWIVTkTp9c0OXPKKRHagog6sKpFbHb85IrWFnCy eQeBZoZpTzdjCdk9XVcMRMkT+vSdkKdpsc1/76QziF5+SCCetw4b5hqTbxj9LdSAeKpw NTtbrV/DjV9HPBOWyPUGa/KFElqeV5kNp7c3q6JqKYlb7cH4xmxxYjOGcuLjgbvquvYJ 2U3w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=JOUY7c2Uvay4l5W0HFTSaetsFBVms6zdryQecubImNA=; b=vS8WVIKVhXllG6yXxVWMFbmBTo4Iomq0BKF4454KV7GNWeA4msJzNZMexDew8wKiXP Nd3w3y1yxZX9NLSPC8yJg/hxpq5lTi8SMnYu3ZWuhge4RUAi1Orb0K9tbFU+zwGHPC8v MDgAn3lkOnR+7e29vh5jhIe4d6nqXXUtX6vQQc99/b4wr6VzCyl4PtRovToY+z704jSr 2AL2VY/xaoYDw//TJy/nqOorL6sItN2cxTjsteiZHufJRJUP+Kpwq5Ucg0mToCn+n3eN tBikO1foHp+7nGeASVLhEjygKSkLgWGhL4dApft62lKEo9A/ZP9f6L1sBoswXhdFJje3 XVtA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel-dk.20150623.gappssmtp.com header.s=20150623 header.b=fB+lNBqq; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id j191si17176337pgc.15.2018.12.04.19.01.11; Tue, 04 Dec 2018 19:01:28 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel-dk.20150623.gappssmtp.com header.s=20150623 header.b=fB+lNBqq; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726850AbeLEC6v (ORCPT + 99 others); Tue, 4 Dec 2018 21:58:51 -0500 Received: from mail-pf1-f194.google.com ([209.85.210.194]:38150 "EHLO mail-pf1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726102AbeLEC6v (ORCPT ); Tue, 4 Dec 2018 21:58:51 -0500 Received: by mail-pf1-f194.google.com with SMTP id q1so9242996pfi.5 for ; Tue, 04 Dec 2018 18:58:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel-dk.20150623.gappssmtp.com; s=20150623; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=JOUY7c2Uvay4l5W0HFTSaetsFBVms6zdryQecubImNA=; b=fB+lNBqqQ/hb5g+9Nbc7C4RTlzt93A3AoESpCI47+IfshGedEtaLtAZlOL2VvM0Rp9 oDfvmisw+Wd2tftkp0zC1iLqvfClXK1PKP15Y9+/bSKFukiyaqRXmbwl1BzK57DCENII zdlCZWEBDAcgqjmXziT0kbOnNH9LgO5dfkL2r7A36tnUb8Y2E/yE/L6gV6/Co7xejpiP NGy80WyilN/BpJxphHUr/in3Sh6QLBmP09HzDEqFJtA7UV6HtDeLfL4euiNh0usLhTti fCfAsljfn/dwmDdVpG6U41lhKgLOPyrGDZ7hEweL+qAvT8VwsuQ3NN+8I5JXdgDNhtZ5 6Uaw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=JOUY7c2Uvay4l5W0HFTSaetsFBVms6zdryQecubImNA=; b=UwuYNAdHKQ/Ki9rkYi3bP7V9XNT3BkVyOBsMh2m6yIip7f7LdQY2UyGd+WQFZceQZ/ AAIqOcy6KAnkE3BxUXfJupXVTyMdiLY0aadEGsxpxe2PuNouz43Oy661Ia2lPn8EAO83 jlUKCwYeeHPHeU/ZI5HPVBbrXUjJe14wyDEJz7pGP+CaPh4upxc92pn1bhTzuxWztatP juKN6gvYhQUf293DNgL0Q6A98/jQTC5eveYSwR6fmv/E9cIY4g8Qw+S/V87Da9SvcdXG gbpkn/ZR670hh9SLptETwdRyZPsHIULnJDaaZHerhqo9nC+GABzS7m3fwAIuGIr41JLh ksUw== X-Gm-Message-State: AA+aEWbYbvdXrOVgDnZAXZt55jsfoR4vfDnTWsBU40qHZiFiJX/nfvMJ aMX2ZO9qlKmhV1tSS74XhP/zCQdUydA= X-Received: by 2002:aa7:8354:: with SMTP id z20mr22318844pfm.81.1543978729706; Tue, 04 Dec 2018 18:58:49 -0800 (PST) Received: from [192.168.1.121] (66.29.188.166.static.utbb.net. [66.29.188.166]) by smtp.gmail.com with ESMTPSA id o13sm27533895pfk.57.2018.12.04.18.58.48 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 04 Dec 2018 18:58:48 -0800 (PST) Subject: Re: [PATCH V8 0/3] blk-mq: refactor code of issue request directly To: Jianchao Wang Cc: ming.lei@redhat.com, linux-block@vger.kernel.org, linux-kernel@vger.kernel.org References: <1542251558-10517-1-git-send-email-jianchao.w.wang@oracle.com> From: Jens Axboe Message-ID: <88fe68c6-886c-1328-009a-9c7c5fa4ebc9@kernel.dk> Date: Tue, 4 Dec 2018 19:58:47 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.2.1 MIME-Version: 1.0 In-Reply-To: <1542251558-10517-1-git-send-email-jianchao.w.wang@oracle.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 11/14/18 8:12 PM, Jianchao Wang wrote: > Hi Jens > > Please consider this patchset for 4.21. > It refactors the code of issue request directly to unify the interface > and make the code clearer and more readable. > > The 1st patch refactors the code of issue request directly to unify the > helper interface which could handle all the cases. > > The 2nd patch make blk_mq_sched_insert_requests issue requests directly > with 'bypass' false, then it needn't to handle the non-issued requests > any more. > > The 3rd patch replace and kill the blk_mq_request_issue_directly. I'd love to get this queued up, the direct dispatch path is a mess and it's even now been known to cause corruptions... I'm going to queue up the direct dispatch fix shortly, and apply it to for-4.21/block as well. Any chance you can respin this on top after that? -- Jens Axboe