[sheepdog] [PATCH v2 0/2] check existence of snapshot before restoring backup

Hitoshi Mitake mitake.hitoshi at lab.ntt.co.jp
Mon Oct 28 08:09:39 CET 2013


This patchset let vdi_restore() check existence of snapshot before restoring
backup data. Without the check, the parent VDI of the snapshot is simply
deleted.

v2:
 - more descriptive error message
 - update 041 for the case

Hitoshi Mitake (2):
  tests/functional: update 041 for a case of restoring to non-existing
    snapshot
  dog: check existence of specified snapshot in vdi_restore()

 dog/vdi.c                |   12 ++++++++++++
 tests/functional/041     |    5 +++++
 tests/functional/041.out |    3 +++
 3 files changed, 20 insertions(+)

-- 
1.7.10.4




More information about the sheepdog mailing list