Re: [PATCH 6/9] vhost-scsi: make SCSI cmd completion per vq

From
Stefan Hajnoczi <stefanha@redhat.com>
Date
2021-06-03 13:57:44
Also in
linux-scsi, target-devel
Reply to
Mike Christie, 2021-05-25
On Tue, May 25, 2021 at 01:05:57PM -0500, Mike Christie wrote:
This patch separates the scsi cmd completion code paths so we can complete
cmds based on their vq instead of having all cmds complete on the same
worker/CPU. This will be useful with the next patch that allows us to
create mulitple worker threads and bind them to different vqs, so we can
have completions running on different threads/CPUs.

Signed-off-by: Mike Christie <michael.christie@oracle.com>
---
 drivers/vhost/scsi.c | 48 +++++++++++++++++++++++---------------------
 1 file changed, 25 insertions(+), 23 deletions(-)
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Thread (32 messages) 32 messages, 3 authors, last reply 2021-06-21
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help