1. 28 1月, 2014 1 次提交
  2. 27 2月, 2013 3 次提交
  3. 19 2月, 2013 2 次提交
    • A
      libceph: add ceph_osd_state_name() · 4b568b1a
      Alex Elder 提交于
      Add the definition of ceph_osd_state_name(), to match its
      counterpart in user space.
      Signed-off-by: NAlex Elder <elder@inktank.com>
      Reviewed-by: NJosh Durgin <josh.durgin@inktank.com>
      4b568b1a
    • A
      libceph: update rados.h · 0315a777
      Alex Elder 提交于
      Update most of "include/linux/ceph/rados.h" to match its user space
      counterpart in "src/include/rados.h" in the ceph tree.
      
      Almost everything that has changed is either:
          - added or revised comments
          - added definitions (therefore no real effect on existing code)
          - defining the same value a different way (e.g., "1 << 0" vs "1")
      
      The only exceptions are:
          - The declaration of ceph_osd_state_name() was excluded; that
            will be inserted in the next patch.
          - ceph_osd_op_mode_read() and ceph_osd_op_mode_modify() are
            defined differently, but they were never used in the kernel
          - CEPH_OSD_FLAG_PEERSTAT is now CEPH_OSD_FLAG_PEERSTAT_OLD, but
            that was never used in the kernel
      
      Anything that was present in this file but not in its user space
      counterpart was left intact here.  I left the definitions of
      EOLDSNAPC and EBLACKLISTED using numerical values here; I'm
      not sure the right way to go with those.
      
      This and the next two commits resolve:
          http://tracker.ceph.com/issues/4164Signed-off-by: NAlex Elder <elder@inktank.com>
      Reviewed-by: NJosh Durgin <josh.durgin@inktank.com>
      0315a777
  4. 01 11月, 2012 1 次提交
  5. 03 10月, 2012 1 次提交
  6. 22 3月, 2011 1 次提交
  7. 21 10月, 2010 1 次提交
    • Y
      ceph: factor out libceph from Ceph file system · 3d14c5d2
      Yehuda Sadeh 提交于
      This factors out protocol and low-level storage parts of ceph into a
      separate libceph module living in net/ceph and include/linux/ceph.  This
      is mostly a matter of moving files around.  However, a few key pieces
      of the interface change as well:
      
       - ceph_client becomes ceph_fs_client and ceph_client, where the latter
         captures the mon and osd clients, and the fs_client gets the mds client
         and file system specific pieces.
       - Mount option parsing and debugfs setup is correspondingly broken into
         two pieces.
       - The mon client gets a generic handler callback for otherwise unknown
         messages (mds map, in this case).
       - The basic supported/required feature bits can be expanded (and are by
         ceph_fs_client).
      
      No functional change, aside from some subtle error handling cases that got
      cleaned up in the refactoring process.
      Signed-off-by: NSage Weil <sage@newdream.net>
      3d14c5d2
  8. 02 8月, 2010 2 次提交
  9. 18 5月, 2010 1 次提交
  10. 12 5月, 2010 1 次提交
  11. 10 4月, 2010 1 次提交
  12. 18 2月, 2010 1 次提交
    • S
      ceph: use rbtree for pg pools; decode new osdmap format · 4fc51be8
      Sage Weil 提交于
      Since we can now create and destroy pg pools, the pool ids will be sparse,
      and an array no longer makes sense for looking up by pool id.  Use an
      rbtree instead.
      
      The OSDMap encoding also no longer has a max pool count (previously used to
      allocate the array).  There is a new pool_max, that is the largest pool id
      we've ever used, although we don't actually need it in the client.
      Signed-off-by: NSage Weil <sage@newdream.net>
      4fc51be8
  13. 12 2月, 2010 1 次提交
  14. 03 2月, 2010 1 次提交
  15. 24 12月, 2009 1 次提交
  16. 19 11月, 2009 1 次提交
    • S
      ceph: negotiate authentication protocol; implement AUTH_NONE protocol · 4e7a5dcd
      Sage Weil 提交于
      When we open a monitor session, we send an initial AUTH message listing
      the auth protocols we support, our entity name, and (possibly) a previously
      assigned global_id.  The monitor chooses a protocol and responds with an
      initial message.
      
      Initially implement AUTH_NONE, a dummy protocol that provides no security,
      but works within the new framework.  It generates 'authorizers' that are
      used when connecting to (mds, osd) services that simply state our entity
      name and global_id.
      
      This is a wire protocol change.
      Signed-off-by: NSage Weil <sage@newdream.net>
      4e7a5dcd
  17. 07 11月, 2009 1 次提交
    • S
      ceph: make object hash a pg_pool property · 1654dd0c
      Sage Weil 提交于
      The object will be hashed to a placement seed (ps) based on the pg_pool's
      hash function.  This allows new hashes to be introduced into an existing
      object store, or selection of a hash appropriate to the objects that
      will be stored in a particular pool.
      Signed-off-by: NSage Weil <sage@newdream.net>
      1654dd0c
  18. 05 11月, 2009 1 次提交
  19. 07 10月, 2009 1 次提交
    • S
      ceph: on-wire types · 0dee3c28
      Sage Weil 提交于
      These headers describe the types used to exchange messages between the
      Ceph client and various servers.  All types are little-endian and
      packed.  These headers are shared between the kernel and userspace, so
      all types are in terms of e.g. __u32.
      
      Additionally, we define a few magic values to identify the current
      version of the protocol(s) in use, so that discrepancies to be
      detected on mount.
      Signed-off-by: NSage Weil <sage@newdream.net>
      0dee3c28