[sheepdog] [PATCH] sheep/gateway.c: remove duplicate `if` statement

2014-12-17 Thread 徐小龙
current gateway.c has duplicate `if` statement, this patch remove it Signed-off-by: Xiaolong Xu --- sheep/gateway.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/sheep/gateway.c b/sheep/gateway.c index 7f7d1d1..91bcad2 100644 --- a/sheep/gateway.c +++ b/sheep/gateway.c @@

Re: [sheepdog] [PATCH] sheep/gateway.c: remove duplicate `if` statement

2014-12-17 Thread Hitoshi Mitake
At Wed, 17 Dec 2014 16:08:47 +0800, $B=y>.$(AAz(B wrote: > > [1 ] > [1.1 ] > current gateway.c has duplicate `if` statement, > this patch remove it > > Signed-off-by: Xiaolong Xu > --- > sheep/gateway.c | 3 +-- > 1 file changed, 1 insertion(+), 2 deletions(-) Thanks for your patch, Xiaol

[sheepdog] [PATCH] sheep, dog: add speed throttling of auto-recovery

2014-12-17 Thread FUKUDA Yasuhito
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

[sheepdog] [PATCH] sheep: recovery without using priority list

2014-12-17 Thread FUKUDA Yasuhito
Current sheepdog, I/O request is processed by way of the Priority Lists during auto-recovery. But it might be wasted performance. This patch omits unnecessary procedure. Signed-off-by: Yasuhito Fukuda --- sheep/recovery.c | 113 ++--- 1 files ch

[sheepdog] Build failed in Jenkins: sheepdog-build #575

2014-12-17 Thread sheepdog-jenkins
See Changes: [mitake.hitoshi] func/test: change functional test output for __vdi_list [mitake.hitoshi] Revert "dog: revert the change for output of "dog vdi list" manually" [mitake.hitoshi] sheep: fix bug for not saving

Re: [sheepdog] [PATCH v3] sheep: handle a case of small buffer in cinfo collection

2014-12-17 Thread Hitoshi Mitake
At Mon, 15 Dec 2014 14:49:07 +0900, Hitoshi Mitake wrote: > > Current cinfo_collection_work() and SD_OP_VDI_STATE_SNAPSHOT_CTL > doesn't handle a case of small buffer. This patch solves it. > > Cc: Saeki Masaki > Cc: Yuka Kawasaki > Signed-off-by: Hitoshi Mitake > --- > sheep/group.c | 5

Re: [sheepdog] [PATCH] sheep, dog: add speed throttling of auto-recovery

2014-12-17 Thread Hitoshi Mitake
At Wed, 17 Dec 2014 17:32:49 +0900, FUKUDA Yasuhito wrote: > > 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 recover

Re: [sheepdog] [PATCH] sheep: recovery without using priority list

2014-12-17 Thread Hitoshi Mitake
At Wed, 17 Dec 2014 17:34:04 +0900, FUKUDA Yasuhito wrote: > > Current sheepdog, I/O request is processed by way of the Priority Lists > during auto-recovery. > But it might be wasted performance. > > This patch omits unnecessary procedure. Could you provide brief data which can show performanc

Re: [sheepdog] [PATCH] sheep, dog: add speed throttling of auto-recovery

2014-12-17 Thread Valerio Pachera
2014-12-17 9:32 GMT+01:00 FUKUDA Yasuhito : > ex) sheep -R max=5,interval=1000 /var/lib/sheepdog > dog node recovery set-throttle 5 1000 > dog node recovery get-throttle Nice! If I shut down the cluster and start it again, do I have to re-run this command? -- sheepdog mailing list sheepdo