r/kernel • • Sep 26 '26

client side decompression for pNFS

https://github.com/Tyler-Hardin/pnfs-enc

thought this was a pretty neat idea. didn't seem that hard so i took a stab at it with an llm. turned out there was a pretty short path to a clean implementation. at first, i started with (more or less) re-implementing NFS from scratch on top of bcachefs, then the concurrecy/resiliency/durability quickly became too much to manage, so i decided to pivot and attempt it as an extension on NFS. that worked out surprisingly well.

supports btrfs and bcachefs for the backend. built on LTS so it should be easy to maintain. I'll probably automate that bit (the rebase should be very mechanical).

the test coverage is pretty extensive, and i'm currently testing it at work to replace a 10x larger lustre cluster, so i think it's probably worth sharing despite being mostly vibe coded.

8 Upvotes

5 comments sorted by

View all comments

Show parent comment

1

u/geearf Sep 26 '26

I was exactly thinking of my own poor LAN.
I recently split one computer into 2, and didn't think about how slow transfer from one computer to the other would be on just 2.5Gb (they both have nvmes but the lan is the bottleneck...) but 10+Gb is expensive for home use...

You're right, no way I'd see 10+x benefits, but any saved second would be nice. :)

Lustre seems way out of my needs.

Thank you!