1. 07 3月, 2012 2 次提交
    • J
      nfsd4: purge stable client records with insufficient state · 393d8ed8
      J. Bruce Fields 提交于
      To escape having your stable storage record purged at the end of the
      grace period, it's not sufficient to simply have performed a
      setclientid_confirm; you also need to meet the same requirements as
      someone creating a new record: either you should have done an open or
      open reclaim (in the 4.0 case) or a reclaim_complete (in the 4.1 case).
      Signed-off-by: NJ. Bruce Fields <bfields@redhat.com>
      393d8ed8
    • J
      nfsd4: don't set cl_firststate on first reclaim in 4.1 case · 1255a8f3
      J. Bruce Fields 提交于
      We set cl_firststate when we first decide that a client will be
      permitted to reclaim state on next boot.  This happens:
      
      	- for new 4.0 clients, when they confirm their first open
      	- for returning 4.0 clients, when they reclaim their first open
      	- for 4.1+ clients, when they perform reclaim_complete
      
      We also use cl_firststate to decide whether a reclaim_complete has
      already been performed, in the 4.1+ case.
      
      We were setting it on 4.1 open reclaims, which caused spurious
      COMPLETE_ALREADY errors on RECLAIM_COMPLETE from an nfs4.1 client with
      anything to reclaim.
      Reported-by: NJeff Layton <jlayton@redhat.com>
      Signed-off-by: NJ. Bruce Fields <bfields@redhat.com>
      1255a8f3
  2. 18 2月, 2012 4 次提交
  3. 16 2月, 2012 7 次提交
  4. 15 2月, 2012 2 次提交
  5. 14 2月, 2012 1 次提交
  6. 15 12月, 2011 1 次提交
  7. 14 12月, 2011 1 次提交
  8. 13 12月, 2011 1 次提交
  9. 02 12月, 2011 1 次提交
  10. 26 11月, 2011 1 次提交
  11. 16 11月, 2011 2 次提交
  12. 09 11月, 2011 1 次提交
  13. 08 11月, 2011 6 次提交
  14. 24 10月, 2011 3 次提交
  15. 19 10月, 2011 2 次提交
  16. 18 10月, 2011 5 次提交