]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit - drivers/scsi/libiscsi.c
[SCSI] libiscsi: do not take host lock in queuecommand
authorMike Christie <michaelc@cs.wisc.edu>
Fri, 31 Dec 2010 08:22:21 +0000 (02:22 -0600)
committerJames Bottomley <James.Bottomley@suse.de>
Fri, 31 Dec 2010 15:52:44 +0000 (09:52 -0600)
commitf41d472179a0d7c8e8160c85180ab1124947068e
tree51f3397de8fc8acf3c27d08c2e39e2eb39bacc75
parent1227633a441363642cdbaf38c4241d071e917095
[SCSI] libiscsi: do not take host lock in queuecommand

iscsi_tcp, ib_iser, cxgb*, be2iscsi and bnx2i do not use
the host lock and do not take the session lock against
a irq, so this patch drops the DEF_SCSI_QCMD use. Instead
we just take the session lock and disable bhs.

Signed-off-by: Mike Christie <michaelc@cs.wisc.edu>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
drivers/scsi/libiscsi.c
include/scsi/libiscsi.h