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

Xin LI delphij at delphij.net
Tue Apr 7 10:13:19 PDT 2009


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

John Baldwin wrote:
> 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.).

Yes for sure.  What I really wanted to do is to keep the change as few
as possible at this point, as the requester for update has tested his
patch (slightly different) and we are approaching 7.2-RELEASE...

Cheers,
- --
Xin LI <delphij at delphij.net>	http://www.delphij.net/
FreeBSD - The Power to Serve!
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.11 (FreeBSD)

iEYEARECAAYFAknbiaMACgkQi+vbBBjt66C+bACgvECvXYtfJRrgsl+5wDSXe3ty
EOEAn3iL1o7OegT4A2P/T3o9fJ/5UvLT
=bvSu
-----END PGP SIGNATURE-----


More information about the svn-src-head mailing list