1. 29 9月, 2011 1 次提交
    • S
      libceph: fix pg_temp mapping calculation · 782e182e
      Sage Weil 提交于
      We need to apply the modulo pg_num calculation before looking up a pgid in
      the pg_temp mapping rbtree.  This fixes pg_temp mappings, and fixes
      (some) misdirected requests that result in messages like
      
      [WRN] client4104 10.0.1.219:0/275025290 misdirected client4104.1:129 0.1 to osd0 not [1,0] in e11/11
      
      on the server and stall make the client block without getting a reply (at
      least until the pg_temp mapping goes way, but that can take a long long
      time).
      
      Reorder calc_pg_raw() a bit to make more sense.
      Signed-off-by: NSage Weil <sage@newdream.net>
      782e182e
  2. 17 9月, 2011 3 次提交
  3. 01 9月, 2011 1 次提交
  4. 23 8月, 2011 1 次提交
  5. 16 8月, 2011 1 次提交
  6. 10 8月, 2011 1 次提交
    • S
      libceph: fix msgpool · 5185352c
      Sage Weil 提交于
      There were several problems here:
      
       1- we weren't tagging allocations with the pool, so they were never
          returned to the pool.
       2- msgpool_put didn't add back to the mempool, even it were called.
       3- msgpool_release didn't clear the pool pointer, so it would have looped
          had #1 not been broken.
      
      These may or may not have been responsible for #1136 or #1381 (BUG due to
      non-empty mempool on umount).  I can't seem to trigger the crash now using
      the method I was using before.
      Signed-off-by: NSage Weil <sage@newdream.net>
      5185352c
  7. 27 7月, 2011 23 次提交
  8. 22 7月, 2011 9 次提交