[sheepdog] [PATCH v3] object cache: introduce background pusher

MORITA Kazutaka morita.kazutaka at gmail.com
Mon Jun 17 18:41:53 CEST 2013


At Mon, 17 Jun 2013 17:26:43 +0800,
Liu Yuan wrote:
> 
> Background pusher will mitigate the following problems
> 1 take a long time to flush a largely accumulated dirty objects set
> 2 some old kernel might not issue flush request periodically and get a long
>   wait while shutdown the VM
> 
> We kick background pusher when there are more than MAX_DIRTY_OBJECT_COUNT dirty
> object. At anytime, we only allow one pusher running, be it background pusher or
> synchronous pusher triggered by VM flush request.
> 
> Signed-off-by: Liu Yuan <namei.unix at gmail.com>
> ---
>  v3:
>  - add comment for plain number
> 
>  sheep/object_cache.c |   86 ++++++++++++++++++++++++++++++++++++++++++++------
>  1 file changed, 76 insertions(+), 10 deletions(-)

Applied, thanks!

Kazutaka



More information about the sheepdog mailing list