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:   mrg
Date:           Sat Apr 23 06:29:06 UTC 2011

Modified Files:
        src/sys/dev/raidframe: rf_driver.c rf_engine.c rf_netbsdkintf.c
            rf_paritymap.c rf_raid.h rf_states.c

Log Message:
convert the iodone_lock to a mutex, and use a condvar for signalling.

this only handles the smallest use of old simple_lock/tsleep/wakeup
APIs inside raidframe, and it points out that cv(9)'s have only one
wait channel per cv, whereas each tsleep() caller can specify a
different wait channel.  this change removes the difference between
normal raidio and waiting for IO during shutdown.

i've tested this one 3 systems, ran atf, and had mlelstv and rmind
review the change.


To generate a diff of this commit:
cvs rdiff -u -r1.122 -r1.123 src/sys/dev/raidframe/rf_driver.c
cvs rdiff -u -r1.41 -r1.42 src/sys/dev/raidframe/rf_engine.c
cvs rdiff -u -r1.284 -r1.285 src/sys/dev/raidframe/rf_netbsdkintf.c
cvs rdiff -u -r1.6 -r1.7 src/sys/dev/raidframe/rf_paritymap.c
cvs rdiff -u -r1.38 -r1.39 src/sys/dev/raidframe/rf_raid.h
cvs rdiff -u -r1.44 -r1.45 src/sys/dev/raidframe/rf_states.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