[openib-general] [PATCH 4/4] SA path record caching

Or Gerlitz ogerlitz at voltaire.com
Wed Feb 1 07:44:30 PST 2006


Sean Hefty wrote:

> Modify the CMA to use the local SA database for path record lookups.

I recall that one of the design goals were to have the cache being an 
optional in the sense that the openib stack can provide the same 
functionality without the cache presence or in other words the user can 
easily disable the cache and work regularly. Since the CMA is dependent 
in the symbols exported by the local SA, this is not the case with this 
implementation.

How about either having a mod param to the local SA practically telling 
it to do nothing (ugly) or the local SA doing symbol_put to the cache 
query function and the CMA attempting to symbol_get it, if the symbol 
exists, then the CMA is first trying the cache before querying the SA, 
or whatever other better idea someone can come up with?

Or.





More information about the general mailing list