1. 16 3月, 2020 1 次提交
  2. 22 11月, 2019 1 次提交
  3. 04 11月, 2019 1 次提交
    • T
      NFSv4.1: Don't rebind to the same source port when reconnecting to the server · e6237b6f
      Trond Myklebust 提交于
      NFSv2, v3 and NFSv4 servers often have duplicate replay caches that look
      at the source port when deciding whether or not an RPC call is a replay
      of a previous call. This requires clients to perform strange TCP gymnastics
      in order to ensure that when they reconnect to the server, they bind
      to the same source port.
      
      NFSv4.1 and NFSv4.2 have sessions that provide proper replay semantics,
      that do not look at the source port of the connection. This patch therefore
      ensures they can ignore the rebind requirement.
      Signed-off-by: NTrond Myklebust <trond.myklebust@hammerspace.com>
      e6237b6f
  4. 11 10月, 2019 1 次提交
    • B
      SUNRPC: fix race to sk_err after xs_error_report · af84537d
      Benjamin Coddington 提交于
      Since commit 4f8943f8 ("SUNRPC: Replace direct task wakeups from
      softirq context") there has been a race to the value of the sk_err if both
      XPRT_SOCK_WAKE_ERROR and XPRT_SOCK_WAKE_DISCONNECT are set.  In that case,
      we may end up losing the sk_err value that existed when xs_error_report was
      called.
      
      Fix this by reverting to the previous behavior: instead of using SO_ERROR
      to retrieve the value at a later time (which might also return sk_err_soft),
      copy the sk_err value onto struct sock_xprt, and use that value to wake
      pending tasks.
      Signed-off-by: NBenjamin Coddington <bcodding@redhat.com>
      Fixes: 4f8943f8 ("SUNRPC: Replace direct task wakeups from softirq context")
      Signed-off-by: NAnna Schumaker <Anna.Schumaker@Netapp.com>
      af84537d
  5. 18 9月, 2019 1 次提交
  6. 19 7月, 2019 1 次提交
  7. 18 7月, 2019 1 次提交
  8. 09 7月, 2019 1 次提交
  9. 07 7月, 2019 2 次提交
  10. 28 6月, 2019 1 次提交
  11. 26 4月, 2019 2 次提交
  12. 27 3月, 2019 1 次提交
  13. 16 3月, 2019 1 次提交
  14. 03 3月, 2019 1 次提交
  15. 26 2月, 2019 1 次提交
  16. 21 2月, 2019 11 次提交
  17. 14 2月, 2019 1 次提交
    • C
      SUNRPC: Remove rpc_xprt::tsh_size · 067fb11b
      Chuck Lever 提交于
      tsh_size was added to accommodate transports that send a pre-amble
      before each RPC message. However, this assumes the pre-amble is
      fixed in size, which isn't true for some transports. That makes
      tsh_size not very generic.
      
      Also I'd like to make the estimation of RPC send and receive
      buffer sizes more precise. tsh_size doesn't currently appear to be
      accounted for at all by call_allocate.
      
      Therefore let's just remove the tsh_size concept, and make the only
      transports that have a non-zero tsh_size employ a direct approach.
      Signed-off-by: NChuck Lever <chuck.lever@oracle.com>
      Signed-off-by: NAnna Schumaker <Anna.Schumaker@Netapp.com>
      067fb11b
  18. 09 1月, 2019 1 次提交
  19. 03 1月, 2019 1 次提交
  20. 28 12月, 2018 1 次提交
  21. 20 12月, 2018 1 次提交
  22. 19 12月, 2018 2 次提交
  23. 05 12月, 2018 5 次提交