[sheepdog] [PATCH v2 2/2] collie: make `collie vdi list` not read vdi_inuse bitmap

2012-08-23 Thread levin li
From: levin li Signed-off-by: levin li --- collie/common.c| 32 include/sheep.h|5 + sheep/sheep_priv.h |5 - 3 files changed, 21 insertions(+), 21 deletions(-) diff --git a/collie/common.c b/collie/common.c index 364e36c..c03cab7 100

Re: [sheepdog] [PATCH v2 2/2] collie: make `collie vdi list` not read vdi_inuse bitmap

2012-08-23 Thread MORITA Kazutaka
At Fri, 24 Aug 2012 13:36:47 +0800, levin li wrote: > > From: levin li > > > Signed-off-by: levin li > --- > collie/common.c| 32 > include/sheep.h|5 + > sheep/sheep_priv.h |5 - > 3 files changed, 21 insertions(+), 21 deletions(-) >

Re: [sheepdog] [PATCH v2 2/2] collie: make `collie vdi list` not read vdi_inuse bitmap

2012-08-23 Thread levin li
On 2012年08月24日 14:11, MORITA Kazutaka wrote: > At Fri, 24 Aug 2012 13:36:47 +0800, > levin li wrote: >> >> From: levin li >> >> >> Signed-off-by: levin li >> --- >> collie/common.c| 32 >> include/sheep.h|5 + >> sheep/sheep_priv.h |5 -

Re: [sheepdog] [PATCH v2 2/2] collie: make `collie vdi list` not read vdi_inuse bitmap

2012-08-23 Thread MORITA Kazutaka
At Fri, 24 Aug 2012 14:30:42 +0800, levin li wrote: > > I think SD_NR_VDIS is big enough, it can contain up to 2097152 > vdi copy entries, 2097152 VDIs are more than enough for our cluster, > and by this we don't need to allocate the 128M memory for such > a request, what do you think about it? I

Re: [sheepdog] [PATCH v2 2/2] collie: make `collie vdi list` not read vdi_inuse bitmap

2012-08-23 Thread levin li
On 2012年08月24日 14:41, MORITA Kazutaka wrote: > At Fri, 24 Aug 2012 14:30:42 +0800, > levin li wrote: >> >> I think SD_NR_VDIS is big enough, it can contain up to 2097152 >> vdi copy entries, 2097152 VDIs are more than enough for our cluster, >> and by this we don't need to allocate the 128M memory