• Xin Zhao's avatar
    Remove lock_type and origin_rank areas from RMA packet. · 81e2b274
    Xin Zhao authored
    Originally we added lock_type and origin_rank areas
    in RMA packet, in order to piggyback passive lock request
    with RMA operations. However, those areas potentially
    enlarged the packet union size, and actually they are
    not necessary and can be completetly avoided.
    "Lock_type" is used to remember what types of lock (shared or
    exclusive) the origin wants to acquire on the target. To remove
    it from RMA packet, we use flags (already exists in RMA packet)
    to remember such information.
    "Origin_rank" is used to remember which origin has sent lock
    request to the target, so that when the lock is granted to this
    origin later, the target can send ack to that origin. Actually
    the target does not need to store origin_rank but can only store
    origin_vc, which is known from progress engine on target side.
    Therefore, we can completely remove origin_rank from RMA packet.
    Signed-off-by: Pavan Balaji's avatarPavan Balaji <balaji@anl.gov>