search for: ide_write_dma_cb

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

2008 Feb 26
2
[PATCH]: Make Xen 3.1 IDE flush on O_DIRECT with drive caching off
...basically do an fsync() after every data write if the user in the guest specified that IDE write caching should be disabled. This works fine, except in the case where you are doing O_DIRECT writes inside the guest (ala dd if=/dev/zero of=/dev/hdb oflag=direct). This is because you can get out of ide_write_dma_cb() in the middle of the loop without going through the logic to sync. This simple patch makes sure that you always check (and sync) inside the write callback. This patch applies to xen-3.1-testing.hg; I still have to test 3.2 (and the new AIO code) to see if it is affected by this bug. Signed-off...
2008 Feb 25
2
qemu write cacheing and DMA IDE writes
I''ve been doing some merge work between tools/ioemu and qemu upstream. I came across this commit: changeset: 11209:9bb6c1c1890a07885265bbc59f4dbb660312974e date: Sun Aug 20 23:59:34 2006 +0100 files: [...] description: [qemu] hdparm tunable IDE write cache for HVM qemu 0.8.2 has a flush callback to the storage backends, so now it is possible to implement