]> git.karo-electronics.de Git - karo-tx-linux.git/commit
libsas: cleanup spurious calls to scsi_schedule_eh
authorMaciej Trela <maciej.trela@intel.com>
Mon, 5 Mar 2012 01:58:55 +0000 (17:58 -0800)
committerDan Williams <dan.j.williams@intel.com>
Tue, 13 Mar 2012 06:37:04 +0000 (23:37 -0700)
commit3c1dbbd2529c659745c047c449037e4f94d326cb
tree8c630d363cc3310c798ec4ecb23888989153f5ec
parent63494f1cc2022fd9271c0af3399df3bc7dbec55c
libsas: cleanup spurious calls to scsi_schedule_eh

eh is woken up automatically by the presence of failed commands,
scsi_schedule_eh is reserved for cases where there are no failed
commands.  This guarantees that host_eh_sceduled is only incremented
when an explicit eh request is made.

Reviewed-by: Jacek Danecki <jacek.danecki@intel.com>
Signed-off-by: Maciej Trela <maciej.trela@intel.com>
[fixed spurious delete of sas_ata_task_abort]
Signed-off-by: Artur Wojcik <artur.wojcik@intel.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
drivers/scsi/libsas/sas_ata.c
drivers/scsi/libsas/sas_scsi_host.c