On Tue, Aug 3, 2021 at 3:10 PM Richard W.M. Jones <rjones(a)redhat.com> wrote:
---
v2v/rhv-upload-plugin.py | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/v2v/rhv-upload-plugin.py b/v2v/rhv-upload-plugin.py
index 559ec5062..3fbb9e16a 100644
--- a/v2v/rhv-upload-plugin.py
+++ b/v2v/rhv-upload-plugin.py
@@ -96,6 +96,10 @@ def can_fua(h):
# imageio flush feature is is compatible with NBD_CMD_FLAG_FUA.
return options['can_flush']
+def can_multi_conn(h):
+ # Unfortunately we cannot control how many connections are made.
+ return options['max_writers'] > 1
Nice
+
def get_size(h):
return size
--
2.32.0
Nir