Received: by 2002:ab2:3350:0:b0:1f4:6588:b3a7 with SMTP id o16csp758140lqe; Sun, 7 Apr 2024 02:28:01 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVnXF7NaTLemma+3dybvTygagc8MYDzTkxtyvArVZqv3ztlis0geQRcqm65e4XZTvfT2ML9zL8KpfUBhSAtrsy6BZi5XpA0y7/egBdHsw== X-Google-Smtp-Source: AGHT+IFDolNOpN3HrpWzqUXP+dkmvFm0WoiblVkZv1VNOpyO6w82RjelrjdyQDYUCgDBmc9BI8hw X-Received: by 2002:a05:6870:40c3:b0:22f:bdb:54d0 with SMTP id l3-20020a05687040c300b0022f0bdb54d0mr2412043oal.11.1712482080758; Sun, 07 Apr 2024 02:28:00 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712482080; cv=pass; d=google.com; s=arc-20160816; b=V/yYS1jjcnH5qWc50B3AJIhCbyLiZyBczEAHZ7UO/mh41d/deG9dmZ0xwvkenp8Tzu qc0wYdiWKXmck13PHN9ly/vNOh8uGv4bi+AhJgowAJKyngHTpfKvNWylYZBJlGQWWlTd DJBN+JAY1jWVRv3SpnnPRAvJ8K4Xe9XcLjPsKdIXS2xXLSsIjwBX2z7fvoNagTZeV4AK hCixDVhJWZRey7gek/7gZH80iDOjhpMhTCHRCx+U5D1XN6Pe/D2Qa6bnSSbVEad7d5Ut DMJpygwe7b+mzi3lKS3TS4hr835vkCvG2xhYOzAJd728ZS8pYWe3dt6hUVtgYsCheY0t k0QQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:list-unsubscribe:list-subscribe:list-id:precedence :message-id:date:subject:cc:to:from; bh=+CICuZa8RAkpnW/K+ZYiu9JcRqDkB2InpYbeBTFmlGU=; fh=r88ULmOhzmh3DE8RgcUXK+PF5Q+3czCYkx5yGhGfkR0=; b=N0d4aNrd8Yht3LqDwM7XVZbo89jmHcG+uoQYVe1R+MbU7MjvNtYlC+K2JuJ3UZ7EXO ToJ1NUne/QYB4BKF2We2pX39AI2BHgnpu6RoS4qJQbE8jJGGJeOXQ94bF37w3yu2Aaub wmxqCc3jmWpGjT5+qD0FCPXnnoYjJJPNFvyHpnMu1m773yGFz1Vuk9Ivd2SQPXVGS2I5 8pksWkNk+m/VcJ29psfT90r+Oi8D1i/dH5W2iR+sXS9kHlEKcYuqHbQGbodTQZkMNsdN 0G4+pyoPCZafvFd6BHfn+vuw7NpaIBwXwcJEbpvHZZl7Ler1Q2LpsiGsBEzAwysw3mZk o2Mw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=unisoc.com); spf=pass (google.com: domain of linux-kernel+bounces-134301-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-134301-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id e5-20020a17090a728500b002a2970f28e7si6233645pjg.190.2024.04.07.02.28.00 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 07 Apr 2024 02:28:00 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-134301-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=unisoc.com); spf=pass (google.com: domain of linux-kernel+bounces-134301-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-134301-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id F0044281DA4 for ; Sun, 7 Apr 2024 09:27:59 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 2CA851429E; Sun, 7 Apr 2024 09:27:53 +0000 (UTC) Received: from SHSQR01.spreadtrum.com (unknown [222.66.158.135]) (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 C6CCC12E48 for ; Sun, 7 Apr 2024 09:27:47 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=222.66.158.135 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712482072; cv=none; b=hqI+yvFLWNPrHgumc7O9DcaCp6GqyKNp/GqekfhcAWtv5IioBQcLNrfwc5y0JHzizwlyGR1A6RjW1UaudrFtyFgEyR3JuSn9DBJChTL5QxCZAuxIomoUWNuhhxErrRZuxROxYoPtsE1kkdXMQyW+SaKbBBJAIbcopGBjO/5lzHI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712482072; c=relaxed/simple; bh=XH4IO8ROXZSJkIGQB+J4bURjmXRrKSfRRiZvs3sJwvU=; h=From:To:CC:Subject:Date:Message-ID:MIME-Version:Content-Type; b=a6iwR1Cq76mCNvVHIthpm4DKy0NdnxHPpGPiUZ0TBOVMNfFx6qbMH1RGGiO9eODCetVdqIG5Z9LOoGxbrcj+r7je81IuI5zKHghKcxThv4eSN+CvLV/tnCya3vjNsWI5LtVkYTbPBOvEkpNXgsNSUZYqvktZc+06MwVifY3B0Gw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=unisoc.com; spf=pass smtp.mailfrom=unisoc.com; arc=none smtp.client-ip=222.66.158.135 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=unisoc.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=unisoc.com Received: from dlp.unisoc.com ([10.29.3.86]) by SHSQR01.spreadtrum.com with ESMTP id 4379QxkF089922; Sun, 7 Apr 2024 17:26:59 +0800 (+08) (envelope-from Zhiguo.Niu@unisoc.com) Received: from SHDLP.spreadtrum.com (bjmbx02.spreadtrum.com [10.0.64.8]) by dlp.unisoc.com (SkyGuard) with ESMTPS id 4VC6J70vMVz2K5rcL; Sun, 7 Apr 2024 17:24:55 +0800 (CST) Received: from bj08434pcu.spreadtrum.com (10.0.73.87) by BJMBX02.spreadtrum.com (10.0.64.8) with Microsoft SMTP Server (TLS) id 15.0.1497.23; Sun, 7 Apr 2024 17:26:32 +0800 From: Zhiguo Niu To: , CC: , , , , , Subject: [PATCH] f2fs: fix some ambiguous comments Date: Sun, 7 Apr 2024 17:26:23 +0800 Message-ID: <1712481983-7721-1-git-send-email-zhiguo.niu@unisoc.com> X-Mailer: git-send-email 1.9.1 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain X-ClientProxiedBy: SHCAS03.spreadtrum.com (10.0.1.207) To BJMBX02.spreadtrum.com (10.0.64.8) X-MAIL:SHSQR01.spreadtrum.com 4379QxkF089922 Some comments are confused and just correct with block size is 4KB. Signed-off-by: Zhiguo Niu --- include/linux/f2fs_fs.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/include/linux/f2fs_fs.h b/include/linux/f2fs_fs.h index a357287..4a56d18 100644 --- a/include/linux/f2fs_fs.h +++ b/include/linux/f2fs_fs.h @@ -424,8 +424,8 @@ struct f2fs_sit_block { /* * For segment summary * - * One summary block contains exactly 512 summary entries, which represents - * exactly one segment by default. Not allow to change the basic units. + * One summary block with 4KB size contains exactly 512 summary entries, which + * represents exactly one segment with 2MB size. Not allow to change the basic units. * * NOTE: For initializing fields, you must use set_summary * @@ -556,6 +556,7 @@ struct f2fs_summary_block { /* * space utilization of regular dentry and inline dentry (w/o extra reservation) + * when block size is 4KB. * regular dentry inline dentry (def) inline dentry (min) * bitmap 1 * 27 = 27 1 * 23 = 23 1 * 1 = 1 * reserved 1 * 3 = 3 1 * 7 = 7 1 * 1 = 1 -- 1.9.1