diff options
author | Tejun Heo <htejun@gmail.com> | 2006-07-10 10:18:46 -0400 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2006-07-19 14:06:53 -0400 |
commit | 13abf50df209008b5d44075bafeeab42ace56aa6 (patch) | |
tree | 5e8ea48d61c7e58560b04d33609a4a2bc6cf0012 /net | |
parent | 7c8c2cff81b2b7f6dd3f9fd7b77033c1be5d7920 (diff) |
[PATCH] libata: improve EH action and EHI flag handling
Update ata_eh_about_to_do() and ata_eh_done() to improve EH action and
EHI flag handling.
* There are two types of EHI flags - one which expires on successful
EH and the other which expires on a successful reset. Make this
distinction clear.
* Unlike other EH actions, reset actions are represented by two EH
action masks and a EHI modifier. Implement correct about_to_do/done
semantics for resets. That is, prior to reset, related EH info is
sucked in from ehi and cleared, and after reset is complete, related
EH info in ehc is cleared.
These changes improve consistency and remove unnecessary EH actions
caused by stale EH action masks and EHI flags.
Signed-off-by: Tejun Heo <htejun@gmail.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions