[PATCH-v3 3/4] vhost/scsi: Convert to per-cpu ida_alloc + ida_free command map

2013-08-16 Thread Nicholas A. Bellinger
From: Nicholas Bellinger 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

[PATCH-v3 3/4] vhost/scsi: Convert to per-cpu ida_alloc + ida_free command map

2013-08-16 Thread Nicholas A. Bellinger
From: Nicholas Bellinger n...@linux-iscsi.org 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()