[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v2] sheepdog: implement direct write semantics
From: |
Kevin Wolf |
Subject: |
Re: [Qemu-devel] [PATCH v2] sheepdog: implement direct write semantics |
Date: |
Fri, 11 Jan 2013 10:23:43 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:13.0) Gecko/20120605 Thunderbird/13.0 |
Am 11.01.2013 08:35, schrieb MORITA Kazutaka:
> At Thu, 10 Jan 2013 16:03:47 +0800,
> Liu Yuan wrote:
>>
>> From: Liu Yuan <address@hidden>
>>
>> Sheepdog supports both writeback/writethrough write but has not yet supported
>> DIRECTIO semantics which bypass the cache completely even if Sheepdog daemon
>> is
>> set up with cache enabled.
>>
>> Suppose cache is enabled on Sheepdog daemon size, the new cache control is
>>
>> cache=writeback # enable the writeback semantics for write
>> cache=writethrough # enable the emulated writethrough semantics for write
>> cache=directsync # disable cache competely
>>
>> Guest WCE toggling on the run time to toggle writeback/writethrough is also
>> supported.
>>
>> Cc: MORITA Kazutaka <address@hidden>
>> Cc: Kevin Wolf <address@hidden>
>> Cc: Stefan Hajnoczi <address@hidden>
>> Signed-off-by: Liu Yuan <address@hidden>
>> ---
>> v2: adopt to current emulated writethrough cache setting
>>
>> block/sheepdog.c | 70
>> +++++++++++++++++++++++++++++++-----------------------
>> 1 file changed, 40 insertions(+), 30 deletions(-)
>
> Reviewed-by: MORITA Kazutaka <address@hidden>
Thanks, applied to the block branch.
Kevin