cvs commit: src/sys/dev/mfi mfi.c

John Baldwin jhb at FreeBSD.org
Thu Jun 26 22:33:41 UTC 2008


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


More information about the cvs-src mailing list