Skip to contentSkip to conversation

block/bfq: update comments and default value in docs for fifo_expire

PATCH Applied Joseph Qi 3 participants 4 messages Feb 23, 2021 – Mar 2, 2021

Subsystems (3)
lore
Share & tools
lore

Joseph Qi

author
#0 lore raw

PATCH 1/1 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.

---
 Documentation/block/bfq-iosched.rst | 4 ++--
 block/bfq-iosched.c                 | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)
Documentation/block/bfq-iosched.rst +2 -2
index 19d4d15..66c5a4e 100644
@@ -430,13 +430,13 @@ fifo_expire_async
 -----------------
 
 This parameter is used to set the timeout of asynchronous requests. Default
-value of this is 248ms.
+value of this is 250ms.
 
 fifo_expire_sync
 ----------------
 
 This parameter is used to set the timeout of synchronous requests. Default
-value of this is 124ms. In case to favor synchronous requests over asynchronous
+value of this is 125ms. In case to favor synchronous requests over asynchronous
 one, this value should be decreased relative to fifo_expire_async.
 
 low_latency
block/bfq-iosched.c +1 -1
index b398dde..2baa10b 100644
@@ -160,7 +160,7 @@
 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. */
Signature · 1 line
1.8.3.1
Acked-by on v1 1/1
#1 lore raw
Quoted 9 lines

Il giorno 23 feb 2021, alle ore 02:55, Joseph Qi <[email protected]> ha scritto:

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.

Thank you!

Quoted 42 lines

---
Documentation/block/bfq-iosched.rst | 4 ++--
block/bfq-iosched.c | 2 +-

2 files changed, 3 insertions(+), 3 deletions(-)
Documentation/block/bfq-iosched.rst +0 -1
index 19d4d15..66c5a4e 100644
@@ -430,13 +430,13 @@ fifo_expire_async
-----------------
 

This parameter is used to set the timeout of asynchronous requests. Default

Documentation/block/bfq-iosched.rst +1 -1
-value of this is 248ms.
+value of this is 250ms.

fifo_expire_sync
----------------

This parameter is used to set the timeout of synchronous requests. Default

Documentation/block/bfq-iosched.rst +1 -1
-value of this is 124ms. In case to favor synchronous requests over asynchronous
+value of this is 125ms. In case to favor synchronous requests over asynchronous

one, this value should be decreased relative to fifo_expire_async.

low_latency

block/bfq-iosched.c +1 -1
index b398dde..2baa10b 100644
@@ -160,7 +160,7 @@
 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. */
Signature · 1 line
1.8.3.1
author
#2 lore raw
Quoted 10 lines · Paolo Valente
Quoted 9 lines

Il giorno 23 feb 2021, alle ore 02:55, Joseph Qi <[email protected]> ha scritto:

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.

Quoted 4 lines

Thank you!

Jens, could you take this?

Thanks,
Joseph

maintainer Applied
#3 lore raw
In reply to Joseph Qi
Quoted 4 lines · Joseph Qi

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.

Applied, thanks.

Signature · 1 line
Jens Axboe