1. 03 Jul, 2015 1 commit
  2. 01 Jul, 2015 9 commits
  3. 29 Jun, 2015 1 commit
    • NeilBrown's avatar
      NFSv4: When returning a delegation, don't reclaim an incompatible open mode. · 39f897fd
      NeilBrown authored
      It is possible to have an active open with one mode, and a delegation
      for the same file with a different mode.
      In particular, a WR_ONLY open and an RD_ONLY delegation.
      This happens if a WR_ONLY open is followed by a RD_ONLY open which
      provides a delegation, but is then close.
      
      When returning the delegation, we currently try to claim opens for
      every open type (n_rdwr, n_rdonly, n_wronly).  As there is no harm
      in claiming an open for a mode that we already have, this is often
      simplest.
      
      However if the delegation only provides a subset of the modes that we
      currently have open, this will produce an error from the server.
      
      So when claiming open modes prior to returning a delegation, skip the
      open request if the mode is not covered by the delegation - the open_stateid
      must already cover that mode, so there is nothing to do.
      Signed-off-by: default avatarNeilBrown <neilb@suse.de>
      Signed-off-by: default avatarTrond Myklebust <trond.myklebust@primarydata.com>
      39f897fd
  4. 27 Jun, 2015 2 commits
  5. 26 Jun, 2015 5 commits
  6. 25 Jun, 2015 3 commits
  7. 24 Jun, 2015 10 commits
  8. 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
  9. 20 Jun, 2015 1 commit
  10. 19 Jun, 2015 2 commits
  11. 18 Jun, 2015 4 commits
  12. 16 Jun, 2015 1 commit
    • Trond Myklebust's avatar
      Merge tag 'nfs-rdma-for-4.2' of git://git.linux-nfs.org/projects/anna/nfs-rdma · 3438995b
      Trond Myklebust authored
      NFS: NFSoRDMA Client Changes
      
      These patches continue to build up for improving the rsize and wsize that the
      NFS client uses when talking over RDMA.  In addition, these patches also add
      in scalability enhancements and other bugfixes.
      Signed-off-by: default avatarAnna Schumaker <Anna.Schumaker@Netapp.com>
      
      * tag 'nfs-rdma-for-4.2' of git://git.linux-nfs.org/projects/anna/nfs-rdma: (142 commits)
        xprtrdma: Reduce per-transport MR allocation
        xprtrdma: Stack relief in fmr_op_map()
        xprtrdma: Split rb_lock
        xprtrdma: Remove rpcrdma_ia::ri_memreg_strategy
        xprtrdma: Remove ->ro_reset
        xprtrdma: Remove unused LOCAL_INV recovery logic
        xprtrdma: Acquire MRs in rpcrdma_register_external()
        xprtrdma: Introduce an FRMR recovery workqueue
        xprtrdma: Acquire FMRs in rpcrdma_fmr_register_external()
        xprtrdma: Introduce helpers for allocating MWs
        xprtrdma: Use ib_device pointer safely
        xprtrdma: Remove rr_func
        xprtrdma: Replace rpcrdma_rep::rr_buffer with rr_rxprt
        xprtrdma: Warn when there are orphaned IB objects
        ...
      3438995b