summaryrefslogtreecommitdiffstats
path: root/drivers/vhost/vringh.c
diff options
context:
space:
mode:
authorNicholas Bellinger <nab@linux-iscsi.org>2013-06-08 02:47:46 +0200
committerNicholas Bellinger <nab@linux-iscsi.org>2013-09-09 23:29:18 +0200
commit4824d3bfb9097ac59cf7633c0bc4fb7c5b549a80 (patch)
tree452934fb853e1d9c98cfeb6981903006e58beca5 /drivers/vhost/vringh.c
parenttarget: Add transport_init_session_tags using per-cpu ida (diff)
downloadlinux-4824d3bfb9097ac59cf7633c0bc4fb7c5b549a80.tar.xz
linux-4824d3bfb9097ac59cf7633c0bc4fb7c5b549a80.zip
vhost/scsi: Convert to per-cpu ida_alloc + ida_free command map
This patch changes vhost/scsi to use transport_init_session_tags() pre-allocation logic for per-cpu session tag pooling with internal ida_alloc() + ida_free() calls based upon the saved se_cmd->map_tag id. FIXME: Make transport_init_session_tags() number of tags setup configurable per vring client setting via configfs v5 changes: - Convert to percpu_ida.h include v3 changes: - Update to percpu-ida usage - Rebase to v3.11-rc5 code Cc: Michael S. Tsirkin <mst@redhat.com> Cc: Asias He <asias@redhat.com> Cc: Kent Overstreet <kmo@daterainc.com> Acked-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions