search for: vbd_create

Displaying 4 results from an estimated 4 matches for "vbd_create".

Did you mean: nbd_create
2011 May 25
2
[PATCH linux-2.6.18-xen] blkback: don''t call vbd_size() if bd_disk is NULL
...hat.com> --- drivers/xen/blkback/vbd.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff -r 415a9b435fef drivers/xen/blkback/vbd.c --- a/drivers/xen/blkback/vbd.c Mon May 23 18:36:33 2011 +0100 +++ b/drivers/xen/blkback/vbd.c Wed May 25 12:15:26 2011 +0200 @@ -73,7 +73,6 @@ int vbd_create(blkif_t *blkif, blkif_vde } vbd->bdev = bdev; - vbd->size = vbd_size(vbd); if (vbd->bdev->bd_disk == NULL) { DPRINTK("vbd_creat: device %08x doesn''t exist.\n", @@ -82,6 +81,8 @@ int vbd_create(blkif_t *blkif, blkif_vde return -ENOENT; } + vbd-&g...
2007 Jun 19
2
[PATCH] Fix change of CDROM for block-configure command
Hi All, We contributed the problem when CD-ROM was changed as follows. There was especially no comment though we confirmed the correction method. Therefore, the patch that corrects these problems is contributed. Signed-off-by: Takanori Kasai <kasai.takanori@jp.fujitsu.com> Best Regards, --- Takanori Kasai ----- Original Message ----- From: "Kasai Takanori"
2011 Jun 21
13
VM disk I/O limit patch
..._sects : get_capacity((_v)->bdev->bd_disk)) +#undef DPRINTK +#define DPRINTK(fmt, args...) \ + printk("blkback/vbd (%s:%d) " fmt ".\n", \ + __FUNCTION__, __LINE__, ##args) + unsigned long long vbd_size(struct vbd *vbd) { return vbd_sz(vbd); @@ -87,7 +92,7 @@ int vbd_create(blkif_t *blkif, blkif_vde if (vbd->bdev->bd_disk->flags & GENHD_FL_REMOVABLE) vbd->type |= VDISK_REMOVABLE; - DPRINTK("Successful creation of handle=%04x (dom=%u)\n", + DPRINTK("Successful creation of handle=%04x (dom=%u)", handle, blkif->domid); r...
2011 Jun 21
13
VM disk I/O limit patch
..._sects : get_capacity((_v)->bdev->bd_disk)) +#undef DPRINTK +#define DPRINTK(fmt, args...) \ + printk("blkback/vbd (%s:%d) " fmt ".\n", \ + __FUNCTION__, __LINE__, ##args) + unsigned long long vbd_size(struct vbd *vbd) { return vbd_sz(vbd); @@ -87,7 +92,7 @@ int vbd_create(blkif_t *blkif, blkif_vde if (vbd->bdev->bd_disk->flags & GENHD_FL_REMOVABLE) vbd->type |= VDISK_REMOVABLE; - DPRINTK("Successful creation of handle=%04x (dom=%u)\n", + DPRINTK("Successful creation of handle=%04x (dom=%u)", handle, blkif->domid); r...