1. 23 8月, 2010 1 次提交
    • S
      ceph: fix multiple mds session shutdown · f3c60c59
      Sage Weil 提交于
      The use of a completion when waiting for session shutdown during umount is
      inappropriate, given the complexity of the condition.  For multiple MDS's,
      this resulted in the umount thread spinning, often preventing the session
      close message from being processed in some cases.
      
      Switch to a waitqueue and defined a condition helper.  This cleans things
      up nicely.
      Signed-off-by: NSage Weil <sage@newdream.net>
      f3c60c59
  2. 11 8月, 2010 1 次提交
  3. 06 8月, 2010 1 次提交
    • S
      ceph: only queue async writeback on cap revocation if there is dirty data · 0eb6cd49
      Sage Weil 提交于
      Normally, if the Fb cap bit is being revoked, we queue an async writeback.
      If there is no dirty data but we still hold the cap, this leaves the
      client sitting around doing nothing until the cap timeouts expire and the
      cap is released on its own (as it would have been without the revocation).
      
      Instead, only queue writeback if the bit is actually used (i.e., we have
      dirty data).  If not, we can reply to the revocation immediately.
      Signed-off-by: NSage Weil <sage@newdream.net>
      0eb6cd49
  4. 04 8月, 2010 3 次提交
  5. 03 8月, 2010 7 次提交
  6. 02 8月, 2010 27 次提交