diff options
author | bo yang <bo.yang@lsi.com> | 2007-11-09 04:35:44 -0500 |
---|---|---|
committer | James Bottomley <James.Bottomley@HansenPartnership.com> | 2008-01-11 19:22:43 -0500 |
commit | 7343eb6570ae3b299e7b5185b139d8335ef60e9b (patch) | |
tree | 1d2c354b15e7ad00618fcc1c03404125f0aca9e0 /drivers/scsi/megaraid/megaraid_sas.h | |
parent | b10c36a57552f03582c0ab3ece04f3cce791922d (diff) |
[SCSI] megaraid_sas: call cmd completion from reset
Driver will call cmd completion routine from Reset path without waiting for cmd completion from isr context.
Signed-off-by: Bo Yang <bo.yang@lsi.com>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
Diffstat (limited to 'drivers/scsi/megaraid/megaraid_sas.h')
-rw-r--r-- | drivers/scsi/megaraid/megaraid_sas.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/scsi/megaraid/megaraid_sas.h b/drivers/scsi/megaraid/megaraid_sas.h index 9739023a222c..c3575a304c6a 100644 --- a/drivers/scsi/megaraid/megaraid_sas.h +++ b/drivers/scsi/megaraid/megaraid_sas.h | |||
@@ -1084,6 +1084,8 @@ struct megasas_instance { | |||
1084 | struct megasas_cmd **cmd_list; | 1084 | struct megasas_cmd **cmd_list; |
1085 | struct list_head cmd_pool; | 1085 | struct list_head cmd_pool; |
1086 | spinlock_t cmd_pool_lock; | 1086 | spinlock_t cmd_pool_lock; |
1087 | /* used to synch producer, consumer ptrs in dpc */ | ||
1088 | spinlock_t completion_lock; | ||
1087 | struct dma_pool *frame_dma_pool; | 1089 | struct dma_pool *frame_dma_pool; |
1088 | struct dma_pool *sense_dma_pool; | 1090 | struct dma_pool *sense_dma_pool; |
1089 | 1091 | ||