From: Chao Yu <chao@kernel.org>
To: Daeho Jeong <daeho43@gmail.com>,
linux-kernel@vger.kernel.org,
linux-f2fs-devel@lists.sourceforge.net, kernel-team@android.com
Cc: chao@kernel.org, Daeho Jeong <daehojeong@google.com>
Subject: Re: [f2fs-dev] [PATCH] f2fs: expose subpage_block feature via sysfs
Date: Thu, 3 Dec 2026 11:10:30 +0800 [thread overview]
Message-ID: <773d90ff-7097-4c3d-91e3-221bcb428b40@kernel.org> (raw)
In-Reply-To: <20261202214535.972456-1-daeho43@gmail.com>
On 12/3/26 05:45, Daeho Jeong wrote:
> From: Daeho Jeong <daehojeong@google.com>
>
> 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 <daehojeong@google.com>
Reviewed-by: Chao Yu <chao@kernel.org>
Thanks,
WARNING: multiple messages have this Message-ID (diff)
From: Chao Yu via Linux-f2fs-devel <linux-f2fs-devel@lists.sourceforge.net>
To: Daeho Jeong <daeho43@gmail.com>,
linux-kernel@vger.kernel.org,
linux-f2fs-devel@lists.sourceforge.net, kernel-team@android.com
Cc: Daeho Jeong <daehojeong@google.com>
Subject: Re: [f2fs-dev] [PATCH] f2fs: expose subpage_block feature via sysfs
Date: Thu, 3 Dec 2026 11:10:30 +0800 [thread overview]
Message-ID: <773d90ff-7097-4c3d-91e3-221bcb428b40@kernel.org> (raw)
In-Reply-To: <20261202214535.972456-1-daeho43@gmail.com>
On 12/3/26 05:45, Daeho Jeong wrote:
> From: Daeho Jeong <daehojeong@google.com>
>
> 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 <daehojeong@google.com>
Reviewed-by: Chao Yu <chao@kernel.org>
Thanks,
_______________________________________________
Linux-f2fs-devel mailing list
Linux-f2fs-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel
next prev parent reply other threads:[~2026-12-03 3:10 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-12-02 21:45 [f2fs-dev] [PATCH] f2fs: expose subpage_block feature via sysfs Daeho Jeong
2026-12-02 21:45 ` Daeho Jeong
2026-12-03 3:10 ` Chao Yu [this message]
2026-12-03 3:10 ` [f2fs-dev] " Chao Yu via Linux-f2fs-devel
2026-12-03 23:20 ` patchwork-bot+f2fs--- via Linux-f2fs-devel
2026-12-03 23:20 ` patchwork-bot+f2fs
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=773d90ff-7097-4c3d-91e3-221bcb428b40@kernel.org \
--to=chao@kernel.org \
--cc=daeho43@gmail.com \
--cc=daehojeong@google.com \
--cc=kernel-team@android.com \
--cc=linux-f2fs-devel@lists.sourceforge.net \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.