]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
9P: Get rid of REQ_STATUS_FLSH
authorSimon Derr <simon.derr@bull.net>
Mon, 10 Mar 2014 15:38:52 +0000 (16:38 +0100)
committerEric Van Hensbergen <ericvh@gmail.com>
Tue, 25 Mar 2014 21:38:15 +0000 (16:38 -0500)
commit0bfd6845c0b5e3df3507d2b4d230478980e7f04a
treeabfd8e782c669baa4f16922ffc0e002eeb0af153
parent931700d26bf17c583805f52121a41231e64868f3
9P: Get rid of REQ_STATUS_FLSH

This request state is mostly useless, and properly implementing it
for RDMA would require an extra lock to be taken in handle_recv()
and in rdma_cancel() to avoid this race:

    handle_recv()           rdma_cancel()
        .                     .
        .                   if req->state == SENT
    req->state = RCVD         .
        .                           req->state = FLSH

So just get rid of it.

Signed-off-by: Simon Derr <simon.derr@bull.net>
Signed-off-by: Eric Van Hensbergen <ericvh@gmail.com>
include/net/9p/client.h
net/9p/client.c
net/9p/trans_fd.c