DDF: add data-offset information to --examine output.
Raid Devices[1] : 5 (4@20000K 3@20000K 2@0K 1@0K 0@0K) The data offsets are 200000K and 0K. Signed-off-by: NeilBrown <neilb@suse.de>
This commit is contained in:
parent
fea6a6c0bf
commit
31bc5466f5
|
@ -1461,6 +1461,7 @@ static void examine_vd(int n, struct ddf_super *sb, char *guid)
|
||||||
printf("%d", j);
|
printf("%d", j);
|
||||||
else
|
else
|
||||||
printf("--");
|
printf("--");
|
||||||
|
printf("@%lluK", (unsigned long long) be64_to_cpu(LBA_OFFSET(sb, vc)[i])/2);
|
||||||
}
|
}
|
||||||
printf(")\n");
|
printf(")\n");
|
||||||
if (vc->chunk_shift != 255)
|
if (vc->chunk_shift != 255)
|
||||||
|
|
Loading…
Reference in New Issue