On 19-Nov-2005 Jeremie Le Hen wrote:
>>   This fix adds a new disk_gone() function which is called by CAM when a
>>   drive goes away.  It orphans all of the providers associated with the
>>   drive, setting an error condition of ENXIO in each one.  In addition,
>>   we prevent a re-taste on last close for writing if an error condition
>>   has been set in the provider.
> 
> This commit stirred my memory up about panicking when hot-unplugging
> an USB key while it is still mounted.  I have not been able to track
> HEAD source changes attentively for some time recently but it
> appears from the above description that this awkard behaviour has been
> replaced by a smarter one (IOW, return ENXIO on all pending filesystem
> actions).
> 
> Thanks in advance for explanations.

This commit may or may not fix those panics -- I don't really know.
There is a lot that can go wrong if you remove a mounted filesystem
from the system.

John
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to