On Thu, Feb 02, 2023 at 09:18:34AM -0600, Eric Blake wrote:
On Thu, Feb 02, 2023 at 03:06:30PM +0000, Richard W.M. Jones wrote:
> Multi-conn is enabled only when we know the connection is read-only:
>
> $ ./nbdkit -r curl file:/var/tmp/jammy-server-cloudimg-amd64.raw --run '
nbdinfo $uri ' | grep can_multi_conn
> can_multi_conn: true
> $ ./nbdkit curl file:/var/tmp/jammy-server-cloudimg-amd64.raw --run ' nbdinfo
$uri ' | grep can_multi_conn
> can_multi_conn: false
>
> This improves performance.
Reviewed-by: Eric Blake <eblake(a)redhat.com>
Thanks, upstream in bb0f93ad7
I am going to propose this for RHEL 9.2:
https://bugzilla.redhat.com/show_bug.cgi?id=2166686
Rich.
--
Richard Jones, Virtualization Group, Red Hat
http://people.redhat.com/~rjones
Read my programming and virtualization blog:
http://rwmj.wordpress.com
nbdkit - Flexible, fast NBD server with plugins
https://gitlab.com/nbdkit/nbdkit