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
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to