From: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
To: Tejun Heo <tj@kernel.org>
Cc: allison.henderson@oracle.com, netdev@vger.kernel.org,
linux-rdma@vger.kernel.org, rds-devel@oss.oracle.com,
guro@fb.com, kernel-team@fb.com, surenb@google.com,
peterz@infradead.org, hannes@cmpxchg.org, mkoutny@suse.com,
cgroups@vger.kernel.org, andrew@lunn.ch
Subject: Re: [rds-devel] [PATCH RFC v1] Feature reporting of RDS driver.
Date: Tue, 10 Jun 2025 19:15:31 -0400 [thread overview]
Message-ID: <aEi8k1yKBn0egAui@char.us.oracle.com> (raw)
In-Reply-To: <aEikeOlAjvbqm_7v@slm.duckdns.org>
On Tue, Jun 10, 2025 at 11:32:40AM -1000, Tejun Heo wrote:
> Hello,
>
> On Tue, Jun 10, 2025 at 04:47:23PM -0400, Konrad Rzeszutek Wilk wrote:
> > On Tue, Jun 10, 2025 at 12:27:24PM -0400, Konrad Rzeszutek Wilk via rds-devel wrote:
> > > Hi folks,
> >
> > Hi cgroup folks,
> >
> > Andrew suggested that I reach out to you all since you had implemented
> > something very similar via:
> >
> > 3958e2d0c34e1
> > 01ee6cfb1483f
> >
> > And I was wondering if you have have feedback on what worked for you,
> > best practices, etc.
>
> I don't know RDS at all, so please take what I say with a big grain of salt.
It is just a driver. One talks to it via socket.. But it can do extra
things based on setsocket/getseocket and such.
> That said, the sysfs approach is pretty straightforward and has worked well
> for us. One thing which we didn't do (yet) but maybe useful is defining some
> conventions to tell whether a given feature or option should be enabled by
> default so that most users don't have to know which features to use and
> follow whatever the kernel release thinks is the best default combination.
I see. With that in mind, would it have helped if each feature had its
own sysfs file with a tri-state or such?
In regards to the existing 'feature' sysfs attribute:
How were you thinking to address API/ABI semantic breakage? Say older
versions implemented a "foobar" feature but never kernels implement a
much better way, but with a change the semantics (say require extra parameters,
etc). Would you expose both of them via the 'feature' sysfs attribute: "foobar\nfoobar_v2" ?
What would be then the path for removing the old one? Would you just
drop "foobar" and only expose "foobar_v2" ?
Thank you!
>
> Thanks.
>
> --
> tejun
next prev parent reply other threads:[~2025-06-10 23:16 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20250610191144.422161-1-konrad.wilk@oracle.com>
2025-06-10 20:47 ` [rds-devel] [PATCH RFC v1] Feature reporting of RDS driver Konrad Rzeszutek Wilk
2025-06-10 21:32 ` Tejun Heo
2025-06-10 23:15 ` Konrad Rzeszutek Wilk [this message]
2025-06-16 17:45 ` Tejun Heo
[not found] ` <20250610191144.422161-2-konrad.wilk@oracle.com>
2025-06-10 20:51 ` [PATCH RFC v1] rds: Expose feature parameters via sysfs and ELF note Konrad Rzeszutek Wilk
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=aEi8k1yKBn0egAui@char.us.oracle.com \
--to=konrad.wilk@oracle.com \
--cc=allison.henderson@oracle.com \
--cc=andrew@lunn.ch \
--cc=cgroups@vger.kernel.org \
--cc=guro@fb.com \
--cc=hannes@cmpxchg.org \
--cc=kernel-team@fb.com \
--cc=linux-rdma@vger.kernel.org \
--cc=mkoutny@suse.com \
--cc=netdev@vger.kernel.org \
--cc=peterz@infradead.org \
--cc=rds-devel@oss.oracle.com \
--cc=surenb@google.com \
--cc=tj@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;
as well as URLs for NNTP newsgroup(s).