CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2020/12/16 11:16:34
Modified files:
sys/dev : softraid.c softraid_raid5.c
Log message:
softraid(4): more tsleep(9) -> tsleep_nsec(9) conversions
These wait loops block for up to 1 tick per iteration. I think they
will continue to work if we block for at least 1ms per iteration.
My gut says that these could be rewritten not to spin and instead to
await a wakeup(9) from the other thread, but I think that would
involve making softraid(4) more MP-safe.