[openib-general] [PATCH repost] option to set node description in sysfs
Hal Rosenstock
halr at voltaire.com
Tue Dec 20 06:44:16 PST 2005
On Tue, 2005-12-20 at 09:25, Michael S. Tsirkin wrote:
> Quoting r. Hal Rosenstock <halr at voltaire.com>:
> > Subject: Re: [openib-general] [PATCH repost] option to set node description in sysfs
> >
> > On Tue, 2005-12-20 at 07:55, Michael S. Tsirkin wrote:
> > > Here's an updated version of the node description patch.
> > > changes:
> >
> > I agree that being able to tailor the NodeDescription is a good thing
> > but how does an SM know that this has changed ?
>
> Why does SM need this string? To print it out in the log file?
It would be used for (upper layer) management and in a similar vein to
how you want to use this (for some diag tool). One could argue that
without this, there is no need for an SM to obtain NodeDescription (e.g.
OpenSM).
> I want to address a simple need: I need a tool that can
> figure out the host name/hca from the GUID, without keeping
> a database in some file.
>
> So if I hit the race window while the system is booting, I know
> that its booting since the description does not have the format
> that I set from userspace, and can simply re-run the tool.
>
> > Without this aspect covered as well, this is only a partial solution.
>
> Its good enough for what I want it for, and it seems that no one proposed
> anything better so far.
>
> It should be easy to invent some kind of trap for this, but I dont think
> anything in the spec matches.
So let's define and implement a trap for this but I don't see a way to
extend the SM traps in this manner. Do you ?
-- Hal
More information about the general
mailing list