[SCSI] libiscsi_tcp: use kmap in xmit path
authorMike Christie <michaelc@cs.wisc.edu>
Thu, 17 Mar 2011 21:22:17 +0000 (16:22 -0500)
committerJames Bottomley <James.Bottomley@suse.de>
Wed, 23 Mar 2011 16:36:58 +0000 (11:36 -0500)
commit70c7c88a1a65ca683eb7f3fe3ce79c72f29d845e
tree42020cdbaa7fa1400816c8d1f95a6f13859abde3
parente8b12f0fb8352237525961f14ec933e915848840
[SCSI] libiscsi_tcp: use kmap in xmit path

The xmit path can sleep with a page kmapped in the network
xmit code while it waits for space to open up, so we have to use
kmap instead of kmap atomic in that path.

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