• David Howells's avatar
    rxrpc: Move DATA transmission into call processor work item · cf37b598
    David Howells authored
    Move DATA transmission into the call processor work item.  In a future
    patch, this will be called from the I/O thread rather than being itsown
    work item.
    
    This will allow DATA transmission to be driven directly by incoming ACKs,
    pokes and timers as those are processed.
    
    The Tx queue is also split: The queue of packets prepared by sendmsg is now
    places in call->tx_sendmsg and the packet dispatcher decants the packets
    into call->tx_buffer as space becomes available in the transmission
    window.  This allows sendmsg to run ahead of the available space to try and
    prevent an underflow in transmission.
    Signed-off-by: default avatarDavid Howells <dhowells@redhat.com>
    cc: Marc Dionne <marc.dionne@auristor.com>
    cc: linux-afs@lists.infradead.org
    cf37b598
sendmsg.c 20.2 KB