Whamcloud - gitweb
* obdfs/flushd.c: conditionalized number of C_DEBUG messages.
authorrzahir <rzahir>
Tue, 3 Jul 2001 01:01:24 +0000 (01:01 +0000)
committerrzahir <rzahir>
Tue, 3 Jul 2001 01:01:24 +0000 (01:01 +0000)
commitd66b78bd055c9f1633bdc973f982502fb8b50a81
tree16e19847f1bfdbe0ab5bcaf403b0f3d287316c62
parente28c022aff0e7c6aaee60b8414a6a524c17304f7
    * 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.
12 files changed:
lustre/include/linux/obd_class.h
lustre/include/linux/obd_support.h
lustre/include/linux/obd_trace.h [new file with mode: 0644]
lustre/obdclass/Makefile
lustre/obdclass/class_obd.c
lustre/obdclass/genops.c
lustre/obdclass/obdcontrol
lustre/obdclass/proc_lustre.c [new file with mode: 0644]
lustre/obdclass/sysctl.c
lustre/obdfs/flushd.c
lustre/scripts/mkobddevs [new file with mode: 0755]
lustre/scripts/obdtrace_demo.scr [new file with mode: 0644]