Changeset 1249


Ignore:
Timestamp:
Mar 20, 2007, 12:47:06 AM (12 years ago)
Author:
bruno
Message:

Fix a bug where raid5 arrays synchronizing where not taken correctly in account and were leading to an error and a log file saturation (Rémi BONDOIN <rbondoin_at_free.fr>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/stable/mondo/src/common/libmondo-raid.c

    r1180 r1249  
    11521152    }
    11531153    break;
    1154       default: // error
    1155     mr_msg(1, "Row %d should not occur in record!\n", row);
     1154      default: // error or IN PROGRESS
     1155    if (raidlist->el[raidlist->entries].progress != -1 &&
     1156        raidlist->el[raidlist->entries].progress != 999) {
     1157        mr_msg(1, "Row %d should not occur in record!\n", row);
     1158    }
    11561159    break;
    11571160      }
Note: See TracChangeset for help on using the changeset viewer.