[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 bits 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 fujieda.takaf...@lab.ntt.co.jp --- dog/cluster.c | 28 +++- 1 files changed, 27 insertions

[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 fujieda.takaf...@lab.ntt.co.jp --- dog/cluster.c|1 + dog/farm/farm.h |3 ++- include/internal_proto.h |6

[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
, the cluster must be shutdowned and all vdis should be outputted by using qemu-img and dog vdi backup. Takafumi Fujieda (3): sheep, dog: add vid space variables to the structs sheep, dog: make vid space size variable dog: add a new option to specify the vid space dog/cluster.c | 67