Source-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: src/sys/dev/raidframe
Module Name: src
Committed By: christos
Date: Sat Feb 9 03:34:00 UTC 2019
Modified Files:
src/sys/dev/raidframe: rf_alloclist.c rf_chaindecluster.c rf_compat32.c
rf_compat50.c rf_compat80.c rf_copyback.c rf_cvscan.c rf_dagdegrd.c
rf_dagdegwr.c rf_dagffwr.c rf_dagutils.c rf_debugMem.c
rf_debugMem.h rf_decluster.c rf_declusterPQ.c rf_diskqueue.c
rf_disks.c rf_driver.c rf_evenodd.c rf_evenodd_dagfuncs.c rf_fifo.c
rf_interdecluster.c rf_map.c rf_netbsdkintf.c rf_paritylog.c
rf_paritylogDiskMgr.c rf_paritylogging.c rf_parityloggingdags.c
rf_paritymap.c rf_parityscan.c rf_psstatus.c rf_raid0.c rf_raid1.c
rf_raid4.c rf_raid5.c rf_raid5_rotatedspare.c rf_reconmap.c
rf_reconstruct.c rf_reconutil.c rf_sstf.c rf_stripelocks.c
rf_utils.c
Log Message:
- 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.
To generate a diff of this commit:
cvs rdiff -u -r1.26 -r1.27 src/sys/dev/raidframe/rf_alloclist.c
cvs rdiff -u -r1.15 -r1.16 src/sys/dev/raidframe/rf_chaindecluster.c \
src/sys/dev/raidframe/rf_fifo.c src/sys/dev/raidframe/rf_raid0.c
cvs rdiff -u -r1.4 -r1.5 src/sys/dev/raidframe/rf_compat32.c
cvs rdiff -u -r1.8 -r1.9 src/sys/dev/raidframe/rf_compat50.c \
src/sys/dev/raidframe/rf_paritymap.c
cvs rdiff -u -r1.11 -r1.12 src/sys/dev/raidframe/rf_compat80.c
cvs rdiff -u -r1.50 -r1.51 src/sys/dev/raidframe/rf_copyback.c
cvs rdiff -u -r1.16 -r1.17 src/sys/dev/raidframe/rf_cvscan.c \
src/sys/dev/raidframe/rf_declusterPQ.c src/sys/dev/raidframe/rf_sstf.c \
src/sys/dev/raidframe/rf_utils.c
cvs rdiff -u -r1.29 -r1.30 src/sys/dev/raidframe/rf_dagdegrd.c
cvs rdiff -u -r1.33 -r1.34 src/sys/dev/raidframe/rf_dagdegwr.c
cvs rdiff -u -r1.34 -r1.35 src/sys/dev/raidframe/rf_dagffwr.c \
src/sys/dev/raidframe/rf_paritylogging.c \
src/sys/dev/raidframe/rf_parityscan.c src/sys/dev/raidframe/rf_psstatus.c
cvs rdiff -u -r1.54 -r1.55 src/sys/dev/raidframe/rf_dagutils.c
cvs rdiff -u -r1.21 -r1.22 src/sys/dev/raidframe/rf_debugMem.c \
src/sys/dev/raidframe/rf_evenodd.c \
src/sys/dev/raidframe/rf_parityloggingdags.c
cvs rdiff -u -r1.13 -r1.14 src/sys/dev/raidframe/rf_debugMem.h \
src/sys/dev/raidframe/rf_raid5_rotatedspare.c
cvs rdiff -u -r1.25 -r1.26 src/sys/dev/raidframe/rf_decluster.c
cvs rdiff -u -r1.53 -r1.54 src/sys/dev/raidframe/rf_diskqueue.c
cvs rdiff -u -r1.90 -r1.91 src/sys/dev/raidframe/rf_disks.c
cvs rdiff -u -r1.134 -r1.135 src/sys/dev/raidframe/rf_driver.c
cvs rdiff -u -r1.22 -r1.23 src/sys/dev/raidframe/rf_evenodd_dagfuncs.c
cvs rdiff -u -r1.14 -r1.15 src/sys/dev/raidframe/rf_interdecluster.c
cvs rdiff -u -r1.47 -r1.48 src/sys/dev/raidframe/rf_map.c
cvs rdiff -u -r1.373 -r1.374 src/sys/dev/raidframe/rf_netbsdkintf.c
cvs rdiff -u -r1.18 -r1.19 src/sys/dev/raidframe/rf_paritylog.c
cvs rdiff -u -r1.28 -r1.29 src/sys/dev/raidframe/rf_paritylogDiskMgr.c
cvs rdiff -u -r1.35 -r1.36 src/sys/dev/raidframe/rf_raid1.c
cvs rdiff -u -r1.12 -r1.13 src/sys/dev/raidframe/rf_raid4.c
cvs rdiff -u -r1.19 -r1.20 src/sys/dev/raidframe/rf_raid5.c
cvs rdiff -u -r1.36 -r1.37 src/sys/dev/raidframe/rf_reconmap.c \
src/sys/dev/raidframe/rf_reconutil.c
cvs rdiff -u -r1.121 -r1.122 src/sys/dev/raidframe/rf_reconstruct.c
cvs rdiff -u -r1.32 -r1.33 src/sys/dev/raidframe/rf_stripelocks.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Home |
Main Index |
Thread Index |
Old Index