13 Sep, 2006

2 commits

  • Fixup for lockdep enabled kernels: Annotate an on-stack completion.

    Signed-off-by: Stefan Richter
    Acked-by: Ingo Molnar
    Cc: James Bottomley
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Stefan Richter
     
  • 0x848a in ID word 0 indicates CFA device iff the ID data is obtained from
    IDENTIFY DEVICE. For ATAPI devices, 0x848a in ID work 0 indicates valid
    ATAPI device. Fix sanity check in ata_dev_read_id() such that ATAPI
    devices reporting 0x848a in ID word 0 is not handled as error.

    The problem is identified by J.A. Magallon with HL-DT-ST DVDRAM GSA-4120B.

    Signed-off-by: Tejun Helo
    Cc: J.A. Magallon
    Acked-by: Jeff Garzik
    Acked-by: Alan Cox
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Tejun Heo
     

11 Sep, 2006

4 commits


28 Aug, 2006

1 commit

  • idescsi_pc_intr() uses local_irq_enable() in IRQ context: annotate it.

    (this has no effect on kernels with lockdep disabled. On kernels with lockdep
    enabled this means that we wont actually disable interrupts, and the warning
    message will go away as well.)

    Signed-off-by: Ingo Molnar
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Ingo Molnar
     

27 Aug, 2006

1 commit


26 Aug, 2006

5 commits

  • The callers of scsi_send_eh_cmnd are setting the cmnd buffer,
    and then scsi_send_eh_cmnd is copying that updated buffer to
    the old_cmnd variable. Then after the command runs, we end up
    copying that old_cmnd var which has the new cmnd to the scsi
    command buffer. When this command gets recent, all types of fun
    things happen like getting TUR or START_STOP commands with
    data and scatterlists.

    This patch made against scsi-rc-fixes, has the callers of
    scsi_send_eh_cmnd pass in the command so scsi_send_eh_cmnd
    can do the right thing. This should go into 2.6.18 since this
    fixes a regression added when we removed some of the scsi_cmnd
    fields and replaced them with local variables.

    Signed-off-by: Mike Christie
    Signed-off-by: James Bottomley

    Mike Christie
     
  • Signed-off-by: Andrew Vasquez
    Signed-off-by: James Bottomley

    Andrew Vasquez
     
  • Software must explicitely re-enable extended firmware tracing
    after any ISP abort condition.

    Signed-off-by: Andrew Vasquez
    Signed-off-by: James Bottomley

    Andrew Vasquez
     
  • Original code attempts to retry PLOGIs to fcports that are
    FCP_TARGETs only. If the driver never performed a successful
    PLOGI/PRLI, the port-type would never be assigned, and the
    relogin logic would silently drop the request (and thus the port
    would not be recognized and registered).

    The fix is relatively straightforward, drop the FCP_TARGET-only
    check.

    Signed-off-by: Andrew Vasquez
    Signed-off-by: James Bottomley

    Andrew Vasquez
     
  • There's a problem where sg is executing a ->nopage operation on a
    compound page, it actually calls get_page() on the first page in the
    compound rather than the page which is being mapped. The fix is to
    select the correct page by indexing into the compound.

    Signed-off-by: James Bottomley

    Douglas Gilbert
     

24 Aug, 2006

5 commits


22 Aug, 2006

1 commit

  • Move out PCS handling from piix_sata_prereset() into
    piix_sata_present_mask() and use it from newly implemented
    piix_sata_softreset(). Class codes for devices which are indicated to
    be absent by PCS are cleared to ATA_DEV_NONE. This fixes ghost device
    problem reported on ICH6 and 7.

    This patch moves PCS handling from prereset to softreset, which makes
    two behavior changes.

    * perform softreset even when PCS indicates no device
    * PCS handling is repeated before retrying softresets due to reset
    failures.

    Both behavior changes are intended and more consistent with how other
    drivers behave.

    Signed-off-by: Tejun Heo
    Signed-off-by: Jeff Garzik

    Tejun Heo
     

20 Aug, 2006

4 commits

  • Jeff Garzik
     
  • Change version number to 8.1.9

    Signed-off-by: James Smart
    Signed-off-by: James Bottomley

    James Smart
     
  • Stall error handler if attempting resets/aborts while an rport is blocked.
    This avoids device offline scenarios due to errors in the error handler.

    Background:
    Although the transport is using the scsi_timed_out functionality to
    restart the timeout if the rport is blocked, if the timeout has already
    fired before the block occurs, the eh handler still runs and can take
    the device offline. Ultimately, this window cannot be resolved without
    significant work in the error handler thread. Christoph noted the first
    level of these issues when he noted the poor error response handling
    by the error thread.

    We found, under heavy load and error testing, that time window from when
    the scsi_times_out() adds the io to the queue to when the scsi_error_handler
    gets around to servicing it, can be in the several seconds range. In most
    cases, these test conditions are highly unusual, but possible.
    As a result, we're stalling the error handler in this race window so that
    we can avoid the device_offline transitions.

    Signed-off-by: James Smart
    Signed-off-by: James Bottomley

    James Smart
     
  • Misc Bug Fixes:
    - Cap MBX_DOWN_LINK command timeout to 60 seconds
    - Fix double free of ndlp object
    - Don't free mbox structures on error. The completion handlers expect to do so.
    - Clear host attention work items when going offline
    - Fixed discovery issues in multi-initiator environments.

    Signed-off-by: James Smart
    Signed-off-by: James Bottomley

    James Smart
     

11 Aug, 2006

1 commit


10 Aug, 2006

2 commits


09 Aug, 2006

2 commits


07 Aug, 2006

12 commits