Re: [PATCH 35/35] monitor: add option --keep/-K

Martin Wilck
2021-01-29T20:51:15Z

On Fri, 2021-01-29 at 12:45 -0800, Sagi Grimberg wrote:
>
> > > > >
> >
> > But I'm not quite following you here, because this option is about
> > keeping controllers up after the monitor exits. Given that the
> > monitor
> > would be the instance that receives the AENs and acts upon them,
> > what's
> > the point of keeping them alive after it has terminated?
>
> It may run again at some point.
>

If it does, it will recreate discovery controllers for every
host_traddr/traddr/trsvcid tuple it finds. "--keep" semantics are only
necessary for addresses on which no regular (non-discovery) connection
exists.

Martin