]> git.proxmox.com Git - pve-storage.git/blobdiff - PVE/Storage/Plugin.pm
zfspool: add blockers parameter to volume_snapshot_is_possible
[pve-storage.git] / PVE / Storage / Plugin.pm
index aeb4fff3eb67c81b175b81e59ad2e6993523d742..e1f9335a973e206c1248d76e4602f01952419e80 100644 (file)
@@ -948,8 +948,11 @@ sub volume_snapshot {
     return undef;
 }
 
+# Asserts that a rollback to $snap on $volname is possible.
+# If certain snapshots are preventing the rollback and $blockers is an array
+# reference, the snapshot names can be pushed onto $blockers prior to dying.
 sub volume_rollback_is_possible {
-    my ($class, $scfg, $storeid, $volname, $snap) = @_;
+    my ($class, $scfg, $storeid, $volname, $snap, $blockers) = @_;
 
     return 1;
 }