From mboxrd@z Thu Jan 1 00:00:00 1970 From: hch@infradead.org (Christoph Hellwig) Date: Fri, 23 Jan 2015 09:11:12 -0800 Subject: [PATCH/RFC] NVMe: add support for doing offline/online of attached namespaces In-Reply-To: <20150123152430.GA6107@kernel.dk> References: <20150123152430.GA6107@kernel.dk> Message-ID: <20150123171112.GA2650@infradead.org> On Fri, Jan 23, 2015@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.