diff options
author | John Soni Jose <sony.john-n@emulex.com> | 2012-10-20 04:42:49 +0530 |
---|---|---|
committer | James Bottomley <JBottomley@Parallels.com> | 2012-11-27 08:59:37 +0400 |
commit | 72fb46a9d5ec2dfe4dc65eb3bfb795510aacbd1f (patch) | |
tree | cf0af61715353461aa901599c9a38944e0365045 /drivers/scsi/be2iscsi/be_main.h | |
parent | 4d4d1ef8cbc33b650a96bbdf0ca9b14db10e1b29 (diff) | |
download | linux-72fb46a9d5ec2dfe4dc65eb3bfb795510aacbd1f.tar.gz linux-72fb46a9d5ec2dfe4dc65eb3bfb795510aacbd1f.tar.bz2 linux-72fb46a9d5ec2dfe4dc65eb3bfb795510aacbd1f.zip |
[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>
Diffstat (limited to 'drivers/scsi/be2iscsi/be_main.h')
-rw-r--r-- | drivers/scsi/be2iscsi/be_main.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/scsi/be2iscsi/be_main.h b/drivers/scsi/be2iscsi/be_main.h index e24d55015424..02b23c954e1e 100644 --- a/drivers/scsi/be2iscsi/be_main.h +++ b/drivers/scsi/be2iscsi/be_main.h @@ -327,11 +327,8 @@ struct beiscsi_hba { } fw_config; u8 mac_address[ETH_ALEN]; - unsigned short todo_cq; - unsigned short todo_mcc_cq; char wq_name[20]; struct workqueue_struct *wq; /* The actuak work queue */ - struct work_struct work_cqs; /* The work being queued */ struct be_ctrl_info ctrl; unsigned int generation; unsigned int interface_handle; |