Re: [PATCH 05/10] vhost: poll support support multiple workers

2020-11-17 Thread Stefan Hajnoczi
On Thu, Nov 12, 2020 at 05:19:05PM -0600, Mike Christie wrote: > diff --git a/drivers/vhost/vhost.c b/drivers/vhost/vhost.c > index d229515..9eeb8c7 100644 > --- a/drivers/vhost/vhost.c > +++ b/drivers/vhost/vhost.c > @@ -187,13 +187,15 @@ void vhost_work_init(struct vhost_work *work, > vhost_work

[PATCH 05/10] vhost: poll support support multiple workers

2020-11-12 Thread Mike Christie
The final patches are going to have vhost scsi create a vhost worker per IO vq. This patch converts the poll code to poll and queue work on the worker that is tied to the vq (in this patch we maintain the old behavior where all vqs use a single worker). For drivers that do not convert over to the