1. 29 10月, 2007 2 次提交
    • 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
    • L
      Merge git://git.kernel.org/pub/scm/linux/kernel/git/bart/ide-2.6 · 2a397e82
      Linus Torvalds 提交于
      * git://git.kernel.org/pub/scm/linux/kernel/git/bart/ide-2.6:
        ide: add SH-S202J to ivb_list[]
        drivers/ide/pci/sc1200.c: fix suspend/resume buglets and warnings
        drivers/ide/pci/generic: fix build for CONFIG_HOTPLUG=n
        hpt366: fix build for CONFIG_HOTPLUG=n
        cy82c693: fix build for CONFIG_HOTPLUG=n
      2a397e82
  2. 28 10月, 2007 18 次提交
  3. 27 10月, 2007 20 次提交