[sheepdog] [PATCH] Revert "sbd: use kstrtoul() instead of strict_strtoul()"

2015-02-01 Thread Hitoshi Mitake
This reverts commit 9eed807bb06e02cd7a574d36c7c458884292da72 for backward compatibility. Signed-off-by: Hitoshi Mitake --- sbd/sheep_block_device.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sbd/sheep_block_device.c b/sbd/sheep_block_device.c index d82ff43..eaee932 10064

Re: [sheepdog] [PATCH] sbd: use kstrtoul() instead of strict_strtoul()

2015-02-01 Thread Hitoshi Mitake
At Sat, 31 Jan 2015 16:47:19 +0800, Liu Yuan wrote: > > On Tue, Jan 20, 2015 at 11:46:32AM +0900, Hitoshi Mitake wrote: > > Cc: hujianyang > > Signed-off-by: Hitoshi Mitake > > --- > > sbd/sheep_block_device.c | 2 +- > > 1 file changed, 1 insertion(+), 1 deletion(-) > > > > diff --git a/sbd/s

Re: [sheepdog] [PATCH] Revert "sbd: use kstrtoul() instead of strict_strtoul()"

2015-02-01 Thread Hitoshi Mitake
At Sun, 1 Feb 2015 19:46:50 +0900, Hitoshi Mitake wrote: > > This reverts commit 9eed807bb06e02cd7a574d36c7c458884292da72 for > backward compatibility. > > Signed-off-by: Hitoshi Mitake > --- > sbd/sheep_block_device.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Applied this one.

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

2015-02-01 Thread sheepdog-jenkins
See Changes: [mitake.hitoshi] Revert "sbd: use kstrtoul() instead of strict_strtoul()" -- [...truncated 57 lines...] checking for grep that handles long lines and -e... /bin/grep che

[sheepdog] [PATCH] sheep: fix vid wrap around

2015-02-01 Thread fukumoto . yoshifumi
From: FUKUMOTO Yoshifumi If a vid of a vdi reaches the max number of vid space, creating the snapshot of the vdi fails. Example: $ dog vdi create 00471718 1G $ dog vdi snapshot 00471718 (repeat 7 times) failed to read a response Failed to create snapshot for 00471718: I/O error This patch fix

[sheepdog] [PATCH 3/3] dog: add a new option to specify the vid space

2015-02-01 Thread Takafumi Fujieda
This patch adds a new option "-s " to dog cluster format to specify the VID space size. "dog cluster info -v" shows the specified VID space size. Signed-off-by: Takafumi Fujieda --- dog/cluster.c | 28 +++- 1 files changed, 27 insertions(+), 1 deletions(-) diff --git a

[sheepdog] [PATCH 1/3] sheep, dog: add vid space variables to the structs

2015-02-01 Thread Takafumi Fujieda
This patch adds new variables to some structs (cluster_info, system_info, etc...) to store the vid space size. Signed-off-by: Takafumi Fujieda --- dog/cluster.c|1 + dog/farm/farm.h |3 ++- include/internal_proto.h |6 -- include/sheepdog_proto.h | 10 +

[sheepdog] [PATCH 2/3] sheep, dog: make vid space size variable

2015-02-01 Thread Takafumi Fujieda
This patch changes vid space size from constant to variable. The vid space size value is assigned to the variables (member of cluster_info and system_info) only at cluster_make_fs or reloading config file. Not the constants, but the variables are always refered. Signed-off-by: Takafumi Fujieda --

[sheepdog] [PATCH 0/3] sheep, dog: configurable vid space

2015-02-01 Thread Takafumi Fujieda
Current, deleted vids are not reused, without cutting relations. If snapshots of many online vdis in a cluster are created continuously, the vid space will be exhausted. These patches make vid space size configurable from 24 bits to 26 bits by using the reserved bits in the oid. A new option "-s "

Re: [sheepdog] [PATCH] dog: fix to allocate a buffer of backup data for restoring

2015-02-01 Thread Hitoshi Mitake
At Fri, 30 Jan 2015 09:55:30 +0900, Teruaki Ishizaki wrote: > > When a VDI was restored from backup data, the buffer which > was loaded backup data into was not allocated appropriately. > > This patch fixes to allocate the buffer adequately > > Signed-off-by: Teruaki Ishizaki > --- > dog/vdi.c

Re: [sheepdog] [PATCH v4] sheepdog: selectable object size support

2015-02-01 Thread Liu Yuan
On Tue, Jan 27, 2015 at 05:35:27PM +0900, Teruaki Ishizaki wrote: > Previously, qemu block driver of sheepdog used hard-coded VDI object size. > This patch enables users to handle "block_size_shift" value for > calculating VDI object size. > > When you start qemu, you don't need to specify additio