[Sheepdog] [RFC PATCH v2 0/3] Sheepdog: distributed storage system for QEMU

MORITA Kazutaka morita.kazutaka at lab.ntt.co.jp
Fri May 14 11:51:13 CEST 2010


Hi all,

This patch adds a block driver for Sheepdog distributed storage
system.

Changes from v1 to v2 are:

 - rebase onto git://repo.or.cz/qemu/kevin.git block
 - modify the sheepdog driver as a protocol driver
 - add new patch to call the snapshot handler of the protocol

One issue still remains; qemu-img parses command line options with
`create_options' of the format handler, so we cannot use protocol
specific options.

In this version, sheepdog needs to be used as a format driver when we
want to use sheepdog specific options.

e.g. Create clone image vol2 from vol1

  $ qemu-img create -b sheepdog:vol1:1 -f sheepdog vol2


Thanks,

Kazutaka


MORITA Kazutaka (3):
  close all the block drivers before the qemu process exits
  block: call the snapshot handlers of the protocol drivers
  block: add sheepdog driver for distributed storage support

 Makefile.objs    |    2 +-
 block.c          |   57 ++-
 block.h          |    1 +
 block/sheepdog.c | 1831 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
 vl.c             |    1 +
 5 files changed, 1873 insertions(+), 19 deletions(-)
 create mode 100644 block/sheepdog.c




More information about the sheepdog mailing list