diff options
author | Yue Hu <huyue2@yulong.com> | 2021-05-20 10:42:25 +0300 |
---|---|---|
committer | Jonathan Corbet <corbet@lwn.net> | 2021-05-20 23:26:49 +0300 |
commit | 2bc602cb0e0d92afec57967cf2212b66cba42ea5 (patch) | |
tree | 107073d9eeb617992b4dfde5f6fa1e00105015c0 /Documentation/block/blk-mq.rst | |
parent | 5fb82175a2aeb44d174ec60d264e54cb6e1e55f4 (diff) | |
download | linux-2bc602cb0e0d92afec57967cf2212b66cba42ea5.tar.xz |
docs: block: blk-mq.rst: correct drive -> driver
It is 'driver' to complete the request. Also remove a redundant space.
Signed-off-by: Yue Hu <huyue2@yulong.com>
Link: https://lore.kernel.org/r/20210520074225.1989-1-zbestahu@gmail.com
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Diffstat (limited to 'Documentation/block/blk-mq.rst')
-rw-r--r-- | Documentation/block/blk-mq.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Documentation/block/blk-mq.rst b/Documentation/block/blk-mq.rst index a980d23af48c..d96118c73954 100644 --- a/Documentation/block/blk-mq.rst +++ b/Documentation/block/blk-mq.rst @@ -62,7 +62,7 @@ queue, to be sent in the future, when the hardware is able. Software staging queues ~~~~~~~~~~~~~~~~~~~~~~~ -The block IO subsystem adds requests in the software staging queues +The block IO subsystem adds requests in the software staging queues (represented by struct blk_mq_ctx) in case that they weren't sent directly to the driver. A request is one or more BIOs. They arrived at the block layer through the data structure struct bio. The block layer @@ -132,7 +132,7 @@ In order to indicate which request has been completed, every request is identified by an integer, ranging from 0 to the dispatch queue size. This tag is generated by the block layer and later reused by the device driver, removing the need to create a redundant identifier. When a request is completed in the -drive, the tag is sent back to the block layer to notify it of the finalization. +driver, the tag is sent back to the block layer to notify it of the finalization. This removes the need to do a linear search to find out which IO has been completed. |