| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
| |
crashes, the config remains locked and causes all
subsequent start or read attempts to fail. This is part
of a fix for the recently reported hangs.
Approved by: re (scottl)
|
|
|
|
| |
Submitted by: Tim Kientzle <kientzle@acm.org> (embellished by me)
|
|
|
|
| |
Spotted by: mbr
|
|
|
|
| |
encrypted with gbde(8).
|
| |
|
|
|
|
|
|
| |
Submitted by: Allan Saddi <allan@saddi.com>
vinum_read: White space cleanup.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
work because it referred to plexes which were almost invariably when
referred to. Instead, deprecate the "prefer" keyword for volumes
(though it's still there for the moment) and add a keyword "preferred"
to the plex definition. The relationship is like this:
Old:
vol foo ... prefer foo.p3
New:
plex foo.p3 volume foo preferred
printconfig: Print out the "preferred" keyword for plexes where
appropriate.
Still print out "prefer" for volumes. The kernel module
continues to accept this version, but it's probably not
going to live much longer.
|
|
|
|
|
|
|
|
|
|
|
| |
vinum_read:
Accept 0 parameters, hand an empty string to the kernel if so.
Use new ioctl VINUM_READCONFIG, not VINUM_CREATE, to read config.
vinum_start: When passed 0 parameters, drop the devstat kludge and
call vinum_read instead. It's no longer necessary to distinguish
between "start" and "read" if no parameters are passed, and
probably one of them should go away.
|
|
|
|
| |
to cope with kernel modules with VINUMDEBUG.
|
|
|
|
| |
Change name of history file to History to avoid name conflicts.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Change name of history file to History to avoid name conflicts.
Don't try to make devices unless devfs has been removed.
Don't accept resetconfig command from a file.
Abused by: Jens Schweikhardt <schweikh@schweikhardt.net>
Remove dead code (#if 0)
vinum_mirror: Don't try to create mirrors with 0 drives.
Found by: mismatch between enum kw in two different files.
|
|
|
|
|
|
|
|
|
|
|
|
| |
Change name of history file to History to avoid name conflicts.
Rewrite minor number decoding. Now we have only three types of
object: subdisks, plexes and volumes. The encoding for plexes and
subdisks no longer reflects the object to which they belong. The
super devices are high-order volume numbers. This gives vastly more
potential volumes (4 million instead of 256).
Don't try to chown directories if they haven't been created.
|
|
|
|
|
|
|
| |
vinum_info: Use increasing verbosity to show time spent in disk
driver.
Correct a comment.
|
| |
|
| |
|
| |
|
|
|
|
| |
Add bio_t0 timestamp, and include <sys/time.h> where needed
|
|
|
|
|
|
| |
statements, now that gcc loudly complains about them.
MFC after: 1 week
|
|
|
|
|
|
|
|
|
|
| |
the configuration of any other disk-like devices.
This is the non-DEVFS part which is normally not used in 5.x, but due
for MFC into 4.x.
PR: bin/28294, bin/32588
MFC after: 1 week
|
| |
|
|
|
|
| |
Approved by: re (jhb).
|
| |
|
| |
|
|
|
|
| |
Observed by: Chris Bolt <chris-lists@bolt.cx>
|
|
|
|
| |
Reviewed by: grog
|
| |
|
|
|
|
|
| |
Sponsored by: DARPA & NAI Labs.
Submitted by: mckusick
|
|
|
|
|
|
|
| |
Submitted by: Holger Kipp <holger.kipp@alogis.com>
PR: 37458
MFC after: 5 days
(to get 4.6 code freeze)
|
|
|
|
|
| |
Also change one case of blatant __progname abuse (several more remain)
This commit does not touch anything in src/{contrib,crypto,gnu}/.
|
|
|
|
|
|
| |
Submitted by: Olivier Tharan <olivier.tharan@idealx.com>
PR: docs/37094
MFC after: 1 week
|
|
|
|
|
|
| |
Binary builds that cannot handle this must explicitly set WARNS=0.
Reviewed by: mike
|
|
|
|
| |
I should reconsider whether I just leave them in without #ifdef VINUMDEBUG.
|
| |
|
|
|
|
| |
Noted by: Sean Eric Fagan <sef@kithrup.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
1.) prefix all functions in the library with devstat_ (compatability
functions are available for all functions that were chaned in an
incompatible way, but are deprecated).
2.) Add a pointer to a kvm_t as the first argument to functions that
used to get their information via sysctl; they behave the same
as before when NULL is passed as this argument, otherwise, the
information is obtained via libkvm using the supplied handle.
3.) Add a new function, devstat_compute_statistics(), that is intended
to replace the old compute_stats() function. It offers more
statistics data, and has a more flexible interface.
libdevstat does now require libkvm; a library depedency is added, so
that libkvm only needs to be explicitely specified for statically linked
programs.
The library major version number is bumped.
Submitted by: Sergey A. Osokin <osa@freebsd.org.ru>, ken (3)
Reviewed by: ken
|
|
|
|
| |
Keep document title (.Dt) in CAPITALS, as required by the mdoc(7) manpage.
|
|
|
|
| |
Submitted by: Normand Leclerc <leclercn@videotron.ca>
|
|
|
|
|
| |
header files and sources which depend on it. For userland, define
VINUMDEBUG here. Also remove a now superfluous #ifdef.
|
| |
|
|
|
|
| |
the kernel module is built that way.
|
|
|
|
|
|
|
| |
if the kernel module is built that way.
Remove the gross debug device/non-debug device hack used to recognize
whether the kernel module was in sync with the userland module.
|
|
|
|
| |
message if not present.
|
|
|
|
|
|
|
| |
if the kernel module is built that way.
vinum_info: Check for kernel module debug support, print error message
if not present.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
vinum_mirror, vinum_raid4, vinum_raid5.
Correct typos.
Show new output of the 'list' and 'ls' commands.
Update examples to use 279 kB stripe sizes instead of 256 kB.
Clarify some text.
Remove the description of the 'invalid ioctl' messages which now no
longer occur.
Add a description of the 'retryerrors' keyword.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
to avoid including the kernel headers.
Move a number of definitions of userland functions from
dev/vinum/vinumext.h.
Desired by: bde
This commit is the first of a general cleanup of the header files..
It won't be enough to make bde happy.
Remove vinum_perror and associated DEVBUG definition.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Use userland expurgated versions of kernel structures, since that's
what the ioctls return now.
Remove vinum_perror.
main: Check kernel version with userland version in _vinum_conf. This
field is a constant which gets incremented every time the
kernel-userland interface changes. This enables vinum(8) to
check for the correct kernel version and to produce a useful
message if it doesn't match. For previous versions, which don't
have a version number, the length of the structure is different,
so we can recognize it via the EINVAL return from ioctl.
Supply count parameter to tokenize().
Change method of recognizing active devfs: replace devfs_is_active
with (complemented) no_devfs.
make_devices: remove references to devfs. If we're running devfs, we
don't need to call make_devices at all.
vinum_makedev (user command 'makedev'): Print a warning message if
devfs is running and don't do anything else.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Remove vinum_perror.
Modify 'list' brief printout to fit in 80 columns.
Modify 'ls' brief printout to show the drive to which the subdisk
before instead of the plex offset, which is usually less interesting.
The verbose printout remains unchanged.
Use userland expurgated versions of kernel structures, since that's
what the ioctls return now.
Move checkupdates here to simplify header file mess.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Remove 'vinum_perror'.
Only call make_devices if we're not running devfs.
Use userland expurgated versions of kernel structures, since that's
what the ioctls return now.
Update help list, which was lagging behind reality.
checkupdates: move to list.c to simplify header file mess.
vinum_stripe, vinum_mirror, vinum_raid4, vinum_raid5: change the
default stripe size from 256 k to 279 k, thus hopefully spreading
superblocks more evenly.
|
| |
|
|
|
|
| |
- MAN[1-9] -> MAN.
|