From: Kashyap, Desai Date: Thu, 17 Jun 2010 09:10:56 +0000 (+0530) Subject: [SCSI] mptfusion: schedule_target_reset from all Reset context X-Git-Tag: v2.6.36-rc1~570^2~164 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b68bf096d4211bb6490955f86842d8291e8ae218;p=pandora-kernel.git [SCSI] mptfusion: schedule_target_reset from all Reset context Issue: target reset will be queued to driver's internal queue to get schedule later. When driver add target into internal target_reset queue we will block IOs on those target using scsi midlayer API. Now due to some cause driver is not executing those target_reset list and it is always in block state. Changes: now we are clearing target_reset queue from all other Callback context instead of only DeviceReset context.Now wherever driver is clearing taskmgmt_in_progress flag it is considering target_reset queue cleanup also. Signed-off-by: Kashyap Desai Signed-off-by: James Bottomley --- Reading git-diff-tree failed