1. 26 3月, 2016 1 次提交
    • I
      libceph: revamp subs code, switch to SUBSCRIBE2 protocol · 82dcabad
      Ilya Dryomov 提交于
      It is currently hard-coded in the mon_client that mdsmap and monmap
      subs are continuous, while osdmap sub is always "onetime".  To better
      handle full clusters/pools in the osd_client, we need to be able to
      issue continuous osdmap subs.  Revamp subs code to allow us to specify
      for each sub whether it should be continuous or not.
      
      Although not strictly required for the above, switch to SUBSCRIBE2
      protocol while at it, eliminating the ambiguity between a request for
      "every map since X" and a request for "just the latest" when we don't
      have a map yet (i.e. have epoch 0).  SUBSCRIBE2 feature bit is now
      required - it's been supported since pre-argonaut (2010).
      
      Move "got mdsmap" call to the end of ceph_mdsc_handle_map() - calling
      in before we validate the epoch and successfully install the new map
      can mess up mon_client sub state.
      Signed-off-by: NIlya Dryomov <idryomov@gmail.com>
      82dcabad
  2. 05 3月, 2016 1 次提交
  3. 03 11月, 2015 5 次提交
  4. 09 9月, 2015 3 次提交
  5. 25 6月, 2015 13 次提交
  6. 22 4月, 2015 1 次提交
  7. 20 4月, 2015 5 次提交
  8. 16 4月, 2015 1 次提交
  9. 19 2月, 2015 7 次提交
  10. 17 1月, 2015 1 次提交
  11. 18 12月, 2014 2 次提交