1. 08 5月, 2012 2 次提交
  2. 08 12月, 2011 1 次提交
    • S
      ceph: use i_ceph_lock instead of i_lock · be655596
      Sage Weil 提交于
      We have been using i_lock to protect all kinds of data structures in the
      ceph_inode_info struct, including lists of inodes that we need to iterate
      over while avoiding races with inode destruction.  That requires grabbing
      a reference to the inode with the list lock protected, but igrab() now
      takes i_lock to check the inode flags.
      
      Changing the list lock ordering would be a painful process.
      
      However, using a ceph-specific i_ceph_lock in the ceph inode instead of
      i_lock is a simple mechanical change and avoids the ordering constraints
      imposed by igrab().
      Reported-by: NAmon Ott <a.ott@m-privacy.de>
      Signed-off-by: NSage Weil <sage@newdream.net>
      be655596
  3. 26 10月, 2011 1 次提交
    • G
      ceph: let the set_layout ioctl set single traits · a35eca95
      Greg Farnum 提交于
      Previously we were validating the passed-in stripe unit, object size,
      and stripe count against each other (and not testing most other stuff).
      Instead, make sure that the composed previous layout and new values are valid,
      and only send the new values to the MDS. This lets users change the
      pool without setting the whole layout, for instance.
      Signed-off-by: NGreg Farnum <gregory.farnum@dreamhost.com>
      a35eca95
  4. 27 7月, 2011 2 次提交
  5. 08 6月, 2011 1 次提交
  6. 21 10月, 2010 2 次提交
    • G
      571dba52
    • 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
  7. 02 8月, 2010 1 次提交
  8. 18 5月, 2010 1 次提交
  9. 04 12月, 2009 1 次提交
  10. 05 11月, 2009 1 次提交
  11. 07 10月, 2009 1 次提交
    • S
      ceph: ioctls · 8f4e91de
      Sage Weil 提交于
      A few Ceph ioctls for getting and setting file layout (striping)
      parameters, and learning the identity and network address of the OSD a
      given region of a file is stored on.
      Signed-off-by: NSage Weil <sage@newdream.net>
      8f4e91de