1. 06 7月, 2015 1 次提交
  2. 03 7月, 2015 2 次提交
  3. 01 7月, 2015 9 次提交
  4. 29 6月, 2015 1 次提交
    • N
      NFSv4: When returning a delegation, don't reclaim an incompatible open mode. · 39f897fd
      NeilBrown 提交于
      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: NNeilBrown <neilb@suse.de>
      Signed-off-by: NTrond Myklebust <trond.myklebust@primarydata.com>
      39f897fd
  5. 27 6月, 2015 7 次提交
  6. 26 6月, 2015 3 次提交
  7. 24 6月, 2015 10 次提交
  8. 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
  9. 21 6月, 2015 1 次提交
  10. 20 6月, 2015 2 次提交
  11. 18 6月, 2015 3 次提交