28 Jul, 2008

1 commit

  • * git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi-misc-2.6: (59 commits)
    [SCSI] replace __FUNCTION__ with __func__
    [SCSI] extend the last_sector_bug flag to cover more sectors
    [SCSI] qla2xxx: Update version number to 8.02.01-k6.
    [SCSI] qla2xxx: Additional NPIV corrections.
    [SCSI] qla2xxx: suppress uninitialized-var warning
    [SCSI] qla2xxx: use memory_read_from_buffer()
    [SCSI] qla2xxx: Issue proper ISP callbacks during stop-firmware.
    [SCSI] ch: fix ch_remove oops
    [SCSI] 3w-9xxx: add MSI support and misc fixes
    [SCSI] scsi_lib: use blk_rq_tagged in scsi_request_fn
    [SCSI] ibmvfc: Update driver version to 1.0.1
    [SCSI] ibmvfc: Add ADISC support
    [SCSI] ibmvfc: Miscellaneous fixes
    [SCSI] ibmvfc: Fix hang on module removal
    [SCSI] ibmvfc: Target refcounting fixes
    [SCSI] ibmvfc: Reduce unnecessary log noise
    [SCSI] sym53c8xx: free luntbl in sym_hcb_free
    [SCSI] scsi_scan.c: Release mutex in error handling code
    [SCSI] scsi_eh_prep_cmnd should save scmd->underflow
    [SCSI] sd: Support for SCSI disk (SBC) Data Integrity Field
    ...

    Linus Torvalds
     

27 Jul, 2008

2 commits


25 Jul, 2008

1 commit

  • Compile warning:
    ignoring return value of `sysfs_create_link', declared with attribute warn_unused_result.

    If sysfs_create_link failed, take care of the return value and do some
    error handle after the failure.

    Since sysfs_remove_link() will check whether a link exists, when removing the
    link in error path, we don't need to care whether a link was created.

    Signed-off-by: Wang Chen
    Cc: Markus Lidel
    Cc: Jens Axboe
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Wang Chen
     

22 Jul, 2008

1 commit


16 Jul, 2008

1 commit

  • * git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi-misc-2.6: (102 commits)
    [SCSI] scsi_dh: fix kconfig related build errors
    [SCSI] sym53c8xx: Fix bogus sym_que_entry re-implementation of container_of
    [SCSI] scsi_cmnd.h: remove double inclusion of linux/blkdev.h
    [SCSI] make struct scsi_{host,target}_type static
    [SCSI] fix locking in host use of blk_plug_device()
    [SCSI] zfcp: Cleanup external header file
    [SCSI] zfcp: Cleanup code in zfcp_erp.c
    [SCSI] zfcp: zfcp_fsf cleanup.
    [SCSI] zfcp: consolidate sysfs things into one file.
    [SCSI] zfcp: Cleanup of code in zfcp_aux.c
    [SCSI] zfcp: Cleanup of code in zfcp_scsi.c
    [SCSI] zfcp: Move status accessors from zfcp to SCSI include file.
    [SCSI] zfcp: Small QDIO cleanups
    [SCSI] zfcp: Adapter reopen for large number of unsolicited status
    [SCSI] zfcp: Fix error checking for ELS ADISC requests
    [SCSI] zfcp: wait until adapter is finished with ERP during auto-port
    [SCSI] ibmvfc: IBM Power Virtual Fibre Channel Adapter Client Driver
    [SCSI] sg: Add target reset support
    [SCSI] lib: Add support for the T10 (SCSI) Data Integrity Field CRC
    [SCSI] sd: Move scsi_disk() accessor function to sd.h
    ...

    Linus Torvalds
     

15 Jul, 2008

1 commit


12 Jul, 2008

3 commits


08 Jul, 2008

1 commit

  • The problem here is that if the ioc faults too early in the bring up
    sequence (as it usually does for an irq routing problem), ioc_reset gets
    called before the scsi host is even allocated. This causes an oops when
    it later schedules a renegotiation. Fix this by checking ioc->sh before
    trying to renegotiate.

    Cc: "Moore, Eric"
    Cc: Stable Tree
    Signed-off-by: James Bottomley

    James Bottomley
     

03 Jul, 2008

2 commits


21 Jun, 2008

1 commit


05 Jun, 2008

3 commits


27 May, 2008

1 commit

  • Following a hard reset of a SAS raid, one of the raid targets is occasionally
    missing. I tracked this down to a pretty obscure little bug.

    The LSI fusion drivers for SAS and Fibre Channel both use their respective
    transport layers. Those transport layers increment the target number
    assigned to new targets.

    The routine __scsi_scan_target uses the "this_id" element of the Scsi_Host
    structure to avoid scanning the scsi host adapter. Both fusion drivers set
    "this_id" from a value returned in a firmware PortFacts response. For my
    particular test case (SAS) the firmware id assigned to the initiator was
    173. After enough raid resets to cause the raid targets to go and come a
    sufficient number of times, the id assigned by the transport to a raid
    target would match the id assigned by the host adapter to the "this_id"
    field, resulting in that target not being scanned.

    Fix by not assigning this_id and not checking it in slave_configure.

    Signed-off-by: Michael Reed
    Acked-by: "Moore, Eric"
    Signed-off-by: James Bottomley

    Michael Reed
     

29 Apr, 2008

2 commits

  • Some drivers have duplicated unlikely() macros. IS_ERR() already has
    unlikely() in itself.

    This patch cleans up such pointless code.

    Signed-off-by: Hirofumi Nakagawa
    Acked-by: David S. Miller
    Acked-by: Jeff Garzik
    Cc: Paul Clements
    Cc: Richard Purdie
    Cc: Alessandro Zummo
    Cc: David Brownell
    Cc: James Bottomley
    Cc: Michael Halcrow
    Cc: Anton Altaparmakov
    Cc: Al Viro
    Cc: Carsten Otte
    Cc: Patrick McHardy
    Cc: Paul Mundt
    Cc: Jaroslav Kysela
    Cc: Takashi Iwai
    Acked-by: Mike Frysinger
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Hirofumi Nakagawa
     
  • Use proc_create()/proc_create_data() to make sure that ->proc_fops and ->data
    be setup before gluing PDE to main tree.

    Signed-off-by: Denis V. Lunev
    Cc: Greg Kroah-Hartman
    Cc: Alexey Dobriyan
    Cc: "Eric W. Biederman"
    Cc: Peter Osterlund
    Cc: Bartlomiej Zolnierkiewicz
    Cc: Dmitry Torokhov
    Cc: Neil Brown
    Cc: Mauro Carvalho Chehab
    Cc: Bjorn Helgaas
    Cc: Alessandro Zummo
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Denis V. Lunev
     

20 Apr, 2008

1 commit


08 Apr, 2008

4 commits

  • There's a problem with the combination of the upstream power
    management fixes and the enabling of MSI by default in that the
    suspend path still uses the global variable. Convert it to check
    ioc->msi_enable.

    Cc: "Moore, Eric"
    Cc: "Prakash, Sathya"
    Signed-off-by: James Bottomley

    James Bottomley
     
  • While performing hardware raid reset testing via the raid's client, I
    noticed that sometimes, following the reset, that there would be more
    raid targets in the lsscsi output than there actually were raid
    targets. I tracked this down to the following issue.

    Fusion cannot always find the mptsas_portinfo structure for the hba
    because it uses the handle stored in ioc->handle to locate it. The
    problem is that the firmware can change the handle associated with the
    hba when h/w raid is reset (via the raid client). When this happens,
    the driver will allocate another mptsas_portinfo structure and link it
    into the chain of said structures. This ultimately causes confusion
    within the driver resulting in targets not being removed when they
    should be.

    Eric Moore pointed out that the hba's portinfo structure is always the
    first structure on the sas_topology list. This patch modifies
    mptsas.c to access the hba's portinfo structure by taking the first
    structure on said list.

    Signed-off-by: Michael Reed
    Acked-by: "Moore, Eric"
    Signed-off-by: James Bottomley

    Michael Reed
     
  • the semaphore inactive_list_mutex is used as a mutex, convert it to
    the mutex API

    Signed-off-by: Matthias Kaehlcke
    Acked-by: "Moore, Eric"
    Signed-off-by: James Bottomley

    Matthias Kaehlcke
     
  • This patch modifies the driver to enable MSI by default for all SAS chips.

    Signed-off-by: Sathya Prakash
    Signed-off-by: James Bottomley

    Prakash, Sathya
     

19 Mar, 2008

1 commit


06 Mar, 2008

1 commit


04 Mar, 2008

1 commit


22 Feb, 2008

1 commit

  • ioc->name is used in the printk's after ioc has been freed. Free
    after prinks to fix this.

    This patch fixes two use-after-free's introduced by
    commit e78d5b8f1e73ab82f3fd041d05824cfee7d83a2c and spotted by the
    Coverity checker.

    Signed-off-by: Adrian Bunk
    Signed-off-by: James Bottomley

    Adrian Bunk
     

18 Feb, 2008

1 commit


12 Feb, 2008

2 commits


03 Feb, 2008

2 commits


28 Jan, 2008

1 commit

  • This patch converts i2o_block to use blk_end_request interfaces.
    Related 'uptodate' arguments are converted to 'error'.

    As a result, the interface of internal function, i2o_block_end_request(),
    is changed.

    Cc: Markus Lidel
    Signed-off-by: Kiyoshi Ueda
    Signed-off-by: Jun'ichi Nomura
    Signed-off-by: Jens Axboe

    Kiyoshi Ueda
     

24 Jan, 2008

2 commits


12 Jan, 2008

1 commit


06 Nov, 2007

1 commit


24 Oct, 2007

1 commit