Date: Thu, 26 Jun 2008 22:33:24 +0000 (UTC) From: John Baldwin <jhb@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/dev/mfi mfi.c Message-ID: <200806262233.m5QMXfqS077359@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
jhb 2008-06-26 22:33:24 UTC
FreeBSD src repository
Modified files:
sys/dev/mfi mfi.c
Log:
SVN rev 180037 on 2008-06-26 22:33:24Z by jhb
Adjust the handling of pending log events during boot:
- Fetch events from the controller in batches of 15 rather than a single
event at a time.
- When fetching events from the controller, honor the event class and
locale settings (via hw.mfi tunables). This also allows the firmware to
skip over unwanted log entries resulting in fewer requests to the
controller if there many unwanted log entries since the last clean
shutdown.
- Don't drop the driver mutex while decoding an event.
- If we get an error other than MFI_STAT_NOT_FOUND (basically EOF for
hitting the end of the event log) then emit a warning and bail on
processing further log entries.
Reviewed by: ambrisko, scottl
MFC after: 2 weeks
Revision Changes Path
1.40 +75 -50 src/sys/dev/mfi/mfi.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200806262233.m5QMXfqS077359>
