Commit a81135d9 authored by K. Y. Srinivasan's avatar K. Y. Srinivasan Committed by Konrad Rzeszutek Wilk

xen/blkback: Print additional information when a vbd is resized.

Signed-off-by: default avatarK. Y. Srinivasan <ksrinivasan@novell.com>
Signed-off-by: default avatarJeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
parent cbf46290
...@@ -126,6 +126,8 @@ void vbd_resize(blkif_t *blkif) ...@@ -126,6 +126,8 @@ void vbd_resize(blkif_t *blkif)
struct xenbus_device *dev = blkback_xenbus(blkif->be); struct xenbus_device *dev = blkback_xenbus(blkif->be);
unsigned long long new_size = vbd_size(vbd); 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); printk(KERN_INFO "VBD Resize: new size %Lu\n", new_size);
vbd->size = new_size; vbd->size = new_size;
again: again:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment