[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 0/2] virtio-blk: Avoid processing requests on the main contex
From: |
Kevin Wolf |
Subject: |
Re: [PATCH 0/2] virtio-blk: Avoid processing requests on the main context on restart |
Date: |
Wed, 3 Jun 2020 16:14:25 +0200 |
Am 03.06.2020 um 11:32 hat Sergio Lopez geschrieben:
> On restart, we were scheduling a BH to process queued requests, which
> would run before starting up the data plane, leading to those requests
> being assigned and started on coroutines on the main context.
>
> This could cause requests to be wrongly processed in parallel from
> different threads (the main thread and the iothread managing the data
> plane), potentially leading to multiple issues.
>
> Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1812765
>
> See "virtio-blk: Disable request queuing while switching contexts" for
> previous discussion:
>
> - https://lists.gnu.org/archive/html/qemu-devel/2020-06/msg00304.html
Thanks, applied to the block branch.
Kevin