[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 1/2] virtio-blk: support VIRTIO_BLK_F_CONFIG_WCE
From: |
Paolo Bonzini |
Subject: |
Re: [Qemu-devel] [PATCH 1/2] virtio-blk: support VIRTIO_BLK_F_CONFIG_WCE |
Date: |
Tue, 03 Jul 2012 15:54:04 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:13.0) Gecko/20120605 Thunderbird/13.0 |
Il 03/07/2012 15:46, Kevin Wolf ha scritto:
>> > Introduce a new feature bit and configuration field that provide
>> > support for toggling the cache mode between writethrough and writeback.
>> >
>> > Also rename VIRTIO_BLK_F_WCACHE to VIRTIO_BLK_F_WCE for consistency with
>> > the spec.
> My spec (and my kernel as well) call it VIRTIO_BLK_F_FLUSH.
>
> What's the status of the kernel and spec side of the change?
Both posted. The spec patch that introduces VIRTIO_BLK_F_CONFIG_WCE
also renames it to VIRTIO_BLK_F_WCE, since that's really what it does.
See this old comment in the kernel (not in the latest git anymore):
/*
* If the FLUSH feature is supported we do have support for
* flushing a volatile write cache on the host. [...]
* otherwise, we must assume that the host does not
* perform any kind of volatile write caching.
*/
Paolo
- [Qemu-devel] [QEMU PATCH 0/2] virtio-blk: writeback cache enable improvements, Paolo Bonzini, 2012/07/03
- [Qemu-devel] [PATCH 1/2] virtio-blk: support VIRTIO_BLK_F_CONFIG_WCE, Paolo Bonzini, 2012/07/03
- [Qemu-devel] [PATCH 2/2] virtio-blk: disable write cache if not negotiated, Paolo Bonzini, 2012/07/03
- Re: [Qemu-devel] [PATCH 2/2] virtio-blk: disable write cache if not negotiated, Kevin Wolf, 2012/07/03
- Re: [Qemu-devel] [PATCH 2/2] virtio-blk: disable write cache if not negotiated, Paolo Bonzini, 2012/07/03
- Re: [Qemu-devel] [PATCH 2/2] virtio-blk: disable write cache if not negotiated, Kevin Wolf, 2012/07/04
- Re: [Qemu-devel] [PATCH 2/2] virtio-blk: disable write cache if not negotiated, Paolo Bonzini, 2012/07/04
- Re: [Qemu-devel] [PATCH 2/2] virtio-blk: disable write cache if not negotiated, Kevin Wolf, 2012/07/04
- Re: [Qemu-devel] [PATCH 2/2] virtio-blk: disable write cache if not negotiated, Paolo Bonzini, 2012/07/04
Re: [Qemu-devel] [QEMU PATCH 0/2] virtio-blk: writeback cache enable improvements, Paolo Bonzini, 2012/07/23