freebsd-src/sys/dev/vinum
Greg Lehey c3dff4f036 Include Peter Wemm's renaming and restructuring
Remove #ifdefs for FreeBSD 2.c

Change from lkm to kld

correct type of `flags' in calls to set_drive_state.

set_drive_parms: handle anonymous drives correctly (remove them)

drive VOP functions: use the PID of the original opener to fool the
lock manager.

open_drive: be quiet about failures (they're normal when scanning the
partitions).

close_drive: lock drive before closing.

remove_drive: lock drive before deallocating.

read_drive_label: set drive up when all is OK

check_drive:
  Complete rewrite.  Offload most of the code to the new
  vinum_scandisk

format_config:
  use snprintf and %qd options to make much less emetic.
  Remove old supporting functions.

vinum_scandisk:
  Moved here from vinum.c
  Almost complete rewrite, incorporating much of what was check_drive.
  We still don't have a general way to find the drives on a system, so
  get the user to supply the names via the `read' command.  For each
  device, try each possible compatibility slice name (there's a danger
  of finding both /dev/da1h and /dev/da0s1h otherwise).  Sort the
  partitions found in reverse order of last update time and read them
  in, setting the `update' parameter to parse_config and descendents.

save_config: rename to daemon_save_config, since the function is now
called by the daemon.  Create a new function save_config which queues
the request with the daemon.

daemon_save_config:  some mods to allow for the unfamiliar
environment.
1999-01-21 00:35:35 +00:00
..
COPYRIGHT If I've done this right, revive the vinum code in it's now home after it 1998-12-28 04:56:24 +00:00
Makefile Some relatively minor tweaks to enable vinum to be built into a static 1998-12-28 16:28:24 +00:00
makestatetext Include the copyright notice in the script, making the file COPYRIGHT 1999-01-21 00:29:20 +00:00
request.h Include Peter Wemm's renaming and restructuring 1999-01-21 00:29:44 +00:00
statetexts.h Reflect changes in vinumstate.h 1999-01-21 00:30:24 +00:00
vinum.c Include Peter Wemm's renaming and restructuring 1999-01-21 00:30:52 +00:00
vinumconfig.c Include Peter Wemm's renaming and restructuring 1999-01-21 00:32:54 +00:00
vinumdaemon.c Code for vinum daemon. 1999-01-21 00:31:31 +00:00
vinumext.h Include Peter Wemm's renaming and restructuring 1999-01-21 00:31:59 +00:00
vinumhdr.h Remove old cruft 1999-01-21 00:33:47 +00:00
vinuminterrupt.c Include Peter Wemm's renaming and restructuring 1999-01-21 00:34:14 +00:00
vinumio.c Include Peter Wemm's renaming and restructuring 1999-01-21 00:35:35 +00:00
vinumio.h Some relatively minor tweaks to enable vinum to be built into a static 1998-12-28 16:28:24 +00:00
vinumioctl.c Include Peter Wemm's renaming and restructuring 1999-01-21 00:35:35 +00:00
vinumkw.h Some relatively minor tweaks to enable vinum to be built into a static 1998-12-28 16:28:24 +00:00
vinumlock.c Some relatively minor tweaks to enable vinum to be built into a static 1998-12-28 16:28:24 +00:00
vinummemory.c Some relatively minor tweaks to enable vinum to be built into a static 1998-12-28 16:28:24 +00:00
vinumparser.c Some relatively minor tweaks to enable vinum to be built into a static 1998-12-28 16:28:24 +00:00
vinumrequest.c Some relatively minor tweaks to enable vinum to be built into a static 1998-12-28 16:28:24 +00:00
vinumrevive.c Fix an overflow problem which prevented revive from working on plexes 1999-01-06 23:11:29 +00:00
vinumstate.c Some relatively minor tweaks to enable vinum to be built into a static 1998-12-28 16:28:24 +00:00
vinumstate.h If I've done this right, revive the vinum code in it's now home after it 1998-12-28 04:56:24 +00:00
vinumutil.c Some relatively minor tweaks to enable vinum to be built into a static 1998-12-28 16:28:24 +00:00
vinumvar.h Some relatively minor tweaks to enable vinum to be built into a static 1998-12-28 16:28:24 +00:00