propose: change some sense codes handling

Borja Marcos borjam at sarenet.es
Tue Apr 5 13:41:09 UTC 2011


On Apr 5, 2011, at 3:35 PM, Andriy Gapon wrote:

> on 05/04/2011 16:24 Borja Marcos said the following:
>> I forgot. Of course it's not harmelss at all. That's the problem of being multi-tasking ;)
>> 
>> Reset or power on could indicate that any configuration written to the device (mode pages) have gone back to the default values as well. So, even with no outstanding operations, I would treat it with caution.
>> 
>> And again, if you power cycle a device from which you have filesystems attached I find it safer to treat it as an I/O error, unmounting the filesystems, checking, etc, etc.
> 
> Sure.  So, still why "Power on occurred" or "Device internal reset" should be
> SS_RDEF while "Power on, reset, or bus device reset occurred" should be SS_FATAL?

Seems to be safer to treat it as fatal, don't you think?





Borja.



More information about the freebsd-scsi mailing list