svn commit: r190810 - head/sys/dev/hptmv

John Baldwin jhb at freebsd.org
Tue Apr 7 10:08:02 PDT 2009


On Tuesday 07 April 2009 12:40:32 pm Xin LI wrote:
> Author: delphij
> Date: Tue Apr  7 16:40:31 2009
> New Revision: 190810
> URL: http://svn.freebsd.org/changeset/base/190810
> 
> Log:
>   When multiple cards are present, register a shutdown handler for each card
>   instead of just register one for the first adapter.  Without doing this
>   there would be some data loss upon shutdown because data could be ignored
>   when flushing to disk.

Have you considered just using a device_shutdown routine?  It is invoked at 
shutdown_final as well but is easier to use (no need to keep track of 
eventhandler tags, etc.).

-- 
John Baldwin


More information about the svn-src-head mailing list