--- - branch: MAIN date: Sat Apr 23 06:29:06 UTC 2011 files: - new: '1.123' old: '1.122' path: src/sys/dev/raidframe/rf_driver.c pathrev: src/sys/dev/raidframe/rf_driver.c@1.123 type: modified - new: '1.42' old: '1.41' path: src/sys/dev/raidframe/rf_engine.c pathrev: src/sys/dev/raidframe/rf_engine.c@1.42 type: modified - new: '1.285' old: '1.284' path: src/sys/dev/raidframe/rf_netbsdkintf.c pathrev: src/sys/dev/raidframe/rf_netbsdkintf.c@1.285 type: modified - new: '1.7' old: '1.6' path: src/sys/dev/raidframe/rf_paritymap.c pathrev: src/sys/dev/raidframe/rf_paritymap.c@1.7 type: modified - new: '1.39' old: '1.38' path: src/sys/dev/raidframe/rf_raid.h pathrev: src/sys/dev/raidframe/rf_raid.h@1.39 type: modified - new: '1.45' old: '1.44' path: src/sys/dev/raidframe/rf_states.c pathrev: src/sys/dev/raidframe/rf_states.c@1.45 type: modified id: 20110423T062906Z.c2a2d506a245366bb23d04ff5601fd2df2fedec7 log: | 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. module: src subject: 'CVS commit: src/sys/dev/raidframe' unixtime: '1303540146' user: mrg