Skip to content

Misc cleanups

Trond Myklebust linux-nfs 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest9 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/9SUNRPC: Add helpers for decoding opaque and string typesinclude/linux/sunrpc/xdr.h net/sunrpc/xdr.c+88 -00 replies
2/9SUNRPC: Add a helper for encoding opaque data inlineinclude/linux/sunrpc/xdr.h+25 -00 replies
3/9NFSv4: Allow GFP_NOIO sleeps in decode_attr_owner/decode_attr_groupfs/nfs/nfs4xdr.c+2 -20 replies
4/9NFSv4; Clean up XDR encoding of type bitmap4fs/nfs/nfs4xdr.c include/linux/sunrpc/xdr.h+135 -940 replies
5/9NFSv4: Clean up encode_attrsfs/nfs/nfs4xdr.c+2 -152 replies
6/9NFSv4: Add a helper to encode/decode struct timespecfs/nfs/nfs4xdr.c+30 -150 replies
7/9NFSv4: Don't ask for attributes when ACCESS is protected by a delegationfs/nfs/nfs4proc.c fs/nfs/nfs4xdr.c+12 -70 replies
8/9NFSv4: Clean up CB_GETATTR encodingfs/nfs/callback_xdr.c+8 -290 replies
9/9NFSv4: Fix the nfs_inode_set_delegation() argumentsfs/nfs/delegation.c fs/nfs/delegation.h fs/nfs/nfs4proc.c+34 -190 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/9] Misc cleanups

The following patches are a set of cleanups for the NFSv4 XDR encoding both on the forward and back channels.
Also a couple of delegation related cleanups and fixes.

Trond Myklebust (9):
SUNRPC: Add helpers for decoding opaque and string types
SUNRPC: Add a helper for encoding opaque data inline
NFSv4: Allow GFP_NOIO sleeps in decode_attr_owner/decode_attr_group NFSv4; Clean up XDR encoding of type bitmap4
NFSv4: Clean up encode_attrs
NFSv4: Add a helper to encode/decode struct timespec
NFSv4: Don't ask for attributes when ACCESS is protected by a
delegation
NFSv4: Clean up CB_GETATTR encoding
NFSv4: Fix the nfs_inode_set_delegation() arguments

 fs/nfs/callback_xdr.c      |  37 ++-----
 fs/nfs/delegation.c        |  35 ++++---
 fs/nfs/delegation.h        |   6 +-
 fs/nfs/nfs4proc.c          |  25 +++--
 fs/nfs/nfs4xdr.c           | 238 +++++++++++++++++++++------------------------
 include/linux/sunrpc/xdr.h |  94 ++++++++++++++++++
 net/sunrpc/xdr.c           |  82 ++++++++++++++++
 7 files changed, 336 insertions(+), 181 deletions(-)
Signature · 1 line
2.14.3