[sheepdog-users] Enable cache on some nodes and some not
Joseph Glanville
joseph at cloudscaling.com
Tue May 7 15:09:28 CEST 2013
HI Liu,
When using cache=writeback are writes flushed to the cluster on
REQ_FUA/FLUSH? Or are they only flushed to object cache?
Joseph.
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
>
> Thanks,
> Yuan
> --
> sheepdog-users mailing lists
> sheepdog-users at lists.wpkg.org
> http://lists.wpkg.org/mailman/listinfo/sheepdog-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.wpkg.org/pipermail/sheepdog-users/attachments/20130507/2c605f53/attachment-0005.html>
More information about the sheepdog-users
mailing list