03 May, 2010

12 commits


02 May, 2010

8 commits

  • The scsi/scsi.h header is normally provided by the libc (and was not
    exported by the kernel since 2.6.24) and has been until it was
    re-exported with 2.6.31. The kernel version is not userspace clean and
    does not appear to provide anything useable in userland over the
    (e)glibc version.

    Signed-off-by: Tom Rini
    Signed-off-by: James Bottomley

    Tom Rini
     
  • In the original code we dereferenced "pm8001_dev" before checking if it
    was null. This patch moves the dereference inside the condition.

    This was found by a static checker (smatch). I looked, but I couldn't
    tell if "pm8001_dev" dev was ever actually null. The approach in this
    patch seemed like the safest response.

    Signed-off-by: Dan Carpenter
    Acked-by: Jack Wang
    Signed-off-by: James Bottomley

    Dan Carpenter
     
  • If a command times out resulting in EH getting invoked, we wait for the
    aborted commands to come back after sending the abort. Shorten
    the amount of time we wait for these responses, to ensure we don't
    get stuck in EH for several minutes.

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

    Brian King
     
  • Commands which are completed by the VIOS are placed on a CRQ
    in kernel memory for the ibmvfc driver to process. Each CRQ
    entry is 16 bytes. The ibmvfc driver reads the first 8 bytes
    to check if the entry is valid, then reads the next 8 bytes to get
    the handle, which is a pointer the completed command. This fixes
    an issue seen on Power 7 where the processor reordered the
    loads from memory, resulting in processing command completion
    with a stale handle. This could result in command timeouts,
    and also early completion of commands.

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

    Brian King
     
  • This patch removes unnecessary #define's from hpsa. The SCSI midlayer
    handles all this for us.

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

    Mike Miller
     
  • This patch fixes sdev_rw_attr() macro for scsi device sysfs entries.
    It seems there is no such function snscanf in the current linux kernel,
    so it fails to compile scsi driver when someone try to add a new rw entry.
    This has been unfixed for a long time probably because current scsi device
    has no rw entries.

    # grep snscanf . -rn
    ./drivers/scsi/scsi_sysfs.c:489: snscanf (buf, 20, format_string, &sdev->field); \

    Signed-off-by: Tomohiro Kusumi
    Signed-off-by: James Bottomley

    Tomohiro Kusumi
     
  • Fix the compilation warning in powerpc. The same change also fixes endian
    issue we found in powerpc test. This patch has been tested in x86 and
    powerpc platform. it is created using scsi-misc-2.6.

    Signed-off-by: Jing Huang
    Signed-off-by: James Bottomley

    Jing Huang
     
  • Enhanced the driver to support new FCoE host bus adapter.

    Signed-off-by: Giridhar Malavali
    Signed-off-by: James Bottomley

    Giridhar Malavali
     

01 May, 2010

5 commits


12 Apr, 2010

15 commits