[SCSI] be2iscsi: Fix kernel panic in blk_iopoll disable mode.
authorJohn Soni Jose <sony.john-n@emulex.com>
Fri, 19 Oct 2012 23:12:49 +0000 (04:42 +0530)
committerJames Bottomley <JBottomley@Parallels.com>
Tue, 27 Nov 2012 04:59:37 +0000 (08:59 +0400)
commit72fb46a9d5ec2dfe4dc65eb3bfb795510aacbd1f
treecf0af61715353461aa901599c9a38944e0365045
parent4d4d1ef8cbc33b650a96bbdf0ca9b14db10e1b29
[SCSI] be2iscsi: Fix kernel panic in blk_iopoll disable mode.

Kernel used to panic while running IO is disable mode, as there
was an issue with getting the correct EQ on which completion has come.
Fix done is create workqueue per hba and work item for each EQ created.

Signed-off-by: John Soni Jose <sony.john-n@emulex.com>
Signed-off-by: Jayamohan Kallickal <jayamohan.kallickal@emulex.com>
Reviewed-by: Mike Christie <michaelc@cs.wisc.edu>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
drivers/scsi/be2iscsi/be.h
drivers/scsi/be2iscsi/be_main.c
drivers/scsi/be2iscsi/be_main.h