Mark Lord wrote:
Tejun Heo wrote:


 * _All_ errors are handled in EH thread.
* Once any error has occurred, all normal processing stops until error condition is cleared by EH.


Do you mean "all normal processing" for that channel stops,
or *ALL* processing on all libata channels stops?

Obviously the former, I presume.

Cheers

Yeah, the former of course. ;-) Error state is indicated by one of the followings.

 * ATA_FLAG_ERROR       : one or more errors have occurred and EH is
                          scheduled to run.
 * ATA_FLAG_RECOVERY    : EH in progress

When either of above flags is set, only commands w/ ATA_QCFLAG_PREEMPT flag set gets to run and complete. So, currently, sense requesting and NCQ log page reading are done w/ the flag set.

--
tejun
-
To unsubscribe from this list: send the line "unsubscribe linux-ide" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to