• A
    [PATCH] libata irq-pio: cleanup ata_qc_issue_prot() · 54f00389
    Albert Lee 提交于
    ata_qc_issue_prot():
        - cleanup and let the PIO data out case always go through the
    ata_dataout_task() codepath.
          (Previously for PIO data out case, 2 code pathes were used
            - irq case goes through ata_data_out_task() codepath.
            - polling case jumps over the HSM_ST_FIRST state and goes to
    HSM_ST and ata_pio_task() directly.)
    
      ata_dataout_task():
        - rearrange the queue_work() code to handle the PIO data out +
    polling case.
    Signed-off-by: NAlbert Lee <albertcc@tw.ibm.com>
    Signed-off-by: NJeff Garzik <jgarzik@pobox.com>
    54f00389
libata-core.c 114.2 KB