Skip to contentSkip to conversation

MAINTAINERS: add RELAY entry

PATCH Applied Jason Xing 3 participants 8 messages Mar 1 – Mar 2

lore
Share & tools
lore

Jason Xing

author
#0 lore raw

PATCH 1/1 MAINTAINERS: add RELAY entry

From: Jason Xing <[email protected]>

RELAYFS was originally developed by Tom Zanussi and Karim Yaghmour in 2005[1]. Jens Axboe converted it from filesystem into a generic API in 2006[2] and made it widely known through the notable I/O tracing tool blktrace. In the decade, there remain a few users scatterred across different subsystems, like recently added wifi commit[3] that is an example to show how to communicate between users and kernel. Last year I've already done some maintenance and added/corrected some diagnostic counters.

At Tencent, we internally maintain RELAY as one of most crucial components of network observibility platform which was shared a bit at LPC 2025[4][5] and hopefully will be published in the paper this year. RELAY has proven highly efficient due to its inherent design essence. This design becomes the indispensable way to build a 7x24 platform monitoring various hot paths even without any selectively sampling (yes, sampling is commonly used to avoid the overall performance degradation). One of the recommended usages is use its zerocopy function relay_reserve() to transfer data in a raw format that can be recognized and parsed by the corresponding application to userspace without introducing heavy locks and complicated logic that appears in other types of approaches, like printk. More details can be discovered by reading through the Documentation :)

Credits are given to the all the contributors and reviewers for RELAY/RELAYFS in the past and future! Many thanks!

[1]: commit e82894f84dbb ("[PATCH] relayfs")
[2]: commit b86ff981a825 ("[PATCH] relay: migrate from relayfs to a generic relay API")
[3]: commit c1bf6959dd81 ("wifi: ath11k: Register relayfs entries for CFR dump")
[4]: https://lpc.events/event/19/contributions/2055/
[5]: https://lpc.events/event/19/contributions/2010/

---
 MAINTAINERS | 10 ++++++++++
 1 file changed, 10 insertions(+)
MAINTAINERS +10 -0
index b8d8a5c41597..5d751760136c 100644
@@ -22283,6 +22283,16 @@ L:	[email protected]
 S:	Orphan
 F:	drivers/net/wireless/rsi/
 
+RELAY
+M:	Andrew Morton <[email protected]>
+M:	Jens Axboe <[email protected]>
+M:	Jason Xing <[email protected]>
+L:	[email protected]
+S:	Maintained
+F:	Documentation/filesystems/relay.rst
+F:	include/linux/relay.h
+F:	kernel/relay.c
+
 REGISTER MAP ABSTRACTION
 M:	Mark Brown <[email protected]>
 L:	[email protected]
Signature · 1 line
2.43.5
Acked-by on v1 1/1
#1 lore raw
Quoted 54 lines · Jason Xing

From: Jason Xing <[email protected]>

RELAYFS was originally developed by Tom Zanussi and Karim Yaghmour in 2005[1]. Jens Axboe converted it from filesystem into a generic API in 2006[2] and made it widely known through the notable I/O tracing tool blktrace. In the decade, there remain a few users scatterred across different subsystems, like recently added wifi commit[3] that is an example to show how to communicate between users and kernel. Last year I've already done some maintenance and added/corrected some diagnostic counters.

At Tencent, we internally maintain RELAY as one of most crucial components of network observibility platform which was shared a bit at LPC 2025[4][5] and hopefully will be published in the paper this year. RELAY has proven highly efficient due to its inherent design essence. This design becomes the indispensable way to build a 7x24 platform monitoring various hot paths even without any selectively sampling (yes, sampling is commonly used to avoid the overall performance degradation). One of the recommended usages is use its zerocopy function relay_reserve() to transfer data in a raw format that can be recognized and parsed by the corresponding application to userspace without introducing heavy locks and complicated logic that appears in other types of approaches, like printk. More details can be discovered by reading through the Documentation :)

Credits are given to the all the contributors and reviewers for RELAY/RELAYFS in the past and future! Many thanks!

[1]: commit e82894f84dbb ("[PATCH] relayfs")
[2]: commit b86ff981a825 ("[PATCH] relay: migrate from relayfs to a generic relay API")
[3]: commit c1bf6959dd81 ("wifi: ath11k: Register relayfs entries for CFR dump")
[4]: https://lpc.events/event/19/contributions/2055/
[5]: https://lpc.events/event/19/contributions/2010/

---
 MAINTAINERS | 10 ++++++++++
 1 file changed, 10 insertions(+)
MAINTAINERS +3 -0
index b8d8a5c41597..5d751760136c 100644
@@ -22283,6 +22283,16 @@ L:	[email protected]
 S:	Orphan
 F:	drivers/net/wireless/rsi/
 
+RELAY
+M:	Andrew Morton <[email protected]>
+M:	Jens Axboe <[email protected]>

MAINTAINERS L: [email protected] · line 22298

Quoted 10 lines
MAINTAINERS +7 -0
+M:	Jason Xing <[email protected]>
+L:	[email protected]
+S:	Maintained
+F:	Documentation/filesystems/relay.rst
+F:	include/linux/relay.h
+F:	kernel/relay.c
+
 REGISTER MAP ABSTRACTION
 M:	Mark Brown <[email protected]>
 L:	[email protected]
Signature · 1 line
Jens Axboe
#2 lore raw
In reply to Jason Xing
Quoted 24 lines · Jason Xing

RELAYFS was originally developed by Tom Zanussi and Karim Yaghmour in 2005[1]. Jens Axboe converted it from filesystem into a generic API in 2006[2] and made it widely known through the notable I/O tracing tool blktrace. In the decade, there remain a few users scatterred across different subsystems, like recently added wifi commit[3] that is an example to show how to communicate between users and kernel. Last year I've already done some maintenance and added/corrected some diagnostic counters.

At Tencent, we internally maintain RELAY as one of most crucial components of network observibility platform which was shared a bit at LPC 2025[4][5] and hopefully will be published in the paper this year. RELAY has proven highly efficient due to its inherent design essence. This design becomes the indispensable way to build a 7x24 platform monitoring various hot paths even without any selectively sampling (yes, sampling is commonly used to avoid the overall performance degradation). One of the recommended usages is use its zerocopy function relay_reserve() to transfer data in a raw format that can be recognized and parsed by the corresponding application to userspace without introducing heavy locks and complicated logic that appears in other types of approaches, like printk. More details can be discovered by reading through the Documentation :)

Quoted 6 lines

Credits are given to the all the contributors and reviewers for RELAY/RELAYFS in the past and future! Many thanks!

[1]: commit e82894f84dbb ("[PATCH] relayfs")
[2]: commit b86ff981a825 ("[PATCH] relay: migrate from relayfs to a generic relay API")

It's better to read as a single line here

[2]: commit b86ff981a825 ("[PATCH] relay: migrate from relayfs to > a generic relay API")

OR you can even have it as a proper Link tag:

Same for the rest.

Quoted 6 lines

[3]: commit c1bf6959dd81 ("wifi: ath11k: Register relayfs entries for CFR dump")
[4]: https://lpc.events/event/19/contributions/2055/
[5]: https://lpc.events/event/19/contributions/2010/

Note, when converting to Link tags the above, this blank line should be removed.

Quoted 2 lines
Signature · 2 lines
With Best Regards,
Andy Shevchenko
author
#3 lore raw

Hi Andy,

Quoted 36 lines · Andy Shevchenko
Quoted 24 lines · Jason Xing

RELAYFS was originally developed by Tom Zanussi and Karim Yaghmour in 2005[1]. Jens Axboe converted it from filesystem into a generic API in 2006[2] and made it widely known through the notable I/O tracing tool blktrace. In the decade, there remain a few users scatterred across different subsystems, like recently added wifi commit[3] that is an example to show how to communicate between users and kernel. Last year I've already done some maintenance and added/corrected some diagnostic counters.

At Tencent, we internally maintain RELAY as one of most crucial components of network observibility platform which was shared a bit at LPC 2025[4][5] and hopefully will be published in the paper this year. RELAY has proven highly efficient due to its inherent design essence. This design becomes the indispensable way to build a 7x24 platform monitoring various hot paths even without any selectively sampling (yes, sampling is commonly used to avoid the overall performance degradation). One of the recommended usages is use its zerocopy function relay_reserve() to transfer data in a raw format that can be recognized and parsed by the corresponding application to userspace without introducing heavy locks and complicated logic that appears in other types of approaches, like printk. More details can be discovered by reading through the Documentation :)

Quoted 6 lines

Credits are given to the all the contributors and reviewers for RELAY/RELAYFS in the past and future! Many thanks!

[1]: commit e82894f84dbb ("[PATCH] relayfs")
[2]: commit b86ff981a825 ("[PATCH] relay: migrate from relayfs to a generic relay API")

It's better to read as a single line here

Quoted 7 lines

[2]: commit b86ff981a825 ("[PATCH] relay: migrate from relayfs to > a generic relay API")

OR you can even have it as a proper Link tag:

Same for the rest.

Thanks for the review.

The fact is that originally I used a single line but checkpatch warned me because of exceeding 75 chars. The current format is just to split it into two lines as script requested.

Thanks,
Jason

Quoted 19 lines
Quoted 7 lines

[3]: commit c1bf6959dd81 ("wifi: ath11k: Register relayfs entries for CFR dump")
[4]: https://lpc.events/event/19/contributions/2055/
[5]: https://lpc.events/event/19/contributions/2010/

Note, when converting to Link tags the above, this blank line should be removed.

Quoted 2 lines

--
With Best Regards,
Andy Shevchenko

author
#4 lore raw
Quoted 47 lines · Jason Xing

Hi Andy,

Quoted 42 lines · Andy Shevchenko
Quoted 24 lines · Jason Xing

RELAYFS was originally developed by Tom Zanussi and Karim Yaghmour in 2005[1]. Jens Axboe converted it from filesystem into a generic API in 2006[2] and made it widely known through the notable I/O tracing tool blktrace. In the decade, there remain a few users scatterred across different subsystems, like recently added wifi commit[3] that is an example to show how to communicate between users and kernel. Last year I've already done some maintenance and added/corrected some diagnostic counters.

At Tencent, we internally maintain RELAY as one of most crucial components of network observibility platform which was shared a bit at LPC 2025[4][5] and hopefully will be published in the paper this year. RELAY has proven highly efficient due to its inherent design essence. This design becomes the indispensable way to build a 7x24 platform monitoring various hot paths even without any selectively sampling (yes, sampling is commonly used to avoid the overall performance degradation). One of the recommended usages is use its zerocopy function relay_reserve() to transfer data in a raw format that can be recognized and parsed by the corresponding application to userspace without introducing heavy locks and complicated logic that appears in other types of approaches, like printk. More details can be discovered by reading through the Documentation :)

Quoted 6 lines

Credits are given to the all the contributors and reviewers for RELAY/RELAYFS in the past and future! Many thanks!

[1]: commit e82894f84dbb ("[PATCH] relayfs")
[2]: commit b86ff981a825 ("[PATCH] relay: migrate from relayfs to a generic relay API")

It's better to read as a single line here

[2]: commit b86ff981a825 ("[PATCH] relay: migrate from relayfs to > a generic relay API")

OR you can even have it as a proper Link tag:

Quoted 7 lines
Quoted 1 line

Same for the rest.

Thanks for the review.

The fact is that originally I used a single line but checkpatch warned me because of exceeding 75 chars. The current format is just to split it into two lines as script requested.

Oh interesting thing is Andrew already kindly revised the patch just like you said:
https://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm.git/commit/?h=mm-hotfixes-unstable&id=46947075c75b9b213ba31c1af8c45e0a9c85bf74

So I think there is no need to repost it :)

Thank you!

#5 lore raw
Quoted 4 lines · Jason Xing
Quoted 3 lines · Jason Xing
Quoted 1 line · Andy Shevchenko

On Sun, Mar 01, 2026 at 10:09:02AM +0800, Jason Xing wrote:

...

Quoted 20 lines
Quoted 12 lines
Quoted 12 lines
Quoted 3 lines

[1]: commit e82894f84dbb ("[PATCH] relayfs")
[2]: commit b86ff981a825 ("[PATCH] relay: migrate from relayfs to a generic relay API")

It's better to read as a single line here

[2]: commit b86ff981a825 ("[PATCH] relay: migrate from relayfs to a generic relay API")

OR you can even have it as a proper Link tag:

Quoted 7 lines
Quoted 1 line

Same for the rest.

Thanks for the review.

The fact is that originally I used a single line but checkpatch warned me because of exceeding 75 chars. The current format is just to split it into two lines as script requested.

Quoted 5 lines

Oh interesting thing is Andrew already kindly revised the patch just like you said:
https://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm.git/commit/?h=mm-hotfixes-unstable&id=46947075c75b9b213ba31c1af8c45e0a9c85bf74

So I think there is no need to repost it :)

LGTM, but if people wants real Link tags... Up to you. (I think we are fine now with the current code.)

Signature · 2 lines
With Best Regards,
Andy Shevchenko
author
#6 lore raw
Quoted 29 lines · Andy Shevchenko
Quoted 4 lines · Jason Xing
Quoted 3 lines · Jason Xing
Quoted 1 line · Andy Shevchenko

On Sun, Mar 01, 2026 at 10:09:02AM +0800, Jason Xing wrote:

...

Quoted 20 lines
Quoted 19 lines
Quoted 6 lines
Quoted 3 lines

[1]: commit e82894f84dbb ("[PATCH] relayfs")
[2]: commit b86ff981a825 ("[PATCH] relay: migrate from relayfs to a generic relay API")

It's better to read as a single line here

Quoted 7 lines

[2]: commit b86ff981a825 ("[PATCH] relay: migrate from relayfs to a generic relay API")

OR you can even have it as a proper Link tag:

Same for the rest.

Thanks for the review.

The fact is that originally I used a single line but checkpatch warned me because of exceeding 75 chars. The current format is just to split it into two lines as script requested.

Quoted 8 lines
Quoted 5 lines

Oh interesting thing is Andrew already kindly revised the patch just like you said:
https://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm.git/commit/?h=mm-hotfixes-unstable&id=46947075c75b9b213ba31c1af8c45e0a9c85bf74

So I think there is no need to repost it :)

LGTM, but if people wants real Link tags... Up to you. (I think we are fine now with the current code.)

Great! Thanks!

Thanks,
Jason

#7 lore raw
In reply to Jason Xing
Quoted 5 lines · Jason Xing

Hi Andy,

Quoted 1 line · Andy Shevchenko

On Sun, Mar 01, 2026 at 10:09:02AM +0800, Jason Xing wrote:

...

Quoted 12 lines
Quoted 12 lines
Quoted 3 lines

[1]: commit e82894f84dbb ("[PATCH] relayfs")
[2]: commit b86ff981a825 ("[PATCH] relay: migrate from relayfs to a generic relay API")

It's better to read as a single line here

[2]: commit b86ff981a825 ("[PATCH] relay: migrate from relayfs to > a generic relay API")

OR you can even have it as a proper Link tag:

Quoted 7 lines
Quoted 1 line

Same for the rest.

Thanks for the review.

The fact is that originally I used a single line but checkpatch warned me because of exceeding 75 chars. The current format is just to split it into two lines as script requested.

Checkpatch doesn't parse the tags correctly (or lines that can be recognized as similar to tags). TL;DR: ignore checkpatch for this certain case.

Quoted 7 lines
Quoted 7 lines
Quoted 4 lines

[3]: commit c1bf6959dd81 ("wifi: ath11k: Register relayfs entries for CFR dump")
[4]: https://lpc.events/event/19/contributions/2055/
[5]: https://lpc.events/event/19/contributions/2010/

Note, when converting to Link tags the above, this blank line should be removed.

Signature · 2 lines
With Best Regards,
Andy Shevchenko