1. 17 Apr, 2020 1 commit
    • Chuck Lever's avatar
      SUNRPC: Fix backchannel RPC soft lockups · 6221f1d9
      Chuck Lever authored
      Currently, after the forward channel connection goes away,
      backchannel operations are causing soft lockups on the server
      because call_transmit_status's SOFTCONN logic ignores ENOTCONN.
      Such backchannel Calls are aggressively retried until the client
      reconnects.
      
      Backchannel Calls should use RPC_TASK_NOCONNECT rather than
      RPC_TASK_SOFTCONN. If there is no forward connection, the server is
      not capable of establishing a connection back to the client, thus
      that backchannel request should fail before the server attempts to
      send it. Commit 58255a4e ("NFSD: NFSv4 callback client should
      use RPC_TASK_SOFTCONN") was merged several years before
      RPC_TASK_NOCONNECT was available.
      
      Because setup_callback_client() explicitly sets NOPING, the NFSv4.0
      callback connection depends on the first callback RPC to initiate
      a connection to the client. Thus NFSv4.0 needs to continue to use
      RPC_TASK_SOFTCONN.
      Suggested-by: default avatarTrond Myklebust <trondmy@hammerspace.com>
      Signed-off-by: default avatarChuck Lever <chuck.lever@oracle.com>
      Cc: <stable@vger.kernel.org> # v4.20+
      6221f1d9
  2. 13 Apr, 2020 1 commit
  3. 19 Mar, 2020 2 commits
  4. 16 Mar, 2020 12 commits
  5. 07 Feb, 2020 1 commit
  6. 06 Feb, 2020 4 commits
  7. 04 Feb, 2020 1 commit
  8. 22 Jan, 2020 14 commits
  9. 03 Jan, 2020 3 commits
  10. 20 Dec, 2019 1 commit