Skip to content

Commit

Permalink
xen/blkback: Print additional information when a vbd is resized.
Browse files Browse the repository at this point in the history
Signed-off-by: K. Y. Srinivasan <ksrinivasan@novell.com>
Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
  • Loading branch information
K. Y. Srinivasan authored and Konrad Rzeszutek Wilk committed Apr 14, 2011
1 parent cbf4629 commit a81135d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions drivers/xen/blkback/vbd.c
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit a81135d

Please sign in to comment.