diff options
-rw-r--r-- | ChangeLog | 2 | ||||
-rw-r--r-- | Monitor.c | 3 |
2 files changed, 5 insertions, 0 deletions
@@ -10,6 +10,8 @@ Changes Prior to this release - Allow scanning of devices listed in /proc/partitions even if they don't appear in /dev. - Support --assume-clean in --create mode as well as --build + - --monitor now reports which device failed in a 'Fail' message + This broke with 2.6 Changes Prior to 2.1 release - Fix assembling of raid10 array when devices are missing. @@ -313,6 +313,9 @@ int Monitor(mddev_dev_t devlist, case 'U': newstate = 6 /* ACTIVE/SYNC */; break; case '_': newstate = 0; break; } + if (dv == NULL && st->devid[i]) + dv = map_dev(major(st->devid[i]), + minor(st->devid[i])); change = newstate ^ st->devstate[i]; if (st->utime && change && !st->err) { if (i < (unsigned)array.raid_disks && |