[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] Re: [PATCH][v2] Align file accesses with cache=off (O_D
From: |
Laurent Vivier |
Subject: |
Re: [Qemu-devel] Re: [PATCH][v2] Align file accesses with cache=off (O_DIRECT) |
Date: |
Wed, 21 May 2008 00:59:54 +0200 |
Le mardi 20 mai 2008 à 23:52 +0100, Paul Brook a écrit :
> > When sector-aligned guest offsets are converted to sector-unaligned
> > writes (e.g. due to qcow2 etc.), that property is no longer satisfied,
> > and power failure of the host disk can cause more damage than the
> > guest is designed to be resistant to.
>
> Seems like the easiest solution would be to have qcow always align its writes.
> We don't do on the fly compression, so it should be fairly easy to make this
> happen with minimal overhead.
I did the patch you describe and post it to the mailing list on Tue, 22
Jan 2008 11:17:09 +0100, it was called
"[PATCH] snapshot=on and cache=off compatibility"
but was never commented.
Regards,
Laurent
--
------------- address@hidden ---------------
"The best way to predict the future is to invent it."
- Alan Kay
- [Qemu-devel] [PATCH][v2] Align file accesses with cache=off (O_DIRECT), Laurent Vivier, 2008/05/20
- [Qemu-devel] Re: [PATCH][v2] Align file accesses with cache=off (O_DIRECT), Anthony Liguori, 2008/05/20
- Re: [Qemu-devel] Re: [PATCH][v2] Align file accesses with cache=off (O_DIRECT), Anthony Liguori, 2008/05/20
- Re: [Qemu-devel] Re: [PATCH][v2] Align file accesses with cache=off (O_DIRECT), Jamie Lokier, 2008/05/20
- Re: [Qemu-devel] Re: [PATCH][v2] Align file accesses with cache=off (O_DIRECT), Anthony Liguori, 2008/05/20
- Re: [Qemu-devel] Re: [PATCH][v2] Align file accesses with cache=off (O_DIRECT), Kevin Wolf, 2008/05/21
- Re: [Qemu-devel] Re: [PATCH][v2] Align file accesses with cache=off (O_DIRECT), Paul Brook, 2008/05/20
- Re: [Qemu-devel] Re: [PATCH][v2] Align file accesses with cache=off (O_DIRECT), Anthony Liguori, 2008/05/20
- Re: [Qemu-devel] Re: [PATCH][v2] Align file accesses with cache=off (O_DIRECT), Kevin Wolf, 2008/05/21
- Re: [Qemu-devel] Re: [PATCH][v2] Align file accesses with cache=off (O_DIRECT), Jamie Lokier, 2008/05/21