[PATCHv2] nvme-mpath: delete disk after last connection

Martin Wilck mwilck at suse.com
Tue Apr 20 21:05:20 BST 2021


On Tue, 2021-04-20 at 16:39 +0200, Christoph Hellwig wrote:
> On Tue, Apr 20, 2021 at 11:14:36PM +0900, Keith Busch wrote:
> > 
> > The end result is also how non-multipath nvme behaves, so I think
> > that's
> > what users have come to expect.
> 
> I'm not sure that is what users expect.  At least the SCSI multipath
> setups I've worked do not expect it and ensure the queue_if_no_path
> option is set.

For dm-multipath, this only holds for the case that all paths are
failed. But if the last path is actually *deleted*, multipathd flushes
the map (tries to, at least).
 
Martin





More information about the Linux-nvme mailing list