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,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS 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 BA698C433ED for ; Thu, 20 May 2021 20:27:08 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 95EAF6109F for ; Thu, 20 May 2021 20:27:08 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237375AbhETU23 (ORCPT ); Thu, 20 May 2021 16:28:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52746 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235261AbhETU22 (ORCPT ); Thu, 20 May 2021 16:28:28 -0400 Received: from ms.lwn.net (ms.lwn.net [IPv6:2600:3c01:e000:3a1::42]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D66DAC061574; Thu, 20 May 2021 13:27:06 -0700 (PDT) Received: from localhost (unknown [IPv6:2601:281:8300:104d::5f6]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ms.lwn.net (Postfix) with ESMTPSA id 8B4B62F3; Thu, 20 May 2021 20:27:06 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 ms.lwn.net 8B4B62F3 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lwn.net; s=20201203; t=1621542426; bh=NpuRS2178vxy4S9OffI41QVP9Bg2Y78UthUZZGVg8UA=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=OOiQ05hvuLhjcC3/P9dziZv94vkKr6NkttIIPz3GfQLOP2Nz16XYv1p1y0PWYsf4B nFWmIhluyIP9VoY1K9FkxiTEpG9wrzvz1K4WZBJ+K3rZ/1207ZmKOHFqPOejc6YgKU KdO0CK5jHpuOq9/KTAJV0UMiRQkohS+u4A3cgtFZcw7DhXlhJ70l+IiM/qci33ATvN vPAdR9yD4bkTjMSCGe2AJydJ6kKd2Cxb6kEZfNkRvYQRUqLnyhqZE3iQK2PQXk6kKi YowxnpDH8Xu0vtTy4svG3JmyBvalmoT4bpujh4k99jpXMRvKPLT1vfJgmB2DrK+plZ cMzoNbAzo67Ww== From: Jonathan Corbet To: Yue Hu Cc: linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, huyue2@yulong.com, zbestahu@163.com Subject: Re: [PATCH] docs: block: blk-mq.rst: correct drive -> driver In-Reply-To: <20210520074225.1989-1-zbestahu@gmail.com> References: <20210520074225.1989-1-zbestahu@gmail.com> Date: Thu, 20 May 2021 14:27:06 -0600 Message-ID: <877djtnobp.fsf@meer.lwn.net> MIME-Version: 1.0 Content-Type: text/plain Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Yue Hu writes: > 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. Applied, thanks. jon