Skip to content

virtio-blk: improve handling of DMA mapping failures

Halil Pasic linux-block linux-s390 lkml virtualization 1 version Applied

Status from this message: I've queued this, thanks!

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 10 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/2virtio-blk: fix hw_queue stopped on arbitrary errordrivers/block/virtio_blk.c+5 -36 replies
2/2virtio-blk: improve virtqueue error to BLK_STSdrivers/block/virtio_blk.c+7 -20 replies

Reviews trailers per patch

1 of 2 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchMing LeiStefan Hajnoczi
SeriesR-b
1/2R-b
2/2

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/2] virtio-blk: improve handling of DMA mapping failures

Two patches are handling new edge cases introduced by doing DMA mappings (which can fail) in virtio core.

I stumbled upon this while stress testing I/O for Protected Virtual Machines. I deliberately chose a tiny swiotlb size and have generated load with fio. With more than one virtio-blk disk in use I experienced hangs.

The goal of this series is to fix those hangs.

Halil Pasic (2):
virtio-blk: fix hw_queue stopped on arbitrary error
virtio-blk: improve virtqueue error to BLK_STS

 drivers/block/virtio_blk.c | 17 ++++++++++++-----
 1 file changed, 12 insertions(+), 5 deletions(-)

base-commit: 39bed42de2e7d74686a2d5a45638d6a5d7e7d473

Signature · 1 line
2.17.1