[sheepdog] [PATCH v2 0/6] refactor sheep/vdi.c

MORITA Kazutaka morita.kazutaka at gmail.com
Fri Apr 26 01:53:57 CEST 2013


At Thu, 25 Apr 2013 17:30:22 +0800,
Liu Yuan wrote:
> 
> From: Liu Yuan <tailai.ly at taobao.com>
> 
> v2:
>  - prefix some helper functions
>  - update the comments
>  - discard xmalloc patch
>  - initialize iocb inside the definition
> 
> This patchset is the first round to refactor sheep/vdi.c
> 
> patch [1-3] are prepare patch.
> patch [4] the main refactoring.
> 
> Liu Yuan (5):
>   sheep: remove nr_copies parameter
>   sheep: unify the snapid manipulation and put it in vdi_iocb
>   sheep: pass vdi_iocb for vdi deletion
>   sheep: refactor vdi lookup, create, delete operation
>   tests/039: fix the output for the refactored vdi code
> 
>  sheep/ops.c        |   88 ++++++++------
>  sheep/sheep_priv.h |   18 +--
>  sheep/vdi.c        |  342 +++++++++++++++++++++++++---------------------------
>  tests/039.out      |    2 +-
>  4 files changed, 225 insertions(+), 225 deletions(-)

Applied, thanks!

Kazutaka



More information about the sheepdog mailing list