[sheepdog-users] Enable cache on some nodes and some not
joseph at cloudscaling.com
Tue May 7 15:09:28 CEST 2013
When using cache=writeback are writes flushed to the cluster on
REQ_FUA/FLUSH? Or are they only flushed to object cache?
On Tue, May 7, 2013 at 6:06 AM, Liu Yuan <namei.unix at gmail.com> wrote:
> On 05/07/2013 08:45 PM, Valerio Pachera wrote:
> > Is it possible to enable cache only on some nodes of the cluster?
> Sure. The object cache stores the data on the node where runs sheep
> daemon that VM connect to.
> There are two ways to disable object cache:
> 1 no '-w' option enabled at startup. Cache is completely disabled for
> this node. Cache option control from QEMU command is meaningless.
> 2 '-w' for sheep is enabled. Then QEMU take control of cache mode of
> the VM connected to this sheep.
> - cache=writeback, enables the writeback cache for this VM
> - cache=directio, disable the cache for this VM
> - cache=writethrough, enables the writethrough cache for this VM
> sheepdog-users mailing lists
> sheepdog-users at lists.wpkg.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the sheepdog-users