From: mwilck@arcor.de Date: Mon, 8 Jul 2013 21:50:44 +0000 (+0200) Subject: DDF: add debug message in add_super_ddf_bvd X-Git-Tag: mdadm-3.3-rc2~33 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4f9bbe63c1eb90763376e8556a9ef13f0d117ccd;p=thirdparty%2Fmdadm.git DDF: add debug message in add_super_ddf_bvd Signed-off-by: NeilBrown --- 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); }