Received: by 2002:ac0:de83:0:0:0:0:0 with SMTP id b3csp1366168imk; Mon, 4 Jul 2022 01:21:54 -0700 (PDT) X-Google-Smtp-Source: AGRyM1vqAEtQzyQEEyvnJiR+1UFM4kw9j9acVE3u9x0XlQZW0EGkso/qNOunxhYmOJbTDI8BezSB X-Received: by 2002:a63:600c:0:b0:412:5360:1462 with SMTP id u12-20020a63600c000000b0041253601462mr2038533pgb.546.1656922914669; Mon, 04 Jul 2022 01:21:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1656922914; cv=none; d=google.com; s=arc-20160816; b=auZ2zPj0e1sXspFPyYSR03MQacnyF3UYMr7rLZfUeflmsCwect8GyCFqdAoYcheRKO ns1AKWAesBlgSY/waBTNIS3DtPHujAk0c1JZkoPk+5KpIGC1Zir04Nlk636e3Bb7Sf5m qSgx+PdId5Dg/Bai1YAz36BCOrbiISjCJlgqLxXLfBha6ncqqGQuWeNzX7EaVuXDU6KB RyPecMDJKHngKe1o8/ZwE7lr8Hd/xmeTvE95w4YDFs+B9bSg1WuIyt9KgaMa6MMg6HUW TvVBh2i21ngAxz3RKvJtvlvYei7BCZj3CvPFwd8AaZN7O+zk52JePOcmifPCE1o6ptkU Q6gA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id; bh=P86v2WKqn5zmG448kV69jZdatSfsCAn6vyCZ/x069BU=; b=uMdAc69a8xN+I0k7JIlmuYUGvQF+CapiDUjJ0CRPvXdziiGSu4dNgSaYXHx/bZ9zWP KkskigfPtMhK7tEQJdPydb3qSIufIiDSDEH/sFU8/OA+FglFhOtjzCS63yh4iNPmPxNs 5Uzia6IH3HsxxYAT1lH0NaBKdedWABAObTeH41oU86rRrMCX2xp+eoFfW1LVDJN4T1Sn gEyryJAkTf83pNtJYimHT0lZrYrjnUJg+l7chAnhZr2Z6+0Gop+HofuvbxTHAkgaSa2q v/bi1PN7B092bacp4hVOH94ZgWQ5/YtYMkFC9+5vXps2SRn+ERSivbCe+8aF200208b9 n2XQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ob17-20020a17090b391100b001ecbc9508b8si21857510pjb.144.2022.07.04.01.21.38; Mon, 04 Jul 2022 01:21:54 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232974AbiGDHwC (ORCPT + 99 others); Mon, 4 Jul 2022 03:52:02 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40256 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233118AbiGDHvw (ORCPT ); Mon, 4 Jul 2022 03:51:52 -0400 Received: from mx1.molgen.mpg.de (mx3.molgen.mpg.de [141.14.17.11]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 06AF9A472; Mon, 4 Jul 2022 00:51:49 -0700 (PDT) Received: from [192.168.0.3] (ip5f5aede6.dynamic.kabel-deutschland.de [95.90.237.230]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: pmenzel) by mx.molgen.mpg.de (Postfix) with ESMTPSA id D72F261EA1923; Mon, 4 Jul 2022 09:51:46 +0200 (CEST) Message-ID: Date: Mon, 4 Jul 2022 09:51:46 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.11.0 Subject: Re: [PATCH] block: Fix spelling mistake in comments Content-Language: en-US To: Zhang Jiaming Cc: linux-raid@vger.kernel.org, linux-kernel@vger.kernel.org, liqiong@nfschina.com, renyu@nfschina.com, song@kernel.org References: <20220704012328.6507-1-jiaming@nfschina.com> From: Paul Menzel In-Reply-To: <20220704012328.6507-1-jiaming@nfschina.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,NICE_REPLY_A, RCVD_IN_DNSWL_MED,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Dear Zhang, Thank you for your patch. Some nits. Am 04.07.22 um 03:23 schrieb Zhang Jiaming: > There are some typos(dones't, waitting) in comments. > Fix it. Please add a space before the (. “Fix it.” also fits on the line above, and maybe use plural in the commit message summary. For the body, maybe: Fix spelling of dones't and waitting in comments. > Signed-off-by: Zhang Jiaming > --- > drivers/md/raid5-cache.c | 8 ++++---- > 1 file changed, 4 insertions(+), 4 deletions(-) > > diff --git a/drivers/md/raid5-cache.c b/drivers/md/raid5-cache.c > index 83c184eddbda..4b799005eb6e 100644 > --- a/drivers/md/raid5-cache.c > +++ b/drivers/md/raid5-cache.c > @@ -125,7 +125,7 @@ struct r5l_log { > * reclaimed. if it's 0, reclaim spaces > * used by io_units which are in > * IO_UNIT_STRIPE_END state (eg, reclaim > - * dones't wait for specific io_unit > + * doesn't wait for specific io_unit > * switching to IO_UNIT_STRIPE_END > * state) */ > wait_queue_head_t iounit_wait; > @@ -1327,9 +1327,9 @@ static void r5l_write_super_and_discard_space(struct r5l_log *log, > * superblock is updated to new log tail. Updating superblock (either > * directly call md_update_sb() or depend on md thread) must hold > * reconfig mutex. On the other hand, raid5_quiesce is called with > - * reconfig_mutex hold. The first step of raid5_quiesce() is waitting > - * for all IO finish, hence waitting for reclaim thread, while reclaim > - * thread is calling this function and waitting for reconfig mutex. So > + * reconfig_mutex hold. The first step of raid5_quiesce() is waiting > + * for all IO finish, hence waiting for reclaim thread, while reclaim > + * thread is calling this function and waiting for reconfig mutex. So > * there is a deadlock. We workaround this issue with a trylock. > * FIXME: we could miss discard if we can't take reconfig mutex > */ Reviewed-by: Paul Menzel Kind regards, Paul