Changeset 704 in MondoRescue


Ignore:
Timestamp:
Jul 22, 2006, 4:19:47 AM (18 years ago)
Author:
andree
Message:

Check whether RAID sync is delayed for partition _before_ opening sync
pop-up to avoid screen corruption in mondorestore's newt mode.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/stable/mondo/mondo/mondorestore/mondo-rstr-tools.c

    r691 r704  
    26042604            if (raidlist->el[i].progress < wait_for_percentage) {
    26052605                unfinished_mdstat_devices++;
     2606                if (raidlist->el[i].progress == -1) // delayed while another partition inits
     2607                {
     2608                    continue;
     2609                }
    26062610                log_msg(1,"Sync'ing %s (i=%d)", raidlist->el[i].raid_device, i);
    26072611                sprintf(screen_message, "Sync'ing %s",
    26082612                        raidlist->el[i].raid_device);
    26092613                open_evalcall_form(screen_message);
    2610                 if (raidlist->el[i].progress == -1) // delayed while another partition inits
    2611                 {
    2612                     continue;
    2613                 }
    26142614                while (raidlist->el[i].progress < wait_for_percentage) {
    26152615                    log_msg(1,"Percentage sync'ed: %d", raidlist->el[i].progress);
Note: See TracChangeset for help on using the changeset viewer.