1. 13 3月, 2008 1 次提交
  2. 11 2月, 2008 1 次提交
  3. 02 2月, 2008 1 次提交
    • T
      rdma: SVCRDMA sendto · c06b540a
      Tom Tucker 提交于
      This file implements the RDMA transport sendto function. A RPC reply
      on an RDMA transport consists of some number of RDMA_WRITE requests
      followed by an RDMA_SEND request. The sendto function parses the
      ONCRPC RDMA reply header to determine how to send the reply back to
      the client. The send queue is sized so as to be able to send complete
      replies for requests in most cases.  In the event that there are not
      enough SQ WR slots to reply, e.g.  big data, the send will block the
      NFSD thread. The I/O callback functions in svc_rdma_transport.c that
      reap WR completions wake any waiters blocked on the SQ. In general,
      the goal is not to block NFSD threads and the has_wspace method
      stall requests when the SQ is nearly full.
      Signed-off-by: NTom Tucker <tom@opengridcomputing.com>
      Acked-by: NNeil Brown <neilb@suse.de>
      Signed-off-by: NJ. Bruce Fields <bfields@citi.umich.edu>
      c06b540a