• David Howells's avatar
    rxrpc: Move call state changes from sendmsg to I/O thread · 2d689424
    David Howells authored
    Move all the call state changes that are made in rxrpc_sendmsg() to the I/O
    thread.  This is a step towards removing the call state lock.
    
    This requires the switch to the RXRPC_CALL_CLIENT_AWAIT_REPLY and
    RXRPC_CALL_SERVER_SEND_REPLY states to be done when the last packet is
    decanted from ->tx_sendmsg to ->tx_buffer in the I/O thread, not when it is
    added to ->tx_sendmsg by sendmsg().
    Signed-off-by: default avatarDavid Howells <dhowells@redhat.com>
    cc: Marc Dionne <marc.dionne@auristor.com>
    cc: linux-afs@lists.infradead.org
    2d689424
call_event.c 14.6 KB