[sheepdog] [PATCH 0/6] refactor sheep/vdi.c
Liu Yuan
namei.unix at gmail.com
Mon Apr 22 17:34:09 CEST 2013
From: Liu Yuan <tailai.ly at taobao.com>
This patchset is the first round to refactor sheep/vdi.c
patch [1-4] are prepare patch.
patch [5] the main refactoring.
Liu Yuan (6):
sheep: use xmalloc instead of malloc
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(-)
--
1.7.9.5
More information about the sheepdog
mailing list