1. 08 Mar, 2010 2 commits
  2. 02 Mar, 2010 1 commit
  3. 26 Feb, 2010 8 commits
  4. 25 Feb, 2010 1 commit
  5. 22 Feb, 2010 13 commits
  6. 19 Feb, 2010 1 commit
  7. 18 Feb, 2010 4 commits
  8. 17 Feb, 2010 3 commits
  9. 15 Feb, 2010 3 commits
    • Iustin Pop's avatar
      Release all node locks during disk replace · d5cd389c
      Iustin Pop authored
      This patch extends commit 7ea7bcf6
      
       by releasing all node locks in disk
      replace for the early release mode. The rationale behind this is:
      
      - LUCreateInstance already releases all node locks while waiting for
        disk synchronization, and does an instance startup later
      - WaitForSync only runs (for disk template 'drbd') 'lvs' and read
        /proc/drbd on the primary node, which should be (modulo bugs in LVM)
        safe for parallel run
      
      In any case, the worst I could foresee is a node having N lvs commands
      run in parallel on it, while being a primary for disk storage. Based on
      create instance doing this safely, and the fact that burnin with more
      than two instances per node is safe, I think this can be applied.
      Signed-off-by: default avatarIustin Pop <iustin@google.com>
      Reviewed-by: default avatarMichael Hanselmann <hansmi@google.com>
      d5cd389c
    • Iustin Pop's avatar
      Unify a few re.compile calls in DRBD · 9122e60a
      Iustin Pop authored
      
      
      These are both cleanups and, in the case of _MassageProcData, switching
      from a weaker RE to a stronger one (we now need cs: in the line,
      previosuly any line starting with \d+: was accepted).
      Signed-off-by: default avatarIustin Pop <iustin@google.com>
      Reviewed-by: default avatarMichael Hanselmann <hansmi@google.com>
      9122e60a
    • Iustin Pop's avatar
      Auto-enable early release for offline old nodes · 9af0fa6a
      Iustin Pop authored
      
      
      In case the old node is offline, we won't be able to talk to it to
      remove the storage, and in most cases the node is powered
      off/unreachable.
      
      In this case, it makes no sense to delay the storage release, so we
      enable automatically early_release mode, gaining parallelism during node
      evacuation.
      Signed-off-by: default avatarIustin Pop <iustin@google.com>
      Reviewed-by: default avatarMichael Hanselmann <hansmi@google.com>
      9af0fa6a
  10. 11 Feb, 2010 4 commits