1. 16 1月, 2015 10 次提交
  2. 26 11月, 2014 7 次提交
  3. 25 11月, 2014 1 次提交
  4. 30 9月, 2014 1 次提交
    • S
      svcrdma: advertise the correct max payload · 7e5be288
      Steve Wise 提交于
      Svcrdma currently advertises 1MB, which is too large.  The correct value
      is the minimum of RPCSVC_MAXPAYLOAD and the max scatter-gather allowed
      in an NFSRDMA IO chunk * the host page size. This bug is usually benign
      because the Linux X64 NFSRDMA client correctly limits the payload size to
      the correct value (64*4096 = 256KB).  But if the Linux client is PPC64
      with a 64KB page size, then the client will indeed use a payload size
      that will overflow the server.
      Signed-off-by: NSteve Wise <swise@opengridcomputing.com>
      Signed-off-by: NJ. Bruce Fields <bfields@redhat.com>
      7e5be288
  5. 25 9月, 2014 1 次提交
  6. 06 8月, 2014 1 次提交
    • S
      svcrdma: remove rdma_create_qp() failure recovery logic · d1e458fe
      Steve Wise 提交于
      In svc_rdma_accept(), if rdma_create_qp() fails, there is useless
      logic to try and call rdma_create_qp() again with reduced sge depths.
      The assumption, I guess, was that perhaps the initial sge depths
      chosen were too big.  However they initial depths are selected based
      on the rdma device attribute max_sge returned from ib_query_device().
      If rdma_create_qp() fails, it would not be because the max_send_sge and
      max_recv_sge values passed in exceed the device's max.  So just remove
      this code.
      Signed-off-by: NSteve Wise <swise@opengridcomputing.com>
      Signed-off-by: NJ. Bruce Fields <bfields@redhat.com>
      d1e458fe
  7. 01 8月, 2014 19 次提交