At Fri, 20 Jul 2012 10:29:29 +,
Dietmar Maurer wrote:
This looks strange to me. It acts like we need mkfs the directory before run
the sheep, where as we actually make nothing to it, just create a file lock.
This extra step might solve some problems (which could be solved by other
On 07/19/2012 10:19 AM, levin li wrote:
From: levin li xingke@taobao.com
v2 --- v3:
1. add some comments
2. rename objlist_cache_delete to objlist_cache_cleanup
v1 --- v2:
1. rename 'reclaim' to 'deletion'
2. add some comments
Object list cache does not take too much memory, so
On 07/19/2012 10:19 AM, levin li wrote:
v2 --- v3:
1. add some comments
2. rename objlist_cache_delete to objlist_cache_cleanup
Applied thanks.
Yuan
--
sheepdog mailing list
sheepdog@lists.wpkg.org
http://lists.wpkg.org/mailman/listinfo/sheepdog
This patch set add kill node operation for maintainence and scripts by a collie
command and signal handler for SIGTERM
Thanks,
Yuan
--
sheepdog mailing list
sheepdog@lists.wpkg.org
http://lists.wpkg.org/mailman/listinfo/sheepdog
From: Liu Yuan tailai...@taobao.com
This command is supposed to shut down the specified node gracefully.
usage:
$ collie node kill node_id
Signed-off-by: Liu Yuan tailai...@taobao.com
---
collie/node.c| 37 +
include/internal_proto.h |2 ++
From: Liu Yuan tailai...@taobao.com
Signed-off-by: Liu Yuan tailai...@taobao.com
---
sheep/sheep.c | 56 +++-
1 file changed, 51 insertions(+), 5 deletions(-)
diff --git a/sheep/sheep.c b/sheep/sheep.c
index 3ae1ec9..0bdc4b8 100644
---
From: Liu Yuan tailai...@taobao.com
This is preparation for signal_handler patch
Signed-off-by: Liu Yuan tailai...@taobao.com
---
sheep/sheep.c |5 +
sheep/trace/trace.c |2 +-
sheep/trace/trace.h |4 ++--
3 files changed, 8 insertions(+), 3 deletions(-)
diff --git
Great. We can use this from the init.d scripts.
-Original Message-
From: sheepdog-boun...@lists.wpkg.org [mailto:sheepdog-
boun...@lists.wpkg.org] On Behalf Of Liu Yuan
Sent: Montag, 23. Juli 2012 05:24
To: sheepdog@lists.wpkg.org
Subject: [sheepdog] [PATCH 1/3] sheep: add a kill
At Fri, 20 Jul 2012 17:12:21 +,
Dietmar Maurer wrote:
after some more thinking, this is also wrong. I would be really great to
have some documentation about that? How does read/write during recovery
works exactly.
I first though we can simply reject reads. For writes, we can reject
From: levin li xingke@taobao.com
Signed-off-by: levin li xingke@taobao.com
---
sheep/ops.c |1 +
1 file changed, 1 insertion(+)
diff --git a/sheep/ops.c b/sheep/ops.c
index 6802aea..f236ab2 100644
--- a/sheep/ops.c
+++ b/sheep/ops.c
@@ -845,6 +845,7 @@ static struct sd_op_template
On 07/23/2012 01:20 PM, levin li wrote:
From: levin li xingke@taobao.com
Signed-off-by: levin li xingke@taobao.com
---
sheep/ops.c |1 +
1 file changed, 1 insertion(+)
diff --git a/sheep/ops.c b/sheep/ops.c
index 6802aea..f236ab2 100644
--- a/sheep/ops.c
+++
On 07/23/2012 12:02 PM, Dietmar Maurer wrote:
Great. We can use this from the init.d scripts.
Hi Dietmar,
would you please try the latest origin/devel branch and see if init.d
scripts can work with Sheepdog correctly?
Thanks,
Yuan
--
sheepdog mailing list
sheepdog@lists.wpkg.org
12 matches
Mail list logo