[openib-general] [PATCH 0/4] SA path record caching
Or Gerlitz
ogerlitz at voltaire.com
Mon Jan 30 05:52:11 PST 2006
Sean Hefty wrote:
> The implementation is complete. The interface to the cache operates
> synchronously. If an item is found in the cache, it is returned. If no
> item is found, an error is returned. The caller can query the SA
> directly in this case. (If we wanted to be fancy, the results of that
> query could be copied into the cache, but the cache will update on its
> own.)
I see. The CMA code (cma_resolve_ib_route) just calls ib_get_path_rec
and if the latter fails returns error to its consumer. Two questions
come into my mind here: a) is it the final version or you plan to extend
the CMA to directly query the SA in that case? b) the code of
ib_get_path_rec seems to just search the path in the index and return
-ENODATA if nothing is found, does it also trigger an SA lookup for this
path?
Or.
More information about the general
mailing list