Re: [RFC] libata new EH document

Jeff Garzik
2005-09-01T21:46:08Z

Luben Tuikov wrote:
> On 09/01/05 09:24, James Bottomley wrote:
>
>>On Thu, 2005-09-01 at 01:54 -0400, Jeff Garzik wrote:
>>
>>
>>>The long term direction for the SCSI core seems to be that of
>>>requiring auto-sensing.
>>
>>
>>No, I don't see the mid-layer error thread handling of this ever going
>>away.
>>
>>
>>>libata is simply being lazy: while the SCSI core continues to support
>>>kicking the EH thread when sense is missing, it's preferred for libata
>>>to reuse that infrastructure.
>>
>>
>>That makes the most sense ;-)
>
>
> For libata it doesn't really matter, since it is _ATA_.

It matters quite a bit. One of the main reasons libata uses the SCSI
layer is for its infrastructure.

This is the same reason a couple RAID drivers use the SCSI layer. It
has nothing to do with SCSI-as-defined-by-T10, and more to do with the
fact that SCSI provides a robust queueing/EH/block interface infrastructure.

My long term plans include moving some of this not-SCSI-related
infrastructure from the SCSI layer to the block layer.

Jeff