Received: by 2002:ac0:de83:0:0:0:0:0 with SMTP id b3csp1463481imk; Mon, 4 Jul 2022 03:42:18 -0700 (PDT) X-Google-Smtp-Source: AGRyM1sZJsBHIU2uyKxUYCEDO4Yx6DS7FZVj5iuHUMh84STbnlPXnP0yPVniOMP5OgJkeiDkGe/r X-Received: by 2002:a17:902:744c:b0:16b:dacb:5724 with SMTP id e12-20020a170902744c00b0016bdacb5724mr8772020plt.57.1656931338538; Mon, 04 Jul 2022 03:42:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1656931338; cv=none; d=google.com; s=arc-20160816; b=zzBmm6cE4wvvI4qyXcT9djDA5vY5+c5FhGUFjEsBSgGWuK/wL8unVgU6W3GxVGUHS6 rSb/ZzktA0RSTSQlgBvYQB7Eq5Tcw/XADf+JTYFMGqXLB0a+qx6gLByeCuGd6KrXA4jL JvqOrT8iBgMwe83tz2Yi35Il8s9knRnMGmM45GCWRbDzzE/5VEZkrUqtd5XLtloliIEP OANEHVGYZYYnIq/QHrtZI7G4ggcdlCOLDSWXlQJsZFy5EfqcCag1O/oNxA7ddAJPb4D0 M8CKsGIcaLyRyA45e2qlp0lseTC/KFD58bA+kqtOeD8OYl926bqalk+jOW676zTgmeyc UGzw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=nVGVMNBd2oOSj6LG5NMZzTOZ5T/mygT1qwVsqeNoX00=; b=eV6ILxFuUHTm9vPBw/gJayT8hr+j5y13Sqq/oVUi/gVb9BSJQNJ6aifxpzeYA9WRLI qfkvM+zkWQ6MJNJQ8rqunDDrPBzD8veVF1oO5Vc8bizQIt7hP7aMrMh2RjyY3ZJ9QfEg vcfVGmD2b86GW/SC1M/PfRz/hg+YMv+pfdGEhvFzuwUkyhyKvy6zqtL60Nfhel1D9WGq Usz2K/D9nPUBLG/ANcZJ0iKn3y/ACdtywZIzWayZQFVVfY7E9AlhksMgUTDnfcc/MO5Y vi1IthmOZxpo3i7EOzQvf66xTZ8HIxSzaxJH1QXT3klYPoxeRFRKJNoMjC+0nWltXmWp Y/hw== 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 q132-20020a632a8a000000b0040d1569b651si12216955pgq.870.2022.07.04.03.42.06; Mon, 04 Jul 2022 03:42:18 -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 S233947AbiGDKGG (ORCPT + 99 others); Mon, 4 Jul 2022 06:06:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58698 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233832AbiGDKGF (ORCPT ); Mon, 4 Jul 2022 06:06:05 -0400 Received: from mail.nfschina.com (unknown [IPv6:2400:dd01:100f:2:72e2:84ff:fe10:5f45]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id D622530B; Mon, 4 Jul 2022 03:06:03 -0700 (PDT) Received: from localhost (unknown [127.0.0.1]) by mail.nfschina.com (Postfix) with ESMTP id 7C2391E80CCF; Mon, 4 Jul 2022 18:04:07 +0800 (CST) X-Virus-Scanned: amavisd-new at test.com Received: from mail.nfschina.com ([127.0.0.1]) by localhost (mail.nfschina.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id X9lF_6B9pUia; Mon, 4 Jul 2022 18:04:04 +0800 (CST) Received: from localhost.localdomain (unknown [180.167.10.98]) (Authenticated sender: jiaming@nfschina.com) by mail.nfschina.com (Postfix) with ESMTPA id 34A861E80C90; Mon, 4 Jul 2022 18:04:04 +0800 (CST) From: Zhang Jiaming To: song@kernel.org Cc: linux-raid@vger.kernel.org, linux-kernel@vger.kernel.org, liqiong@nfschina.com, renyu@nfschina.com, Zhang Jiaming , Paul Menzel Subject: [PATCH] block: Fix spelling mistakes in comments Date: Mon, 4 Jul 2022 18:05:57 +0800 Message-Id: <20220704100557.6429-1-jiaming@nfschina.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220704012328.6507-1-jiaming@nfschina.com> References: <20220704012328.6507-1-jiaming@nfschina.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.1 required=5.0 tests=BAYES_00,RDNS_NONE, SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE autolearn=no 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 Fix spelling of dones't and waitting in comments. Signed-off-by: Zhang Jiaming Reviewed-by: Paul Menzel --- 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 */ -- 2.34.1