diff options
author | Joseph Qi <joseph.qi@linux.alibaba.com> | 2021-02-23 04:55:28 +0300 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2021-03-02 21:25:38 +0300 |
commit | 4168a8d27ed3a00f160e7f885c956f060d2a0741 (patch) | |
tree | 8189c7bea8cf69b4f8d8c155cc446691e01bb84e /block | |
parent | e4ef09e512940846fad77b1934065c166870b85a (diff) | |
download | linux-4168a8d27ed3a00f160e7f885c956f060d2a0741.tar.xz |
block/bfq: update comments and default value in docs for fifo_expire
Correct the comments since bfq_fifo_expire[0] is for async request,
while bfq_fifo_expire[1] is for sync request.
Also update docs, according the source code, the default
fifo_expire_async is 250ms, and fifo_expire_sync is 125ms.
Signed-off-by: Joseph Qi <joseph.qi@linux.alibaba.com>
Acked-by: Paolo Valente <paolo.valente@linaro.org>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block')
-rw-r--r-- | block/bfq-iosched.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/block/bfq-iosched.c b/block/bfq-iosched.c index ec482e6641ff..95586137194e 100644 --- a/block/bfq-iosched.c +++ b/block/bfq-iosched.c @@ -162,7 +162,7 @@ BFQ_BFQQ_FNS(split_coop); BFQ_BFQQ_FNS(softrt_update); #undef BFQ_BFQQ_FNS \ -/* Expiration time of sync (0) and async (1) requests, in ns. */ +/* Expiration time of async (0) and sync (1) requests, in ns. */ static const u64 bfq_fifo_expire[2] = { NSEC_PER_SEC / 4, NSEC_PER_SEC / 8 }; /* Maximum backwards seek (magic number lifted from CFQ), in KiB. */ |