17 May, 2011

25 commits


02 May, 2011

15 commits

  • Bump version.

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

    Jayamohan Kallickal
     
  • This patch fixes a bug where proper queue id's were not passed to
    chip for cleanup.

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

    Jayamohan Kallickal
     
  • This patch fixes a bug where the interrupts were not rearmed if
    the Interrupt Mask was enabled. This patch checks for Interrupt mask
    enabled and still rearms interrupt generation even if the Interrupt
    mask was enabled

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

    Jayamohan Kallickal
     
  • The code currently computes an offset into a dma_alloc_coherent() area
    on the assumption that the alignment is imprecise. In fact, the API
    guarantees PAGE_SIZE alignment, so the offset calculation is always
    zero: remove it.

    [jejb: make description actually descriptive]
    Signed-off-by: Tomas henzl
    Acked-by: Nick Cheng
    Signed-off-by: James Bottomley

    Tomas Henzl
     
  • I removed outer loops in ...wait_msgint_ready the sleeptime and
    retrycount are in fact never changed so I changed them into
    defines. In arcmsr_flush_hba_cache is a loop removed, which printed
    the same printk 100 times, one line in log is enough I think. The
    arcmsr_sleep_for_bus_reset has lost a functionality with the latest
    patches, The only thing the function does is a long sleep, so it's
    replaced with a ssleep.

    [jejb: checkpatch fixes]
    Signed-off-by: Tomas henzl
    Acked-by: Nick Cheng
    Signed-off-by: James Bottomley

    Tomas Henzl
     
  • Use fc_exch_mgr_list_clone to setup em for npiv port.

    Also remove redundant vport and lport initializations.

    Signed-off-by: Vasu Dev
    Acked-by: Bhanu Prakash Gollapudi
    Signed-off-by: James Bottomley

    Vasu Dev
     
  • On systems with very large numbers (> 1600 or so) of SCSI devices,
    cat /proc/scsi/scsi ends up failing with -ENOMEM. This is due to
    the show routine simply iterating over all of the devices with
    bus_for_each_dev(), and trying to dump all of them into the buffer
    at the same time. On my test system (using scsi_debug with 4064 devices),
    the output ends up being ~ 632k, far more than kmalloc will typically allow.

    This patch defines its own seq_file opreations to iterate over the scsi
    devices.The result is that each show() operation only dumps ~ 180 bytes
    into the buffer at a time so we don't run out of memory.

    If the "Attached devices" header isn't required, we can dump the
    sfile->private bit completely.

    Signed-off-by: Jeff Mahoney
    Signed-off-by: James Bottomley

    Jeff Mahoney
     
  • Bump the driver version.

    Signed-off-by: Kleber Sacilotto de Souza
    Signed-off-by: James Bottomley

    Kleber Sacilotto de Souza
     
  • This patch fixes an issue seen where an event occurs
    which causes the ibmvscsi driver to reset its CRQ. Upon
    re-registering its CRQ, it receives H_CLOSED, indicating
    the Virtual I/O Server is not yet ready to receive commands.
    This resulted in the ibmvscsi driver essentially offlining
    the adapter and not recovering. The fix is to re-enable
    our interrupt so that when the Virtual I/O server is ready
    and sends a CRQ init, we will be able to receive it and
    resume initialization of the VSCSI adapter.

    Signed-off-by: Brian King
    Signed-off-by: James Bottomley

    Brian King
     
  • Currently the size of the dump generated by the driver is limited
    in 4MB, which is insufficient to gather much useful data from the
    new 64 bit adapters.

    This patch makes the needed changes to increase the dump limit
    for the 64 bit adapters to 32MB, or even to a bigger value in the
    future, but keeping the current limitations for the legacy 32 bit
    adapters.

    Signed-off-by: Kleber Sacilotto de Souza
    Acked-by: Brian King
    Signed-off-by: James Bottomley

    Kleber Sacilotto de Souza
     
  • 1. Add support for Task collector mode.
    2. Fixed relative collector mode bug:
    - I/O failed when disks is on two ports
    - system hang when hotplug disk
    - system hang when unplug disk during run IO
    3. Unlock ap->lock within .lldd_execute_task for direct mode to
    improve performance

    Signed-off-by: Xiangliang Yu
    Signed-off-by: James Bottomley

    Xiangliang Yu
     
  • This is support for Marvell 88SE9445/88SE9485 SAS/SATA HBA, which
    is based on Marvell 88SE9480.

    Signed-off-by: Xiangliang Yu
    Signed-off-by: James Bottomley

    Xiangliang Yu
     
  • The SCSI ALUA handler currently fails to attach to devices
    reporting an UNAVAILABLE/OFFLINE AAS. But given that an
    UNAVAILABLE/OFFLINE AAS can transition to other states
    like ACTIVE/OPTIMIZED, ACTIVE/NON-OPTIMIZED, etc. as per
    SPC4, this ALUA handler behavior should be rectified so
    as to attach to devices which also report an
    UNAVAILABLE/OFFLINE AAS.

    Signed-off-by: Martin George
    Reviewed-by: Mike Christie
    Signed-off-by: James Bottomley

    Martin George
     
  • Signed-off-by: Kashyap Desai
    Signed-off-by: James Bottomley

    Kashyap, Desai
     
  • Adding support for inline data padding for TAPE drive when running U320.

    [jejb: whitespace fixes]
    Signed-off-by: Kashyap Desai
    Signed-off-by: James Bottomley

    Kashyap, Desai