[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <BYAPR04MB4965BC5C807658B3B433364A869E9@BYAPR04MB4965.namprd04.prod.outlook.com>
Date: Thu, 25 Feb 2021 02:01:22 +0000
From: Chaitanya Kulkarni <Chaitanya.Kulkarni@....com>
To: "hch@...radead.org" <hch@...radead.org>,
Jens Axboe <axboe@...nel.dk>
CC: Stefan Hajnoczi <stefanha@...hat.com>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"linux-scsi@...r.kernel.org" <linux-scsi@...r.kernel.org>,
"virtualization@...ts.linux-foundation.org"
<virtualization@...ts.linux-foundation.org>,
"linux-ide@...r.kernel.org" <linux-ide@...r.kernel.org>,
"linux-mmc@...r.kernel.org" <linux-mmc@...r.kernel.org>,
"target-devel@...r.kernel.org" <target-devel@...r.kernel.org>,
"linux-nfs@...r.kernel.org" <linux-nfs@...r.kernel.org>,
"linux-block@...r.kernel.org" <linux-block@...r.kernel.org>,
"dm-devel@...hat.com" <dm-devel@...hat.com>,
"fujita.tomonori@....ntt.co.jp" <fujita.tomonori@....ntt.co.jp>,
"tim@...erelk.net" <tim@...erelk.net>,
"mst@...hat.com" <mst@...hat.com>,
"jasowang@...hat.com" <jasowang@...hat.com>,
"pbonzini@...hat.com" <pbonzini@...hat.com>,
"davem@...emloft.net" <davem@...emloft.net>,
"bp@...en8.de" <bp@...en8.de>, "agk@...hat.com" <agk@...hat.com>,
"snitzer@...hat.com" <snitzer@...hat.com>,
"ulf.hansson@...aro.org" <ulf.hansson@...aro.org>,
"jejb@...ux.ibm.com" <jejb@...ux.ibm.com>,
"martin.petersen@...cle.com" <martin.petersen@...cle.com>,
"dgilbert@...erlog.com" <dgilbert@...erlog.com>,
"Kai.Makisara@...umbus.fi" <Kai.Makisara@...umbus.fi>,
"alim.akhtar@...sung.com" <alim.akhtar@...sung.com>,
Avri Altman <Avri.Altman@....com>,
"bfields@...ldses.org" <bfields@...ldses.org>,
"chuck.lever@...cle.com" <chuck.lever@...cle.com>,
"baolin.wang@...aro.org" <baolin.wang@...aro.org>,
"vbadigan@...eaurora.org" <vbadigan@...eaurora.org>,
"zliua@...ron.com" <zliua@...ron.com>,
"richard.peng@...o.com" <richard.peng@...o.com>,
"guoqing.jiang@...ud.ionos.com" <guoqing.jiang@...ud.ionos.com>,
"stanley.chu@...iatek.com" <stanley.chu@...iatek.com>,
"cang@...eaurora.org" <cang@...eaurora.org>,
"asutoshd@...eaurora.org" <asutoshd@...eaurora.org>,
"beanhuo@...ron.com" <beanhuo@...ron.com>,
"jaegeuk@...nel.org" <jaegeuk@...nel.org>
Subject: Re: [RFC PATCH] blk-core: remove blk_put_request()
On 2/24/21 10:56, Christoph Hellwig wrote:
> On Wed, Feb 24, 2021 at 09:48:21AM -0700, Jens Axboe wrote:
>> Would make sense to rename blk_get_request() to blk_mq_alloc_request()
>> and then we have API symmetry. The get/put don't make sense when there
>> are no references involved.
>>
>> But it's a lot of churn for very little reward, which is always kind
>> of annoying. Especially for the person that has to carry the patches.
> Let's do the following:
>
> - move the initialize_rq_fn call from blk_get_request into
> blk_mq_alloc_request and make the former a trivial alias for the
> latter
> - migrate to the blk_mq_* versions on a per-driver/subsystem basis.
> The scsi migration depends on the first item above, so it will have
> to go with that or wait for the next merge window
> - don't migrate the legacy ide driver, as it is about to be removed and
> has a huge number of blk_get_request calls
>
Okay, thanks for the feedback, will try and get something together.
Powered by blists - more mailing lists