Thread (32 messages) 32 messages, 3 authors, 2021-06-21

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

flat view

From: Stefan Hajnoczi <stefanha@redhat.com>
Date: 2021-06-03 13:57:44
Also in: linux-scsi, target-devel

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>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help