I have made a simple change to QemuServer.pm to allow the "cache=unsafe" option to be used on virtio disks...
Now while i realise the risks of using this option and would not advocate it as a default or even to be encouraged, it can provide improved performance in some cases. In particular, i configure all of my images with separate disk images for swap and use the cache=unsafe option there on the basis that the swap will be toast if the power goes out anyway.
Would it be possible to roll this into the main distribution, rather than having to patch it myself every time?
Now while i realise the risks of using this option and would not advocate it as a default or even to be encouraged, it can provide improved performance in some cases. In particular, i configure all of my images with separate disk images for swap and use the cache=unsafe option there on the basis that the swap will be toast if the power goes out anyway.
Would it be possible to roll this into the main distribution, rather than having to patch it myself every time?