diff options
| author | oster <oster@NetBSD.org> | 2008-05-19 19:49:54 +0000 |
|---|---|---|
| committer | oster <oster@NetBSD.org> | 2008-05-19 19:49:54 +0000 |
| commit | 396f9f4598a89139a8377340a5e0dba41b9dfd9f (patch) | |
| tree | 5ecceaab008369c3543e93543b725fc5a50a23e9 /sys/dev/raidframe/raidframeio.h | |
| parent | aa10084492a81f627e3abecd8675b4f8a7724d53 (diff) | |
Re-work some of the guts of the reconstruction code.
Reconmap used to have one pointer for every reconstruction unit. This
does not scale well in the land of 1TB disks, where some 100MB+ of
"status pointers" are required for typical configurations. Convert
the reconstruction code to use a "sliding status window" which will
scale nicely regardless of the number of stripes/reconstruction units
in the RAID set. Convert the main reconstruction loop to rebuild the
array in chunks rather than in one big lump.
As part of these changes, introduce a function to kick any waiters on
the head separation callback list, and use that in the main
reconstruction event queue to wake up the waiters if things have
stalled. (I believe this may fix a race condition that could occur at
at least at the very end of a disk during reconstruction under heavy
IO load.)
Thanks to Brian Buhrow for all his help, support, and patience in
testing these changes.
Diffstat (limited to 'sys/dev/raidframe/raidframeio.h')
0 files changed, 0 insertions, 0 deletions
