1. 19 5月, 2008 1 次提交
    • T
      svcrdma: Simplify receive buffer posting · 0e7f011a
      Tom Tucker 提交于
      The svcrdma transport provider currently allocates receive buffers
      to the RQ through the xpo_release_rqst method. This approach is overly
      complicated since it means that the rqstp rq_xprt_ctxt has to be
      selectively set based on whether the RPC is going to be processed
      immediately or deferred. Instead, just post the receive buffer when
      we are certain that we are replying in the send_reply function.
      Signed-off-by: NTom Tucker <tom@opengridcomputing.com>
      0e7f011a
  2. 13 3月, 2008 1 次提交
  3. 11 2月, 2008 1 次提交
  4. 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