[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
Re: [Qemu-devel] [RFC][PATCH 0/2] Allow cache settings for block devices to be changed at runtime.
Wed, 02 Mar 2011 08:57:26 +0100
Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:184.108.40.206) Gecko/20101027 Fedora/3.0.10-1.fc12 Thunderbird/3.0.10
Am 01.03.2011 20:13, schrieb Anthony Liguori:
> On 03/01/2011 07:50 AM, Christoph Hellwig wrote:
>> On Tue, Mar 01, 2011 at 12:48:34PM +0000, Stefan Hajnoczi wrote:
>>> On Tue, Mar 01, 2011 at 01:42:54PM +0100, Christoph Hellwig wrote:
>>>> 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.
>>> Great it sounds like you have already implemented the two cases (guest wce
>>> host O_DIRECT) that we're talking about.
>> At least in theory. And for Linux I can add setting/clearing of O_SYNC
>> via fcntl easily, but what do we do for other hosts?
> To start with, we can just fail the command at the QMP level.
O_SYNC isn't toggled from QMP but from the guest.
Re: [Qemu-devel] [RFC][PATCH 0/2] Allow cache settings for block devices to be changed at runtime., Anthony Liguori, 2011/03/01