* obdfs/flushd.c: conditionalized number of C_DEBUG messages.
* include/linux/obd_class.h: added obd_devicename member to struct obd_device (name is either ptr to dentry or uuid). * ext2obd/ext2_obd.c: setup() converts dentry into rdev number. class/class_obd.c: setup() converts name into obd_device dentry class/obdcontrol: setup() passes /dev/obd name into ioctl (used to be rdev number and if invalid rdev number was passed old ext2_obd.c would crash kernel when trying to read superblock). * class/obdcontrol: added "status, procsys, script, insmod, rmmod, lsmod, shell and close" commands for obdcontrol. This allows easier scripting from within obdcontrol. Introduced ability to maintain multiple open obd devices from a single obdcontrol session. Device command toggles device context. Obdcontrol maintains multiple open file handles. "script <file>" command is useful for "sourcing" scripts without leaving obdcontrol. shell <command> allows any shell command to be executed from within obdcontrol. * class/proc_lustre.c: added support for /proc/lustre/obd/<n>/status. These are read-only /proc entries that track /dev/obd<n> internal state. * obdtrace/* & include/linux/obd_class.h: obd_trace a logical obd module useful for tracing and performance debug of the Lustre obd protocol stack. obdtrace module creates /proc/lustre/obd/<n>/stats file. Reading this /proc file shows per OBD performance statistics. Any write to this /proc file resets the counters for this OBD. * scripts/obdtrace_demo.scr: Example of obdtrace that takes advantage of new obdcontrol functionality. * doc/obdtrace_demo.txt: shows obdtrace capabilities.
Showing
- lustre/include/linux/obd_class.h 15 additions, 2 deletionslustre/include/linux/obd_class.h
- lustre/include/linux/obd_support.h 4 additions, 1 deletionlustre/include/linux/obd_support.h
- lustre/include/linux/obd_trace.h 22 additions, 0 deletionslustre/include/linux/obd_trace.h
- lustre/obdclass/Makefile 1 addition, 1 deletionlustre/obdclass/Makefile
- lustre/obdclass/class_obd.c 42 additions, 17 deletionslustre/obdclass/class_obd.c
- lustre/obdclass/genops.c 1 addition, 1 deletionlustre/obdclass/genops.c
- lustre/obdclass/obdcontrol 446 additions, 78 deletionslustre/obdclass/obdcontrol
- lustre/obdclass/proc_lustre.c 235 additions, 0 deletionslustre/obdclass/proc_lustre.c
- lustre/obdclass/sysctl.c 6 additions, 3 deletionslustre/obdclass/sysctl.c
- lustre/obdfs/flushd.c 8 additions, 5 deletionslustre/obdfs/flushd.c
- lustre/scripts/mkobddevs 9 additions, 0 deletionslustre/scripts/mkobddevs
- lustre/scripts/obdtrace_demo.scr 56 additions, 0 deletionslustre/scripts/obdtrace_demo.scr
lustre/include/linux/obd_trace.h
0 → 100644
This diff is collapsed.
lustre/obdclass/proc_lustre.c
0 → 100644
lustre/scripts/mkobddevs
0 → 100755
lustre/scripts/obdtrace_demo.scr
0 → 100644
Please register or sign in to comment