diff options
author | NeilBrown <neilb@suse.de> | 2014-05-21 04:43:40 +0200 |
---|---|---|
committer | NeilBrown <neilb@suse.de> | 2014-05-21 04:43:40 +0200 |
commit | 31bc5466f5b87a99aa4596f14ed81d7a9ab5b429 (patch) | |
tree | 7676e5d2c19e58ec96c00c83b866ae5f65e5ea21 /super-ddf.c | |
parent | DDF: split up ddf_process_update (diff) | |
download | mdadm-31bc5466f5b87a99aa4596f14ed81d7a9ab5b429.tar.xz mdadm-31bc5466f5b87a99aa4596f14ed81d7a9ab5b429.zip |
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>
Diffstat (limited to 'super-ddf.c')
-rw-r--r-- | super-ddf.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/super-ddf.c b/super-ddf.c index e866046d..943b51aa 100644 --- a/super-ddf.c +++ b/super-ddf.c @@ -1461,6 +1461,7 @@ static void examine_vd(int n, struct ddf_super *sb, char *guid) printf("%d", j); else printf("--"); + printf("@%lluK", (unsigned long long) be64_to_cpu(LBA_OFFSET(sb, vc)[i])/2); } printf(")\n"); if (vc->chunk_shift != 255) |