05 Aug, 2010

1 commit

  • * git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi-misc-2.6: (276 commits)
    [SCSI] zfcp: Trigger logging in the FCP channel on qdio error conditions
    [SCSI] zfcp: Introduce experimental support for DIF/DIX
    [SCSI] zfcp: Enable data division support for FCP devices
    [SCSI] zfcp: Prevent access on uninitialized memory.
    [SCSI] zfcp: Post events through FC transport class
    [SCSI] zfcp: Cleanup QDIO attachment and improve processing.
    [SCSI] zfcp: Cleanup function parameters for sbal value.
    [SCSI] zfcp: Use correct width for timer_interval field
    [SCSI] zfcp: Remove SCSI device when removing unit
    [SCSI] zfcp: Use memdup_user and kstrdup
    [SCSI] zfcp: Fix retry after failed "open port" erp action
    [SCSI] zfcp: Fail erp after timeout
    [SCSI] zfcp: Use forced_reopen in terminate_rport_io callback
    [SCSI] zfcp: Register SCSI devices after successful fc_remote_port_add
    [SCSI] zfcp: Do not try "forced close" when port is already closed
    [SCSI] zfcp: Do not unblock rport from REOPEN_PORT_FORCED
    [SCSI] sd: add support for runtime PM
    [SCSI] implement runtime Power Management
    [SCSI] convert to the new PM framework
    [SCSI] Unify SAM_ and SAM_STAT_ macros
    ...

    Linus Torvalds
     

28 Jul, 2010

1 commit


11 Jun, 2010

1 commit


03 May, 2010

1 commit

  • If cxgb3i_pdu_init() fails, then it appears that cxgb3i_iscsi_init()
    will not be cleaned up, leading to the iscsi transport being left
    registered. Fix this by adding a call to cxgb3i_iscsi_cleanup() on the
    error path.

    Signed-off-by: Roland Dreier
    Reviewed-by: Mike Christie
    Cc: Karen Xie
    Signed-off-by: James Bottomley

    Roland Dreier
     

30 Mar, 2010

1 commit

  • …it slab.h inclusion from percpu.h

    percpu.h is included by sched.h and module.h and thus ends up being
    included when building most .c files. percpu.h includes slab.h which
    in turn includes gfp.h making everything defined by the two files
    universally available and complicating inclusion dependencies.

    percpu.h -> slab.h dependency is about to be removed. Prepare for
    this change by updating users of gfp and slab facilities include those
    headers directly instead of assuming availability. As this conversion
    needs to touch large number of source files, the following script is
    used as the basis of conversion.

    http://userweb.kernel.org/~tj/misc/slabh-sweep.py

    The script does the followings.

    * Scan files for gfp and slab usages and update includes such that
    only the necessary includes are there. ie. if only gfp is used,
    gfp.h, if slab is used, slab.h.

    * When the script inserts a new include, it looks at the include
    blocks and try to put the new include such that its order conforms
    to its surrounding. It's put in the include block which contains
    core kernel includes, in the same order that the rest are ordered -
    alphabetical, Christmas tree, rev-Xmas-tree or at the end if there
    doesn't seem to be any matching order.

    * If the script can't find a place to put a new include (mostly
    because the file doesn't have fitting include block), it prints out
    an error message indicating which .h file needs to be added to the
    file.

    The conversion was done in the following steps.

    1. The initial automatic conversion of all .c files updated slightly
    over 4000 files, deleting around 700 includes and adding ~480 gfp.h
    and ~3000 slab.h inclusions. The script emitted errors for ~400
    files.

    2. Each error was manually checked. Some didn't need the inclusion,
    some needed manual addition while adding it to implementation .h or
    embedding .c file was more appropriate for others. This step added
    inclusions to around 150 files.

    3. The script was run again and the output was compared to the edits
    from #2 to make sure no file was left behind.

    4. Several build tests were done and a couple of problems were fixed.
    e.g. lib/decompress_*.c used malloc/free() wrappers around slab
    APIs requiring slab.h to be added manually.

    5. The script was run on all .h files but without automatically
    editing them as sprinkling gfp.h and slab.h inclusions around .h
    files could easily lead to inclusion dependency hell. Most gfp.h
    inclusion directives were ignored as stuff from gfp.h was usually
    wildly available and often used in preprocessor macros. Each
    slab.h inclusion directive was examined and added manually as
    necessary.

    6. percpu.h was updated not to include slab.h.

    7. Build test were done on the following configurations and failures
    were fixed. CONFIG_GCOV_KERNEL was turned off for all tests (as my
    distributed build env didn't work with gcov compiles) and a few
    more options had to be turned off depending on archs to make things
    build (like ipr on powerpc/64 which failed due to missing writeq).

    * x86 and x86_64 UP and SMP allmodconfig and a custom test config.
    * powerpc and powerpc64 SMP allmodconfig
    * sparc and sparc64 SMP allmodconfig
    * ia64 SMP allmodconfig
    * s390 SMP allmodconfig
    * alpha SMP allmodconfig
    * um on x86_64 SMP allmodconfig

    8. percpu.h modifications were reverted so that it could be applied as
    a separate patch and serve as bisection point.

    Given the fact that I had only a couple of failures from tests on step
    6, I'm fairly confident about the coverage of this conversion patch.
    If there is a breakage, it's likely to be something in one of the arch
    headers which should be easily discoverable easily on most builds of
    the specific arch.

    Signed-off-by: Tejun Heo <tj@kernel.org>
    Guess-its-ok-by: Christoph Lameter <cl@linux-foundation.org>
    Cc: Ingo Molnar <mingo@redhat.com>
    Cc: Lee Schermerhorn <Lee.Schermerhorn@hp.com>

    Tejun Heo
     

03 Mar, 2010

1 commit


18 Feb, 2010

2 commits


19 Jan, 2010

1 commit

  • Stanse found that c3cn is poked many times around in
    cxgb3i_conn_pdu_ready, there is no need to check if it is NULL.

    Remove the test.

    Signed-off-by: Jiri Slaby
    Reviewed-by: Mike Christie
    Acked-by: Karen Xie
    Signed-off-by: Andrew Morton
    Signed-off-by: James Bottomley

    Jiri Slaby
     

31 Dec, 2009

1 commit


10 Dec, 2009

1 commit


05 Dec, 2009

1 commit


03 Oct, 2009

1 commit


06 Sep, 2009

1 commit


05 Jul, 2009

1 commit

  • * git://git.kernel.org/pub/scm/linux/kernel/git/sam/kbuild-fixes:
    kbuild: finally remove the obsolete variable $TOPDIR
    gitignore: ignore scripts/ihex2fw
    Kbuild: Disable the -Wformat-security gcc flag
    gitignore: ignore gcov output files
    kbuild: deb-pkg ship changelog
    Add new __init_task_data macro to be used in arch init_task.c files.
    asm-generic/vmlinux.lds.h: shuffle INIT_TASK* macro names in vmlinux.lds.h
    Add new macros for page-aligned data and bss sections.
    asm-generic/vmlinux.lds.h: Fix up RW_DATA_SECTION definition.

    Linus Torvalds
     

28 Jun, 2009

1 commit

  • There is a bug when VLAN is configured on the cxgb3 interface, the iscsi
    conn. would be denied with message "cxgb3i: NOT going through cxgbi device."

    This patch adds code to get the real egress net_device when vlan is configured.

    Signed-off-by: Karen Xie
    Reviewed-by: Mike Christie
    Signed-off-by: James Bottomley

    Karen Xie
     

27 Jun, 2009

1 commit


21 Jun, 2009

2 commits


09 Jun, 2009

1 commit

  • This driver needs dst_cache->dev so it should include net/dst.h
    to ensure that it builds. While net/tcp.h probably includes it
    already, we shouldn't rely on that since there is no guarantee
    that this won't change in future.

    Signed-off-by: Herbert Xu
    Acked-by: Mike Christie
    Signed-off-by: James Bottomley

    Herbert Xu
     

24 May, 2009

1 commit

  • When we create the tcp/ip connection by calling ep_connect, we currently
    just go by the routing table info.

    I think there are two problems with this.

    1. Some drivers do not have access to a routing table. Some drivers like
    qla4xxx do not even know about other ports.

    2. If you have two initiator ports on the same subnet, the user may have
    set things up so that session1 was supposed to be run through port1. and
    session2 was supposed to be run through port2. It looks like we could
    end with both sessions going through one of the ports.

    Fixes for cxgb3i from Karen Xie.

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

    Mike Christie
     

27 Apr, 2009

4 commits

  • (version 2)

    Fixed a bug in calculating ddp map range when search for free entries:
    it was going beyond the end by one, thus corrupting gl_skb[0].

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

    kxie@chelsio.com
     
  • When doing a lot (128) of large writes (256K) we can hit the cxgb3_snd_win
    check pretty easily. The driver's xmit thread then takes 100% of the cpu.

    The driver should not be returning -EAGAIN for this problem. It should
    be returing -ENOBUFS, then when the window is opened again it should
    queue the xmit thread (it already wakes the xmit thread).

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

    Mike Christie
     
  • cxgb3i was setting can_queue to only 128 commands, and was
    setting the can_queue and cmd_per_lun to the same value.

    This sets the can_queue to 1024 commands, and sets the cmd_per_lun
    to a safer default of 32.

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

    Mike Christie
     
  • Set target can queue limit to the number of preallocated
    session tasks we have.

    This along with the cxgb3i can_queue patch will fix a throughput
    problem where it could only queue one LU worth of data at a time.

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

    Mike Christie
     

03 Apr, 2009

6 commits


14 Mar, 2009

4 commits


22 Feb, 2009

5 commits