[sheepdog] [PATCH RFC 0/4] add support online snapshot from collie and qemu-img
MORITA Kazutaka
morita.kazutaka at lab.ntt.co.jp
Thu Apr 25 12:23:23 CEST 2013
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.
This conflicts with Yuan's patches to cleanup sheep/vdi.c. I'll
rebase and refactor this series later.
MORITA Kazutaka (4):
add helper function to check the vdi is snapshot
sheep: make oid_to_vid support any kind of objects
sheep: notify the previous vid with copy number
sheep: return SD_RES_READONLY when write requests are sent to
snapshots
collie/collie.h | 1 -
collie/common.c | 7 +----
collie/node.c | 2 +-
collie/vdi.c | 24 +++++++-------
include/internal_proto.h | 13 ++++++++
include/sheep.h | 5 ++-
include/sheepdog_proto.h | 12 ++++---
sheep/gateway.c | 10 ++++++
sheep/group.c | 2 +-
sheep/ops.c | 10 ++++--
sheep/plain_store.c | 3 +-
sheep/sheep_priv.h | 4 ++-
sheep/vdi.c | 72 ++++++++++++++++++++++++++++-----------------
13 files changed, 106 insertions(+), 59 deletions(-)
--
1.7.2.5
More information about the sheepdog
mailing list