"lustre/obdclass/linux/linux-sysctl.c" did not exist on "d66b78bd055c9f1633bdc973f982502fb8b50a81"
rzahir
authored
* 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.
Name | Last commit | Last update |
---|---|---|
lustre |