| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
| |
to kproc_xxx as they actually make whole processes.
Thos makes way for us to add REAL kthread_create() and friends
that actually make theads. it turns out that most of these
calls actually end up being moved back to the thread version
when it's added. but we need to make this cosmetic change first.
I'd LOVE to do this rename in 7.0 so that we can eventually MFC the
new kthread_xxx() calls.
|
|
|
|
|
|
| |
-) Set correct sizes for plexes and volumes a subdisk has been removed.
Submitted by: Ulf Lilleengen <lulf_AT_freebsd.org>
|
|
|
|
|
|
| |
only consists of "/".
Submitted by: Ulf Lilleengen <lulf_AT_freebsd.org>
|
| |
|
|
|
|
| |
subdisks.
|
| |
|
|
|
|
|
| |
PR: kern/94835
Submitted by: Ulf Lilleengen <lulf@stud.ntnu.no>
|
|
|
|
| |
attached to it.
|
|
|
|
| |
use the standard bioq structures.
|
|
|
|
|
|
| |
have any use of it.
Suggested by: pjd
|
|
|
|
|
|
|
|
|
|
| |
o The only indication of error condition is NULL value returned by
the function;
o value pointed to by error argument is undefined in the case when
operation completes successfully.
Discussed with: phk
|
|
|
|
|
|
|
|
|
|
|
| |
the geom creation to a seperate init function and ignore the tasting.
The config is now parsed only in the vinumdrive geom, which hopefully
fixes the problem, that the drive class tasted before the vinum class
had a chance, for good.
Also restore the behaviour that the module can be loaded at boot time
and on a running system.
|
| |
|
|
|
|
|
|
|
|
|
| |
Don't allocate potentially large variables on the stack.
Check strsep() return values when the string comes from userland.
Shorten variable names for lucidity's sake.
most of the stuff:
Pointed out by: njl@
|
|
|
|
| |
Pointed out by: joel@
|
|
|
|
|
|
|
|
|
| |
Add functions to rename objects and to move a subdisk from one drive
to another.
Obtained from: Chris Jones <chris.jones@ualberta.ca>
Sponsored by: Google Summer of Code 2005
MFC in: 1 week
|
|
|
|
|
| |
be destroyed. That way the GEOM system handles all deallocations
and we don't have to do it ourselves.
|
|
|
|
|
| |
in progress, and be a bit more user friendly in terms of error
messages returned from the kernel.
|
|
|
|
|
|
|
|
|
| |
This way, the VINUMDRIVE class is loaded before the VINUM class,
but since geom does the tasting for newly arrived classes
last-in-first-out, the VINUM class tastes first.
This removes the need to call gv_parse_config() in the drive
taste path.
|
|
|
|
| |
This makes degraded RAID5 plexes actually work.
|
| |
|
|
|
|
|
|
|
| |
When a drive is newly created, it's state is initially set to 'down',
so it won't allow saving the config to it (thus it will never know of
itself being created). Work around this by adding a new flag, that's
also checked when saving the config to a drive.
|
|
|
|
|
|
| |
*) Plug a possible memory leak. [1]
[1] obtained from: pjd@.
|
|
|
|
|
|
|
| |
post an event to the geom event queue that will take care of it,
letting outstanding bios finish, and closing the consumers.
Plus some cosmetic clean ups.
|
|
|
|
|
| |
PR: kern/80427
Submitty by: Stijn Hoop <stijn@win.tue.nl>
|
|
|
|
|
|
| |
seem to be necessary anymore, and it prevents tasting a valid drive
when booting with geom_vinum already loaded, since SCSI disks set their
sectorsize not until first opening them.
|
|
|
|
|
|
| |
Reset the 'syncing' flag in case of errors, too.
Some cosmetics.
|
|
|
|
|
|
|
| |
the previous one failed and there are more than one plex in the volume.
This could have led to a flood of error messages on the console and
probably a deadlock in certain situations.
|
|
|
|
|
|
| |
detach it, but instead let the geom wither away.
Bump copyright year.
|
|
|
|
|
|
| |
really a state change.
Reword the info a bit.
|
|
|
|
| |
the plex has no more consumers (e.g. orphaning).
|
|
|
|
| |
with 'gv_' for consistency.
|
|
|
|
|
|
|
| |
worker thread may have been destroyed (e.g. during orphaning).
Make sure that objects get back their worker threads when they get a
new geom.
|
| |
|
| |
|
|
|
|
| |
for debugging and emergency purposes.
|
| |
|
|
|
|
| |
code duplication.
|
|
|
|
| |
there later.
|
|
|
|
|
|
|
| |
This lowers the CPU usage of the worker thread and prevents a
possible live lock on non-SMP machines.
MFC candidate.
|
| |
|
|
|
|
|
|
| |
a drive's provider with '/dev/' when printing the config.
Reported by: will@
|
|
|
|
|
|
| |
currently not possible to do this while the volume is mounted.
MFC in: 1 week
|
|
|
|
| |
if their subdisks are all available, so let them be brought up.
|
|
|
|
|
|
|
|
|
|
| |
Analogous to the drive level, give each volume and plex a worker thread
that picks up and processes incoming and completed BIOs.
This should fix the data corruption issues that have come up a few
weeks ago and improve performance, especially of RAID5 plexes.
The volume level needs a little work, though.
|
|
|
|
|
| |
sends them down, and takes care of the finished bios. This makes it
easier to handle I/O errors at drive level.
|
|
|
|
| |
threads to come.
|
| |
|
|
|
|
| |
bigger (i.e. on CD-ROMs).
|
|
|
|
| |
gv_config_new_drive().
|