Home | History | Annotate | Download | only in raidframe
History log of /src/sys/dev/raidframe/rf_parityloggingdags.c
RevisionDateAuthorComments
 1.23  10-Oct-2019  christos 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.22  09-Feb-2019  christos - Change the allocation macros to be more like function calls
- Change sizeof(type) -> sizeof(*variable)
- Use macros for the long buffer length allocations
- Remove "bit polishing" memsets() -- do them only once
- Remove unnecessary casts

Thanks to oster@ for finding bugs and testing.
 1.21  23-Mar-2014  christos branches: 1.21.30;
fix unused
 1.20  22-Nov-2013  riz Remove RAID_DIAGNOSTIC around a variable and mark __unused instead.
 1.19  18-Nov-2008  ad branches: 1.19.16; 1.19.26; 1.19.30;
_KERNEL_OPT
 1.18  16-Nov-2006  christos branches: 1.18.48; 1.18.52; 1.18.58; 1.18.62;
__unused removal on arguments; approved by core.
 1.17  12-Oct-2006  christos - sprinkle __unused on function decls.
- fix a couple of unused bugs
- no more -Wno-unused for i386
 1.16  17-Aug-2006  christos branches: 1.16.2; 1.16.4;
Fix all the -D*DEBUG* code that it was rotting away and did not even compile.
Mostly from Arnaud Lacombe, many thanks!
 1.15  11-Dec-2005  christos branches: 1.15.4; 1.15.8;
merge ktrace-lwp.
 1.14  27-Feb-2005  perry branches: 1.14.4;
nuke trailing whitespace
 1.13  10-Jan-2004  oster branches: 1.13.8; 1.13.10;
iCleanup the RF_CREATE_PARAM3(). Middle two "arguments" were nothing
but 0 in all cases.
 1.12  10-Jan-2004  oster More lu_flags disappear into oblivion.
 1.11  09-Jan-2004  oster [This file should have been committed with the other
rf_enableAtomicRMW changes.]

Cleanup rf_enableAtomicRMW and its use. According to the comments, we
can't set this to anything other than zero anyway. Shaves off another
900 bytes. lu_flag's days are numbered now, as are the middle
parameters of RF_CREATE_PARAM3.
 1.10  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.9  23-Jun-2003  martin branches: 1.9.2;
Make sure to include opt_foo.h if a defflag option FOO is used.
 1.8  02-Aug-2002  oster - remove "#include "rf_memchunk.h"
- nuke the call to rf_ConfigureMemChunk() from rf_driver.c
 1.7  13-Nov-2001  lukem branches: 1.7.8;
add RCSIDs
 1.6  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.5  01-Sep-2001  thorpej branches: 1.5.2;
Disable all of the RF_ASSERT()s by default, enabling them if the
RAID_DIAGNOSTIC option is specified in the kernel configuration
file.
 1.4  07-Jan-2000  oster branches: 1.4.6; 1.4.8;
Nuke: #include "rf_threadid.h".
 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.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.4.8.3  06-Sep-2002  jdolecek sync kqueue branch with HEAD
 1.4.8.2  10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.4.8.1  13-Sep-2001  thorpej Update the kqueue branch to HEAD.
 1.4.6.4  13-Aug-2002  nathanw Catch up to -current.
 1.4.6.3  14-Nov-2001  nathanw Catch up to -current.
 1.4.6.2  22-Oct-2001  nathanw Catch up to -current.
 1.4.6.1  21-Sep-2001  nathanw Catch up to -current.
 1.5.2.1  11-Oct-2001  fvdl Catch up with -current. Fix some bogons in the sparc64 kbd/ms
attach code. cd18xx conversion provided by mrg.
 1.7.8.1  29-Aug-2002  gehenna catch up with -current.
 1.9.2.4  04-Mar-2005  skrll Sync with HEAD.

Hi Perry!
 1.9.2.3  21-Sep-2004  skrll Fix the sync with head I botched.
 1.9.2.2  18-Sep-2004  skrll Sync with HEAD.
 1.9.2.1  03-Aug-2004  skrll Sync with HEAD
 1.13.10.1  19-Mar-2005  yamt sync with head. xen and whitespace. xen part is not finished.
 1.13.8.1  29-Apr-2005  kent sync with -current
 1.14.4.1  30-Dec-2006  yamt sync with head.
 1.15.8.1  03-Sep-2006  yamt sync with head.
 1.15.4.1  09-Sep-2006  rpaulo sync with head
 1.16.4.2  10-Dec-2006  yamt sync with head.
 1.16.4.1  22-Oct-2006  yamt sync with head
 1.16.2.1  18-Nov-2006  ad Sync with head.
 1.18.62.1  19-Jan-2009  skrll Sync with HEAD.
 1.18.58.1  13-Dec-2008  haad Update haad-dm branch to haad-dm-base2.
 1.18.52.1  04-May-2009  yamt sync with head.
 1.18.48.1  17-Jan-2009  mjf Sync with HEAD.
 1.19.30.1  18-May-2014  rmind sync with head
 1.19.26.1  20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.19.16.1  22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.21.30.2  13-Apr-2020  martin Mostly merge changes from HEAD upto 20200411
 1.21.30.1  10-Jun-2019  christos Sync with HEAD

RSS XML Feed