Tejun Heo wrote:
01_libata_add-ata_poll_qc_complete.patch

        Previously, libata polling functions turned irq back on and
        completed qc commands without holding host lock.  This creates
        a race condition between the polling task and interrupts from
        other ports on the same host set or spurious interrupt from
        itself.

        This patch implements ata_poll_qc_complete which enables irq
        and completes qc atomically and convert all polling functions.

        Note: Unlike other functions, atapi_packet_task() didn't use
        to turn irq back on on error exits.  This patch makes it use
        ata_poll_qc_complete, so irq is now turned back on on error
        exits.

        Note: With this change, ALL invocations of ata_qc_complete()
        are now done under host_set lock.

Signed-off-by: Tejun Heo <[EMAIL PROTECTED]>

This one looks OK to me. Given that I rejected the other three, would you still like me to apply just this one?

        Jeff



-
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