Received: by 2002:a05:7412:3b8b:b0:fc:a2b0:25d7 with SMTP id nd11csp145556rdb; Thu, 8 Feb 2024 01:27:33 -0800 (PST) X-Google-Smtp-Source: AGHT+IGqElClfvH1pxqGSK9x2l8hpdzF00rTUIIwojlxKHMXsx99Bwa9AnE1iQL7GSq8otDPNZJQ X-Received: by 2002:a17:906:3087:b0:a37:7f72:574c with SMTP id 7-20020a170906308700b00a377f72574cmr5404423ejv.68.1707384453133; Thu, 08 Feb 2024 01:27:33 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707384453; cv=pass; d=google.com; s=arc-20160816; b=buieH6mIyTzYzrSGhjE5EeyFr2TwenuW90rXdtJXDtA49Zkl7sHW/RbiO7JdX/KncV J0V5XYs3cqMcKqqOCmr/h0ly7FGPFkWor5g4+AOvtNp5whMDto854UuvHG0Nszqo22lO F3EW8sB2C+wsnuAVzkx1EEUj5VOfLlSDGBOvKUe0pZP7Xyt6yhiQZRDPkHyOvcP1I3/J BPmw5Oa1Og33YisufHD1vpL9YEt4DDYDkdPPX99uxCgV76y1B6KIkrTfNSbCNtuYfT1m 2TPk/wH66AzE6Q90XoQb9b84HoflniF8O2AHHKd04fI11P4o1XlA+mC/NO0sn9b3jtQv QUzw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from; bh=WGk0ITX1+D1LANQg31ZBRZNR3Vo7h96pnJQyOWxzpB0=; fh=6zGj9i7Cek5Q3Ck5+ztQpRWnbP2erwqApVpAl8KhOWY=; b=bAOWRup2mxzjCWMBenZBMV2S1KDjjqHZ6Qn+98aPjh/06HMAm4gvkx2P7GXNnzWzJf +ukUTRAYioYcVtPqWc/jf5vW9zx5roRLj9yRQ8QNsExnMYaWvBfPLOMEf3UWgm9lbvzY HTU0Z6Jd+u+oy/EB1PLFO4x4a6OeWk3MuuvmlyIWgtT6e3L70msTi2rzUIueUiAtSi/m 0MYZRiP/oJIM1rr6gDqfxNozBrCiNCcUPFGrDbgsOV5RdEJmSwB93SAUsdoTSNR2xi6b A6R3IER8aCMabQTHKjELoAk6TMv466A3izFbuiN7GjM2WejgnCCe9/kw05w3wq6HLR3S Twvg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=huaweicloud.com); spf=pass (google.com: domain of linux-kernel+bounces-57738-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-57738-linux.lists.archive=gmail.com@vger.kernel.org" X-Forwarded-Encrypted: i=2; AJvYcCXt2fbwUsizo5LCiMfl33NxcWe+YXLqshcEbk4ITGAvly3nyTvrNmO91A+6zedvRHsKqETdNAS84EhyKetXOeZg0/tYIbaGS3lKwMxbOQ== Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id k7-20020a17090646c700b00a3841716787si1889600ejs.494.2024.02.08.01.27.33 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 08 Feb 2024 01:27:33 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-57738-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=huaweicloud.com); spf=pass (google.com: domain of linux-kernel+bounces-57738-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-57738-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id DD0F91F21878 for ; Thu, 8 Feb 2024 09:27:32 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 9977E6F06E; Thu, 8 Feb 2024 09:23:15 +0000 (UTC) Received: from dggsgout11.his.huawei.com (unknown [45.249.212.51]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 434476EB70; Thu, 8 Feb 2024 09:23:11 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=45.249.212.51 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707384195; cv=none; b=RIfMk8sRY4aN7zI4aO0yUfSUBvVU/1i/+3C2gPfe4WpMYUsCipDtFjFm59rf6UC7nxgF7mAQooWGVT0ytIpLgWiuKzUEqsjj9D6AUflFauxmWj/PS2F0v8KVpX0uTHTjNY8pPwLRJhfs3wVh5XfsIvnuRBdiDl++InKISW5cQl0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707384195; c=relaxed/simple; bh=lHarguMikZ9Dwi9bzYFO+dQtmAomG+c+e8LUgIJpUgA=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=Pw/0Lm4l9YWuAGcRqwthZa5Y5O6KNTWiCp5cQs6Iv0ierJd5KPEzLdNARLtPB0S5SiMzXF8nc31e7e/SRSIAAwfAIBWjS8oC87EZaHARTS+NsAdU5dG7bdR2py0T5CtplBr9q5r45unKLDTY6HhnfXCXM1nF6625z/xO/8JSFxc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=huaweicloud.com; spf=pass smtp.mailfrom=huaweicloud.com; arc=none smtp.client-ip=45.249.212.51 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=huaweicloud.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=huaweicloud.com Received: from mail.maildlp.com (unknown [172.19.93.142]) by dggsgout11.his.huawei.com (SkyGuard) with ESMTP id 4TVs3F3W4yz4f3kk6; Thu, 8 Feb 2024 17:23:05 +0800 (CST) Received: from mail02.huawei.com (unknown [10.116.40.75]) by mail.maildlp.com (Postfix) with ESMTP id 50E361A0172; Thu, 8 Feb 2024 17:23:08 +0800 (CST) Received: from huaweicloud.com (unknown [10.175.124.27]) by APP2 (Coremail) with SMTP id Syh0CgAnSQx4ncRl3tGXDQ--.8574S8; Thu, 08 Feb 2024 17:23:08 +0800 (CST) From: Kemeng Shi To: viro@zeniv.linux.org.uk, brauner@kernel.org, jack@suse.cz Cc: linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 6/7] fs/writeback: correct comment of __wakeup_flusher_threads_bdi Date: Fri, 9 Feb 2024 01:20:23 +0800 Message-Id: <20240208172024.23625-7-shikemeng@huaweicloud.com> X-Mailer: git-send-email 2.30.0 In-Reply-To: <20240208172024.23625-1-shikemeng@huaweicloud.com> References: <20240208172024.23625-1-shikemeng@huaweicloud.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-CM-TRANSID:Syh0CgAnSQx4ncRl3tGXDQ--.8574S8 X-Coremail-Antispam: 1UD129KBjvdXoWrZFy8Zw4kZr4xXr45ZFykAFb_yoWfWFc_JF W8tr4DGFZFgFs8J3WxZ3Z3JF92g3ykCF45uFySkF98J3WY9r97Zr4kZFyDJw1jvayUWFWx G347Wr40v39IkjkaLaAFLSUrUUUUUb8apTn2vfkv8UJUUUU8Yxn0WfASr-VFAUDa7-sFnT 9fnUUIcSsGvfJTRUUUbfAYFVCjjxCrM7AC8VAFwI0_Wr0E3s1l1xkIjI8I6I8E6xAIw20E Y4v20xvaj40_Wr0E3s1l1IIY67AEw4v_Jr0_Jr4l87I20VAvwVAaII0Ic2I_JFv_Gryl82 xGYIkIc2x26280x7IE14v26r126s0DM28IrcIa0xkI8VCY1x0267AKxVW5JVCq3wA2ocxC 64kIII0Yj41l84x0c7CEw4AK67xGY2AK021l84ACjcxK6xIIjxv20xvE14v26ryj6F1UM2 8EF7xvwVC0I7IYx2IY6xkF7I0E14v26F4j6r4UJwA2z4x0Y4vEx4A2jsIE14v26rxl6s0D M28EF7xvwVC2z280aVCY1x0267AKxVW0oVCq3wAS0I0E0xvYzxvE52x082IY62kv0487Mc 02F40EFcxC0VAKzVAqx4xG6I80ewAv7VC0I7IYx2IY67AKxVWUJVWUGwAv7VC2z280aVAF wI0_Jr0_Gr1lOx8S6xCaFVCjc4AY6r1j6r4UM4x0Y48IcxkI7VAKI48JMxAIw28IcxkI7V AKI48JMxC20s026xCaFVCjc4AY6r1j6r4UMI8I3I0E5I8CrVAFwI0_Jr0_Jr4lx2IqxVCj r7xvwVAFwI0_JrI_JrWlx4CE17CEb7AF67AKxVWUAVWUtwCIc40Y0x0EwIxGrwCI42IY6x IIjxv20xvE14v26r1I6r4UMIIF0xvE2Ix0cI8IcVCY1x0267AKxVW8JVWxJwCI42IY6xAI w20EY4v20xvaj40_Jr0_JF4lIxAIcVC2z280aVAFwI0_Jr0_Gr1lIxAIcVC2z280aVCY1x 0267AKxVW8JVW8JrUvcSsGvfC2KfnxnUUI43ZEXa7IU0TqcUUUUUU== X-CM-SenderInfo: 5vklyvpphqwq5kxd4v5lfo033gof0z/ Commit e8e8a0c6c9bfc ("writeback: move nr_pages == 0 logic to one location") removed parameter nr_pages of __wakeup_flusher_threads_bdi and we try to writeback all dirty pages in __wakeup_flusher_threads_bdi now. Just correct stale comment. Signed-off-by: Kemeng Shi --- fs/fs-writeback.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/fs/fs-writeback.c b/fs/fs-writeback.c index e8868e814e0a..816505d74b2f 100644 --- a/fs/fs-writeback.c +++ b/fs/fs-writeback.c @@ -2345,8 +2345,7 @@ void wb_workfn(struct work_struct *work) } /* - * Start writeback of `nr_pages' pages on this bdi. If `nr_pages' is zero, - * write back the whole world. + * Start writeback of all dirty pages on this bdi. */ static void __wakeup_flusher_threads_bdi(struct backing_dev_info *bdi, enum wb_reason reason) -- 2.30.0