Re: [sheepdog] [PATCH 08/11] Doc. Sheepdog Basic add chapter fail over

2013-10-22 Thread Liu Yuan
On Sun, Oct 20, 2013 at 10:41:01AM +0200, Valerio Pachera wrote: Signed-off-by: Valerio Pachera siri...@gmail.com --- doc/fail_over.rst | 36 1 file changed, 36 insertions(+) create mode 100644 doc/fail_over.rst diff --git a/doc/fail_over.rst

Re: [sheepdog] [PATCH v2 1/2] sheep, dog: runtime loglevel changing

2013-10-22 Thread Liu Yuan
On Sat, Oct 19, 2013 at 11:35:33PM +0900, Hitoshi Mitake wrote: This patch adds two new opcode for runtime loglevel changes and let dog support the changing from command line. This is useful for making sheep process verbose temporally and can make troubleshooting easier. Example of usage:

Re: [sheepdog] [PATCH v2 1/2] sheep, dog: runtime loglevel changing

2013-10-22 Thread Liu Yuan
On Sat, Oct 19, 2013 at 11:35:33PM +0900, Hitoshi Mitake wrote: This patch adds two new opcode for runtime loglevel changes and let dog support the changing from command line. This is useful for making sheep process verbose temporally and can make troubleshooting easier. Example of usage:

Re: [sheepdog] [PATCH v2 2/2] sheep: rotate log with SIGHUP

2013-10-22 Thread Liu Yuan
On Sat, Oct 19, 2013 at 11:35:34PM +0900, Hitoshi Mitake wrote: From: Hitoshi Mitake mitake.hito...@lab.ntt.co.jp Current sheep process rotates log when the log file reaches its maximum size (500MB). But it is not comfortable for periodical backup of log files. Rotating log with catching

[sheepdog] [PATCH 3/4] work: let worker threads start with pipe()

2013-10-22 Thread Hitoshi Mitake
Current work.c uses mutex for starting worker threads (startup_lock). The intention of the code is hard to understand. In addition, the code doesn't destroy newly created threads when it fails creating or growing work queues. This patch refactors the code and implement correct cleaning of

[sheepdog] [PATCH 2/4] lib, sheep: exclude stuff for tracing when it is not enabled

2013-10-22 Thread Hitoshi Mitake
The current build process of sheepdog compiles stuff for tracing even if tracing is disabled. Basically they are not harmful but causes memory consumption (tid_map), we should exlucde them when tracing is disabled. Signed-off-by: Hitoshi Mitake mitake.hito...@lab.ntt.co.jp --- include/work.h

[sheepdog] [PATCH 1/4] work: rename nr_workers - nr_queued_work

2013-10-22 Thread Hitoshi Mitake
The previous name is clearly confusing. Signed-off-by: Hitoshi Mitake mitake.hito...@lab.ntt.co.jp --- lib/work.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/lib/work.c b/lib/work.c index 6933e1a..25cf964 100644 --- a/lib/work.c +++ b/lib/work.c @@ -65,7

[sheepdog] [PATCH 0/4] cleaning the work queue mechanism

2013-10-22 Thread Hitoshi Mitake
Current work queue mechanism of libsheepdog has some little but bother problems related to coding style, functionality, and performance. This patchset solves them. Hitoshi Mitake (4): work: rename nr_workers - nr_queued_work lib, sheep: exclude stuff for tracing when it is not enabled work:

[sheepdog] [PATCH 4/4] work: make pending lock fine grain

2013-10-22 Thread Hitoshi Mitake
Current queue_work() locks worker_info-pending_lock before growing a number of worker threads (if it is required). Clearly this behavior harms performance. This patch makes the lock fine grain. Signed-off-by: Hitoshi Mitake mitake.hito...@lab.ntt.co.jp --- lib/work.c |3 +-- 1 file changed,

Re: [sheepdog] [PATCH v2 1/2] sheep, dog: runtime loglevel changing

2013-10-22 Thread Hitoshi Mitake
At Tue, 22 Oct 2013 14:14:28 +0800, Liu Yuan wrote: On Sat, Oct 19, 2013 at 11:35:33PM +0900, Hitoshi Mitake wrote: This patch adds two new opcode for runtime loglevel changes and let dog support the changing from command line. This is useful for making sheep process verbose temporally

Re: [sheepdog] [PATCH v2 2/2] sheep: rotate log with SIGHUP

2013-10-22 Thread Hitoshi Mitake
At Tue, 22 Oct 2013 14:21:59 +0800, Liu Yuan wrote: On Sat, Oct 19, 2013 at 11:35:34PM +0900, Hitoshi Mitake wrote: From: Hitoshi Mitake mitake.hito...@lab.ntt.co.jp Current sheep process rotates log when the log file reaches its maximum size (500MB). But it is not comfortable for

Re: [sheepdog] [PATCH v2 1/2] sheep, dog: runtime loglevel changing

2013-10-22 Thread Liu Yuan
On Tue, Oct 22, 2013 at 04:17:58PM +0900, Hitoshi Mitake wrote: At Tue, 22 Oct 2013 14:11:01 +0800, Liu Yuan wrote: On Sat, Oct 19, 2013 at 11:35:33PM +0900, Hitoshi Mitake wrote: This patch adds two new opcode for runtime loglevel changes and let dog support the changing from command

Re: [sheepdog] [PATCH 4/4] work: make pending lock fine grain

2013-10-22 Thread Liu Yuan
On Tue, Oct 22, 2013 at 04:13:13PM +0900, Hitoshi Mitake wrote: Current queue_work() locks worker_info-pending_lock before growing a number of worker threads (if it is required). Clearly this behavior harms performance. This patch makes the lock fine grain. Signed-off-by: Hitoshi Mitake

Re: [sheepdog] [PATCH 2/4] lib, sheep: exclude stuff for tracing when it is not enabled

2013-10-22 Thread Liu Yuan
On Tue, Oct 22, 2013 at 04:13:11PM +0900, Hitoshi Mitake wrote: The current build process of sheepdog compiles stuff for tracing even if tracing is disabled. Basically they are not harmful but causes memory consumption (tid_map), we should exlucde them when tracing is disabled.

Re: [sheepdog] [PATCH 2/4] lib, sheep: exclude stuff for tracing when it is not enabled

2013-10-22 Thread Liu Yuan
On Tue, Oct 22, 2013 at 04:51:29PM +0900, Hitoshi Mitake wrote: At Tue, 22 Oct 2013 15:42:02 +0800, Liu Yuan wrote: On Tue, Oct 22, 2013 at 04:13:11PM +0900, Hitoshi Mitake wrote: The current build process of sheepdog compiles stuff for tracing even if tracing is disabled. Basically

Re: [sheepdog] [PATCH 3/4] work: let worker threads start with pipe()

2013-10-22 Thread Hitoshi Mitake
At Tue, 22 Oct 2013 15:43:52 +0800, Liu Yuan wrote: On Tue, Oct 22, 2013 at 04:13:12PM +0900, Hitoshi Mitake wrote: Current work.c uses mutex for starting worker threads (startup_lock). The intention of the code is hard to understand. In addition, the code doesn't destroy newly created

[sheepdog] [Sheepdog Announcement] Erasure coding is fully functional with Sheepdog now

2013-10-22 Thread Liu Yuan
Hello all, Apologies if this mail sounds annoying to you. Sheepdog is a distributed object storage system for QEMU VM and RESTful services (in progress). Openstack users can make use of Sheepdog as Cinder and Glance storage as of now and Swift compatitable API is working in progress. Yuan

Re: [sheepdog] [ANNOUNCE] sheepdog stable release v0.7.4

2013-10-22 Thread Bastian Scholz
Hi Hitoshi, Am 2013-10-21 10:03, schrieb Hitoshi Mitake: Thanks a lot for reporting the problem. The cause of the error is that make deb assumes it is executed in a directory of the sheepdog git repository. If you need the deb package soon, could you try the below commands? $ git clone