Lukas Ertl
d5817a5009
Get rid of the gv_bioq hack in most parts of the I/O path and
...
use the standard bioq structures.
2006-01-06 18:03:17 +00:00
Lukas Ertl
3b6cdf438a
Reset object flags after killing off an object's worker thread.
2005-01-19 13:57:09 +00:00
Lukas Ertl
94175098f1
Share gv_roughlength() between kernel and userland, as we will need it
...
there later.
2004-11-15 12:30:59 +00:00
Lukas Ertl
d9d3a74c87
Correctly skip the '/dev/' part when creating new drives and prefix
...
a drive's provider with '/dev/' when printing the config.
Reported by: will@
2004-10-02 20:12:20 +00:00
Lukas Ertl
67e3ab6ee5
Re-vamp how I/O is handled in volumes and plexes.
...
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.
2004-09-18 13:44:43 +00:00
Lukas Ertl
12653dec9d
Give the DRIVE geom a worker thread that picks up incoming bios,
...
sends them down, and takes care of the finished bios. This makes it
easier to handle I/O errors at drive level.
2004-09-13 21:01:36 +00:00
Lukas Ertl
fce2deb197
Rename gv_kill_thread() to gv_kill_plex_thread(), since there are more
...
threads to come.
2004-09-13 17:44:47 +00:00
Lukas Ertl
45d0fdcda9
Add forgotten format specifier in a KASSERT and shut up the compiler.
...
Submitted by: Gavin Atkinson <gavin.atkinson@ury.york.ac.uk>
2004-08-22 13:34:24 +00:00
Lukas Ertl
92f49a969d
If we kill the worklist thread of a RAID5 plex we can destroy
...
the worklist mutex at the same time, so move the mtx_destroy() call
to gv_kill_thread().
2004-08-10 20:51:48 +00:00
Lukas Ertl
4b017d0d93
Propagate size changes upwards.
2004-07-31 21:34:21 +00:00
Lukas Ertl
865897c9f1
Mark a plex as 'newborn' when it is created. This is used to indicate
...
that new RAID5 plexes need to be initialized first.
2004-06-25 18:04:33 +00:00
Lukas Ertl
99b536d888
Handle dead disks in a somewhat sane way.
2004-06-16 14:41:04 +00:00
Lukas Ertl
da8f1aa53d
Fix several bugs related to subdisk drive_offset calculation.
2004-06-15 20:56:25 +00:00
Lukas Ertl
73679edcc7
Add a first version of a GEOMified vinum.
2004-06-12 21:16:10 +00:00