[PATCH] nvme: warn about shared namespaces without CONFIG_NVME_MULTIPATH

Christoph Hellwig hch at lst.de
Tue Mar 15 08:40:43 PDT 2022


On Tue, Mar 15, 2022 at 09:23:40AM -0600, Keith Busch wrote:
> On Tue, Mar 15, 2022 at 03:51:41PM +0100, Christoph Hellwig wrote:
> > diff --git a/drivers/block/loop.c b/drivers/block/loop.c
> > index 8fb89d0624fc5..e733c48de2e90 100644
> > --- a/drivers/block/loop.c
> > +++ b/drivers/block/loop.c
> > @@ -2092,6 +2092,7 @@ static void loop_remove(struct loop_device *lo)
> >  	del_gendisk(lo->lo_disk);
> >  	blk_cleanup_disk(lo->lo_disk);
> >  	blk_mq_free_tag_set(&lo->tag_set);
> > +
> >  	mutex_lock(&loop_ctl_mutex);
> >  	idr_remove(&loop_index_idr, lo->lo_number);
> >  	mutex_unlock(&loop_ctl_mutex);
> 
> This unrelated change sneaked into your patch. :)

Ooops.

> The recent release pattern suggests 5.20 will be the last of the 5.x tags
> before seeing 6.0, but my understanding is that's at the discretion of Chief
> Penguin. Unless you know already, perhaps warning with 5.21 is more clear that
> removing this capability happens after 3 more releases.

Sounds good to me - we are not in a crazy urge right now, but we
need to settle this eventually.



More information about the Linux-nvme mailing list