From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796267433; b=XLLWKHjiJaTSN3LHdrh9n0Yc1SmUVauo4AoTwrbVDmJLw/YvtBHAfC2vkKkKNtkGryhl Mh68DK4m5k1p+HHuSUUK9RTfZOcpc/wCkJ2VI0/7XSrz/cHdoaILv7mb8DVpreq3/Vl6e jwvPnVyamtn+PpFkjFIyzeKFgt2zUvuT45kASbUGwT6yC8IDb8amyFgVD2yuxpER5uILZ Dlbcn1bsr5Ux1URwl+pqYOxLdal28QIdF6RykqpAZUTAnKak6Mkz5lMRL992SsE32Q03P 1iRKx5JbzCB8PAP1NNUWaCp8Ihk3AvCjyMZuPCwz9/gl+3Pm5sVd13pufdXyTI9sAHQ== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796267433; h=Received:DKIM-Signature:Message-ID:Date:MIME-Version:User-Agent:Cc: Subject:To:References:Content-Language:From:In-Reply-To:Content-Type: Content-Transfer-Encoding; bh=fI/F/4JiKyEZLpGZgpwSdkvcXE9EESBbH4ftYdrfZXo=; b=DRAp7aQ+ZxkVoTJHVJXWNZuMk/AAf+7k0jFyiax/OQIFiTvLr2TtXGTJ7/iS5IKk57Mn DLe03xSxvSMIakpyfSw36w5lNeExutGZCSsNY9n6/382NcDMb/+xisuy/sO+ZupBB4Oh2 QgIlwPMJa35lS1e5L6nSaTlZ16PN4xvP5vDWuPdo975QU1764cdpPy47BfajamJPNMEq+ V7aVn868yfpFucgVf1OrRWBhUJPeZ4jCiGrddwzKr8HHG2SAc/yqL5YwHtcnDWv6DM7Pc 4v3CaI6WL4uDgNI0Rxx5rODDtA+9XK/UZs2Zf8gWfrA4MLSfias8baiO8SS//UIruYw== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=d7hRsniz; arc=none smtp.remote-ip=100.103.45.18 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 69298606A322 for ; Thu, 3 Dec 2026 03:10:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=d7hRsniz Received: by smtp.kernel.org (Postfix) with ESMTPSA id 172181F00893; Thu, 3 Dec 2026 03:10:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1796267433; bh=fI/F/4JiKyEZLpGZgpwSdkvcXE9EESBbH4ftYdrfZXo=; h=Date:Cc:Subject:To:References:From:In-Reply-To; b=d7hRsnizL7ixOei9kuCEQ67WXGoqcP6NJxEQNPOHjTZdqajlvuclazaUuG5kZIWln smXuSGT7MIRA1P3dyxtc16NNQk5IsLdQJ8w/zPJBsVju6CcUTlY4U8es+mMgrlj7sI llEAKAl+gFCwqbRAmAYK7hU1ZugzSnYShDDWEJDpGovEF3RaA/3gMKvGv4FNDMfJRJ SteRKF8SVQnA/DT924WXC8mFWE4dxuWeNd0+uiEqJXHQdg1tT1YtDJPkL0ESfhzVJr YPEG5RfYh5/HKkMcxUM7+eNqhikiusJZL5dr+4jTsWs805d8a9EXsgcv/8yE8+gysy tO31bkGw8mGxA== Message-ID: <773d90ff-7097-4c3d-91e3-221bcb428b40@kernel.org> Date: Thu, 3 Dec 2026 11:10:30 +0800 X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Cc: chao@kernel.org, Daeho Jeong Subject: Re: [f2fs-dev] [PATCH] f2fs: expose subpage_block feature via sysfs To: Daeho Jeong , linux-kernel@vger.kernel.org, linux-f2fs-devel@lists.sourceforge.net, kernel-team@android.com References: <20261202214535.972456-1-daeho43@gmail.com> Content-Language: en-US From: Chao Yu In-Reply-To: <20261202214535.972456-1-daeho43@gmail.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 12/3/26 05:45, Daeho Jeong wrote: > From: Daeho Jeong > > f2fs can mount a filesystem whose block size is smaller than the page > size, down to 4KB. A kernel without this support rejects such a > filesystem at mount time, and userspace has no way to tell the two > apart. A tool that formats a device needs to know it before picking the > block size, e.g. to choose between 4KB and 16KB blocks on a 16KB page > kernel. > > Add /sys/fs/f2fs/features/subpage_block, so that userspace can check > whether the running kernel supports a block size smaller than the page > size. > > Signed-off-by: Daeho Jeong Reviewed-by: Chao Yu Thanks,