On Tue, Jun 24, 2025 at 11:00:39AM +0100, Lee Jones wrote: > On Wed, 16 Apr 2025, Chao Yu wrote: > > > This patch adds a new sysfs entry /sys/fs/f2fs/<disk>/encoding_flags, > > it is a read-only entry to show the value of sb.s_encoding_flags, the > > value is hexadecimal. > > > > =========================== ========== > > Flag_Name Flag_Value > > =========================== ========== > > SB_ENC_STRICT_MODE_FL 0x00000001 > > SB_ENC_NO_COMPAT_FALLBACK_FL 0x00000002 > > =========================== ========== > > > > case#1 > > mkfs.f2fs -f -O casefold -C utf8:strict /dev/vda > > mount /dev/vda /mnt/f2fs > > cat /sys/fs/f2fs/vda/encoding_flags > > 1 > > > > case#2 > > mkfs.f2fs -f -O casefold -C utf8 /dev/vda > > fsck.f2fs --nolinear-lookup=1 /dev/vda > > mount /dev/vda /mnt/f2fs > > cat /sys/fs/f2fs/vda/encoding_flags > > 2 > > > > Signed-off-by: Chao Yu <c...@kernel.org> > > --- > > Documentation/ABI/testing/sysfs-fs-f2fs | 13 +++++++++++++ > > fs/f2fs/sysfs.c | 9 +++++++++ > > 2 files changed, 22 insertions(+) > > This patch, commit 617e0491abe4 ("f2fs: sysfs: export linear_lookup in > features directory") upstream, needs to find its way into all Stable > branches containing upstream commit 91b587ba79e1 ("f2fs: Introduce > linear search for dentries"), which is essentially linux-5.15.y and > newer. > > stable/linux-5.4.y: > MISSING: f2fs: Introduce linear search for dentries > MISSING: f2fs: sysfs: export linear_lookup in features directory > > stable/linux-5.10.y: > MISSING: f2fs: Introduce linear search for dentries > MISSING: f2fs: sysfs: export linear_lookup in features directory > > stable/linux-5.15.y: > b0938ffd39ae f2fs: Introduce linear search for dentries [5.15.179] > MISSING: f2fs: sysfs: export linear_lookup in features directory > > stable/linux-6.1.y: > de605097eb17 f2fs: Introduce linear search for dentries [6.1.129] > MISSING: f2fs: sysfs: export linear_lookup in features directory > > stable/linux-6.6.y: > 0bf2adad03e1 f2fs: Introduce linear search for dentries [6.6.76] > MISSING: f2fs: sysfs: export linear_lookup in features directory > > stable/linux-6.12.y: > 00d1943fe46d f2fs: Introduce linear search for dentries [6.12.13] > MISSING: f2fs: sysfs: export linear_lookup in features directory > > mainline: > 91b587ba79e1 f2fs: Introduce linear search for dentries > 617e0491abe4 f2fs: sysfs: export linear_lookup in features directory
Great, then can someone submit these in a format we can apply them in? or do clean cherry-picks work properly? thanks, greg k-h _______________________________________________ Linux-f2fs-devel mailing list Linux-f2fs-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel