1. 22 Jun, 2015 1 commit
    • Trond Myklebust's avatar
      Merge branch 'bugfixes' · 1372a313
      Trond Myklebust authored
      * bugfixes:
        NFS: Ensure we set NFS_CONTEXT_RESEND_WRITES when requeuing writes
        pNFS: Fix a memory leak when attempted pnfs fails
        NFS: Ensure that we update the sequence id under the slot table lock
        nfs: Initialize cb_sequenceres information before validate_seqid()
        nfs: Only update callback sequnce id when CB_SEQUENCE success
        NFSv4: nfs4_handle_delegation_recall_error should ignore EAGAIN
      1372a313
  2. 20 Jun, 2015 1 commit
  3. 19 Jun, 2015 2 commits
  4. 18 Jun, 2015 4 commits
  5. 16 Jun, 2015 11 commits
  6. 12 Jun, 2015 16 commits
  7. 11 Jun, 2015 3 commits
  8. 10 Jun, 2015 2 commits
    • Vaishali Thakkar's avatar
      NFS: Convert use of __constant_htonl to htonl · 4ed0d83d
      Vaishali Thakkar authored
      In little endian cases, the macro htonl unfolds to __swab32 which
      provides special case for constants. In big endian cases,
      __constant_htonl and htonl expand directly to the same expression.
      So, replace __constant_htonl with htonl with the goal of getting
      rid of the definition of __constant_htonl completely.
      
      The semantic patch that performs this transformation is as follows:
      
      @@expression x;@@
      
      - __constant_htonl(x)
      + htonl(x)
      Signed-off-by: default avatarVaishali Thakkar <vthakkar1994@gmail.com>
      Signed-off-by: default avatarTrond Myklebust <trond.myklebust@primarydata.com>
      4ed0d83d
    • Chuck Lever's avatar
      SUNRPC: Transport fault injection · 4a068258
      Chuck Lever authored
      It has been exceptionally useful to exercise the logic that handles
      local immediate errors and RDMA connection loss.  To enable
      developers to test this regularly and repeatably, add logic to
      simulate connection loss every so often.
      
      Fault injection is disabled by default. It is enabled with
      
        $ sudo echo xxx > /sys/kernel/debug/sunrpc/inject_fault/disconnect
      
      where "xxx" is a large positive number of transport method calls
      before a disconnect. A value of several thousand is usually a good
      number that allows reasonable forward progress while still causing a
      lot of connection drops.
      
      These hooks are disabled when SUNRPC_DEBUG is turned off.
      Signed-off-by: default avatarChuck Lever <chuck.lever@oracle.com>
      Signed-off-by: default avatarTrond Myklebust <trond.myklebust@primarydata.com>
      4a068258