Re: [RFC] libata new EH document

Luben Tuikov
2005-09-01T03:30:27Z

--- Tejun Heo <htejun@gmail.com> wrote:
> IMHO, it's a good idea to maintain one qc to one ATA/ATAPI command
> mapping as long as possible. And, in the suggested framework, it's

Yes, that makes sense.

> guaranteed that no other command can come inbetween CHECK_SENSE and
> REQUEST_SENSE.

That's good.

> Requesting sense from EH,

Done in an ATA eh handler.

> calling scsi_decide_disposition() on the
> sense

Done in SCSI Core.

> and following the verdict should achieve the same effect as
> emulating autosense.

Yes, precisely.

> Is there any compelling reason to break one qc to
> one command mapping?

?

Luben