search for: rate_watch

Displaying 2 results from an estimated 2 matches for "rate_watch".

2011 Jun 21
13
VM disk I/O limit patch
...ime; + int reqcount; + int reqmin; + int reqrate; + } blkif_t; +#define VBD_QOS_MIN_RATE_LIMIT 2*1024 /* 1MBs */ + struct backend_info { struct xenbus_device *dev; @@ -111,6 +120,8 @@ struct backend_info unsigned major; unsigned minor; char *mode; + struct xenbus_watch rate_watch; + int have_rate_watch; }; blkif_t *blkif_alloc(domid_t domid); diff -urNp blkback/vbd.c blkback-qos/vbd.c --- blkback/vbd.c 2010-05-20 18:07:00.000000000 +0800 +++ blkback-qos/vbd.c 2011-06-22 07:34:50.000000000 +0800 @@ -35,6 +35,11 @@ #define vbd_sz(_v) ((_v)->bdev->bd_part ? \...
2011 Jun 21
13
VM disk I/O limit patch
...ime; + int reqcount; + int reqmin; + int reqrate; + } blkif_t; +#define VBD_QOS_MIN_RATE_LIMIT 2*1024 /* 1MBs */ + struct backend_info { struct xenbus_device *dev; @@ -111,6 +120,8 @@ struct backend_info unsigned major; unsigned minor; char *mode; + struct xenbus_watch rate_watch; + int have_rate_watch; }; blkif_t *blkif_alloc(domid_t domid); diff -urNp blkback/vbd.c blkback-qos/vbd.c --- blkback/vbd.c 2010-05-20 18:07:00.000000000 +0800 +++ blkback-qos/vbd.c 2011-06-22 07:34:50.000000000 +0800 @@ -35,6 +35,11 @@ #define vbd_sz(_v) ((_v)->bdev->bd_part ? \...