[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 0/2] block: Write out internal caches even with
From: |
Kevin Wolf |
Subject: |
Re: [Qemu-devel] [PATCH 0/2] block: Write out internal caches even with cache=unsafe |
Date: |
Mon, 24 Oct 2011 09:37:29 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:7.0) Gecko/20110927 Thunderbird/7.0 |
Am 21.10.2011 20:44, schrieb Paolo Bonzini:
> On 10/21/2011 07:08 PM, Kevin Wolf wrote:
>> Avi complained that not even writing out qcow2's cache on bdrv_flush() made
>> cache=unsafe too unsafe to be useful. He's got a point.
>
> Why? cache=unsafe is explicitly allowing to s/data/manure/ on crash.
It's surely expected on a host crash, but is it for a qemu crash?
cache=unsafe was introduced to avoid fsync() costs, which it still does
after this patch.
> If you do this for raw-posix, you need to do it for all protocols.
rbd could use it, too, right. Any other protocol I missed?
Kevin
- [Qemu-devel] [PATCH 0/2] block: Write out internal caches even with cache=unsafe, Kevin Wolf, 2011/10/21
- [Qemu-devel] [PATCH 2/2] block: Handle cache=unsafe only in raw-posix/win32, Kevin Wolf, 2011/10/21
- [Qemu-devel] [PATCH 1/2] raw-posix: Convert to bdrv_co_flush, Kevin Wolf, 2011/10/21
- Re: [Qemu-devel] [PATCH 0/2] block: Write out internal caches even with cache=unsafe, Paolo Bonzini, 2011/10/21
- Re: [Qemu-devel] [PATCH 0/2] block: Write out internal caches even with cache=unsafe,
Kevin Wolf <=
- Re: [Qemu-devel] [PATCH 0/2] block: Write out internal caches even with cache=unsafe, Paolo Bonzini, 2011/10/24
- Re: [Qemu-devel] [PATCH 0/2] block: Write out internal caches even with cache=unsafe, Kevin Wolf, 2011/10/24
- Re: [Qemu-devel] [PATCH 0/2] block: Write out internal caches even with cache=unsafe, Paolo Bonzini, 2011/10/24
- Re: [Qemu-devel] [PATCH 0/2] block: Write out internal caches even with cache=unsafe, Kevin Wolf, 2011/10/24
- Re: [Qemu-devel] [PATCH 0/2] block: Write out internal caches even with cache=unsafe, Paolo Bonzini, 2011/10/24
- Re: [Qemu-devel] [PATCH 0/2] block: Write out internal caches even with cache=unsafe, Kevin Wolf, 2011/10/24
- Re: [Qemu-devel] [PATCH 0/2] block: Write out internal caches even with cache=unsafe, Paolo Bonzini, 2011/10/24
- Re: [Qemu-devel] [PATCH 0/2] block: Write out internal caches even with cache=unsafe, Kevin Wolf, 2011/10/24
- Re: [Qemu-devel] [PATCH 0/2] block: Write out internal caches even with cache=unsafe, Paolo Bonzini, 2011/10/24
- Re: [Qemu-devel] [PATCH 0/2] block: Write out internal caches even with cache=unsafe, Peter Maydell, 2011/10/24