1. 17 Feb, 2010 4 commits
    • Sage Weil's avatar
      ceph: use rbtree for snap_realms · a105f00c
      Sage Weil authored
      Switch from radix tree to rbtree for snap realms.  This is much more
      appropriate given that realm keys are few and far between.
      Signed-off-by: default avatarSage Weil <sage@newdream.net>
      a105f00c
    • Sage Weil's avatar
      ceph: use rbtree for mds requests · 44ca18f2
      Sage Weil authored
      The rbtree is a more appropriate data structure than a radix_tree.  It
      avoids extra memory usage and simplifies the code.
      
      It also fixes a bug where the debugfs 'mdsc' file wasn't including the
      most recent mds request.
      Signed-off-by: default avatarSage Weil <sage@newdream.net>
      44ca18f2
    • Sage Weil's avatar
      ceph: cancel delayed work when closing connection · 91e45ce3
      Sage Weil authored
      This ensures that if/when we reopen the connection, we can requeue work on
      the connection immediately, without waiting for an old timer to expire.
      Queue new delayed work inside con->mutex to avoid any race.
      
      This fixes problems with clients failing to reconnect to the MDS due to
      the client_reconnect message arriving too late (due to waiting for an old
      delayed work timeout to expire).
      Signed-off-by: default avatarSage Weil <sage@newdream.net>
      91e45ce3
    • Sage Weil's avatar
      ceph: allow connection to be reopened by fault callback · e2663ab6
      Sage Weil authored
      Fix the messenger to allow a ceph_con_open() during the fault callback.
      Previously the work wasn't getting queued on the connection because the
      fault path avoids requeued work (normally spurious).  Loop on reopening by
      checking for the OPENING state bit.
      
      This fixes OSD reconnects when a TCP connection drops.
      Signed-off-by: default avatarSage Weil <sage@newdream.net>
      e2663ab6
  2. 15 Feb, 2010 1 commit
  3. 14 Feb, 2010 1 commit
  4. 11 Feb, 2010 14 commits
  5. 10 Feb, 2010 4 commits
  6. 03 Feb, 2010 2 commits
  7. 29 Jan, 2010 2 commits
  8. 26 Jan, 2010 1 commit
  9. 25 Jan, 2010 7 commits
  10. 14 Jan, 2010 3 commits
  11. 07 Jan, 2010 1 commit