1. 29 9月, 2011 2 次提交
    • S
      libceph: fix pg_temp mapping update · 8adc8b3d
      Sage Weil 提交于
      The incremental map updates have a record for each pg_temp mapping that is
      to be add/updated (len > 0) or removed (len == 0).  The old code was
      written as if the updates were a complete enumeration; that was just wrong.
      Update the code to remove 0-length entries and drop the rbtree traversal.
      
      This avoids misdirected (and hung) requests that manifest as server
      errors like
      
      [WRN] client4104 10.0.1.219:0/275025290 misdirected client4104.1:129 0.1 to osd0 not [1,0] in e11/11
      Signed-off-by: NSage Weil <sage@newdream.net>
      8adc8b3d
    • 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. 28 9月, 2011 4 次提交
  3. 23 9月, 2011 1 次提交
  4. 22 9月, 2011 3 次提交
  5. 21 9月, 2011 1 次提交
  6. 19 9月, 2011 1 次提交
  7. 17 9月, 2011 11 次提交
  8. 16 9月, 2011 6 次提交
  9. 15 9月, 2011 1 次提交
  10. 14 9月, 2011 1 次提交
  11. 06 9月, 2011 1 次提交
  12. 01 9月, 2011 1 次提交
  13. 31 8月, 2011 2 次提交
  14. 30 8月, 2011 4 次提交
  15. 27 8月, 2011 1 次提交