Re: [PATCH] virtio-blk: allow toggling host cache between writeback and writethrough

From: Rusty Russell
Date: Wed Jul 04 2012 - 02:57:05 EST


On Tue, 3 Jul 2012 15:19:37 +0200, Paolo Bonzini <pbonzini@xxxxxxxxxx> wrote:
> This patch adds support for the new VIRTIO_BLK_F_CONFIG_WCE feature,
> which exposes the cache mode in the configuration space and lets the
> driver modify it. The cache mode is exposed via sysfs.
>
> Even if the host does not support the new feature, the cache mode is
> visible (thanks to the existing VIRTIO_BLK_F_WCE), but not modifiable.
>
> Signed-off-by: Paolo Bonzini <pbonzini@xxxxxxxxxx>

Applied, thanks!

Cheers,
Rusty.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/