[PVFS2-developers] patches: debugging messages
Phil Carns
pcarns at wastedcycles.org
Thu Jun 30 19:20:21 EDT 2005
As promised a while back (see
http://www.beowulf-underground.org/pipermail/pvfs2-developers/2005-June/001297.html),
here are some patches that clean up some error messages here and there,
and add more debugging flexibility to the kernel module:
log-msgs.patch:
- fixes bogus messages in lookup.sm and pvfs2-ls.c
- corrects several bmi_tcp messages (error code handling, and choice of
gossip_err vs. gossip_lerr)
kernel-debugging.patch
- adds version number to load and unload messages
- documents existing hash table size module parameter
- adds new module parameter (debug={1/0}) to turn debugging on or off at
load time without having to recompile
- adds new proc entry (proc/sys/pvfs2/debug) that allows toggling debug
messages on or off dynamically while module is loaded
- removes a broken log message
The kernel-debugging.patch adds proc and parameter entries that mirror
what pvfs1 does. The only difference is that it doesn't allow
specification of different levels of debugging, it is either all on or
all off. The pvfs2_print() macro in the kernel code isn't devided into
categories.
I'm not particular about the choice of proc file to use, if anyone has a
better suggestion- I just duplicated the pvfs1 approach.
-Phil
-------------- next part --------------
A non-text attachment was scrubbed...
Name: kernel-debugging.patch
Type: text/x-patch
Size: 11969 bytes
Desc: not available
Url : http://www.beowulf-underground.org/pipermail/pvfs2-developers/attachments/20050630/2111d89e/kernel-debugging.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: log-msgs.patch
Type: text/x-patch
Size: 6192 bytes
Desc: not available
Url : http://www.beowulf-underground.org/pipermail/pvfs2-developers/attachments/20050630/2111d89e/log-msgs.bin
More information about the PVFS2-developers
mailing list