[PATCH 22/35] conn-db: add simple connection registry

Martin Wilck mwilck at suse.com
Fri Jan 29 09:18:06 EST 2021


On Thu, 2021-01-28 at 17:59 -0800, Sagi Grimberg wrote:
> 
> > From: Martin Wilck <mwilck at suse.com>
> > 
> > The monitor works best if it maintains a discovery controller
> > connection
> > to every transport address that provides a discovery subsystem.
> > 
> > While controllers are easily tracked in sysfs, addresses
> > ("connections"),
> > i.e. (transport, traddr, trsvid, host_traddr) tuples, are not.
> > Create
> > a simple registry that tracks the state of "connections" and their
> > associated discovery controllers.
> > 
> > A detailed description of the API is provided in the header file
> > conn-db.h.
> 
> If this is more flexible, perhaps also the main fabrics 
> discover/connect/connect-all can be converted to use it as well.
> 

Yes. Could we do that in a separate step later.

Regards,
Martin








More information about the Linux-nvme mailing list