diff options
author | mwilck@arcor.de <mwilck@arcor.de> | 2013-07-08 23:50:44 +0200 |
---|---|---|
committer | NeilBrown <neilb@suse.de> | 2013-07-10 02:42:01 +0200 |
commit | 4f9bbe63c1eb90763376e8556a9ef13f0d117ccd (patch) | |
tree | 3ccc6152c41e2a679fb67fcd9aedd9c5b33d5e00 /super-ddf.c | |
parent | DDF: fix endianness of refnum in debug messages (diff) | |
download | mdadm-4f9bbe63c1eb90763376e8556a9ef13f0d117ccd.tar.xz mdadm-4f9bbe63c1eb90763376e8556a9ef13f0d117ccd.zip |
DDF: add debug message in add_super_ddf_bvd
Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to '')
-rw-r--r-- | super-ddf.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/super-ddf.c b/super-ddf.c index c96fac56..1b9944f7 100644 --- a/super-ddf.c +++ b/super-ddf.c @@ -2551,6 +2551,10 @@ static void add_to_super_ddf_bvd(struct supertype *st, | get_svd_state(ddf, ddf->currentconf); ddf->phys->entries[dl->pdnum].type &= ~__cpu_to_be16(DDF_Global_Spare); ddf->phys->entries[dl->pdnum].type |= __cpu_to_be16(DDF_Active_in_VD); + dprintf("%s: added disk %d/%08x to VD %d/%s as disk %d\n", + __func__, dl->pdnum, __be32_to_cpu(dl->disk.refnum), + ddf->currentconf->vcnum, guid_str(vc->guid), + dk->raid_disk); ddf_set_updates_pending(ddf); } |