1. 31 5月, 2014 9 次提交
  2. 29 5月, 2014 5 次提交
  3. 27 5月, 2014 2 次提交
  4. 23 5月, 2014 3 次提交
  5. 18 4月, 2014 1 次提交
    • J
      Revert "nfsd4: fix nfs4err_resource in 4.1 case" · fc208d02
      J. Bruce Fields 提交于
      Since we're still limiting attributes to a page, the result here is that
      a large getattr result will return NFS4ERR_REP_TOO_BIG/TOO_BIG_TO_CACHE
      instead of NFS4ERR_RESOURCE.
      
      Both error returns are wrong, and the real bug here is the arbitrary
      limit on getattr results, fixed by as-yet out-of-tree patches.  But at a
      minimum we can make life easier for clients by sticking to one broken
      behavior in released kernels instead of two....
      
      Trond says:
      
      	one immediate consequence of this patch will be that NFSv4.1
      	clients will now report EIO instead of EREMOTEIO if they hit the
      	problem. That may make debugging a little less obvious.
      
      	Another consequence will be that if we ever do try to add client
      	side handling of NFS4ERR_REP_TOO_BIG, then we now have to deal
      	with the “handle existing buggy server” syndrome.
      Reported-by: NTrond Myklebust <trond.myklebust@primarydata.com>
      Signed-off-by: NJ. Bruce Fields <bfields@redhat.com>
      fc208d02
  6. 01 4月, 2014 1 次提交
  7. 29 3月, 2014 3 次提交
  8. 28 3月, 2014 4 次提交
  9. 25 1月, 2014 1 次提交
  10. 09 1月, 2014 1 次提交
  11. 08 1月, 2014 2 次提交
  12. 04 1月, 2014 4 次提交
  13. 03 1月, 2014 1 次提交
  14. 11 12月, 2013 1 次提交
  15. 20 11月, 2013 1 次提交
    • J
      nfsd4: fix xdr decoding of large non-write compounds · 365da4ad
      J. Bruce Fields 提交于
      This fixes a regression from 24750082
      "nfsd4: fix decoding of compounds across page boundaries".  The previous
      code was correct: argp->pagelist is initialized in
      nfs4svc_deocde_compoundargs to rqstp->rq_arg.pages, and is therefore a
      pointer to the page *after* the page we are currently decoding.
      
      The reason that patch nevertheless fixed a problem with decoding
      compounds containing write was a bug in the write decoding introduced by
      5a80a54d "nfsd4: reorganize write
      decoding", after which write decoding no longer adhered to the rule that
      argp->pagelist point to the next page.
      
      Cc: stable@vger.kernel.org
      Signed-off-by: NJ. Bruce Fields <bfields@redhat.com>
      365da4ad
  16. 15 11月, 2013 1 次提交