1. 29 10月, 2007 1 次提交
    • T
      libata: relocate and fix post-command processing · 4dbfa39b
      Tejun Heo 提交于
      Some commands need post-processing after successful completion.  This
      was done in ata_scsi_qc_complete() till now but this has the following
      problems.
      
      * Post-command processing gets executed when qc is completed from EH.
        Some qc's are retried from EH with zero err_mask and thus triggers
        unnecessary/incorrect post-command processing.
      
      * Command post processing doesn't belong to SAT layer.
      
      * Link-wide revalidation was scheduled where device revalidation
        suffices.
      
      This patch moves post-command processing to success completion path of
      ata_qc_complete() which is travelled iff the command is going to be
      completed without passing through EH and updates post-command
      processing such that device-specific action is used.  While at it,
      restructure code a bit for readability.
      Signed-off-by: NTejun Heo <htejun@gmail.com>
      Signed-off-by: NJeff Garzik <jeff@garzik.org>
      4dbfa39b
  2. 25 10月, 2007 7 次提交
  3. 24 10月, 2007 4 次提交
  4. 23 10月, 2007 1 次提交
  5. 20 10月, 2007 6 次提交
  6. 19 10月, 2007 2 次提交
  7. 18 10月, 2007 4 次提交
  8. 16 10月, 2007 13 次提交
  9. 15 10月, 2007 1 次提交
  10. 14 10月, 2007 1 次提交