[openib-general] Some Missing Features from mthca/user MAD access

Hal Rosenstock halr at voltaire.com
Thu Jan 6 07:34:59 PST 2005


On Thu, 2005-01-06 at 10:32, Michael S. Tsirkin wrote:
> > Making sure the bit is cleared is indeed important. It is simple when SM
> > exits properly. Hopefully something can occur at process cleanup time to
> > ensure this does happen even in the case where the SM dies. Otherwise a
> > special utility might be required to turn this off (so an OpenSM can be
> > restarted (when #1 is implemented)).
> > 
> > -- Hal
> 
> Ugh.
> 
> The simplest approach I think is, keep some file open, when its closed
> (which happends automatically when the process dies) clean the is_sm bit.

I was only saying that _if_ the mechanism used for this does not clear
the bit during process cleanup that some (ugly) utility would be needed.
I don't expect that to be the case.

And yes, a special file is one solution to this. There may be others.

-- Hal




More information about the general mailing list