[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [RFC][PATCH 0/2] Allow cache settings for block devices
From: |
Kevin Wolf |
Subject: |
Re: [Qemu-devel] [RFC][PATCH 0/2] Allow cache settings for block devices to be changed at runtime. |
Date: |
Tue, 01 Mar 2011 13:52:52 +0100 |
User-agent: |
Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.15) Gecko/20101027 Fedora/3.0.10-1.fc12 Thunderbird/3.0.10 |
Am 01.03.2011 13:42, schrieb Christoph Hellwig:
>
> The only way to change the cache settings is from the guest. Without
> that we're guranteed to lose data when going from WCE=0 to WCE=1.
>
> I have patches to do that, and to allow changing O_DIRECT via a monitor
> command, but to toggle O_SYNC via fcntl I first need to get a kernel
> patch in as that's currently not allowed to be changed at runtime.
We can re-open the file for now, and we need an implementation for older
kernels/other host OSes anyway, so I don't think we have to wait for the
kernel patch to be accepted.
Kevin
Re: [Qemu-devel] [RFC][PATCH 0/2] Allow cache settings for block devices to be changed at runtime., Anthony Liguori, 2011/03/01