[sheepdog] [PATCH 0/5] introduce writethrough mode to object cache

Liu Yuan namei.unix at gmail.com
Sun Aug 5 08:20:05 CEST 2012


On 08/04/2012 04:11 PM, Liu Yuan wrote:
>     This patch set does some refactors and mainly introduce writethrough mode.
> 	
>     Object cache writethrough mode provide us a read-only cache which is alwasy
>     consistent with backend store.
>     
>     We can set the object cache mode by 'w' option as following:
>     
>      sheep -w cache_size{,writethrough | writeback}
>     
>     For e.g, we can set 1G size writethrough cache:
>      $ sheep -w 1000,writethrough
>      $ sheep -w 1000
>     
>     writethrough mode is default object cache
>     
>     to set as writeback cache:
>      $ sheep -w 1000,writeback

Applied, thanks.

Yuan



More information about the sheepdog mailing list