[rds-devel] Re: The meaning of MR invalidation

Richard Frank richard.frank at oracle.com
Fri Feb 8 07:32:01 PST 2008


Are we currently issuing an invalidate from within the driver at process 
death ? We really should do this.

IMO - it would OK to issue an invalidate when ever a socket closes...and 
we flush mr's...

Olaf Kirch wrote:
> On Friday 08 February 2008 15:32, Richard Frank wrote:
>   
>>> We could make this a little more robust I guess by also freeing MRs
>>> when the application asks for an invalidate. At least the mthca
>>> driver seems to generate unique R_Keys (the top bits of the R_Key
>>> are used as a kind of counter, so we'd really have to cycle through
>>> 4 billion MRs before getting the same R_Key).
>>>
>>>   
>>>       
>> Yes - this is what we want.
>>     
>
> Okay. It'll allow me to remove quite a bit of code from the pool code,
> too.
>
> Olaf
>   



More information about the rds-devel mailing list