[sheepdog-users] changing cache in run time

Liu Yuan namei.unix at gmail.com
Mon May 27 16:25:55 CEST 2013


On 05/27/2013 09:12 PM, Valerio Pachera wrote:
> Hi, I tried to change cache size by 'collie node cache'.
> I went from one opposite to the other
>   -w size=20000
> wrote some data
>   -w size=1
> wrote some more data
>   -w size=20000
> when I was writing some more files, guest went crazy with I/O errors.
> 
> May it because we have to 'cache flush' before shrinking?

I guess so.

> If yes, may this be done automatically?
> 

Dynamic resizing object cache with running VM seems very easy to cause
problems. Is this feature really needed? I can't think of a use case for
it because formatted partition can't be sized lively.

Currently it is only safe to enlarge it dynamically. I am considering of
removing 'collie node cache'.

Thanks,
Yuan



More information about the sheepdog-users mailing list