Tejun Heo 3884f7b0a8 libata: clean up EH speed down implementation
Clean up EH speed down implementation.

* is_io boolean variable is replaced eflags.  is_io is ATA_EFLAG_IS_IO.

* Error categories now have names.

* Better comments.

* Reorder 5min and 10min rules in ata_eh_speed_down_verdict()

* Use local variable @link to cache @dev->link in ata_eh_speed_down()

These changes are to improve readability and ease further changes.
This patch doesn't introduce any behavior change.

Signed-off-by: Tejun Heo <htejun@gmail.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
2008-01-23 05:24:10 -05:00
..
2008-01-23 05:24:10 -05:00
2008-01-10 16:53:12 -05:00
2008-01-23 05:24:09 -05:00
2008-01-23 05:24:10 -05:00
2007-10-20 01:02:48 +02:00
2007-10-19 22:55:03 -04:00
2007-11-23 19:33:27 -05:00
2008-01-23 05:24:10 -05:00
2008-01-23 05:24:10 -05:00
2006-08-10 07:31:37 -04:00
2008-01-23 05:24:10 -05:00
2008-01-23 05:24:10 -05:00
2007-07-02 10:17:42 -04:00