[sheepdog] [PATCH 0/6] refactor sheep/vdic, step 2

Liu Yuan namei.unix at gmail.com
Sat Apr 27 07:44:16 CEST 2013


From: Liu Yuan <tailai.ly at taobao.com>

Patch 1-5 are mainly prepare patches
Patch 6 refactor start_deletion

Liu Yuan (6):
  sheep: use switch case inside vdi_create()
  sheep: rename sheepdog_inode as sd_inode
  sheep: remove nr_copies in {write,read,read_backend}_object
  sheep: add a helper to get vdi's inode
  sheep: refactor delete_inode
  sheep: refactor start_deletion

 collie/collie.h          |    4 +-
 collie/common.c          |    4 +-
 collie/node.c            |    2 +-
 collie/vdi.c             |   42 +++---
 include/sheepdog_proto.h |    8 +-
 sheep/ops.c              |    6 +-
 sheep/plain_store.c      |    2 +-
 sheep/sheep_priv.h       |   10 +-
 sheep/store.c            |   18 ++-
 sheep/vdi.c              |  321 +++++++++++++++++++---------------------------
 sheepfs/volume.c         |    2 +-
 11 files changed, 180 insertions(+), 239 deletions(-)

-- 
1.7.9.5




More information about the sheepdog mailing list