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