From: Mike Christie Date: Tue, 4 Mar 2008 19:26:53 +0000 (-0600) Subject: [SCSI] qla4xxx: fix host reset dpc race X-Git-Tag: v2.6.25-rc5~25^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=50a29aec9c47d26e869df83ef1d69e3b63c83bf4;p=pandora-kernel.git [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 Acked-by: David C Somayajulu Signed-off-by: James Bottomley --- Reading git-diff-tree failed