All of lore.kernel.org
 help / color / mirror / Atom feed
* Automatic blacklisting of NVMe devices if NVMe native MP
@ 2019-06-04  7:29 Eyal Ben-David
  2019-06-05 14:33 ` Mike Snitzer
  0 siblings, 1 reply; 2+ messages in thread
From: Eyal Ben-David @ 2019-06-04  7:29 UTC (permalink / raw)
  To: dm-devel


[-- Attachment #1.1: Type: text/plain, Size: 328 bytes --]

Hi all,

Is it possible to automatically blacklist all NVMe devices if the NVMe 
driver has it's own multipath?

I mean if for example if:
 
cat /sys/module/nvme_core/parameters/multipath 
Y

then device mapper would automatically blacklist all NVMe devices to avoid 
unexpected consequences.


Thanks.
Eyal



[-- Attachment #1.2: Type: text/html, Size: 724 bytes --]

[-- Attachment #2: Type: text/plain, Size: 0 bytes --]



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Automatic blacklisting of NVMe devices if NVMe native MP
  2019-06-04  7:29 Automatic blacklisting of NVMe devices if NVMe native MP Eyal Ben-David
@ 2019-06-05 14:33 ` Mike Snitzer
  0 siblings, 0 replies; 2+ messages in thread
From: Mike Snitzer @ 2019-06-05 14:33 UTC (permalink / raw)
  To: Eyal Ben-David; +Cc: dm-devel

On Tue, Jun 04 2019 at  3:29am -0400,
Eyal Ben-David <EYALBE@il.ibm.com> wrote:

>    Hi all,
> 
>    Is it possible to automatically blacklist all NVMe devices if the NVMe
>    driver has it's own multipath?
> 
>    I mean if for example if:
> 
>    cat /sys/module/nvme_core/parameters/multipath
>    Y
> 
>    then device mapper would automatically blacklist all NVMe devices to avoid
>    unexpected consequences.

The native NVMe multipath device would only look to have one path from
above.  So multipath shouldn't even pick up these native NVMe multipath
devices.  And in addition, IIRC, multipath-tools has been trained to at
least recognize native NVMe multipath device and displays useful info
about them.

Have you seen an actual problem?  What versions of kernel and
multipath-tools are you using?

Mike

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-06-05 14:33 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-06-04  7:29 Automatic blacklisting of NVMe devices if NVMe native MP Eyal Ben-David
2019-06-05 14:33 ` Mike Snitzer

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.