[SCSI] add shared tag map helpers
This patch adds support for sharing tag maps at the host level (i.e. either every queue [LUN] has its own tag map or there's a single one for the entire host). This formulation is primarily intended to help single issue queue hardware, like the aic7xxx Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
This commit is contained in:
committed by
James Bottomley
parent
492dfb4896
commit
86e33a296c
@@ -265,6 +265,9 @@ static void scsi_host_dev_release(struct device *dev)
|
||||
destroy_workqueue(shost->work_q);
|
||||
|
||||
scsi_destroy_command_freelist(shost);
|
||||
if (shost->bqt)
|
||||
blk_free_tags(shost->bqt);
|
||||
|
||||
kfree(shost->shost_data);
|
||||
|
||||
if (parent)
|
||||
|
Reference in New Issue
Block a user