diff options
author | Asias He <asias@redhat.com> | 2013-01-06 14:36:13 +0800 |
---|---|---|
committer | Nicholas Bellinger <nab@linux-iscsi.org> | 2013-02-13 11:27:31 -0800 |
commit | 9d6064a347a8e15451cbdf6286542d402c9da24c (patch) | |
tree | 871fcd1c5b29f54b024d17747e49510ce25a846e /drivers/vhost/tcm_vhost.h | |
parent | 703d641d87034629f8b0da94334034ed5d805b36 (diff) | |
download | op-kernel-dev-9d6064a347a8e15451cbdf6286542d402c9da24c.zip op-kernel-dev-9d6064a347a8e15451cbdf6286542d402c9da24c.tar.gz |
tcm_vhost: Use llist for cmd completion list
This drops the cmd completion list spin lock and makes the cmd
completion queue lock-less.
Signed-off-by: Asias He <asias@redhat.com>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Diffstat (limited to 'drivers/vhost/tcm_vhost.h')
-rw-r--r-- | drivers/vhost/tcm_vhost.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/vhost/tcm_vhost.h b/drivers/vhost/tcm_vhost.h index 7e87c63..47ee80b 100644 --- a/drivers/vhost/tcm_vhost.h +++ b/drivers/vhost/tcm_vhost.h @@ -34,7 +34,7 @@ struct tcm_vhost_cmd { /* Sense buffer that will be mapped into outgoing status */ unsigned char tvc_sense_buf[TRANSPORT_SENSE_BUFFER]; /* Completed commands list, serviced from vhost worker thread */ - struct list_head tvc_completion_list; + struct llist_node tvc_completion_list; }; struct tcm_vhost_nexus { |