[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <ZttE3H199lIjN3ki@kbusch-mbp.mynextlight.net>
Date: Fri, 6 Sep 2024 12:07:24 -0600
From: Keith Busch <kbusch@...nel.org>
To: Puranjay Mohan <pjy@...zon.com>
Cc: Christoph Hellwig <hch@....de>, Jens Axboe <axboe@...nel.dk>,
Sagi Grimberg <sagi@...mberg.me>, linux-nvme@...ts.infradead.org,
linux-kernel@...r.kernel.org, puranjay@...nel.org
Subject: Re: [PATCH] nvme: check if the namespace supports metadata in
nvme_map_user_request()
On Tue, Aug 27, 2024 at 12:28:45PM +0000, Puranjay Mohan wrote:
>
> P.S. - It looks like we will need manual backports for stable kernels as
> this won't apply directly. I will send them after this is accepted.
BTW, the reason for your bug observation on older stable but not on
newer ones looks like was originally "fixed" with:
d4aa57a1cac3c99 ("block: don't bother iter advancing a fully done bio")
So while your change is fine, the above commit possibly inadvertently
fixes the inappropriate "advance" because all successful nvme
completions are "fully done".
It still probably doesn't make sense to attempt metadata on request
queues that didn't register with the interface though, so your patch is
also fine.
Powered by blists - more mailing lists