[PATCH] nvme: introduce generic per-namespace chardev

Kanchan Joshi joshiiitr at gmail.com
Tue Apr 20 19:13:51 BST 2021


On Tue, Apr 20, 2021 at 3:37 PM Christoph Hellwig <hch at lst.de> wrote:
>
> From: Minwoo Im <minwoo.im.dev at gmail.com>
>
> Userspace has not been allowed to I/O to device that's failed to
> be initialized.  This patch introduces generic per-namespace character
> device to allow userspace to I/O regardless the block device is there or
> not.

When an application uses this interface to issue passthrough IO, it
needs to know the lba size (at least) to form the command correctly.
But determining lba size would require an admin ioctl.
Do you see there is a way to go about this issue?


-- 
Joshi



More information about the Linux-nvme mailing list