Received: from eggs.gnu.org ([2001:4830:134:3::10]:55411) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bUybX-0005Sz-19 for qemu-devel@nongnu.org; Wed, 03 Aug 2016 12:01:15 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bUybS-0000JV-AB for qemu-devel@nongnu.org; Wed, 03 Aug 2016 12:01:10 -0400 References: <1470223294-3870-1-git-send-email-kwolf@redhat.com> <1470223294-3870-11-git-send-email-kwolf@redhat.com> From: Max Reitz Message-ID: <06966e81-8993-f783-2b87-cfee8a146b58@redhat.com> Date: Wed, 3 Aug 2016 18:00:51 +0200 MIME-Version: 1.0 In-Reply-To: <1470223294-3870-11-git-send-email-kwolf@redhat.com> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="pm0mDPIAqvaJvcPHHqAS8IVVBTobDAUTk" Subject: Re: [Qemu-devel] [PATCH v5 10/11] nbd-server: Use a separate BlockBackend List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Kevin Wolf , qemu-block@nongnu.org Cc: eblake@redhat.com, berto@igalia.com, qemu-devel@nongnu.org This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --pm0mDPIAqvaJvcPHHqAS8IVVBTobDAUTk From: Max Reitz To: Kevin Wolf , qemu-block@nongnu.org Cc: eblake@redhat.com, berto@igalia.com, qemu-devel@nongnu.org Message-ID: <06966e81-8993-f783-2b87-cfee8a146b58@redhat.com> Subject: Re: [PATCH v5 10/11] nbd-server: Use a separate BlockBackend References: <1470223294-3870-1-git-send-email-kwolf@redhat.com> <1470223294-3870-11-git-send-email-kwolf@redhat.com> In-Reply-To: <1470223294-3870-11-git-send-email-kwolf@redhat.com> Content-Type: text/plain; charset=iso-8859-15 Content-Transfer-Encoding: quoted-printable On 03.08.2016 13:21, Kevin Wolf wrote: > The builtin NBD server uses its own BlockBackend now instead of reusing= > the monitor/guest device one. >=20 > This means that it has its own writethrough setting now. The builtin > NBD server always uses writeback caching now regardless of whether the > guest device has WCE enabled. qemu-nbd respects the cache mode given on= > the command line. >=20 > We still need to keep a reference to the monitor BB because we put an > eject notifier on it, but we don't use it for any I/O. >=20 > Signed-off-by: Kevin Wolf > Reviewed-by: Eric Blake > --- > block.c | 2 ++ > blockdev-nbd.c | 4 ++-- > include/block/nbd.h | 3 ++- > nbd/server.c | 25 ++++++++++++++++++++----- > qemu-nbd.c | 4 ++-- > 5 files changed, 28 insertions(+), 10 deletions(-) Reviewed-by: Max Reitz --pm0mDPIAqvaJvcPHHqAS8IVVBTobDAUTk Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQEvBAEBCAAZBQJXohUzEhxtcmVpdHpAcmVkaGF0LmNvbQAKCRA7sUIC6DisraVv B/sExmr0BJd8j1HeKXyUSlaRmyb9wRyXW1A60nxVqFZxHvrD6P96A24WPxvbWE5y qoIyDOE9IK647KU+4s/Uhkeij4Um7ffpsXBQ5UqWzmLQobDW+V/U197Ge2jhq9f7 gklzwjuzgCapNY0Kv4S+g0wYc/TVZz4CQTFPHPbM0PKz9n4N/1kcmSBXEXUGFfn5 qSKfZJoiqJkx+VncbxIBiFGuRsamBOkaZNXmlu3SHG9UMNZW/AqLsO4xdFUEZd62 JbPrx+wPH59dkHOTmnNBVkoHakreMxulCeuK5lsCKfdRfhKtjrx71wDW0ngQ7mQY IUS6nUraRHAMlyzZftQuOTwo =2ZLc -----END PGP SIGNATURE----- --pm0mDPIAqvaJvcPHHqAS8IVVBTobDAUTk--