[sheepdog] [PATCH v1, RFC] sheep: writeback cache semantics in backend store

MORITA Kazutaka morita.kazutaka at lab.ntt.co.jp
Fri Aug 31 02:24:00 CEST 2012


At Fri, 31 Aug 2012 08:10:06 +0800,
Liu Yuan wrote:
> 
> On 08/30/2012 10:57 PM, MORITA Kazutaka wrote:
> >>  think QEMU flag to control cache is really human-unfriendly, I guess most users will
> >> > get confused at 'cache=' options.
> > Yes, but I think we should recommend only using cache=writeback and
> > cache=writethrough for Sheepdog.
> > 
> 
> Does writethrough means no cache at all for sheepdog?

No.  Do we really need to disable a Sheepdog disk cache from qemu?

There is no such cache option in qemu (cache=none doesn't mean
disabling cache in qemu, at least for a file protocol).  But we can
enable/disable a sheepdog cache with a sheep command option.

Thanks,

Kazutaka



More information about the sheepdog mailing list