Searched hist:"45 c73b65194173e77030d5b95abe5b63a402d268" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/scsi/libsas/ |
H A D | sas_scsi_host.c | diff 45c73b65194173e77030d5b95abe5b63a402d268 Mon Jan 09 12:12:52 CST 2012 Dan Williams <dan.j.williams@intel.com> [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>
|