svn commit: r189091 - head/sys/dev/ata

Scott Long scottl at samsco.org
Thu Feb 26 13:36:41 PST 2009


Alexander Motin wrote:
> Author: mav
> Date: Thu Feb 26 21:33:48 2009
> New Revision: 189091
> URL: http://svn.freebsd.org/changeset/base/189091
> 
> Log:
>   Remove direct ata_completed() call options from ata_finish(), except for the
>   kernel dumping case.
>   
>   ata_completed() may initiate ata_reinit() on error, that may lead to drives
>   attach or detach. Attach and detach are sending requests to drives and sleep
>   waiting for results. But ata_finish() can be called directly from
>   interrupt handler where sleeping is prohibited, so we must break this chain
>   somewhere. This place seems to fit best.
> 


Woo!

Scott


More information about the svn-src-head mailing list