Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp1377029pxj; Fri, 21 May 2021 12:40:58 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxamWlEsvng4KFoHvorzerMiN/5Xlu4E+48Cpvarq2Derk3BszWfM763XUVhVKwn6vpeV8y X-Received: by 2002:a02:cac6:: with SMTP id f6mr6813454jap.142.1621626058546; Fri, 21 May 2021 12:40:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621626058; cv=none; d=google.com; s=arc-20160816; b=vuN/s89hkeN5d/I5WVK8lo1xckd8FqlckbHoDNK16ZFCT4F7JY45hN5jUZ2FKnAdeD HF24lVuiqO10GsEIVK6o1ppEcqimWapK34OWicLgTBOJCZYwE16BFzogDpzrVD4dlhD9 6sWmtSK1X5SyUg9/YXBXqYhncFbUNR4hcQ6z0N7LjL+tW3ywb8ES4XIufKGAc6ukzInK xU95wEd8fUvghZLY0ZLHOmlNd7J/QAmDt6uWZSbTX9kxy+LC9kfICy66v1nhNbQbo+2s RIy7bGiomkhM5DWCAxGvIYtvY3obx1oIKNS+KJSli0jUm+50Y9CgasXc4Bl9Mbi70fQY wwLA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:dkim-signature:dkim-filter; bh=NpuRS2178vxy4S9OffI41QVP9Bg2Y78UthUZZGVg8UA=; b=D8RF32dumTK+QedwWkjzlLrKSqToJriKw97hYDq5pYe+LEH+hBGXXstyN3gHgiqs7O /GBUsniIdtNPTklbA50bOI9rtD14au80pT3+lBv2ZKt92ixYul+Hn3T1qwd7+d1ANVzl 64yUYBYwt3y3OiOOc9LHB/yBVVYMIpK1c7W9raAYojVgDt+1xzoZrHWUlrNF+NXjK91m Y2x1cKPO1cz9IcNIQzWlevyR6KdmEMh9N1F2ago2WN5kV7z1eTmg6kMhNRT9t/0CwDVr fCxXQEbFRGxkxTgdG3ztQe3hNqfmhvpi+jyCbFw6xM/GlEOmZ8H2V+nmiWgiTQmiKIBa Ot+A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lwn.net header.s=20201203 header.b=OOiQ05hv; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id g23si760761iom.5.2021.05.21.12.40.45; Fri, 21 May 2021 12:40:58 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@lwn.net header.s=20201203 header.b=OOiQ05hv; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237128AbhETU22 (ORCPT + 99 others); Thu, 20 May 2021 16:28:28 -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