[ofa-general] Re: [RFC] [PATCH 2/3] 2.6.22 or 23 ib/sa: add path record caching
Sean Hefty
mshefty at ichips.intel.com
Tue Apr 24 11:55:26 PDT 2007
> > +static struct miscdevice local_sa_misc = {
> > + .minor = MISC_DYNAMIC_MINOR,
> > + .name = "ib_local_sa",
> > +};
>
> I don't understand why you're registering a miscdevice etc. I don't
> see any implementation of a character device or indeed any userspace
> interface at all. So what's up here?
The cache creates the following files:
/sys/class/misc/ib_local_sa/paths_per_dest
/sys/class/misc/ib_local_sa/refresh
/sys/class/misc/ib_local_sa/lookup_method
The intent is to allow changing the cache parameters dynamically and for an
administrator to force a manual refresh of the cache. The cache settings are
currently global, rather than per port.
- Sean
More information about the general
mailing list