1. 26 3月, 2012 1 次提交
    • J
      nfsd: convert nfs4_client->cl_cb_flags to a generic flags field · a52d726b
      Jeff Layton 提交于
      We'll need a way to flag the nfs4_client as already being recorded on
      stable storage so that we don't continually upcall. Currently, that's
      recorded in the cl_firststate field of the client struct. Using an
      entire u32 to store a flag is rather wasteful though.
      
      The cl_cb_flags field is only using 2 bits right now, so repurpose that
      to a generic flags field. Rename NFSD4_CLIENT_KILL to
      NFSD4_CLIENT_CB_KILL to make it evident that it's part of the callback
      flags. Add a mask that we can use for existing checks that look to see
      whether any flags are set, so that the new flags don't interfere.
      
      Convert all references to cl_firstate to the NFSD4_CLIENT_STABLE flag,
      and add a new NFSD4_CLIENT_RECLAIM_COMPLETE flag.
      Signed-off-by: NJeff Layton <jlayton@redhat.com>
      Signed-off-by: NJ. Bruce Fields <bfields@redhat.com>
      a52d726b
  2. 21 3月, 2012 2 次提交
  3. 07 3月, 2012 7 次提交
  4. 18 2月, 2012 4 次提交
  5. 16 2月, 2012 7 次提交
  6. 15 2月, 2012 2 次提交
  7. 14 2月, 2012 1 次提交
  8. 01 2月, 2012 1 次提交
  9. 15 12月, 2011 1 次提交
  10. 14 12月, 2011 1 次提交
  11. 13 12月, 2011 1 次提交
  12. 02 12月, 2011 1 次提交
  13. 26 11月, 2011 1 次提交
  14. 16 11月, 2011 2 次提交
  15. 09 11月, 2011 1 次提交
  16. 08 11月, 2011 6 次提交
  17. 24 10月, 2011 1 次提交