[sheepdog] [sheepdog/sheepdog] 37c64c: sheep, dog: add speed throttling of auto-recovery
fukuda.yasuhito at po.ntts.co.jp
Tue Sep 29 07:21:56 CEST 2015
Author: FUKUDA Yasuhito <fukuda.yasuhito at po.ntts.co.jp>
Date: 2015-09-29 (Tue, 29 Sep 2015)
sheep, dog: add speed throttling of auto-recovery
Current auto recovery to consume as much as possible the resources of sheepdog node.
So, this patch intended to allow the speed throttling of auto-recovery.
By speed throttling, reduce the resource consumption at auto recovery.
Add new options to sheep and dog commands.
Its options are "interval" and "object processing number".
see examples follows.
ex) sheep -R max=5,interval=1000 /var/lib/sheepdog
dog node recovery set-throttle 5 1000
dog node recovery get-throttle
Signed-off-by: Yasuhito Fukuda <fukuda.yasuhito at po.ntts.co.jp>
Signed-off-by: Hitoshi Mitake <mitake.hitoshi at lab.ntt.co.jp>
More information about the sheepdog