[PATCH 06/17] block: introduce GENHD_FL_HIDDEN
Mike Snitzer
snitzer at redhat.com
Tue Oct 24 14:40:00 PDT 2017
On Mon, Oct 23 2017 at 10:51am -0400,
Christoph Hellwig <hch at lst.de> wrote:
> With this flag a driver can create a gendisk that can be used for I/O
> submission inside the kernel, but which is not registered as user
> facing block device. This will be useful for the NVMe multipath
> implementation.
Having the NVme driver go to such lengths to hide its resources from
upper layers is certainly the work of an evil genius experiencing some
serious territorial issues. Not sugar-coating it.. you wouldn't.
I kept meaning to reply to your earlier iterations on this series to
ask: can we please get a CONFIG_NVME_MULTIPATHING knob to make it so
that the NVMe driver doesn't implicitly consume (and hide) all
per-controler devices?
Ah well. There is only one correct way to do NVMe multipathing after
all right?
More information about the Linux-nvme
mailing list