aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/libata.h
diff options
context:
space:
mode:
authorTejun Heo <htejun@gmail.com>2007-11-27 05:28:56 -0500
committerJeff Garzik <jeff@garzik.org>2008-01-23 05:24:10 -0500
commit3884f7b0a8382b89d8ca5da23bd98e3e15fc805b (patch)
treea62ec936db81b3018d072cb03a28dc1d4337dd4a /include/linux/libata.h
parent6f1d1e3a03fd04a9d9c82fd3cf414020097bb142 (diff)
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>
Diffstat (limited to 'include/linux/libata.h')
-rw-r--r--include/linux/libata.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/libata.h b/include/linux/libata.h
index ca347b018649..74f1255e2524 100644
--- a/include/linux/libata.h
+++ b/include/linux/libata.h
@@ -482,7 +482,7 @@ struct ata_port_stats {
482}; 482};
483 483
484struct ata_ering_entry { 484struct ata_ering_entry {
485 int is_io; 485 unsigned int eflags;
486 unsigned int err_mask; 486 unsigned int err_mask;
487 u64 timestamp; 487 u64 timestamp;
488}; 488};