Home | History | Annotate | Download | only in raidframe
History log of /src/sys/dev/raidframe/rf_reconbuffer.c
RevisionDateAuthorComments
 1.27  23-Jul-2021  oster Extensive mechanical changes to the pools used in RAIDframe.

Alloclist remains not per-RAID, so initialize that pool
separately/differently than the rest.

The remainder of pools in RF_Pools_s are now per-RAID pools. Mostly
mechanical changes to functions to allocate/destroy per-RAID pools.
Needed to make raidPtr available in certain cases to be able to find
the per-RAID pools.

Extend rf_pool_init() to now populate a per-RAID wchan value that is
unique to each pool for a given RAID device.

TODO: Complete the analysis of the minimum number of items that are
required for each pool to allow IO to progress (i.e. so that a request
for pool resources can always be satisfied), and dynamically scale
minimum pool sizes based on RAID configuration.
 1.26  10-Oct-2019  christos branches: 1.26.12;
fix the function pointer and callback mess:
- callback functions return 0 and their result is not checked; make them void.
- there are two types of callbacks and they used to overload their parameters
and the callback structure; separate them into "function" and "value"
callbacks.
- make the wait function signature consistent.
 1.25  02-May-2011  mrg branches: 1.25.56;
convert rb_mutex to a kmutex/cv.
 1.24  04-Mar-2007  christos branches: 1.24.64; 1.24.70;
Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.
 1.23  11-Dec-2005  christos branches: 1.23.26;
merge ktrace-lwp.
 1.22  27-Feb-2005  perry branches: 1.22.4;
nuke trailing whitespace
 1.21  18-Mar-2004  oster branches: 1.21.8; 1.21.10;
Re-work the locking mechanisms for reconstruct and PSS structures
such that we don't actually hold a simplelock while we are doing
a pool_get(), but that we still effectively protecting critical code.

This should fix all of the outstanding LOCKDEBUG warnings related to
rebuilding RAID sets.
 1.20  03-Mar-2004  oster - cleanup unneeded 'row' from RF_CallbackDesc_s.
- remove callbackArg2 from RF_CallbackDesc_s -- it is only ever set,
never read.
- now that this is done, all callbacks should only take a single argument,
and we can simplify things further.
 1.19  03-Mar-2004  oster - cleanup memory allocation in rf_AllocPSStatus()
- change function signature of rf_LookupRUStatus(). The last argument
is now a pointer to a new PSS, in case one is needed. Rather than
having rf_LookupRUStatus() allocate a new PSS, we pre-allocate one
beforehand, where necessary, just in case.
- change callers of rf_lookupRUStatus() to deal with the new way of
calling rf_lookupRUStatus().

[no improvement or worsening of parity rebuild/initialization performance.]
 1.18  01-Mar-2004  oster Use RF_ACC_TRACE to #if out more chunks of code related only
to access tracing. (not turned on yet)
 1.17  02-Jan-2004  hannken Remove "row" from DEBUG statements.
 1.16  01-Jan-2004  oster Nuke a few more 'row'-related bits that were missed in the row-removal.
 1.15  30-Dec-2003  oster Some days you wonder if some of the function declaration consistency
was just an accident in the first place. Cleanup function decls and
a few comments. [ok.. so I wasn't going to fix this many.. but once
you're on a roll....]
 1.14  29-Dec-2003  oster [Having received a definite lack of strenuous objection, a small amount
of strenuous agreement, and some general agreement, this commit is
going ahead because it's now starting to block some other changes I
wish to make.]

Remove most of the support for the concept of "rows" from RAIDframe.
While the "row" interface has been exported to the world, RAIDframe
internals have really only supported a single row, even though they
have feigned support of multiple rows.

Nothing changes in configuration land -- config files still need to
specify a single row, etc. All auto-config structures remain fully
forward/backwards compatible.

The only visible difference to the average user should be a
reduction in the size of a GENERIC kernel (i386) by 4.5K. For those
of us trolling through RAIDframe kernel code, a lot of the driver
configuration code has become a LOT easier to read.
 1.13  09-Feb-2003  jdolecek branches: 1.13.2;
constify some
 1.12  23-Nov-2002  oster Nuke some #if 0'ed code.
 1.11  23-Nov-2002  oster One less goto.
 1.10  23-Nov-2002  oster Bye-bye to the completely unused reconCtrlPtr->priorityList.
 1.9  21-Sep-2002  oster rf_ReleaseBufferWaiter(s) were not being used! Thanks Krister!
 1.8  11-Sep-2002  oster Nuke unneeded #include "rf_debugprint.h"
 1.7  09-Jan-2002  oster Move a bunch of debugging stuff to be only used if DEBUG is turned on.
 1.6  13-Nov-2001  lukem add RCSIDs
 1.5  27-Jan-2001  oster branches: 1.5.2; 1.5.4;
Cosmetic cleanup of some comments, and nuke an unused #define.
 1.4  13-Mar-2000  soren Fix doubled 'the's in comments.
 1.3  05-Feb-1999  oster branches: 1.3.8;
Phase 2 of the RAIDframe cleanup. The source is now closer to KNF
and is much easier to read. No functionality changes.
 1.2  26-Jan-1999  oster RAIDframe cleanup, phase 1. Nuke simulator support, user-land driver,
out-dated comments, and other unneeded stuff. This helps prepare
for cleaning up the rest of the code, and adding new functionality.

No functional changes to the kernel code in this commit.
 1.1  13-Nov-1998  oster RAIDframe, version 1.1, from the Parallel Data Laboratory at
Carnegie Mellon University. Full RAID implementation, including
levels 0, 1, 4, 5, 6, parity logging, and a few other goodies.
Ported to NetBSD by Greg Oster.
 1.3.8.2  11-Feb-2001  bouyer Sync with HEAD.
 1.3.8.1  20-Nov-2000  bouyer Update thorpej_scsipi to -current as of a month ago
A i386 GENERIC kernel compiles without the siop, ahc and bha drivers
(will be updated later). i386 IDE/ATAPI and ncr work, as well as
sparc/esp_sbus. alpha should work as well (untested yet).
siop, ahc and bha will be updated once I've updated the branch to current
-current, as well as machine-dependant code.
 1.5.4.2  10-Oct-2002  jdolecek sync kqueue with -current; this includes merge of gehenna-devsw branch,
merge of i386 MP branch, and part of autoconf rototil work
 1.5.4.1  10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.5.2.6  11-Dec-2002  thorpej Sync with HEAD.
 1.5.2.5  18-Oct-2002  nathanw Catch up to -current.
 1.5.2.4  17-Sep-2002  nathanw Catch up to -current.
 1.5.2.3  28-Feb-2002  nathanw Catch up to -current.
 1.5.2.2  11-Jan-2002  nathanw More catchup.
 1.5.2.1  14-Nov-2001  nathanw Catch up to -current.
 1.13.2.4  04-Mar-2005  skrll Sync with HEAD.

Hi Perry!
 1.13.2.3  21-Sep-2004  skrll Fix the sync with head I botched.
 1.13.2.2  18-Sep-2004  skrll Sync with HEAD.
 1.13.2.1  03-Aug-2004  skrll Sync with HEAD
 1.21.10.1  19-Mar-2005  yamt sync with head. xen and whitespace. xen part is not finished.
 1.21.8.1  29-Apr-2005  kent sync with -current
 1.22.4.1  03-Sep-2007  yamt sync with head.
 1.23.26.1  12-Mar-2007  rmind Sync with HEAD.
 1.24.70.1  06-Jun-2011  jruoho Sync with HEAD.
 1.24.64.1  31-May-2011  rmind sync with head
 1.25.56.1  13-Apr-2020  martin Mostly merge changes from HEAD upto 20200411
 1.26.12.1  01-Aug-2021  thorpej Sync with HEAD.

RSS XML Feed