]> git.ipfire.org Git - thirdparty/mdadm.git/commit - util.c
Improve reporting of layout for raid10.
authorNeilBrown <neilb@suse.de>
Mon, 13 Oct 2008 05:15:18 +0000 (16:15 +1100)
committerNeilBrown <neilb@suse.de>
Mon, 13 Oct 2008 05:15:18 +0000 (16:15 +1100)
commite4965ef8461b3d0db6e94939f07d814d819f86c2
tree61e614fb47f97eb10e6628fa531a0065b4ddf0c4
parent2a528478c75b6659188fc2ce0d9543124992fe6c
Improve reporting of layout for raid10.

Showing e.g.

   near=1, far=2

for the 'far2' layout of raid10 is confusing even though there is a
sense in which is it correct.

Make it less confusing by only printing whichever number is not 1.
If both are 1, make that clear too (i.e. no redundancy).
Detail.c
mdadm.h
super0.c
super1.c
util.c