search for: blkif_disconnect

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

2011 Apr 04
0
[PATCH] linux-2.6.18/backends: use xenbus_be.ko interfaces instead of open-coding them
...@@ -93,9 +88,6 @@ typedef struct blkif_st { int st_wr_sect; wait_queue_head_t waiting_to_free; - - grant_handle_t shmem_handle; - grant_ref_t shmem_ref; } blkif_t; struct backend_info @@ -111,7 +103,7 @@ struct backend_info blkif_t *blkif_alloc(domid_t domid); void blkif_disconnect(blkif_t *blkif); void blkif_free(blkif_t *blkif); -int blkif_map(blkif_t *blkif, unsigned long shared_page, unsigned int evtchn); +int blkif_map(blkif_t *blkif, grant_ref_t, evtchn_port_t); void vbd_resize(blkif_t *blkif); #define blkif_get(_b) (atomic_inc(&(_b)->refcnt)) --- a/drivers/...
2011 Jun 21
13
VM disk I/O limit patch
...("Not ready to connect"); return; + } /* Already connected? */ if (blkif->be->dev->state == XenbusStateConnected) @@ -193,6 +196,8 @@ static int blkback_remove(struct xenbus_ be->cdrom_watch.node = NULL; } + unregister_rate_watch(be); + if (be->blkif) { blkif_disconnect(be->blkif); vbd_free(&be->blkif->vbd); @@ -251,6 +256,10 @@ static int blkback_probe(struct xenbus_d err = xenbus_watch_path2(dev, dev->nodename, "physical-device", &be->backend_watch, backend_changed); + + DPRINTK("blkback_probe called"); + D...
2011 Jun 21
13
VM disk I/O limit patch
...("Not ready to connect"); return; + } /* Already connected? */ if (blkif->be->dev->state == XenbusStateConnected) @@ -193,6 +196,8 @@ static int blkback_remove(struct xenbus_ be->cdrom_watch.node = NULL; } + unregister_rate_watch(be); + if (be->blkif) { blkif_disconnect(be->blkif); vbd_free(&be->blkif->vbd); @@ -251,6 +256,10 @@ static int blkback_probe(struct xenbus_d err = xenbus_watch_path2(dev, dev->nodename, "physical-device", &be->backend_watch, backend_changed); + + DPRINTK("blkback_probe called"); + D...
2011 Nov 17
29
[PATCH 00 of 17] Documentation updates
The following series flushes my documentation queue and replaces previous postings of those patches. The main difference is that the xl cfg file is now formatted using POD instead of markdown and presented as a manpage. I have setup a cron job to build docs/html and publish it at http://xenbits.xen.org/docs/unstable/ (it''s a bit bare right now). The motivation for some of these patches