commit | 35e86b53b1a38e78ff0d70dae4aeb25f4572e433 | [log] [tgz] |
---|---|---|
author | Tejun Heo <htejun@gmail.com> | Sun Apr 02 18:51:53 2006 +0900 |
committer | Jeff Garzik <jeff@garzik.org> | Sun Apr 02 10:09:20 2006 -0400 |
tree | aa182ee897dd7211723b4f73843f1a638df2a5ea | |
parent | d69cf37d5387801914bbf5297f070c7d2ee0206f [diff] |
[PATCH] libata: dec scmd->retries for qcs with zero err_mask qcs might get retried because of unrelated failure. e.g. NCQ command failure causes the whole command set to be aborted. Decrement scmd->retries for such retrials to avoid unnecessarily failing commands. Note that scmd->retries will be incremented the first time. Signed-off-by: Tejun Heo <htejun@gmail.com> Signed-off-by: Jeff Garzik <jeff@garzik.org>