From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-15.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 26942C433B4 for ; Thu, 20 May 2021 07:42:57 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 0124761001 for ; Thu, 20 May 2021 07:42:56 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230495AbhETHoQ (ORCPT ); Thu, 20 May 2021 03:44:16 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48932 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229534AbhETHoO (ORCPT ); Thu, 20 May 2021 03:44:14 -0400 Received: from mail-pg1-x52b.google.com (mail-pg1-x52b.google.com [IPv6:2607:f8b0:4864:20::52b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A0A3EC061574; Thu, 20 May 2021 00:42:52 -0700 (PDT) Received: by mail-pg1-x52b.google.com with SMTP id i5so11287254pgm.0; Thu, 20 May 2021 00:42:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=oRNmu4fMUCv8GN4dVQHhZfDAn0xmZo5zh42IKcZfNQU=; b=exEQZIaM6kI1l10smNkICNFSlZU6GljTx/YP1jL4G1ffoLY2dmWeHr77ErdQm6Umna revmSql19HwIBkrHRwCrBVzYfiF8u4bjwdtOjJ0JPkhBJ7h+eLRSFEz/Muz6noQ3PmNa fa39jzhr0KXz8VnhKNVHJAL3+Yg5pq5MalF60iZ5I4KlYUpKjUX11MLSWIQVLS2dGlKZ +iiGY7casEt8EQYue/cHuh1FDteJMhODHxw1YYrza7jhMQ3tGrtfkTWxBqKAzHE7ubvU oIvK6ECKslXNbs9MifyehIIiRosamr/7D0WkyQ/9C+iPmqsMWf6JZPl/3+3EGy02pzRO e8bg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=oRNmu4fMUCv8GN4dVQHhZfDAn0xmZo5zh42IKcZfNQU=; b=qUFPL69jDWncdiej0i2tGqmVeSHXi8DNi9UisYeBZmY0Oh2cBGwIW3HXMSbslCkdSc P5ofT0LgvY0nkEr7JVn1T5TlWRhC5oZ7bJp4UYpkBjsPxkifrNTXXr+tEM9FQDziraft 3GM9ZKXfGxcevZv9XRphFg7Cq/kSYD8Vb4a5Z1i7RLcgtepynHP3+xsZyOdE/9+5vyQH yf6FTSFaQaF0bsDBWjmJ/cD78dXV5USephFNkUU7ApZrVSWElHvhABBN8D6CHGiWWYnt A+WKk3/ifwBQODWA9v9MAtnLO/y97wRcp5npOfRS8ZOdWehhHhIk48vi/uB20rYMUDy6 XzDA== X-Gm-Message-State: AOAM5325X6jHJPW9sYLQi31czBDYFwjxH74j+h7n0gIQ938GnrbQjCMl 8Ws8TSurn1gfiNNI7ngfGoLXgbShHJ+98w== X-Google-Smtp-Source: ABdhPJxjDfuA5Hyk3X3ksb5Ed0mviEchcCoB2Wt8F10O16clWtZ8WPi4Ps0qKlJyUmGpiuqdEbq09g== X-Received: by 2002:a65:5a81:: with SMTP id c1mr3186182pgt.111.1621496572247; Thu, 20 May 2021 00:42:52 -0700 (PDT) Received: from tj.ccdomain.com ([103.220.76.197]) by smtp.gmail.com with ESMTPSA id cc2sm1317042pjb.39.2021.05.20.00.42.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 20 May 2021 00:42:51 -0700 (PDT) From: Yue Hu To: corbet@lwn.net Cc: linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, huyue2@yulong.com, zbestahu@163.com Subject: [PATCH] docs: block: blk-mq.rst: correct drive -> driver Date: Thu, 20 May 2021 15:42:25 +0800 Message-Id: <20210520074225.1989-1-zbestahu@gmail.com> X-Mailer: git-send-email 2.29.2.windows.3 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Yue Hu It is 'driver' to complete the request. Also remove a redundant space. Signed-off-by: Yue Hu --- Documentation/block/blk-mq.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Documentation/block/blk-mq.rst b/Documentation/block/blk-mq.rst index a980d23..d96118c 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. -- 1.9.1