Skip to content
Snippets Groups Projects
  1. Nov 12, 2009
  2. Nov 11, 2009
  3. Nov 10, 2009
  4. Nov 06, 2009
  5. Nov 05, 2009
  6. Nov 04, 2009
  7. Nov 03, 2009
    • Iustin Pop's avatar
      Workaround fake failures in drbd+live migration · db8667b7
      Iustin Pop authored
      
      This patch is an attempt to fix the ugly issue during migration:
        Cannot resync disks on node …: [True, 100]
      
      If my understanding is correct, sometimes we poll the /proc/drbd file at
      an inoportune moment, while it's being updated, or while the DRBD device
      is changing state, and we see an unexpected state.
      
      Based on the assumption that this is just a transient state, rather than
      aborting directly, we change the backend.DrbdWaitSync() function to
      retry a few times the operation, giving DRBD a chance to settle down at
      the end of the resync.
      
      Signed-off-by: default avatarIustin Pop <iustin@google.com>
      Reviewed-by: default avatarGuido Trotter <ultrotter@google.com>
      db8667b7
Loading