|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
CVS: cvs.openbsd.org: src
From: Alexander Yurchenko (grange
cvs.openbsd.org)
Date: Thu Feb 19 2004 - 15:16:22 CST
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
CVSROOT: /cvs
Module name: src
Changes by: grange
cvs.openbsd.org 2004/02/19 14:16:21
Modified files:
sys/dev/ic : wdc.c
Log message:
wdc logs fixes from costa
:
1) wdc_get_log is at splbio() to prevent interrupt handlers from
updating the log
2) work hard to ensure that wdc_tail and wdc_head are between 0 and
wdc_log_cap, even if wdc_log or wdc_get_log is run concurrently against
itself. With this patch, running concurrent wdc_log's may corrupt the
log, but it should not cause any panics.
3) Make sure the buffer always starts on a record boundary. Otherwise
said, wdc_tail should always be on a record boundary.
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]