[sheepdog] [PATCH v3 0/6] support online snapshot from collie and qemu-img

MORITA Kazutaka morita.kazutaka at gmail.com
Thu May 2 05:55:41 CEST 2013


From: MORITA Kazutaka <morita.kazutaka at lab.ntt.co.jp>

v3:
 - add comments to explain why SD_OP_GET_INFO must be a cluster
   operation

v2:
 - rebased on top of my patch 'remove sd_*_req and sd_*_rsp'
 - fix SD_RES_NO_VDI error
 - add test

This series makes sheep return SD_RES_READONLY when write requests are
sent to the snapshot data objects, and notifies the running VMs that
they need to reload the vdi objects.

MORITA Kazutaka (6):
  move vdi_is_snapshot() to sheepdog_proto.h
  sheep: make oid_to_vid support any kind of objects
  sheep: store snapshot vid information in memory
  sheep: return SD_RES_READONLY when write requests are sent to
    snapshots
  sheep: make SD_OP_GET_INFO a cluster operation
  tests: add test to check live snapshot

 collie/common.c          |    7 +--
 collie/node.c            |    2 +-
 collie/vdi.c             |   20 +++----
 include/sheep.h          |    6 +--
 include/sheepdog_proto.h |   17 ++++--
 sheep/gateway.c          |   10 ++++
 sheep/group.c            |   14 ++---
 sheep/ops.c              |   31 +++++++----
 sheep/plain_store.c      |    7 +--
 sheep/sheep_priv.h       |   12 ++++-
 sheep/vdi.c              |  129 +++++++++++++++++++++++++---------------------
 tests/059                |   45 ++++++++++++++++
 tests/059.out            |   25 +++++++++
 tests/group              |    1 +
 14 files changed, 219 insertions(+), 107 deletions(-)
 create mode 100755 tests/059
 create mode 100644 tests/059.out

-- 
1.7.9.5




More information about the sheepdog mailing list