Home | History | Annotate | Download | only in raidframe
History log of /src/sys/dev/raidframe/rf_shutdown.c
RevisionDateAuthorComments
 1.21  21-Jul-2021  oster Remove commented line that is a duplicate of a real line.
 1.20  17-Dec-2008  cegger branches: 1.20.84;
kill MALLOC and FREE macros.
 1.19  11-Dec-2005  christos branches: 1.19.70; 1.19.74; 1.19.84;
merge ktrace-lwp.
 1.18  27-Feb-2005  perry nuke trailing whitespace
 1.17  09-Mar-2004  oster branches: 1.17.8; 1.17.10;
rf_ShutdownList() isn't returning anything useful, and doesn't need to
return anything. Cleanup.

Cleanup function prototypes in rf_shutdown.h

Use #if RF_DEBUG_SHUTDOWN to #if-out more code.
 1.16  29-Feb-2004  oster Adjust _rf_ShutdownCreate() so that it is willing to wait for more
memory. Since we only now ever "return(0)", just return (void)
instead.

Cleanup all uses of rf_ShutdownCreate() to not worry about
it ever failing. Shaves another 600 bytes off of an i386 GENERIC kernel.
 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 - first kick at a major reworking of RAIDframe's memory allocation code:
- all freelists converted to pools
- initialization of structure members in certain cases where
code was relying on specific allocation and usage properties
to keep structures in a "known state" (that doesn't work with
pools!).
- make most pool_get() be "PR_WAITOK" until they can be analyzed
further, and/or have proper error handling added.
- all RF_Mallocs zero the space returned, so there is no difference
between RF_Calloc and RF_Malloc. In fact, all the RF_Calloc()'s
do is tend to do is get things horribly confused.
Make RF_Malloc() the "general memory allocator", with
RF_MallocAndAdd() the "general memory allocator with
allocation list".
- some of these RF_Malloc's et al. are destined to disappear.
- remove rf_rdp_freelist entirely (it's not used anywhere!)
- remove: #include "rf_freelist.h"
- to the files that were relying on the above, add: #include "rf_general.h"
- add: #include "rf_debugMem.h" to rf_shutdown.h to make it happy
about the loss of: #include "rf_freelist.h".

This shrinks an i386 GENERIC kernel by approx 5K. RAIDframe now
weighs in at about 162K on i386.
 1.13  23-Sep-2002  oster branches: 1.13.6;
Hide more stuff inside RF_DEBUG_SHUTDOWN. Add a prototype for
rf_FreeShutdownEnt() while we're here. Thanks to Simon B.
 1.12  14-Sep-2002  oster Add a local #define, and disable some debugging stuff.
 1.11  14-Jul-2002  oster Oops... one more #include can disappear.
 1.10  14-Jul-2002  oster Nuke unneeded #include.
 1.9  13-Nov-2001  lukem branches: 1.9.8;
add RCSIDs
 1.8  04-Oct-2001  oster Step 2 of the disentanglement. We now look to <dev/raidframe/*> for
the stuff that used to live in rf_types.h, rf_raidframe.h, rf_layout.h,
rf_netbsd.h, rf_raid.h, rf_decluster,h, and a few other places.
Believe it or not, when this is all done, things will be cleaner.

No functional changes to RAIDframe.
 1.7  26-Sep-2001  oster - rf_types.h doesn't really need to pull in rf_archs.h
- for *.c, don't rely on rf_types.h to pull in rf_archs.h
 1.6  13-Jan-2000  oster branches: 1.6.6; 1.6.8; 1.6.10;
If we can't malloc a RF_ShutdownList then we should return ENOMEM right away.
Waiting for more kernel memory to come along can cause more problems than
we're willing to deal with right now.
 1.5  08-Jan-2000  oster - nuke calls to rf_get_threadid() and associated #include
- change a bunch of debugging printfs from
"[%d] ...", tid (where tid is the "thread id")
to
"raid%d: ...", raidPtr->raidid
- other minor rototillage
 1.4  05-Feb-1999  oster branches: 1.4.8;
Phase 2 of the RAIDframe cleanup. The source is now closer to KNF
and is much easier to read. No functionality changes.
 1.3  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.2  14-Jan-1999  thorpej Use M_RAIDFRAME.
 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.4.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.6.10.2  11-Oct-2001  fvdl Catch up with -current. Fix some bogons in the sparc64 kbd/ms
attach code. cd18xx conversion provided by mrg.
 1.6.10.1  01-Oct-2001  fvdl Catch up with -current.
 1.6.8.3  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.6.8.2  06-Sep-2002  jdolecek sync kqueue branch with HEAD
 1.6.8.1  10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.6.6.6  18-Oct-2002  nathanw Catch up to -current.
 1.6.6.5  17-Sep-2002  nathanw Catch up to -current.
 1.6.6.4  01-Aug-2002  nathanw Catch up to -current.
 1.6.6.3  14-Nov-2001  nathanw Catch up to -current.
 1.6.6.2  22-Oct-2001  nathanw Catch up to -current.
 1.6.6.1  26-Sep-2001  nathanw Catch up to -current.
Again.
 1.9.8.1  15-Jul-2002  gehenna catch up with -current.
 1.13.6.4  04-Mar-2005  skrll Sync with HEAD.

Hi Perry!
 1.13.6.3  21-Sep-2004  skrll Fix the sync with head I botched.
 1.13.6.2  18-Sep-2004  skrll Sync with HEAD.
 1.13.6.1  03-Aug-2004  skrll Sync with HEAD
 1.17.10.1  19-Mar-2005  yamt sync with head. xen and whitespace. xen part is not finished.
 1.17.8.1  29-Apr-2005  kent sync with -current
 1.19.84.1  19-Jan-2009  skrll Sync with HEAD.
 1.19.74.1  04-May-2009  yamt sync with head.
 1.19.70.1  17-Jan-2009  mjf Sync with HEAD.
 1.20.84.1  01-Aug-2021  thorpej Sync with HEAD.

RSS XML Feed