1. 22 6月, 2015 1 次提交
    • T
      Merge branch 'bugfixes' · 1372a313
      Trond Myklebust 提交于
      * 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. 21 6月, 2015 1 次提交
  3. 20 6月, 2015 2 次提交
  4. 18 6月, 2015 4 次提交
  5. 16 6月, 2015 11 次提交
  6. 13 6月, 2015 14 次提交
  7. 12 6月, 2015 5 次提交
  8. 11 6月, 2015 2 次提交
    • V
      NFS: Convert use of __constant_htonl to htonl · 4ed0d83d
      Vaishali Thakkar 提交于
      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: NVaishali Thakkar <vthakkar1994@gmail.com>
      Signed-off-by: NTrond Myklebust <trond.myklebust@primarydata.com>
      4ed0d83d
    • C
      SUNRPC: Transport fault injection · 4a068258
      Chuck Lever 提交于
      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: NChuck Lever <chuck.lever@oracle.com>
      Signed-off-by: NTrond Myklebust <trond.myklebust@primarydata.com>
      4a068258