Changeset 1250


Ignore:
Timestamp:
Mar 20, 2007, 12:48:45 AM (13 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/2.2.2/mondo/src/common/libmondo-raid.c

    r831 r1250  
    12351235    }
    12361236    break;
    1237       default: // error
    1238     log_msg(1, "Row %d should not occur in record!\n", row);
     1237      default: // error or IN PROGRESS
     1238    if (raidlist->el[raidlist->entries].progress != -1 &&
     1239        raidlist->el[raidlist->entries].progress != 999) {
     1240        mr_msg(1, "Row %d should not occur in record!\n", row);
     1241    }
    12391242    break;
    12401243      }
Note: See TracChangeset for help on using the changeset viewer.