• Andy Grover's avatar
    RDS: Remove send_quota from send_xmit() · fcc5450c
    Andy Grover authored
    The purpose of the send quota was really to give fairness
    when different connections were all using the same
    workq thread to send backlogged msgs -- they could only send
    so many before another connection could make progress.
    
    Now that each connection is pushing the backlog from its
    completion handler, they are all guaranteed to make progress
    and the quota isn't needed any longer.
    
    A thread *will* have to send all previously queued data, as well
    as any further msgs placed on the queue while while c_send_lock
    was held. In a pathological case a single process can get
    roped into doing this for long periods while other threads
    get off free. But, since it can only do this until the transport
    reports full, this is a bounded scenario.
    Signed-off-by: default avatarAndy Grover <andy.grover@oracle.com>
    fcc5450c
send.c 30.7 KB