All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 00/11] Overhaul NFSv2-related XDR functions
@ 2010-09-10 20:08 Chuck Lever
  2010-09-10 20:08 ` [PATCH 01/11] NFS: Fix NFSv3 debugging messages in fs/nfs/nfs3proc.c Chuck Lever
                   ` (10 more replies)
  0 siblings, 11 replies; 14+ messages in thread
From: Chuck Lever @ 2010-09-10 20:08 UTC (permalink / raw)
  To: trond.myklebust; +Cc: linux-nfs

Trond-

This patch series overhauls NFSv2 and NLMv3 XDR functions to
use the same strict buffer checking tools that the NFSv4 XDR
functions use.

I did some testing with OProfile and perf to see what kind of
CPU impact the additional checking has... didn't notice much
if any change on the workloads I tried (fsx and cthon).  I
was careful to structure the code (especially conditionals)
so that the common path was as short as possible.

---

Chuck Lever (11):
      lockd: Introduce new-style XDR functions for NLMv3
      NFS: Move and update xdr_decode_foo() functions that we're keeping
      NFS: Replace old NFSv2 decoder functions with xdr_stream-based ones
      NFS: Introduce new-style XDR decoding functions for NFSv2
      NFS: Use the "nfs_stat" enum for nfs_stat_to_errno()'s argument
      NFS: Move and update xdr_encode_foo() functions that we're keeping
      NFS: Remove old NFSv2 encoder functions
      NFS: Introduce new-style XDR encoding functions for NFSv2
      SUNRPC: Refactor logic to NUL-terminate strings in pages
      SUNRPC: Correct an rpcbind debugging message
      NFS: Fix NFSv3 debugging messages in fs/nfs/nfs3proc.c


 fs/lockd/Makefile          |    4 
 fs/lockd/clntxdr.c         |  657 +++++++++++++++++++++
 fs/lockd/xdr.c             |  258 --------
 fs/nfs/internal.h          |    4 
 fs/nfs/nfs2xdr.c           | 1349 ++++++++++++++++++++++++++++++--------------
 fs/nfs/nfs3proc.c          |    5 
 fs/nfs/nfs3xdr.c           |    6 
 fs/nfs/nfs4xdr.c           |    5 
 fs/nfs/proc.c              |    2 
 include/linux/sunrpc/xdr.h |    1 
 net/sunrpc/rpcb_clnt.c     |    5 
 net/sunrpc/xdr.c           |   17 +
 12 files changed, 1598 insertions(+), 715 deletions(-)
 create mode 100644 fs/lockd/clntxdr.c

-- 
Chuck Lever

^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2010-09-13 20:00 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-09-10 20:08 [PATCH 00/11] Overhaul NFSv2-related XDR functions Chuck Lever
2010-09-10 20:08 ` [PATCH 01/11] NFS: Fix NFSv3 debugging messages in fs/nfs/nfs3proc.c Chuck Lever
2010-09-10 20:08 ` [PATCH 02/11] SUNRPC: Correct an rpcbind debugging message Chuck Lever
2010-09-10 20:09 ` [PATCH 03/11] SUNRPC: Refactor logic to NUL-terminate strings in pages Chuck Lever
2010-09-10 20:09 ` [PATCH 04/11] NFS: Introduce new-style XDR encoding functions for NFSv2 Chuck Lever
2010-09-13 19:52   ` Trond Myklebust
2010-09-13 20:00     ` Chuck Lever
2010-09-10 20:09 ` [PATCH 05/11] NFS: Remove old NFSv2 encoder functions Chuck Lever
2010-09-10 20:09 ` [PATCH 06/11] NFS: Move and update xdr_encode_foo() functions that we're keeping Chuck Lever
2010-09-10 20:09 ` [PATCH 07/11] NFS: Use the "nfs_stat" enum for nfs_stat_to_errno()'s argument Chuck Lever
2010-09-10 20:10 ` [PATCH 08/11] NFS: Introduce new-style XDR decoding functions for NFSv2 Chuck Lever
2010-09-10 20:10 ` [PATCH 09/11] NFS: Replace old NFSv2 decoder functions with xdr_stream-based ones Chuck Lever
2010-09-10 20:10 ` [PATCH 10/11] NFS: Move and update xdr_decode_foo() functions that we're keeping Chuck Lever
2010-09-10 20:10 ` [PATCH 11/11] lockd: Introduce new-style XDR functions for NLMv3 Chuck Lever

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.