[rds-devel] [PATCH net-next v4] Expose RDS features via sysfs.

Konrad Rzeszutek Wilk konrad.wilk at oracle.com
Sat Jun 21 00:26:10 UTC 2025


Hi folks,

Changelog:
+ Since v1:
 - Changed it to use sysfs and expose a 'features' file with the data.
+ Since v2:
 - Use a 'features' directory similar to ext4, btrfs and expose each feature.
+ Since v3:
 - Fix ret returning 0 if kobject_create_and_add fails
 - Follow the syntax of Documentation/ABI/stable/sysfs-module.
 
This patch addresses an issue where we have applications compiled against
against older (or newer) kernels. RDS does not have any ioctls to query
for what version of ABIs it has or what features it has. Hence this solution
that proposes to put this ABI information in sysfs space.

 Documentation/ABI/stable/sysfs-transport-rds | 43 +++++++++++++++++++
 net/rds/af_rds.c                             | 63 +++++++++++++++++++++++++++-
 2 files changed, 105 insertions(+), 1 deletion(-)

Konrad Rzeszutek Wilk (1):
      rds: Expose feature parameters via sysfs (and ELF)




More information about the rds-devel mailing list