[SCSI] be2iscsi: Fix for wrong dmsg setting in wrb
authorJayamohan Kallickal <jayamohan.kallickal@emulex.com>
Sat, 8 Oct 2011 00:31:09 +0000 (19:31 -0500)
committerJames Bottomley <JBottomley@Parallels.com>
Sun, 16 Oct 2011 16:01:54 +0000 (11:01 -0500)
commit685e16fdcf4324fe75ff28940311598f01704eaa
tree0782ad885726468362f0e71b6abdef06498e23fe
parente528586079a20c3d28a490ec8e3271bb4348fc3e
[SCSI] be2iscsi: Fix for wrong dmsg setting in wrb

   This patch fixes wrong dmsg setting when we send out wrb.

If the ttt is not ISCSI_RESERVED_TAG then we should be setting
dmsg=1 so that the completion is done without waiting for a
iscsi level response from the target

Signed-off-by: Jayamohan Kallickal <jayamohan.kallickal@emulex.com>
Signed-off-by: Mike Christie <michaelc@cs.wisc.edu>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
drivers/scsi/be2iscsi/be_main.c