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

Michael S. Tsirkin mst at mellanox.co.il
Mon Jan 30 10:35:23 PST 2006


Quoting r. Sean Hefty <sean.hefty at intel.com>:
> Subject: [PATCH 0/4] SA path record caching
> 
> The following patch series adds caching of path records with the local system.
> I divided the changes up into 4 patches to make the review easier.  The patches
> are arranged as follows:
> 
> 1. Add a new API to ib_sa.h to pack/unpack SA attributes.
> 2. Create a fast indexing service.
> 3. Create a local SA database.
> 4. Modify the CMA to use the local SA database.
> 
> There are some additional optimizations that can be added to these changes, but
> I would prefer to add them incrementally to these changes.  This includes
> additional optimizations to the fast indexing service to help reduce its memory
> footprint, registering the local SA database to receive SA events, and failing
> over from the local SA database to using SA queries.
> 
> Signed-off-by: Sean Hefty <sean.hefty at intel.com>

When is the cache invalidated?

In the presence of failures in the network,
an attempt to create a connection with a cached path might fail.


-- 
Michael S. Tsirkin
Staff Engineer, Mellanox Technologies



More information about the general mailing list