xen/blkback: Print additional information when a vbd is resized.
authorK. Y. Srinivasan <ksrinivasan@novell.com>
Mon, 16 Aug 2010 20:43:06 +0000 (13:43 -0700)
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Thu, 14 Apr 2011 22:26:14 +0000 (18:26 -0400)
Signed-off-by: K. Y. Srinivasan <ksrinivasan@novell.com>
Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
drivers/xen/blkback/vbd.c

index 943ec231352277884675600b6186569bf7dfacb0..dc25723385670a0bbeb410262752600bce0f7dee 100644 (file)
@@ -126,6 +126,8 @@ void vbd_resize(blkif_t *blkif)
        struct xenbus_device *dev = blkback_xenbus(blkif->be);
        unsigned long long new_size = vbd_size(vbd);
 
+       printk(KERN_INFO "VBD Resize: Domid: %d, Device: (%d, %d)\n",
+               blkif->domid, MAJOR(vbd->pdevice), MINOR(vbd->pdevice));
        printk(KERN_INFO "VBD Resize: new size %Lu\n", new_size);
        vbd->size = new_size;
 again: