[openib-general] [PATCH repost] option to set node description in sysfs

Michael S. Tsirkin mst at mellanox.co.il
Tue Dec 20 06:25:23 PST 2005


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?

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.

-- 
MST



More information about the general mailing list