diff options
author | K. Y. Srinivasan <ksrinivasan@novell.com> | 2010-08-16 13:43:06 -0700 |
---|---|---|
committer | Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> | 2011-04-14 18:26:14 -0400 |
commit | a81135d90bf176e6139c352c7b96c03d00131836 (patch) | |
tree | 6807e60531355f67d5e215227391457bd6d6cfc3 | |
parent | cbf462908c8080f47c2a3300072877589dd1275f (diff) | |
download | op-kernel-dev-a81135d90bf176e6139c352c7b96c03d00131836.zip op-kernel-dev-a81135d90bf176e6139c352c7b96c03d00131836.tar.gz |
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.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/xen/blkback/vbd.c b/drivers/xen/blkback/vbd.c index 943ec23..dc25723 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: |