Received: by 2002:a05:6a10:eb17:0:0:0:0 with SMTP id hx23csp256062pxb; Wed, 8 Sep 2021 23:38:14 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzypd4T4mOZ9gOgHD/TYZaU1V4XyH4UCkZM03t8FxfkoYvtgjveqlDJyYqaQJdBo4QvPLJo X-Received: by 2002:a5e:dd42:: with SMTP id u2mr1340431iop.157.1631169494398; Wed, 08 Sep 2021 23:38:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1631169494; cv=none; d=google.com; s=arc-20160816; b=EeGgGAVb1+SgmoSsuCp/+lHRxNLIHQKRuUXcViRdHHyNjTRs5mX0K0Zonq5/nwL4Zt MfbqiV6Ja2UyPQmi6NBcOUdppxQ5pSEWjxxmp9g9ji8bAvJS0WSt0utQQ7a96IpoE9Or 8hGICE5nCyuw3XtxkyUnEG2FeyD5y98smj3vSySaL0jK7xZhD9gAm4KeeAOldD24AwWG Q2NWdzfAiZBznKHHucM3xsOsauE372YSXSGYsrKrH/BHKOhPDR1Z6WOKL8xCTgyjBmRf SF479gCWGTvtBASnQyucmwzVtmsU/9C1pTis3aa+i2RjPOdj/fdhTvaLzHk5ok8HxW2e USKg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=oLeEme0/UtsgtWi3oPoIvHkyGoWeV/STJK5ybt+fzqc=; b=m5HLCJ8D/qvkj248oBVPwK2ZE0nHODYh/naKoYVObMziP9rQ8act67VkMPKZqrZaFQ NTDc9+WpFyW8nnx185PLcx+fchOC3gFyeRTtoLcYMdC3hl2PCSBXbMh+fAje6OKI02eb Bzoqcu2Xx2x9KgB55jcp9CTiPNHS8gZ8wTpFGmSm/8WiJ4IzQbzSitzC/334k3EZ9uo9 L/74X64zqrmPUFhUJ7EnjzumoaHBA/6lV39K8onFu390vgIKNOn5dmU9TOwvIzVFIptu XWKcJr6QByoBtRH8Mx+mocL63ueah7mAjB2zP6+FaX6/p2g6A9mdxyYGRHEO68Dvs/xZ Do2w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=TO+GiZKl; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id k5si1032537jaa.25.2021.09.08.23.38.02; Wed, 08 Sep 2021 23:38:14 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=TO+GiZKl; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1350854AbhIIFtc (ORCPT + 99 others); Thu, 9 Sep 2021 01:49:32 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40772 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231361AbhIIFta (ORCPT ); Thu, 9 Sep 2021 01:49:30 -0400 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E2A21C061575; Wed, 8 Sep 2021 22:48:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=oLeEme0/UtsgtWi3oPoIvHkyGoWeV/STJK5ybt+fzqc=; b=TO+GiZKlesWHaNqYSWzxX0/WuJ 4g8n1US24PHkLZrfDiS0NsKcDCH8WPbyPe+TvbuXdymrm9s8efmDY6F7bLyTZgq/3Sh98HIg6IrFC DBTW1jIIZy3YoSguXDJXd8tGKqg2r+1qGlPb2V/JkbuamzeXNmhX0pfzUjYkQ2+CsHQPu1HWBCDic pfN7L1q+s3ZPmBn0MxzQAAdq/7hX29gp/r6IvCEtaJZg80U/H3DJp/mDimvZVNTJxzHXAfu/PiBq4 trsTc8hj+S1D3+eLAtEgMz+XZpPRza856pvmBRsDSwaugtcdPL/rNMHVy3TIN232lDkWHCN0CS6v9 cnnKwgqQ==; Received: from hch by casper.infradead.org with local (Exim 4.94.2 #2 (Red Hat Linux)) id 1mOCum-009WCl-2b; Thu, 09 Sep 2021 05:48:03 +0000 Date: Thu, 9 Sep 2021 06:48:00 +0100 From: Christoph Hellwig To: Praveen Kumar Cc: linux-block@vger.kernel.org, linux-kernel@vger.kernel.org, axboe@kernel.dk Subject: Re: [PATCH] blk-mq: export blk_mq_submit_bio symbol Message-ID: References: <20210909053653.144360-1-kumarpraveen@linux.microsoft.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210909053653.144360-1-kumarpraveen@linux.microsoft.com> X-SRS-Rewrite: SMTP reverse-path rewritten from by casper.infradead.org. See http://www.infradead.org/rpr.html Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Sep 09, 2021 at 11:06:53AM +0530, Praveen Kumar wrote: > There are use-cases like replication where need to hook the blk I/O > operations for devices and perform specific operation and fallback to > its original I/O operations. > Prior to v5.9 there was make_request_fn and then blk_mq_submit_bio > exported apis, which provided infrastructure to drivers to develop these > features. However in v5.10-rc1 with below commit the API was removed > from the export list. > > Previous commit: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?h=v5.10-rc1&id=681cc5e8667e8579a2da8fa4090c48a2d73fc3bb > > This patch exports the blk_mq_submit_bio symbol to provide flexibility > to the drivers. Please send your users of this "feature" to this list for inclusion and we'll help you to massage them into a non-broken version. And yes, you should have gotten the memo by now that we don't export anything for out of tree modules.