mbox series

[for-9.0,0/2] nbd: Fix server crash on reset with iothreads

Message ID 20240314165825.40261-1-kwolf@redhat.com (mailing list archive)
Headers show
Series nbd: Fix server crash on reset with iothreads | expand

Message

Kevin Wolf March 14, 2024, 4:58 p.m. UTC
Kevin Wolf (2):
  nbd/server: Fix race in draining the export
  iotests: Add test for reset/AioContext switches with NBD exports

 nbd/server.c                                  | 15 ++---
 tests/qemu-iotests/tests/iothreads-nbd-export | 66 +++++++++++++++++++
 .../tests/iothreads-nbd-export.out            | 19 ++++++
 3 files changed, 92 insertions(+), 8 deletions(-)
 create mode 100755 tests/qemu-iotests/tests/iothreads-nbd-export
 create mode 100644 tests/qemu-iotests/tests/iothreads-nbd-export.out

Comments

Stefan Hajnoczi March 18, 2024, 1:28 p.m. UTC | #1
On Thu, Mar 14, 2024 at 05:58:23PM +0100, Kevin Wolf wrote:
> Kevin Wolf (2):
>   nbd/server: Fix race in draining the export
>   iotests: Add test for reset/AioContext switches with NBD exports
> 
>  nbd/server.c                                  | 15 ++---
>  tests/qemu-iotests/tests/iothreads-nbd-export | 66 +++++++++++++++++++
>  .../tests/iothreads-nbd-export.out            | 19 ++++++
>  3 files changed, 92 insertions(+), 8 deletions(-)
>  create mode 100755 tests/qemu-iotests/tests/iothreads-nbd-export
>  create mode 100644 tests/qemu-iotests/tests/iothreads-nbd-export.out
> 
> -- 
> 2.44.0
> 

Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>