On Wed, Jun 29, 2022 at 06:40:07PM +0000, Pearson, Robert B wrote: > > > If the rkey's and lkeys are always the same why do we store them twice in the mr ? > > They are not always the same currently. If you request remote access they are the same if you don't rkey is set to zero. > You could, of course, check both the keys and the access bits but that is not the way it is written currently. Storing the rkey instead of checking the flags seems like a weird obfuscation to me.. Jason