[sheepdog] [PATCH 10/10] dog: print warning when checking erasured vdi
Liu Yuan
namei.unix at gmail.com
Tue Oct 15 16:36:43 CEST 2013
This is left for a future work
Signed-off-by: Liu Yuan <namei.unix at gmail.com>
---
dog/vdi.c | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/dog/vdi.c b/dog/vdi.c
index 6eec5b4..7e0fc63 100644
--- a/dog/vdi.c
+++ b/dog/vdi.c
@@ -1621,6 +1621,11 @@ static int vdi_check(int argc, char **argv)
return ret;
}
+ if (inode->copy_policy > 0) {
+ sd_err("not implemented for erasure coded vdi");
+ return EXIT_FAILURE;
+ }
+
return do_vdi_check(inode);
}
--
1.7.9.5
More information about the sheepdog
mailing list