[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] Re: [PATCH] Add cache=volatile parameter to -drive
From: |
Kevin Wolf |
Subject: |
[Qemu-devel] Re: [PATCH] Add cache=volatile parameter to -drive |
Date: |
Mon, 17 May 2010 12:42:50 +0200 |
User-agent: |
Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.9) Gecko/20100330 Fedora/3.0.4-1.fc12 Thunderbird/3.0.4 |
Am 17.05.2010 12:14, schrieb Alexander Graf:
> Usually the guest can tell the host to flush data to disk. In some cases we
> don't want to flush though, but try to keep everything in cache.
>
> So let's add a new cache value to -drive that allows us to set the cache
> policy to most aggressive, disabling flushes. We call this mode "volatile",
> as guest data is not guaranteed to survive host crashes anymore.
>
> This patch also adds a noop function for aio, so we can do nothing in AIO
> fashion.
>
> Signed-off-by: Alexander Graf <address@hidden>
Thanks, looks good to me now. Applied it to the block branch, but
depending on Anthony's opinion I might drop it again.
Kevin
- [Qemu-devel] [PATCH] Add cache=volatile parameter to -drive, Alexander Graf, 2010/05/17
- [Qemu-devel] Re: [PATCH] Add cache=volatile parameter to -drive,
Kevin Wolf <=
- [Qemu-devel] Re: [PATCH] Add cache=volatile parameter to -drive, Anthony Liguori, 2010/05/17
- [Qemu-devel] Re: [PATCH] Add cache=volatile parameter to -drive, Alexander Graf, 2010/05/17
- [Qemu-devel] Re: [PATCH] Add cache=volatile parameter to -drive, Anthony Liguori, 2010/05/17
- [Qemu-devel] Re: [PATCH] Add cache=volatile parameter to -drive, Alexander Graf, 2010/05/17
- [Qemu-devel] Re: [PATCH] Add cache=volatile parameter to -drive, Anthony Liguori, 2010/05/17
- [Qemu-devel] Re: [PATCH] Add cache=volatile parameter to -drive, Alexander Graf, 2010/05/17
- Re: [Qemu-devel] Re: [PATCH] Add cache=volatile parameter to -drive, Alexander Graf, 2010/05/17
- [Qemu-devel] Re: [PATCH] Add cache=volatile parameter to -drive, Anthony Liguori, 2010/05/17
- Re: [Qemu-devel] Re: [PATCH] Add cache=volatile parameter to -drive, Paul Brook, 2010/05/17
- Re: [Qemu-devel] Re: [PATCH] Add cache=volatile parameter to -drive, Anthony Liguori, 2010/05/17