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

Sagi Grimberg sagi at grimberg.me
Mon Mar 15 17:38:53 GMT 2021


> From: Hannes Reinecke <hare at 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?

You also need a fallback in case kato is not exposed in prior
kernels.



More information about the Linux-nvme mailing list