[PATCH] sunrpc svc: be quieter

From: Daniel Drake
Date: Sat Mar 04 2006 - 20:16:33 EST


A Gentoo user at http://bugs.gentoo.org/124884 reports that the following
message appears in the logs over 650 times every day:

svc: unknown version (0)

The system is a NFS server with many active clients.

Given that this #define only controls printk output, does it make sense to
disable it by default?

Signed-off-by: Daniel Drake <dsd@xxxxxxxxxx>

--- linux/net/sunrpc/svc.c.orig 2006-03-05 00:51:10.000000000 +0000
+++ linux/net/sunrpc/svc.c 2006-03-05 00:52:40.000000000 +0000
@@ -20,7 +20,7 @@
#include <linux/sunrpc/clnt.h>

#define RPCDBG_FACILITY RPCDBG_SVCDSP
-#define RPC_PARANOIA 1
+#undef RPC_PARANOIA

/*
* Create an RPC service
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/