[sheepdog] [PATCH 1/3] sheep: use qemu cache option to use writeback/writethrough mode

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


At Fri, 31 Aug 2012 08:05:19 +0800,
Liu Yuan wrote:
> 
> On 08/30/2012 10:42 PM, MORITA Kazutaka wrote:
> >> So object cache was enabled unconditionally? I guess this will cause trouble for people
> >> > don't want to enable any cache at sheepdog side at all. (object cache will take up local disk
> >> > space)
> > If we don't add a '-w' option, object cache will be disabled.  Doesn't
> > it enough?
> > 
> 
> What about I want to just enable object cache as read-only cache from QEMU with cache size == 500G?
> It seems that your patch doesn't provide this option. You just provide writeback option.

I think running sheeps with '-w 50' and start a qemu with
'cache=writethrough' will be what you want to do.

Thanks,

Kazutaka



More information about the sheepdog mailing list