[PATCH] Add a parameter for NVME_IOCTL_ID to get Namespaces ID
Christoph Hellwig
hch at infradead.org
Tue May 23 00:29:24 PDT 2017
On Mon, May 22, 2017 at 03:51:43PM +0800, Zouming (IT) wrote:
> Hi,Christoph
>
> Thank you for your detailed response to the fail scenario.
> Using the ioctl method to get namespace id is easier than using the sysfs file method when only the nvme device's handle is available.
> So I want to add a new ioctl name called NVME_IOCTL_NS_ID,Is that OK?
I'm still not sold too much on adding a new ioctl, but IFF we do it that
would be the way.
More information about the Linux-nvme
mailing list