vhost-scsi: Support worker ioctls
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v3 Latest2 patches 2 repliesIn review
- v22 patches 4 repliesSuperseded
- v12 patches 5 repliesSuperseded
Changes in v3 from the cover letter
- Warn user if they have set worker_per_virtqueue=true but the kernel doesn't support it.
Patches in v3 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | vhost: Add worker backend calloutshw/ include/ | +42 | 0 replies | |
| 2/2 | vhost-scsi: Add support for a worker thread per virtqueuehw/ include/ | +63 | 1 reply |
Reviews trailers per patch
All 2 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Stefano Garzarella | Stefan Hajnoczi |
|---|---|---|
| Series | R-b | |
| 1/2 | R-b | R-b |
| 2/2 | R-b | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v3 0/2] vhost-scsi: Support worker ioctls
The following patches allow users to configure the vhost worker threads for vhost-scsi. With vhost-net we get a worker thread per rx/tx virtqueue pair, but for vhost-scsi we get one worker for all workqueues. This becomes a bottlneck after 2 queues are used.
In the upstream linux kernel commit:
we enabled the vhost layer to be able to create a worker thread and attach it to a virtqueue.
This patchset adds support to vhost-scsi to use these ioctls so we are no longer limited to the single worker.
v3:
- Warn user if they have set worker_per_virtqueue=true but the kernel doesn't support it.
v2:
- Make config option a bool instead of an int.