Thread (30 messages) 30 messages, 4 authors, 2021-03-16

Re: [PATCH 01/10] nvme-discover: lookup existing persistent controllers

From: Martin Wilck <hidden>
Date: 2021-03-15 17:44:19

On Mon, 2021-03-15 at 10:38 -0700, Sagi Grimberg wrote:
quoted
From: Hannes Reinecke <hare@suse.de>

If persistent controller connections are present they should be
preferred even if no --device option is given on the commandline.
To avoid selecting a temporary non-persistent controller the
'kato' attribute is checked; any controller which does not have
this attribute or for which the attribute is '0' will be skipped.
Why?
The idea is that an existing non-persistent controller is likely
controller by another process, and could be disconnected any time.
You also need a fallback in case kato is not exposed in prior
kernels.
Agreed. That's handled in patch 02/10. I didn't want to modify Hannes'
patch directly.

Martin



_______________________________________________
Linux-nvme mailing list
Linux-nvme@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-nvme
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help