]> git.ipfire.org Git - thirdparty/mdadm.git/commit
Assemble: improve verbose logging when including old devices.
authorNeilBrown <neilb@suse.de>
Thu, 22 Mar 2012 03:52:21 +0000 (14:52 +1100)
committerNeilBrown <neilb@suse.de>
Thu, 22 Mar 2012 03:52:21 +0000 (14:52 +1100)
commite62b778573d4df5e729cf3941fe17eff1fe4e758
tree25b34405f714e07e69a8f8b8603ba6158a672fc1
parentd4633e06dfc01723911627fcb104af2ffb6f6a95
Assemble: improve verbose logging when including old devices.

Reporting:

mdadm: added /dev/loop1 to /dev/md0 as 1
mdadm: added /dev/loop2 to /dev/md0 as 2
mdadm: added /dev/loop0 to /dev/md0 as 0
mdadm: /dev/md0 has been started with 2 drives (out of 3).

is confusing - why only 2?  Code now reports:

mdadm: added /dev/loop1 to /dev/md0 as 1
mdadm: added /dev/loop2 to /dev/md0 as 2 (possibly out of date)
mdadm: added /dev/loop0 to /dev/md0 as 0
mdadm: /dev/md0 has been started with 2 drives (out of 3).

which is somewhat clearer.

Signed-off-by: NeilBrown <neilb@suse.de>
Assemble.c