]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
nvme: Fix APST comment
authorAndy Lutomirski <luto@kernel.org>
Fri, 21 Apr 2017 23:19:22 +0000 (16:19 -0700)
committerJens Axboe <axboe@fb.com>
Tue, 25 Apr 2017 04:03:46 +0000 (22:03 -0600)
There was a typo in the description of the timeout heuristic.

Signed-off-by: Andy Lutomirski <luto@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@fb.com>
drivers/nvme/host/core.c

index bf6729b1d8bf74dba9a5316f3ec674a598c935c9..30446e29dbd9fc82f36935e2fa46333fd4356243 100644 (file)
@@ -1325,7 +1325,7 @@ static void nvme_configure_apst(struct nvme_ctrl *ctrl)
         * heuristic: we are willing to spend at most 2% of the time
         * transitioning between power states.  Therefore, when running
         * in any given state, we will enter the next lower-power
-        * non-operational state after waiting 100 * (enlat + exlat)
+        * non-operational state after waiting 50 * (enlat + exlat)
         * microseconds, as long as that state's total latency is under
         * the requested maximum latency.
         *