Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 20D04C77B7A for ; Wed, 17 May 2023 07:22:50 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229933AbjEQHWs (ORCPT ); Wed, 17 May 2023 03:22:48 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53402 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229973AbjEQHWb (ORCPT ); Wed, 17 May 2023 03:22:31 -0400 Received: from verein.lst.de (verein.lst.de [213.95.11.211]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 71C5D49EA for ; Wed, 17 May 2023 00:22:22 -0700 (PDT) Received: by verein.lst.de (Postfix, from userid 2407) id 36D3F68C4E; Wed, 17 May 2023 09:22:19 +0200 (CEST) Date: Wed, 17 May 2023 09:22:18 +0200 From: Christoph Hellwig To: Ming Lei Cc: Christoph Hellwig , Keith Busch , Bart Van Assche , Jens Axboe , linux-block@vger.kernel.org Subject: Re: [PATCH V2 2/2] blk-mq: make sure elevator callbacks aren't called for passthrough request Message-ID: <20230517072218.GB27026@lst.de> References: <20230515144601.52811-1-ming.lei@redhat.com> <20230515144601.52811-3-ming.lei@redhat.com> <20230516062409.GB7325@lst.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.17 (2007-11-01) Precedence: bulk List-ID: X-Mailing-List: linux-block@vger.kernel.org On Tue, May 16, 2023 at 04:39:05PM +0800, Ming Lei wrote: > I can understand the point, but it may not be done by single flag, Can you explain why? Note that we also already have RQF_ELVPRIV for any request that has elevator private data. I don't really think we need a third flag.