summaryrefslogtreecommitdiffstats
path: root/include/scsi
diff options
context:
space:
mode:
authorDan Williams <dan.j.williams@intel.com>2012-01-09 19:12:52 +0100
committerJames Bottomley <JBottomley@Parallels.com>2012-02-29 22:20:01 +0100
commit45c73b65194173e77030d5b95abe5b63a402d268 (patch)
tree46e08c5fb11805dac6aa2008a3501dfee58f75c8 /include/scsi
parent[SCSI] isci: remove IDEV_EH hack to disable "discovery-time" ata resets (diff)
downloadlinux-45c73b65194173e77030d5b95abe5b63a402d268.tar.xz
linux-45c73b65194173e77030d5b95abe5b63a402d268.zip
[SCSI] libsas: pre-clean commands that won the eh vs completion race
When scrolling forward through the eh list (in a clear_q scenario) it is possible to encounter commands that won the completion vs eh race. Rather than sprinkle more "if (!task)" throughout the handler just make a pass through the list and delete the race winners before handling the rest. Signed-off-by: Dan Williams <dan.j.williams@intel.com> Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'include/scsi')
0 files changed, 0 insertions, 0 deletions