mbox series

[PULL,v2,0/8] NBD patches through 2020-10-08

Message ID 20201009135429.1122744-1-eblake@redhat.com
Headers show
Series NBD patches through 2020-10-08 | expand

Message

Eric Blake Oct. 9, 2020, 1:54 p.m. UTC
The following changes since commit 497d415d76b9f59fcae27f22df1ca2c3fa4df64e:

  Merge remote-tracking branch 'remotes/pmaydell/tags/pull-target-arm-20201008-1' into staging (2020-10-08 21:41:20 +0100)

are available in the Git repository at:

  https://repo.or.cz/qemu/ericb.git tags/pull-nbd-2020-10-08-v2

for you to fetch changes up to 351a587410eff515ee28da619867030217b62457:

  nbd: Simplify meta-context parsing (2020-10-09 08:34:15 -0500)

v2: fix BSD compilation error

----------------------------------------------------------------
nbd patches for 2020-10-08

- silence compilation warnings
- more fixes to prevent reconnect hangs
- improve 'qemu-nbd' termination behavior
- cleaner NBD protocol compliance on string handling

----------------------------------------------------------------
Christian Borntraeger (1):
      nbd: silence maybe-uninitialized warnings

Eric Blake (3):
      qemu-nbd: Honor SIGINT and SIGHUP
      nbd/server: Reject embedded NUL in NBD strings
      nbd: Simplify meta-context parsing

Vladimir Sementsov-Ogievskiy (4):
      block/nbd: fix drain dead-lock because of nbd reconnect-delay
      block/nbd: correctly use qio_channel_detach_aio_context when needed
      block/nbd: fix reconnect-delay
      block/nbd: nbd_co_reconnect_loop(): don't connect if drained

 block/nbd.c  |  71 ++++++++++++++++---
 nbd/server.c | 221 ++++++++++++++++++++++++-----------------------------------
 qemu-nbd.c   |  15 ++--
 3 files changed, 157 insertions(+), 150 deletions(-)

Comments

Peter Maydell Oct. 9, 2020, 6:50 p.m. UTC | #1
On Fri, 9 Oct 2020 at 14:57, Eric Blake <eblake@redhat.com> wrote:
>
> The following changes since commit 497d415d76b9f59fcae27f22df1ca2c3fa4df64e:
>
>   Merge remote-tracking branch 'remotes/pmaydell/tags/pull-target-arm-20201008-1' into staging (2020-10-08 21:41:20 +0100)
>
> are available in the Git repository at:
>
>   https://repo.or.cz/qemu/ericb.git tags/pull-nbd-2020-10-08-v2
>
> for you to fetch changes up to 351a587410eff515ee28da619867030217b62457:
>
>   nbd: Simplify meta-context parsing (2020-10-09 08:34:15 -0500)
>
> v2: fix BSD compilation error

Compile failure on Windows:
../../qemu-nbd.c:157:5: error: "CONFIG_POSIX" is not defined [-Werror=undef]
 #if CONFIG_POSIX
     ^

thanks
-- PMM
Eric Blake Oct. 9, 2020, 7:52 p.m. UTC | #2
On 10/9/20 1:50 PM, Peter Maydell wrote:
> On Fri, 9 Oct 2020 at 14:57, Eric Blake <eblake@redhat.com> wrote:

>>

>> The following changes since commit 497d415d76b9f59fcae27f22df1ca2c3fa4df64e:

>>

>>   Merge remote-tracking branch 'remotes/pmaydell/tags/pull-target-arm-20201008-1' into staging (2020-10-08 21:41:20 +0100)

>>

>> are available in the Git repository at:

>>

>>   https://repo.or.cz/qemu/ericb.git tags/pull-nbd-2020-10-08-v2

>>

>> for you to fetch changes up to 351a587410eff515ee28da619867030217b62457:

>>

>>   nbd: Simplify meta-context parsing (2020-10-09 08:34:15 -0500)

>>

>> v2: fix BSD compilation error

> 

> Compile failure on Windows:

> ../../qemu-nbd.c:157:5: error: "CONFIG_POSIX" is not defined [-Werror=undef]

>  #if CONFIG_POSIX

>      ^


Oh, everywhere else uses #ifdef.  Urgh. v3 coming up.

-- 
Eric Blake, Principal Software Engineer
Red Hat, Inc.           +1-919-301-3226
Virtualization:  qemu.org | libvirt.org