[sheepdog] [PATCH v3 1/2] sheep: don't send vdi_inuse in get_vdis

MORITA Kazutaka morita.kazutaka at lab.ntt.co.jp
Fri Aug 24 10:27:48 CEST 2012


At Fri, 24 Aug 2012 15:11:37 +0800,
levin li wrote:
> 
> From: levin li <xingke.lwp at taobao.com>
> 
> Since we already send vdi copy list in get_vdis(), there's no
> need to send the vdi_inuse bitmap any more, without it we can
> send less data as the length of vdi copy list is variable and
> it contains the vid just as vdi_inuse does.
> 
> Signed-off-by: levin li <xingke.lwp at taobao.com>
> ---
>  include/internal_proto.h |    1 +
>  sheep/group.c            |   40 ++++++++++++++++++----------------------
>  sheep/ops.c              |   15 +++++++++++++++
>  sheep/sheep_priv.h       |    1 +
>  sheep/vdi.c              |   10 ++++------
>  5 files changed, 39 insertions(+), 28 deletions(-)

Applied this series, thanks!

Kazutaka



More information about the sheepdog mailing list