Received: by 2002:a05:6a10:6d25:0:0:0:0 with SMTP id gq37csp1566903pxb; Mon, 13 Sep 2021 00:06:16 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx2vWnQ1RROoNyKlJSc9FI5NQ1seHVyVcafZbwdxg8hsgWZkLPr8oULvq3I3on4ivyUb8gO X-Received: by 2002:a50:8e06:: with SMTP id 6mr11424900edw.107.1631516776297; Mon, 13 Sep 2021 00:06:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1631516776; cv=none; d=google.com; s=arc-20160816; b=mrG+p8JD5W5CNTi0NQcAD1r4j+ewxeT6rN+r4xyaBLecNmaFnZP6YuWK7plwIMJoyp ILEtsMwH1+fCUHoTdyOaj7ThF0hmC1iOaqCf3m0lxhIbS3PDhaSCTQ9Sg4f5ru5C2vOF 0qz/hSvXv/Bfw214ZCqv2pTq4UGByjvYSYfbbNGsPjhyzMOZ7L9GUwtJAEIFnqu5shSx 74D3zJf583h0X3ElK97e9yC1CsyDa+iGQGd+Ne0IrdRlBRvGfM6scwhgq1YveB00mg9d 3LQlPvGOqMC5Bz4++CobKrgAoGK3Tns1BkCc0+86hJSbiRp+ibHDWRroSOeuweT+X1lP BOHw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:dkim-signature:dkim-filter; bh=oXUTh+VKtreR97Vl7n/nyzvuA6UQzHaEaikohl+yWtk=; b=QVnOnN+x6fBpK7JVtRDrvJozQ6M3bTvzA9sqQ+YrwgW8kVCJ7DE7ZLwZsoaqxhBFyv SxN37yDR6ub6VnXiyZ68nQiIMkfM1i2V5nKQFbw1ppAZUuaI/OBR7FNoai2g6ACeHyOo GZrDxtm/c3TWGnEaLWQrHVkfwf/zXa6c84OPF2rJr7mppwgX34EVo548YfgS/8rjszNO 0jhjkSOW8cHQ/3mSqYVSmlKkOEz4k7rNWUsCVL/kpS7aESxHmb8rbZxn4+ujm1wQbyZ5 YD3AykrBzHqhKRGXwv72GILJIK29kO3DRRmMn8eY7CGTWayK6L8j8pxS94x8xQEX2sYL nJ4g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux.microsoft.com header.s=default header.b=NQyfVnOQ; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.microsoft.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id z12si6255390edb.223.2021.09.13.00.05.52; Mon, 13 Sep 2021 00:06:16 -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=@linux.microsoft.com header.s=default header.b=NQyfVnOQ; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.microsoft.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237535AbhIMHFK (ORCPT + 99 others); Mon, 13 Sep 2021 03:05:10 -0400 Received: from linux.microsoft.com ([13.77.154.182]:32958 "EHLO linux.microsoft.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237492AbhIMHFJ (ORCPT ); Mon, 13 Sep 2021 03:05:09 -0400 Received: from [192.168.1.87] (unknown [223.184.74.135]) by linux.microsoft.com (Postfix) with ESMTPSA id A817120B713A; Mon, 13 Sep 2021 00:03:52 -0700 (PDT) DKIM-Filter: OpenDKIM Filter v2.11.0 linux.microsoft.com A817120B713A DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.microsoft.com; s=default; t=1631516634; bh=oXUTh+VKtreR97Vl7n/nyzvuA6UQzHaEaikohl+yWtk=; h=Subject:To:Cc:References:From:Date:In-Reply-To:From; b=NQyfVnOQqcKtcvA4uC2JlSAWZB9hx351ivJX5BvOG6Xd3oA/3Pp20BkZ3v9Nu0whv NT5qReB1X+niABOU7qQ25ajY9RDiTn+PR9gTVLEFvcqKs+DViyoYLpNKunoZeiXAHD KrgBryp+5URNYe9xFboyBsi2mAF/pzqcZ1TMZ4sw= Subject: Re: [PATCH] blk-mq: export blk_mq_submit_bio symbol To: Christoph Hellwig Cc: Chaitanya Kulkarni , "linux-block@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "axboe@kernel.dk" , schakrabarti@linux.microsoft.com, lalita.muppana@microsoft.com References: <20210909053653.144360-1-kumarpraveen@linux.microsoft.com> <7e80b65b-51a4-3ca1-da43-e87612b8ca5f@nvidia.com> From: Praveen Kumar Message-ID: <75f77917-a8ba-0138-750b-8dedd8f7ce7d@linux.microsoft.com> Date: Mon, 13 Sep 2021 12:33:50 +0530 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.14.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 13-09-2021 11:39, Christoph Hellwig wrote: > On Mon, Sep 13, 2021 at 09:54:54AM +0530, Praveen Kumar wrote: >>>> +EXPORT_SYMBOL_GPL(blk_mq_submit_bio); >>>> >>> >>> Where is the code that used this API ? >>> >> >> Thanks Chaitanya for your response. Please check my response to Christoph. >> That should give overall understanding of the use-case. > > Which really doesn't matter, while you keep ingoring the relevant > question. If you code is not upstream or at least actively being > submitted upstream your questions have no relevance whatsoever. > If you do not undertand that basic fact your are in the wrong place > here. > Hi Christoph, The upstream activity is being planned and will take sometime to reach to that state as we have to make it ready for latest kernel. To achieve the same, we were finding some solutions to handle latest changes. If you have scanned my previous email where I have provided a detail what the driver is doing, I did mention that we plan to use "blk_mq_submit_bio" but failed to do so, as code is not exported. So, to the specific answer, this API is NOT being used anywhere as of now. However, as you mentioned, the API cannot be exported for any specific driver, is there any solution or way if a custom driver wants to hook the existing bio path and massage it and then fall back to original flow ? Regards, ~Praveen.