summaryrefslogtreecommitdiffstats
path: root/security/commoncap.c
diff options
context:
space:
mode:
authorMike Christie <michaelc@cs.wisc.edu>2008-03-04 13:26:53 -0600
committerJames Bottomley <James.Bottomley@HansenPartnership.com>2008-03-05 12:03:17 -0600
commit50a29aec9c47d26e869df83ef1d69e3b63c83bf4 (patch)
treef7f035b965da8850078f48a039a10d2ed541d1b2 /security/commoncap.c
parent21f1e91d4bb8fa7cd3a59938471fc7c7d27f82da (diff)
downloadtalos-op-linux-50a29aec9c47d26e869df83ef1d69e3b63c83bf4.tar.gz
talos-op-linux-50a29aec9c47d26e869df83ef1d69e3b63c83bf4.zip
[SCSI] qla4xxx: fix host reset dpc race
The host reset callout could be starting to reset the hba at the same time the dpc thread is. This creates lots of problems because they both want to do wierd things with the firmware and interrupts, etc. This patch just has the host reset function fully shutdown the dpc thread before resetting the hba. This patch also moves the setting of the session online bit to fix a potential race with the dpc thread and iscsi recovery thread. Signed-off-by: Mike Christie <michaelc@cs.wisc.edu> Acked-by: David C Somayajulu <david.somayajulu@qlogic.com> Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
Diffstat (limited to 'security/commoncap.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud