1. 18 12月, 2014 1 次提交
  2. 15 10月, 2014 1 次提交
  3. 21 10月, 2010 3 次提交
    • G
      ceph: add pagelist_reserve, pagelist_truncate, pagelist_set_cursor · ac0b74d8
      Greg Farnum 提交于
      These facilitate preallocation of pages so that we can encode into the pagelist
      in an atomic context.
      Signed-off-by: NGreg Farnum <gregf@hq.newdream.net>
      Signed-off-by: NSage Weil <sage@newdream.net>
      ac0b74d8
    • 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
    • Y
      ceph: messenger and osdc changes for rbd · 68b4476b
      Yehuda Sadeh 提交于
      Allow the messenger to send/receive data in a bio.  This is added
      so that we wouldn't need to copy the data into pages or some other buffer
      when doing IO for an rbd block device.
      
      We can now have trailing variable sized data for osd
      ops.  Also osd ops encoding is more modular.
      Signed-off-by: NYehuda Sadeh <yehuda@hq.newdream.net>
      Signed-off-by: NSage Weil <sage@newdream.net>
      68b4476b
  4. 24 12月, 2009 1 次提交
    • S
      ceph: support ceph_pagelist for message payload · 58bb3b37
      Sage Weil 提交于
      The ceph_pagelist is a simple list of whole pages, strung together via
      their lru list_head.  It facilitates encoding to a "buffer" of unknown
      size.  Allow its use in place of the ceph_msg page vector.
      
      This will be used to fix the huge buffer preallocation woes of MDS
      reconnection.
      Signed-off-by: NSage Weil <sage@newdream.net>
      58bb3b37