[pve-devel] [PATCH pve-storage 3/3] Increment storage plugin API version
Dmitry Petuhov
mityapetuhov at gmail.com
Fri Jan 13 08:11:35 CET 2017
Because after this patch series plugin's volume_resize() should return
new actual volume size or zero for some block storages. Returning just
1 will break online resize.
Signed-off-by: Dmitry Petuhov <mityapetuhov at gmail.com>
---
PVE/Storage.pm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/PVE/Storage.pm b/PVE/Storage.pm
index 683c920..e2b2b5c 100755
--- a/PVE/Storage.pm
+++ b/PVE/Storage.pm
@@ -34,7 +34,7 @@ use PVE::Storage::ZFSPlugin;
use PVE::Storage::DRBDPlugin;
# Storage API version. Icrement it on changes in storage API interface.
-use constant APIVER => 1;
+use constant APIVER => 2;
# load standard plugins
PVE::Storage::DirPlugin->register();
--
2.1.4
More information about the pve-devel
mailing list