Displaying 2 results from an estimated 2 matches for "bdrv_o_native_aio".
2013 Apr 05
0
[PATCHv2 1/2] Xen PV backend (for qemu-upstream-4.2-testing): Move call to bdrv_new from blk_init to blk_connect
...ruct XenBlkDev, xendev);
- int index, qflags, info = 0;
+ int info = 0;
/* read xenstore entries */
if (blkdev->params == NULL) {
@@ -603,18 +603,49 @@ static int blk_init(struct XenDevice *xendev)
}
/* read-only ? */
- qflags = BDRV_O_NOCACHE | BDRV_O_CACHE_WB | BDRV_O_NATIVE_AIO;
- if (strcmp(blkdev->mode, "w") == 0) {
- qflags |= BDRV_O_RDWR;
- } else {
+ if (strcmp(blkdev->mode, "w")) {
info |= VDISK_READONLY;
}
-
+
/* cdrom ? */
if (blkdev->devtype && !strcmp(blkdev->devtype, "cdro...
2010 Dec 10
4
qemu VS tapdisk2 VS blkback benchmarks
...o use the new qemu with
linux aio and O_DIRECT as disk backend:
- apply the libxl patches that Anthony sent to the list a little while ago;
- compile qemu with linux aio support, you might need few hacks to work
around limitations of the glic/libaio installed in your system;
- add BDRV_O_NOCACHE|BDRV_O_NATIVE_AIO to the flags used by qemu to open
the disks;
- some gntdev fixes to allow aio and O_DIRECT on granted pages, not yet
sent to the list (but soon).
TEST HARDWARE
-------------
I am using a not so new testbox with a 64bit 2.6.37 dom0 with 752MB of ram.
The guest is a 64 bit PV Lenny guest with a...