diff options
Diffstat (limited to 'drivers/ata')
-rw-r--r-- | drivers/ata/libata-eh.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/ata/libata-eh.c b/drivers/ata/libata-eh.c index 6d8757008318..c1d0170a6585 100644 --- a/drivers/ata/libata-eh.c +++ b/drivers/ata/libata-eh.c | |||
@@ -95,12 +95,13 @@ enum { | |||
95 | * represents timeout for that try. The first try can be soft or | 95 | * represents timeout for that try. The first try can be soft or |
96 | * hardreset. All others are hardreset if available. In most cases | 96 | * hardreset. All others are hardreset if available. In most cases |
97 | * the first reset w/ 10sec timeout should succeed. Following entries | 97 | * the first reset w/ 10sec timeout should succeed. Following entries |
98 | * are mostly for error handling, hotplug and retarded devices. | 98 | * are mostly for error handling, hotplug and those outlier devices that |
99 | * take an exceptionally long time to recover from reset. | ||
99 | */ | 100 | */ |
100 | static const unsigned long ata_eh_reset_timeouts[] = { | 101 | static const unsigned long ata_eh_reset_timeouts[] = { |
101 | 10000, /* most drives spin up by 10sec */ | 102 | 10000, /* most drives spin up by 10sec */ |
102 | 10000, /* > 99% working drives spin up before 20sec */ | 103 | 10000, /* > 99% working drives spin up before 20sec */ |
103 | 35000, /* give > 30 secs of idleness for retarded devices */ | 104 | 35000, /* give > 30 secs of idleness for outlier devices */ |
104 | 5000, /* and sweet one last chance */ | 105 | 5000, /* and sweet one last chance */ |
105 | ULONG_MAX, /* > 1 min has elapsed, give up */ | 106 | ULONG_MAX, /* > 1 min has elapsed, give up */ |
106 | }; | 107 | }; |