aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorK. Y. Srinivasan2010-08-16 13:43:06 -0700
committerKonrad Rzeszutek Wilk2011-04-14 18:26:14 -0400
commita81135d90bf176e6139c352c7b96c03d00131836 (patch)
tree6807e60531355f67d5e215227391457bd6d6cfc3
parentcbf462908c8080f47c2a3300072877589dd1275f (diff)
xen/blkback: Print additional information when a vbd is resized.
Signed-off-by: K. Y. Srinivasan <ksrinivasan@novell.com> Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
-rw-r--r--drivers/xen/blkback/vbd.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/xen/blkback/vbd.c b/drivers/xen/blkback/vbd.c
index 943ec2313522..dc2572338567 100644
--- a/drivers/xen/blkback/vbd.c
+++ b/drivers/xen/blkback/vbd.c
@@ -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: