• Santosh Shilimkar's avatar
    RDS: RDMA: Fix the composite message user notification · 941f8d55
    Santosh Shilimkar authored
    When application sends an RDS RDMA composite message consist of
    RDMA transfer to be followed up by non RDMA payload, it expect to
    be notified *only* when the full message gets delivered. RDS RDMA
    notification doesn't behave this way though.
    
    Thanks to Venkat for debug and root casuing the issue
    where only first part of the message(RDMA) was
    successfully delivered but remainder payload delivery failed.
    In that case, application should not be notified with
    a false positive of message delivery success.
    
    Fix this case by making sure the user gets notified only after
    the full message delivery.
    Reviewed-by: default avatarVenkat Venkatsubra <venkat.x.venkatsubra@oracle.com>
    Signed-off-by: default avatarSantosh Shilimkar <santosh.shilimkar@oracle.com>
    941f8d55
ib_send.c 29.6 KB