Displaying 3 results from an estimated 3 matches for "blkif_xenbus_init".
2005 Nov 07
1
[PATCH] fast_flush_area in blkback.c still broken after 55194bd55b86
I think you need this patch otherwise you will be passing uninitialised
data from the stack to GNTTABOP_unmap_grant_ref in fast_flush_area.
Also, I think the memset of the pending_grant_handles array should
happen before you start using them so I moved it to before
blkif_xenbus_init. I''m not sure if this is necessary or it might
possibly have to go even earlier.
Signed off by Harry Butterworth butterwo@uk.ibm.com.
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
2011 Jun 21
13
VM disk I/O limit patch
...o_timeval(jiffies, &cur_time);
+ if ((log_stats == 2) && (cur_time.tv_sec % 10 ==1 ))
+ printk(KERN_DEBUG " operation=%s sects=%d\n",
+ operation2str(req->operation),preq.nr_sects);
+
return 0;
fail_flush:
@@ -695,6 +773,8 @@ static int __init blkif_init(void)
blkif_xenbus_init();
+ DPRINTK("blkif_inited\n");
+
return 0;
out_of_memory:
diff -urNp blkback/cdrom.c blkback-qos/cdrom.c
--- blkback/cdrom.c 2010-05-20 18:07:00.000000000 +0800
+++ blkback-qos/cdrom.c 2011-06-22 07:34:50.000000000 +0800
@@ -35,9 +35,9 @@
#include "common.h"
#undef...
2011 Jun 21
13
VM disk I/O limit patch
...o_timeval(jiffies, &cur_time);
+ if ((log_stats == 2) && (cur_time.tv_sec % 10 ==1 ))
+ printk(KERN_DEBUG " operation=%s sects=%d\n",
+ operation2str(req->operation),preq.nr_sects);
+
return 0;
fail_flush:
@@ -695,6 +773,8 @@ static int __init blkif_init(void)
blkif_xenbus_init();
+ DPRINTK("blkif_inited\n");
+
return 0;
out_of_memory:
diff -urNp blkback/cdrom.c blkback-qos/cdrom.c
--- blkback/cdrom.c 2010-05-20 18:07:00.000000000 +0800
+++ blkback-qos/cdrom.c 2011-06-22 07:34:50.000000000 +0800
@@ -35,9 +35,9 @@
#include "common.h"
#undef...