15 Aug, 2010

1 commit

  • * git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi-misc-2.6: (28 commits)
    [SCSI] qla4xxx: fix compilation warning
    [SCSI] make error handling more robust in the face of reservations
    [SCSI] tgt: fix warning
    [SCSI] drivers/message/fusion: Adjust confusing if indentation
    [SCSI] Return NEEDS_RETRY for eh commands with status BUSY
    [SCSI] ibmvfc: Driver version 1.0.9
    [SCSI] ibmvfc: Fix terminate_rport_io
    [SCSI] ibmvfc: Fix rport add/delete race resulting in oops
    [SCSI] lpfc 8.3.16: Change LPFC driver version to 8.3.16
    [SCSI] lpfc 8.3.16: FCoE Discovery and Failover Fixes
    [SCSI] lpfc 8.3.16: SLI Additions, updates, and code cleanup
    [SCSI] pm8001: introduce missing kfree
    [SCSI] qla4xxx: Update driver version to 5.02.00-k3
    [SCSI] qla4xxx: Added AER support for ISP82xx
    [SCSI] qla4xxx: Handle outstanding mbx cmds on hung f/w scenarios
    [SCSI] qla4xxx: updated mbx_sys_info struct to sync with FW 4.6.x
    [SCSI] qla4xxx: clear AF_DPC_SCHEDULED flage when exit from do_dpc
    [SCSI] qla4xxx: Stop firmware before doing init firmware.
    [SCSI] qla4xxx: Use the correct request queue.
    [SCSI] qla4xxx: set correct value in sess->recovery_tmo
    ...

    Linus Torvalds
     

11 Aug, 2010

1 commit

  • pmcraid should depend on NET since it uses netlink interfaces.
    This fixes multiple build errors when CONFIG_NET is not enabled:

    ERROR: "genl_register_family" [drivers/scsi/pmcraid.ko] undefined!
    ERROR: "genl_unregister_family" [drivers/scsi/pmcraid.ko] undefined!
    ERROR: "nla_put" [drivers/scsi/pmcraid.ko] undefined!
    ERROR: "init_net" [drivers/scsi/pmcraid.ko] undefined!
    ERROR: "__alloc_skb" [drivers/scsi/pmcraid.ko] undefined!
    ERROR: "netlink_broadcast" [drivers/scsi/pmcraid.ko] undefined!
    ERROR: "kfree_skb" [drivers/scsi/pmcraid.ko] undefined!
    ERROR: "skb_put" [drivers/scsi/pmcraid.ko] undefined!

    Signed-off-by: Randy Dunlap
    Cc: Anil Ravindranath
    Cc: James Bottomley
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Randy Dunlap
     

06 Aug, 2010

1 commit


28 Jul, 2010

1 commit

  • Introduce support for DIF/DIX in zfcp: Report the capabilities for the
    Scsi_host, map the protection data when issuing I/O requests and
    handle the new error codes. Also add the fsf data_direction field to
    the hba trace, it is useful information for debugging in that area.
    This is an EXPERIMENTAL feature for now.

    Signed-off-by: Felix Beck
    Signed-off-by: Christof Schmitt
    Signed-off-by: James Bottomley

    Felix Beck
     

03 Mar, 2010

1 commit

  • RAID attributes uses scsi_is_sdev_device() to gate some SCSI specific
    checking code. This causes two problems. Firstly if SCSI == n just
    defining scsi_is_sdev_device() to return false might not be enough to
    prevent gcc from emitting the code (and thus referring to undefined
    symbols), so this needs surrounding with an ifdef. Secondly, using
    scsi_is_sdev_device() when SCSI is either y or m gives a subtle
    problem in the m case: raid_attrs must also be m to use the symbol.
    Do the usual Kconfig jiggery-pokery to fix this.

    Reported-by: Randy Dunlap
    Signed-off-by: James Bottomley

    James Bottomley
     

10 Dec, 2009

1 commit

  • This driver supports a subset of HP Smart Array Controllers.
    It is a SCSI alternative to the cciss driver.

    [akpm@linux-foundation.org: avoid helpful cleanup patches]
    [achiang@hp.com: make device attrs static]
    [akpm@linux-foundation.org: msleep() does set_current_state() itself]
    Signed-off-by: Stephen M. Cameron
    Signed-off-by: Mike Miller
    Signed-off-by: Alex Chiang
    Signed-off-by: Andrew Morton
    Signed-off-by: James Bottomley

    Stephen M. Cameron
     

05 Dec, 2009

4 commits

  • Use libfcoe as a common FIP implementation with fcoe.
    FIP or non-FIP mode is fully automatic if the firmware
    supports and enables it.

    Even if FIP is not supported, this uses libfcoe for the non-FIP
    handling of FLOGI and its response.

    Use the new lport_set_port_id() notification to capture
    successful FLOGI responses and port_id resets.

    While transitioning between Ethernet and FC mode, all rx and
    tx FC frames are queued. In Ethernet mode, all frames are
    passed to the exchange manager to capture FLOGI responses.

    Change to set data_src_addr to the ctl_src_addr whenever it
    would have previously been zero because we're not logged in.
    This seems safer so we'll never send a frame with a 0 source MAC.
    This also eliminates a special case for sending FLOGI frames.

    Signed-off-by: Joe Eykholt
    Signed-off-by: Robert Love
    Signed-off-by: James Bottomley

    Joe Eykholt
     
  • [jejb: fix up for new queue depth code]
    Signed-off-by: Adam Radford
    Signed-off-by: James Bottomley

    adam radford
     
  • This is a driver for VMware's paravirtualized SCSI device,
    which should improve disk performance for guests running
    under control of VMware hypervisors that support such devices.

    Signed-off-by: Alok N Kataria
    Signed-off-by: James Bottomley

    Alok Kataria
     
  • This driver supports PMC-Sierra PCIe SAS/SATA 8x6G SPC 8001 chip based
    host adapters.

    Signed-off-by: Jack Wang
    Signed-off-by: Lindar Liu
    Signed-off-by: Tom Peng
    Signed-off-by: Kevin Ao
    Signed-off-by: James Bottomley

    jack wang
     

02 Oct, 2009

2 commits


12 Sep, 2009

1 commit


22 Jun, 2009

1 commit

  • People keep sending patches to expose CONFIG_SCSI_WAIT_SCAN as a tunable
    item. These patches aren't accepted upstream, so let's stop the ongoing
    irritation of people due to the unconditionally installed module and its
    Kconfig symbol.

    Signed-off-by: Stefan Richter
    Signed-off-by: James Bottomley

    Stefan Richter
     

09 Jun, 2009

1 commit

  • New iSCSI driver for Broadcom BNX2 devices. The driver interfaces with
    the CNIC driver to access the hardware.

    Signed-off-by: Anil Veerabhadrappa
    Signed-off-by: Michael Chan
    Signed-off-by: Mike Christie
    Signed-off-by: James Bottomley

    Michael Chan
     

24 May, 2009

1 commit

  • I had to set CONFIG_SCSI_MULTI_LUN to y in order to get my SE W595
    working when plugging it as a mass storage. Looking at SCSI option to
    get a phone behaving correctly was convoluted to say the least. There
    are quite a few other reports about USB card readers needing this option
    as well. This patch improves the help text to make the use of the option
    more obvious.

    Signed-off-by: Eric Piel
    Signed-off-by: James Bottomley

    Eric Piel
     

21 May, 2009

1 commit


14 May, 2009

1 commit


07 Apr, 2009

1 commit

  • * git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi-misc-2.6: (74 commits)
    [SCSI] sg: fix q->queue_lock on scsi_error_handler path
    [SCSI] replace __inline with inline
    [SCSI] a2091: make 2 functions static
    [SCSI] a3000: make 2 functions static
    [SCSI] ses: #if 0 the unused ses_match_host()
    [SCSI] use kmem_cache_zalloc instead of kmem_cache_alloc/memset
    [SCSI] sg: fix iovec bugs introduced by the block layer conversion
    [SCSI] qlogicpti: use request_firmware
    [SCSI] advansys: use request_firmware
    [SCSI] qla1280: use request_firmware
    [SCSI] libiscsi: fix iscsi pool error path
    [SCSI] cxgb3i: call ddp release function directly
    [SCSI] cxgb3i: merge cxgb3i_ddp into cxgb3i module
    [SCSI] cxgb3i: close all tcp connections upon chip reset
    [SCSI] cxgb3i: re-read ddp settings information after chip reset
    [SCSI] cxgb3i: re-initialize ddp settings after chip reset
    [SCSI] cxgb3i: subscribe to error notification from cxgb3 driver
    [SCSI] aacraid driver update
    [SCSI] mptsas: remove unneeded check
    [SCSI] config: Make need for SCSI_CDROM clearer
    ...

    Linus Torvalds
     

03 Apr, 2009

2 commits

  • Mention ATAPI. We could insert an essay about libata and ide-scsi etc but
    the failure case is someone enables it which is just fine so keep it
    simple.

    (Revised text from suggestion by Matthew Wilcox)

    Closes #7736

    Signed-off-by: Alan Cox
    Signed-off-by: James Bottomley

    Alan Cox
     
  • Just sets up build environment for libfcoe module towards a
    libfcoe library for libfc LLDs using FCoE as libfc transport.

    Common library code to libfcoe is added in next patch.

    Also, updated MODULE_LICENSE from "GPL" string to "GPL v2" for
    libfc, libfcoe and fcoe modules to accurately match the licenses.

    Signed-off-by: Vasu Dev
    Signed-off-by: Robert Love
    Signed-off-by: James Bottomley

    Vasu Dev
     

30 Mar, 2009

1 commit


14 Mar, 2009

1 commit

  • * This is new scsi lld device driver from LSI supporting the SAS 2.0
    standard. I have split patchs by filename.

    * Here is list of new 6gb host controllers:

    LSI SAS2004
    LSI SAS2008
    LSI SAS2108
    LSI SAS2116

    * Here are the changes in the 4th posting of this patch set:

    (1) fix compile errors when SCSI_MPT2SAS_LOGGING is not enabled
    (2) add mpt2sas to the SCSI Mid Layer Makefile
    (3) append mpt2sas_ to the naming of all non-static functions
    (4) fix oops for SMP_PASSTHRU
    (5) doorbell algorithm imported changes from windows driver

    * Here are the changes in the 3rd posting of this patch set:

    (1) add readl following writel from the function that disables interrupts
    (2) replace 0xFFFFFFFFFFFFFFFFULL with ~0ULL
    (3) when calling pci_enable_msix, only pass one msix entry (instead of 15).
    (4) remove the "current HW implementation uses..... " comment in the sources
    (5) merged bug fix for SIGIO/POLLIN notifcation; reported by the storlib team.

    * Here are the changes in the 2nd posting of this patch set:

    (1) use little endian types in the mpi headers
    (2) merged in bug fix's from inhouse drivers.

    Signed-off-by: Eric Moore
    Tested-by: peter Bogdanovic
    Signed-off-by: James Bottomley

    Eric Moore
     

13 Mar, 2009

4 commits

  • OSD in kernel source code is assumed to be at:
    drivers/scsi/osd/ with its own Makefile and Kconfig

    Add includes to them from drivers/scsi Makefile and Kconfig
    Add OSD to MAINTAINERS file

    Signed-off-by: Boaz Harrosh
    Reviewed-by: Benny Halevy
    Signed-off-by: James Bottomley

    Boaz Harrosh
     
  • The Kconfig entry for SCSI_LOGGING refers the reader to
    drivers/scsi/scsi.c, but I didn't find any useful information
    there. There is certainly logging code in that file, but the
    logging types and logging levels are described in
    drivers/scsi/scsi_logging.h.

    Also, the procfs file referred to in the section is incorrect.
    It should be /proc/sys/dev/scsi/logging_level and not
    /proc/scsi/scsi.

    Signed-off-by: Robert Love
    Signed-off-by: James Bottomley

    Robert Love
     
  • libfc uses crc32 functions, so cause it to be built
    via select:

    drivers/built-in.o: In function `fc_frame_crc_check':
    (.text+0x75dae): undefined reference to `crc32_le'
    drivers/built-in.o: In function `fc_fcp_recv':
    fc_fcp.c:(.text+0x7b919): undefined reference to `crc32_le'
    fc_fcp.c:(.text+0x7b9d5): undefined reference to `crc32_le'
    fc_fcp.c:(.text+0x7ba54): undefined reference to `crc32_le'

    Signed-off-by: Randy Dunlap
    Acked-by: Robert Love
    Signed-off-by: James Bottomley

    Randy Dunlap
     
  • Fix scsi_debug build error:

    drivers/built-in.o: In function `resp_read':
    scsi_debug.c:(.text+0x21379a): undefined reference to `crc_t10dif'
    drivers/built-in.o: In function `resp_write':
    scsi_debug.c:(.text+0x213fca): undefined reference to `crc_t10dif'

    Signed-off-by: Randy Dunlap
    Signed-off-by: James Bottomley

    Randy Dunlap
     

08 Jan, 2009

1 commit


02 Jan, 2009

1 commit

  • As planed, this removes ide-scsi.

    The 2.6 kernel supports direct writing to ide CD drives, which
    eliminates the need for ide-scsi. ide-scsi has been unmaintained and
    marked as deprecated.

    Signed-off-by: FUJITA Tomonori
    Cc: James.Bottomley@HansenPartnership.com
    Signed-off-by: Bartlomiej Zolnierkiewicz

    FUJITA Tomonori
     

31 Dec, 2008

2 commits

  • fcoe selects libfc and requires SCSI and PCI (the SCSI requirement is
    implicitly covered by an enclosing if). Fix them both up so they
    cannot be configured in an invalid state: make LIBFC select
    SCSI_FC_ATTRS and make FCOE depend on PCI and select LIBFC.

    Reported-by: Randy Dunlap
    Cc: Robert Love
    Signed-off-by: James Bottomley

    James Bottomley
     
  • This patch implements the cxgb3i iscsi connection acceleration for the
    open-iscsi initiator.

    The cxgb3i driver offers the iscsi PDU based offload:
    - digest insertion and verification
    - payload direct-placement into host memory buffer.

    Signed-off-by: Karen Xie
    Signed-off-by: James Bottomley

    Karen Xie
     

30 Dec, 2008

3 commits

  • Encapsulation protocol for running Fibre Channel over Ethernet interfaces.
    Creates virtual Fibre Channel host adapters using libfc.

    This layer is the LLD to the scsi-ml. It allocates the Scsi_Host, utilizes
    libfc for Fibre Channel protocol processing and interacts with netdev to
    send/receive Ethernet packets.

    Signed-off-by: Robert Love
    Signed-off-by: James Bottomley

    Robert Love
     
  • libFC is composed of 4 blocks supported by an exchange manager
    and a framing library. The upper 4 layers are fc_lport, fc_disc,
    fc_rport and fc_fcp. A LLD that uses libfc could choose to
    either use libfc's block, or using the transport template
    defined in libfc.h, override one or more blocks with its own
    implementation.

    The EM (Exchange Manager) manages exhcanges/sequences for all
    commands- ELS, CT and FCP.

    The framing library frames ELS and CT commands.

    The fc_lport block manages the library's representation of the
    host's FC enabled ports.

    The fc_disc block manages discovery of targets as well as
    handling changes that occur in the FC fabric (via. RSCN events).

    The fc_rport block manages the library's representation of other
    entities in the FC fabric. Currently the library uses this block
    for targets, its peer when in point-to-point mode and the
    directory server, but can be extended for other entities if
    needed.

    The fc_fcp block interacts with the scsi-ml and handles all
    I/O.

    Signed-off-by: Robert Love
    [jejb: added include of delay.h to fix ppc64 compile prob spotted by sfr]
    Signed-off-by: James Bottomley

    Robert Love
     
  • Signed-off-by: James Smart
    Signed-off-by: James Bottomley

    James Smart
     

15 Oct, 2008

2 commits


04 Oct, 2008

1 commit


29 Aug, 2008

1 commit


27 Jul, 2008

1 commit

  • Support for controllers and disks that implement DIF protection
    information:

    - During command preparation the RDPROTECT/WRPROTECT must be set
    correctly if the target has DIF enabled.

    - READ(6) and WRITE(6) are not supported when DIF is on.

    - The controller must be told how to handle the I/O via the
    protection operation field in scsi_cmnd.

    - Refactor the I/O completion code that extracts failed LBA from the
    returned sense data and handle DIF failures correctly.

    - sd_dif.c implements the functions required to prepare and complete
    requests with protection information attached.

    Signed-off-by: Martin K. Petersen
    Signed-off-by: James Bottomley

    Martin K. Petersen
     

12 Jul, 2008

1 commit