summaryrefslogtreecommitdiffstats
path: root/drivers/ata/pata_palmld.c
diff options
context:
space:
mode:
authorMartin K. Petersen <martin.petersen@oracle.com>2017-08-25 19:14:50 -0400
committerSagi Grimberg <sagi@grimberg.me>2017-08-28 23:00:44 +0300
commit07fbd32a6b215d8b2fc01ccc89622207b9b782fd (patch)
tree2c8a3f2c6cc6a10735a437d991f20cf804bda704 /drivers/ata/pata_palmld.c
parent5228b3280b9bb8fa6aef59f891cca64a028e9b36 (diff)
downloadlinux-07fbd32a6b215d8b2fc01ccc89622207b9b782fd.tar.bz2
nvme: honor RTD3 Entry Latency for shutdowns
If an NVMe controller reports RTD3 Entry Latency larger than shutdown_timeout, up to a maximum of 60 seconds, use that value to set the shutdown timer. Otherwise fall back to the module parameter which defaults to 5 seconds. Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com> Reviewed-by: Sagi Grimberg <sagi@grimberg.me> [hch: removed do_div, made transition time local scope] Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'drivers/ata/pata_palmld.c')
0 files changed, 0 insertions, 0 deletions