[Chapel Merge] Comm=ofi: Use the appropriate remote address for b

Branch: refs/heads/1.23-for-EX
Revision: 4597b6e
Author: gbtitus
Log Message:

Merge pull request #16909 from gbtitus/chase-EIO-NOSPACE

Comm=ofi: Use the appropriate remote address for buffered transfers.

(Reviewed by @ronawho.)

We were always using the virtual address as the remote address (source
for GETs, target for PUTs) in the buffered transfer support. But in
some circumstances, this remote address really needs to be the offset
into the memory registration that contains that virtual address. Make
that so.

While here, improve CQ error entry reporting and also make some changes
that ease associating CQ error entries with the operations that caused

This resolves https://github.com/Cray/chapel-private/issues/1529.

Modified Files:
M runtime/src/comm/ofi/comm-ofi.c

Compare: https://github.com/chapel-lang/chapel/compare/e1f086042731...4597b6e5342d