[PATCH/RFC] NVMe: add support for doing offline/online of attached namespaces

Christoph Hellwig hch at infradead.org
Fri Jan 23 09:11:12 PST 2015


On Fri, Jan 23, 2015 at 08:24:30AM -0700, Jens Axboe wrote:
> This is an RFC patch. The goal is as listed, being able to detach any
> namespaces and bdevs from a device, so we just have the admin part left.
> I'm open to alternative suggestions on how to handle this. Solutions
> that include rmmod/modprobe if the driver wont work if you have more
> than one NVMe device in a system.

Aways use the scsi to nvme translation and run the thing through the
SCSI layer where all these issues are already handled?  I'm only half
joking, with features like multipathing and reservations coming up
this actually does seem like the best long term direction once we've
cut the remaining fat from the SCSI I/O path.



More information about the Linux-nvme mailing list