[PATCH 35/39] DDF: add debug message in add_super_ddf_bvd

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



---
 super-ddf.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/super-ddf.c b/super-ddf.c
index c96fac5..1b9944f 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);
 }
 
-- 
1.7.1
--
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux RAID Wiki]     [ATA RAID]     [Linux SCSI Target Infrastructure]     [Linux Block]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device Mapper]     [Device Mapper Cryptographics]     [Kernel]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Yosemite Forum]


  Powered by Linux