Uploaded image for project: 'Lustre'
  1. Lustre
  2. LU-10911 FLR2: Read only erasure coding
  3. LU-21014

FLR-EC: Fix overstriping bug in EC allocations

XMLWordPrintable

    • Icon: Technical task Technical task
    • Resolution: Unresolved
    • Icon: Medium Medium
    • None
    • None
    • None
    • 3
    • 9223372036854775807

      With overstriping, lod_check_and_reserve_ost() lets the RR loop reuse
      an OST while lag_ost_avail says unique OSTs remain. That count includes
      OSTs RR skips, such as inactive or degraded ones, so an EC data
      component can reuse an OST before lod_ec_add_data() takes over, which
      repeats the placed stripes assuming they are unique and so puts two
      stripes of a raid set on one OST, e.g. -C 13 --ec 5+2 on 8 OSTs with
      one down.

      Leave all OST reuse for EC components to lod_ec_add_data() and
      lod_ec_add_parities(), which keep each raid set on distinct OSTs.

            rsahlberg@whamcloud.com Ronnie Sahlberg
            rsahlberg@whamcloud.com Ronnie Sahlberg
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: