From: Gao Xiang <xiang@kernel.org>
To: Greg KH <greg@kroah.com>
Cc: Jingbo Xu <jefflexu@linux.alibaba.com>,
xiang@kernel.org, chao@kernel.org, linux-erofs@lists.ozlabs.org,
linux-kernel@vger.kernel.org, stable@vger.kernel.org
Subject: Re: [PATCH v3] erofs: add sysfs feature entry for xattr prefixes
Date: Wed, 2 Sep 2026 19:42:36 +0800 [thread overview]
Message-ID: <apgLrJqst_kGUq1D@XiangdeMacBook-Pro.local> (raw)
In-Reply-To: <2026090249-rework-vividly-5abb@gregkh>
On Wed, Sep 02, 2026 at 01:38:16PM +0200, Greg KH wrote:
> On Wed, Sep 02, 2026 at 06:53:16PM +0800, Gao Xiang wrote:
> > Hi Greg,
> >
> > On Wed, Sep 02, 2026 at 07:36:13AM +0200, Greg KH wrote:
> > > On Wed, Sep 02, 2026 at 09:50:39AM +0800, Jingbo Xu wrote:
> > > > Let /sys/fs/erofs/features/xattr_prefixes advertise that this kernel
> > > > supports the EROFS_FEATURE_INCOMPAT_XATTR_PREFIXES on-disk format.
> > > >
> > > > Fixes: 6a318ccd7e08 ("erofs: enable long extended attribute name prefixes")
> > > > Cc: <stable@vger.kernel.org> # 6.4+
> > > > Reviewed-by: Gao Xiang <xiang@kernel.org>
> > > > Signed-off-by: Jingbo Xu <jefflexu@linux.alibaba.com>
> > > > ---
> > > > changes since v2:
> > > > - add Reviewed-by tag (Gao Xiang)
> > > > - update list in Documentation/ABI/testing/sysfs-fs-erofs
> > > > (https://sashiko.dev/#/patchset/20260901062243.109172-1-jefflexu%40linux.alibaba.com)
> > > > ---
> > > > Documentation/ABI/testing/sysfs-fs-erofs | 2 +-
> > > > fs/erofs/sysfs.c | 2 ++
> > > > 2 files changed, 3 insertions(+), 1 deletion(-)
> > >
> > > Why is adding a new feature a stable thing?
> >
> > It's not a new feature (Also, this patch has 3 lines diff):
> > This is a bugfix to address the missing part of
> > commit 6a318ccd7e08 ("erofs: enable long extended
> > attribute name prefixes"") since every on-disk features
> > should be shown in `/sys/fs/erofs/features/*` according to
> > the definition of:
> >
> > What: /sys/fs/erofs/features/
> > Date: November 2021
> > Contact: "Huang Jianan" <huangjianan@oppo.com>
> > Description: Shows all enabled kernel features.
> > ...
> >
> > IOWs, this sysfs entry should be part of commit 6a318ccd7e08
> > to indicate this feature is supported since Linux 6.4+
>
> Ok, but as this has not been present for a very long time, did anyone
> even notice and need this now in stable kernels? :)
I think Jingbo needs it (btw, I'm no longer in Alibaba Cloud
anymore).
Also it would be better to port this into stable kernels so
that users can get the supported on-disk features in a more
unique obvious way.
Thanks,
Gao Xiang
>
> thanks,
>
> greg k-h
>
next prev parent reply other threads:[~2026-09-02 11:42 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-09-02 1:50 Jingbo Xu
2026-09-02 5:36 ` Greg KH
2026-09-02 10:53 ` Gao Xiang
2026-09-02 11:38 ` Greg KH
2026-09-02 11:42 ` Gao Xiang [this message]
2026-09-02 11:54 ` Greg KH
2026-09-02 14:23 ` Gao Xiang
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=apgLrJqst_kGUq1D@XiangdeMacBook-Pro.local \
--to=xiang@kernel.org \
--cc=chao@kernel.org \
--cc=greg@kroah.com \
--cc=jefflexu@linux.alibaba.com \
--cc=linux-erofs@lists.ozlabs.org \
--cc=linux-kernel@vger.kernel.org \
--cc=stable@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®