diff options
author | Damien Le Moal <damien.lemoal@hgst.com> | 2016-04-04 18:17:09 +0200 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2016-04-04 18:17:09 +0200 |
commit | 974e0a4537f556867483f493c7f67ccdcb7fc504 (patch) | |
tree | 44ec7451b86d0778c7a2b4b4a7ba5eb558f6bf39 /drivers/ata/libata-scsi.c | |
parent | libata: Fixup awkward whitespace in warning by removing line continuation. (diff) | |
download | linux-974e0a4537f556867483f493c7f67ccdcb7fc504.tar.xz linux-974e0a4537f556867483f493c7f67ccdcb7fc504.zip |
libata-core: Allow longer timeout for drive spinup from PUIS
When spinning up a drive from powered on standby mode (PUIS),
SETFEATURES_SPINUP is executed with the default timeout used
for any SETFEATURES subcommand, that is 5+10 seconds. The
total 15s is too short for some drives to complete spinup
(e.g. drives with a large indirection table stored on media),
resulting in ata_dev_read_id to fail twice on the execution
of SETFEATURES_SPINUP. For this feature, allow a larger
default timeout of 30 seconds. However, in the same spirit
as with the timeout of other feature subcommands, do not
ignore ata_probe_timeout if it is set).
Signed-off-by: Damien Le Moal <damien.lemoal@hgst.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'drivers/ata/libata-scsi.c')
0 files changed, 0 insertions, 0 deletions