[an error occurred while processing this directive]
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20230412065736.GB20550@lst.de>
Date: Wed, 12 Apr 2023 08:57:36 +0200
From: "hch@....de" <hch@....de>
To: Jinyoung CHOI <j-young.choi@...sung.com>
Cc: "kbusch@...nel.org" <kbusch@...nel.org>,
"axboe@...com" <axboe@...com>, "hch@....de" <hch@....de>,
"sagi@...mberg.me" <sagi@...mberg.me>,
"chaitanya.kulkarni@....com" <chaitanya.kulkarni@....com>,
"linux-nvme@...ts.infradead.org" <linux-nvme@...ts.infradead.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
martin.petersen@...cle.com
Subject: Re: [PATCH 2/2] nvme-pci: fix metadata mapping length
On Wed, Apr 12, 2023 at 02:24:43PM +0900, Jinyoung CHOI wrote:
> Even if the memory allocated for integrity is physically continuous,
> struct bio_vec is composed separately for each page size.
> In order not to use the blk_rq_map_integrity_sg(), the length of the
> DMA mapping should be the total size of integrity payload.
Hmm, looking outside the bio_vec is pretty nasty.
I think the problem here is that bio_integrity_add_page should
just add to the existing bvec, similar to bio_add_page and friends.
Powered by blists - more mailing lists