RFC Sharing flex file XDR encoding between client and server
Get series with b4
b4 am [email protected]Versions newest first
- v1 RFC Latest2 patches 1 replyIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | nfs: Encoding a netaddr is common to client and serverfs/ fs/ include/ | +99 | 0 replies | |
| 2/2 | nfsd: Encode a netaddr correctlyfs/ fs/ fs/ +1 more | +21 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [RFC 0/2] Sharing flex file XDR encoding between client and server
Hi,
This builds on my prior change set for the flex file server.
I'm not too hot on putting this much code in a header, but I can't think of a cleaner way without leaking too much between the client and server.
Any guidance on how this is typically approached?
Thanks,
Tom
Tom Haynes (2):
nfs: Encoding a netaddr is common to client and server
nfsd: Encode a netaddr correctly
fs/nfs/flexfilelayout/flexfilelayout.c | 93 +----------------------------- fs/nfs/flexfilelayout/flexfilelayout.h | 5 +- fs/nfsd/flexfilelayout.c | 26 +-------- fs/nfsd/flexfilelayoutxdr.c | 34 +++++------ fs/nfsd/flexfilelayoutxdr.h | 15 +---- include/linux/nfs4_ff.h | 100 +++++++++++++++++++++++++++++++++ 6 files changed, 120 insertions(+), 153 deletions(-) create mode 100644 include/linux/nfs4_ff.h
Signature · 1 line
2.5.5