Re: [PATCH] Add source address to sunrpc svc errors

From: J. Bruce Fields
Date: Tue Aug 28 2007 - 15:31:57 EST


On Tue, Aug 28, 2007 at 03:12:26PM -0400, Valdis.Kletnieks@xxxxxx wrote:
> On Mon, 27 Aug 2007 17:43:33 EDT, "J. Bruce Fields" said:
> > I also wonder whether these shouldn't all be dprintk's instead of
> > printk's. One misbehaving client could create a lot of noise in the
> > logs.
>
> I shouldn't have to rebuild my kernel with debugging enabled just to see
> who is throwing trash at my machine.

Fair enough.

The dprintk's throughout the nfs and sunrpc server and client code can
be selectively enabled at runtime using a set of sysctls in
sys/sunrpc/*_debug; see

include/linux/lockd/debug.h
include/linux/nfsd/debug.h
include/linux/sunrpc/debug.h

--b.
-
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/