Received: by 2002:a05:6a10:1d13:0:0:0:0 with SMTP id pp19csp3402623pxb; Mon, 30 Aug 2021 00:54:57 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxqAROSGwg3j41gWYqPpmiErLgmyQ3SHOKolTiwEzbzViqKHYGBcAVehTZrTQvFsbKjH/iO X-Received: by 2002:a17:906:1451:: with SMTP id q17mr24125301ejc.214.1630310097705; Mon, 30 Aug 2021 00:54:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1630310097; cv=none; d=google.com; s=arc-20160816; b=IGe2wusWvsmgUL/CrXQ8bGAMXzB1AvnPwR6pgPJ26XyvN0chjd/NiZulwH4/3SldjY aj0/OhGKtRejykPwWW9x/MwOGH6LnUuKJ8QLcXstD63GRGq0JULZRsbTaToKaxjDDOIX MAqD80pnkx0zeT2EimIibC+n3eakS0/cNIFV1LpxHhHKcu1vYSZf2RkhByz2myIv9WR+ DvY5jcHKWE0azCUjKKVAgFa3PNyTNG4p9xT6Od7cY0n/NSK86sEdE+n1vRHTukUsvxSn q9SsCbSKSjVbLY2wkQg3Pt2S3jSHClgn7E2Zdf+L+ubqw7bH7NpwfBPeWFt1ZzsRHSKk D2MA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:references:in-reply-to:message-id:date:subject :cc:to:from:dkim-signature; bh=QHAzSdptgC6qne6WaVUeNLk/QMe5aEBSnsP4kC/AGoQ=; b=C0mnBWEdWR999cRIOO2NQpX4iZhnQVbRUfogMOcNPz5Wybh3GmCux+nEE7h1FOh0rX D6DPMSnDQLXYAIlMkZ9IYo8CjBeRzM8m1oCVR2BUbOLtaMiH5Pg+SwNuYq4E0QikGj0b QGxr9yFQfMQK9PUERlGYmUSqxi+stO88pRACcNT4fVISPMl/odO1HHTgJU9S5vgskoDo aS507wHDouKpmH50Ow121neDKGpRy1sNI4CrFIlNvUiY8uIZscK0mH5XRZCo2ofObl3I AQTgzi3GdbWbq6Mu1uc+33kLCLt8XhcS9NR3YgS8a/kzRtHxRR71qxYtD9agKjj3ocBE kgYg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=mQKCuzLY; spf=pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-ext4-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id qf26si4117889ejc.664.2021.08.30.00.54.34; Mon, 30 Aug 2021 00:54:57 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-ext4-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=@gmail.com header.s=20161025 header.b=mQKCuzLY; spf=pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-ext4-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234217AbhH3HzK (ORCPT + 99 others); Mon, 30 Aug 2021 03:55:10 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41410 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234225AbhH3HzI (ORCPT ); Mon, 30 Aug 2021 03:55:08 -0400 Received: from mail-pj1-x1033.google.com (mail-pj1-x1033.google.com [IPv6:2607:f8b0:4864:20::1033]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8206AC061575; Mon, 30 Aug 2021 00:54:15 -0700 (PDT) Received: by mail-pj1-x1033.google.com with SMTP id d5so3103371pjx.2; Mon, 30 Aug 2021 00:54:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=QHAzSdptgC6qne6WaVUeNLk/QMe5aEBSnsP4kC/AGoQ=; b=mQKCuzLYZc3gHhi+qoWZk5E360ByqCWaXwy+lfnBodQxHWvVVjPt9L0mTpZwnjVDFj KPP0v8LZP2Xb/a9zY7rsnbXvIQJGu5n69eYJoxe9R0/DLZIcaRC66XR38LoEGV3JsUse pxhBlCyW5CUsxhzixKKOVFf/RXNjqiRFgiXH/OoRqwpzfSPALuBHmE2xyCj6hJflKUXl btSoAHcGIl9JzszrneD/rvfgZDKX0rDyGO4UfpmJstmPfB74DByW6oacdmZUR99tkKkr X7kp/5HYNxjZriIQwZQMU0dVPsiPjuKdWyNmIGIEFcWqMFl/UWlO9OzEv5IffEp7iqmh oJdg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=QHAzSdptgC6qne6WaVUeNLk/QMe5aEBSnsP4kC/AGoQ=; b=ea64ob3YJSwr/0MvhIo9uJ/n0xVzFebpxeZ33OGUJ+0i3p5nUmWz0Ry1V6+C6/YkuA znGd7hwccANOsBvRpfh0rbFMaVfxF6iEWjK4tWjEJBfplu62grglDomDTb37Zv0YPjOf VOB+k+F+373ocNdCrq6W5/9WXTFpIDwz6wjTk3qom0xbhmjU3wIUa0vHYuz+WmgEsbuR QfI5pgchafb04udIKR5AEWlQygI+EvqL2BGio053DH1NcW+pelCT6yjQ9xztcMgBpJ0f FEyR3FEBqK2KsEtpDA2VM6hUKwn5v477d940i48LcVHZksFergkJ2ctwUHUhKH8WVFi+ Sv3g== X-Gm-Message-State: AOAM531xx0gXDjNc6+qS6MruU8IInmlc4pTUvMEC5qlnCnjk9g/Td+5G I3G6Qke16EbsaYBPk1HyDsk= X-Received: by 2002:a17:90b:30c1:: with SMTP id hi1mr24970319pjb.187.1630310055164; Mon, 30 Aug 2021 00:54:15 -0700 (PDT) Received: from localhost.localdomain ([162.219.34.245]) by smtp.gmail.com with ESMTPSA id b17sm16260839pgl.61.2021.08.30.00.54.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 30 Aug 2021 00:54:14 -0700 (PDT) From: Wang Jianchao To: tytso@mit.edu, adilger.kernel@dilger.ca Cc: jack@suse.cz, guoqing.jiang@linux.dev, linux-kernel@vger.kernel.org, linux-ext4@vger.kernel.org Subject: [PATCH V4 3/5] ext4: remove the repeated comment of ext4_trim_all_free Date: Mon, 30 Aug 2021 15:52:44 +0800 Message-Id: <20210830075246.12516-4-jianchao.wan9@gmail.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20210830075246.12516-1-jianchao.wan9@gmail.com> References: <20210830075246.12516-1-jianchao.wan9@gmail.com> Precedence: bulk List-ID: X-Mailing-List: linux-ext4@vger.kernel.org From: Wang Jianchao Reviewed-by: Andreas Dilger Reviewed-by: Jan Kara Signed-off-by: Wang Jianchao --- fs/ext4/mballoc.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/fs/ext4/mballoc.c b/fs/ext4/mballoc.c index e47089cc6c07..ef2aa2b1a939 100644 --- a/fs/ext4/mballoc.c +++ b/fs/ext4/mballoc.c @@ -6274,15 +6274,10 @@ static int ext4_try_to_trim_range(struct super_block *sb, * @max: last group block to examine * @minblocks: minimum extent block count * - * ext4_trim_all_free walks through group's buddy bitmap searching for free - * extents. When the free block is found, ext4_trim_extent is called to TRIM - * the extent. - * - * * ext4_trim_all_free walks through group's block bitmap searching for free * extents. When the free extent is found, mark it as used in group buddy * bitmap. Then issue a TRIM command on this extent and free the extent in - * the group buddy bitmap. This is done until whole group is scanned. + * the group buddy bitmap. */ static ext4_grpblk_t ext4_trim_all_free(struct super_block *sb, ext4_group_t group, -- 2.17.1