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
664a97517f
Make it possible to remove stale, left-over subdisks.
2005-08-16 15:12:44 +00:00
Lukas Ertl
0d93122102
Don't initialize error with ENXIO as we might end up here when
...
the plex has no more consumers (e.g. orphaning).
2005-01-21 18:24:20 +00:00
Lukas Ertl
f11c507c45
Although an object may already be known in the configuration, it's
...
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.
2005-01-19 14:08:16 +00:00
Lukas Ertl
fb5885af37
Implement checkparity/rebuildparity.
2004-11-26 12:01:00 +00:00
Lukas Ertl
6c39d46363
Give each plex a separate queue where held back bios are put on.
...
This lowers the CPU usage of the worker thread and prevents a
possible live lock on non-SMP machines.
MFC candidate.
2004-10-26 21:01:42 +00:00
Lukas Ertl
c3aadfb9d6
Make it possible to rebuild degraded RAID5 plexes. Note that it is
...
currently not possible to do this while the volume is mounted.
MFC in: 1 week
2004-09-30 12:57:35 +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
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
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
Poul-Henning Kamp
5721c9c76a
Tag all geom classes in the tree with a version number.
2004-08-08 07:57:53 +00:00
Lukas Ertl
4b017d0d93
Propagate size changes upwards.
2004-07-31 21:34:21 +00:00
Lukas Ertl
663e5a3311
Set the access counts of a subdisk correctly when attaching it
...
to a plex that already has subdisks.
2004-07-30 23:40:38 +00:00
Lukas Ertl
3a1e11b485
Add a function to clean up RAID5 packets and use it when I/O has
...
finished or when building the complete packet fails.
2004-06-23 23:52:55 +00:00
Lukas Ertl
7f72de2d55
Clean up allocated ressources when destroying the main vinum geom.
2004-06-18 19:53:33 +00:00
Lukas Ertl
99b536d888
Handle dead disks in a somewhat sane way.
2004-06-16 14:41:04 +00:00
Lukas Ertl
73679edcc7
Add a first version of a GEOMified vinum.
2004-06-12 21:16:10 +00:00