Messages in this thread | | | Date | Tue, 28 Aug 2007 15:19:07 -0400 | Subject | Re: [PATCH] Add source address to sunrpc svc errors | From | "J. Bruce Fields" <> |
| |
On Tue, Aug 28, 2007 at 03:12:26PM -0400, Valdis.Kletnieks@vt.edu 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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |