Re: aic7xxx sets CDR offline, how to reset?

James Bottomley
2002-09-03T19:09:58Z

dledford@redhat.com said:
> Leave abort active. It does actually work in certain scenarios. The
> CD burner scenario that started this thread is an example of
> somewhere that an abort should actually do the job.

Unfortunately, it would destroy the REQ_BARRIER approach in the block layer.
At best, abort probably causes a command to overtake a barrier it shouldn't,
at worst we abort the ordered tag that is the barrier and transactional
integrity is lost.

When error correction is needed, we have to return all the commands for that
device to the block layer so that ordering and barrier issues can be taken
care of in the reissue. This makes LUN RESET (for those that support it) the
minimum level of error correction we can apply.

James