Displaying 2 results from an estimated 2 matches for "8dd8681".
2019 May 25
0
[nbdkit PATCH 2/2] nbd: Add shared=true parameter
...<eblake@redhat.com>
---
plugins/nbd/nbdkit-nbd-plugin.pod | 18 ++++-
plugins/nbd/nbd.c | 110 ++++++++++++++++++++----------
2 files changed, 88 insertions(+), 40 deletions(-)
diff --git a/plugins/nbd/nbdkit-nbd-plugin.pod b/plugins/nbd/nbdkit-nbd-plugin.pod
index 4f9efa1..8dd8681 100644
--- a/plugins/nbd/nbdkit-nbd-plugin.pod
+++ b/plugins/nbd/nbdkit-nbd-plugin.pod
@@ -5,7 +5,7 @@ nbdkit-nbd-plugin - nbdkit nbd plugin
=head1 SYNOPSIS
nbdkit nbd { socket=SOCKNAME | hostname=HOST [port=PORT] } [export=NAME]
- [retry=N]
+ [retry=N] [shared=BOOL]
=head1 DESCRIPTION...
2019 May 25
3
[RFC nbdkit PATCH 0/2] Add 'nbdkit nbd shared=1' mode
I got annoyed by qemu-nbd's default of only allowing a single
connection; combine that with nbdkit's nbd plugin, and even 'qemu-nbd
--list' of nbdkit counts as the single connection and immediately
hangs up. If we introduce a shared mode, then 'qemu-nbd --list' can
connect as many times as it wants without killing the original
qemu-nbd wrapped by nbdkit. But this in turn