Whamcloud - gitweb
Config interface now uses the new struct lustre_cfg for all config
authorrread <rread>
Mon, 29 Sep 2003 23:26:50 +0000 (23:26 +0000)
committerrread <rread>
Mon, 29 Sep 2003 23:26:50 +0000 (23:26 +0000)
commit1133e35588273fcd3b29d6f6fce2ce24c73a866f
tree77cb660c26ef48649accb9822960dab657a67d39
parente7ffe4b5193aad1c3ed4ac85de07324eecbd848a
Config interface now uses the new struct lustre_cfg for all config
commands.  Config commands are sent by lctl using the
OBD_IOC_PROCESS_CFG ioctl, and they can be recorded with
OBD_IOC_RECORD (untested). The configuration process is now stateless,
and each command refers to the device it operates on by name, if
needed.  The lctl interface has changed slightly:

* newdev is not needed. (It continues to exist for compatibility, but
  is a NOOP.)  The attach command now selects the new device.

* cfg_device <name> is used to select the device that is being
  configured. This takes the place of the "device; probe" for config
  commands only.

The current config ops are:
        LCFG_ATTACH
        LCFG_DETACH
        LCFG_SETUP
        LCFG_CLEANUP
        LCFG_LOV_SET_CONFIG
        LCFG_ADD_UUID
        LCFG_DEL_UUID

The other ioctls are unchanged. The portals config commands have not
been incorporated yet.
lustre/include/linux/lustre_cfg.h [new file with mode: 0644]
lustre/obdclass/config.c [new file with mode: 0644]
lustre/utils/lustre_cfg.c [new file with mode: 0644]