Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Scsi lib #280

Closed
wants to merge 64 commits into from
Closed

Scsi lib #280

wants to merge 64 commits into from

Commits on Mar 5, 2016

  1. target: Convert demo-mode only drivers to target_alloc_session

    (Fix possible usb-gadget + tcm-loop make_nexus breakage - Dan Carpenter)
    
    Acked-by: Juergen Gross <jgross@suse.com>
    Cc: Christoph Hellwig <hch@lst.de>
    Cc: Hannes Reinecke <hare@suse.de>
    Cc: Chris Boot <bootc@bootc.net>
    Cc: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
    Cc: Andrzej Pietrasiewicz <andrzej.p@samsung.com>
    Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
    Christoph Hellwig authored and nablio3000 committed Mar 5, 2016
    Configuration menu
    Copy the full SHA
    8b00965 View commit details
    Browse the repository at this point in the history
  2. vhost/scsi: Convert to target_alloc_session usage

    Acked-by: Michael S. Tsirkin <mst@redhat.com>
    Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
    nablio3000 committed Mar 5, 2016
    Configuration menu
    Copy the full SHA
    1ccafc1 View commit details
    Browse the repository at this point in the history
  3. tcm_qla2xxx: Convert to target_alloc_session usage

    Cc: Himanshu Madhani <himanshu.madhani@qlogic.com>
    Cc: Quinn Tran <quinn.tran@qlogic.com>
    Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
    nablio3000 committed Mar 5, 2016
    Configuration menu
    Copy the full SHA
    910e0c6 View commit details
    Browse the repository at this point in the history
  4. tcm_fc: Convert to target_alloc_session usage

    Cc: Vasu Dev <vasu.dev@linux.intel.com>
    Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
    nablio3000 committed Mar 5, 2016
    Configuration menu
    Copy the full SHA
    869525a View commit details
    Browse the repository at this point in the history
  5. ib_srpt: Convert to target_alloc_session usage

    Cc: Vu Pham <vu@mellanox.com>
    Cc: Sagi Grimberg <sagig@mellanox.com>
    Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
    nablio3000 committed Mar 5, 2016
    Configuration menu
    Copy the full SHA
    d74a601 View commit details
    Browse the repository at this point in the history
  6. sbp-target: Conversion to percpu_ida tag pre-allocation

    (Fix sbp_mgt_get_req() IS_ERR failure checking - Dan Carpenter)
    
    Cc: Chris Boot <bootc@bootc.net>
    Cc: Christoph Hellwig <hch@lst.de>
    Cc: Hannes Reinecke <hare@suse.de>
    Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
    nablio3000 committed Mar 5, 2016
    Configuration menu
    Copy the full SHA
    e7741b0 View commit details
    Browse the repository at this point in the history
  7. sbp-target: Convert to TARGET_SCF_ACK_KREF I/O krefs

    Cc: Chris Boot <bootc@bootc.net>
    Cc: Christoph Hellwig <hch@lst.de>
    Cc: Hannes Reinecke <hare@suse.de>
    Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
    nablio3000 committed Mar 5, 2016
    Configuration menu
    Copy the full SHA
    a778862 View commit details
    Browse the repository at this point in the history
  8. usb-gadget/tcm: Conversion to percpu_ida tag pre-allocation

    Cc: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
    Cc: Andrzej Pietrasiewicz <andrzej.p@samsung.com>
    Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
    nablio3000 committed Mar 5, 2016
    Configuration menu
    Copy the full SHA
    1fdf5f7 View commit details
    Browse the repository at this point in the history
  9. usb-gadget/tcm: Convert to TARGET_SCF_ACK_KREF I/O krefs

    This patch drops struct usbg_cmd->kref internal kref-erence
    usage, for proper TARGET_SCF_ACK_KREF conversion.
    
    Cc: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
    Cc: Andrzej Pietrasiewicz <andrzej.p@samsung.com>
    Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
    nablio3000 committed Mar 5, 2016
    Configuration menu
    Copy the full SHA
    c4468d4 View commit details
    Browse the repository at this point in the history
  10. xen-scsiback: Convert to percpu_ida tag allocation

    (Add wrapper for handling pending_req tag failure - Juergen)
    (Drop left-over se_cmd memset in scsiback_cmd_exec - Juergen)
    
    Acked-by: Juergen Gross <jgross@suse.com>
    Tested-by: Juergen Gross <jgross@suse.com>
    Cc: Hannes Reinecke <hare@suse.de>
    Cc: David Vrabel <david.vrabel@citrix.com>
    Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
    nablio3000 committed Mar 5, 2016
    Configuration menu
    Copy the full SHA
    194509e View commit details
    Browse the repository at this point in the history
  11. xen-scsiback: Convert to TARGET_SCF_ACK_KREF I/O krefs

    Acked-by: Juergen Gross <jgross@suse.com>
    Tested-by: Juergen Gross <jgross@suse.com>
    Cc: Hannes Reinecke <hare@suse.de>
    Cc: David Vrabel <david.vrabel@citrix.com>
    Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
    nablio3000 committed Mar 5, 2016
    Configuration menu
    Copy the full SHA
    130e8a2 View commit details
    Browse the repository at this point in the history
  12. tcm_fc: Convert to TARGET_SCF_ACK_KREF I/O + TMR krefs

    Cc: Vasu Dev <vasu.dev@linux.intel.com>
    Cc: Mark Rustad <mark.d.rustad@intel.com>
    Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
    nablio3000 committed Mar 5, 2016
    Configuration menu
    Copy the full SHA
    c8d336d View commit details
    Browse the repository at this point in the history
  13. ib_srpt: Convert to percpu_ida tag allocation

    Cc: Vu Pham <vu@mellanox.com>
    Cc: Sagi Grimberg <sagig@mellanox.com>
    Cc: Bart Van Assche <bvanassche@acm.org>
    Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
    nablio3000 committed Mar 5, 2016
    Configuration menu
    Copy the full SHA
    1335b45 View commit details
    Browse the repository at this point in the history
  14. qla2xxx: Add DebugFS node for target sess list.

     #cat  /sys/kernel/debug/qla2xxx/qla2xxx_31/tgt_sess
     qla2xxx_31
     Port ID   Port Name                Handle
     ff:fc:01  21:fd:00:05:33:c7:ec:16  0
     01:0e:00  21:00:00:24:ff:7b:8a:e4  1
     01:0f:00  21:00:00:24:ff:7b:8a:e5  2
     ....
    
    (Drop ->check_initiator_node_acl() parameter usage - nab)
    
    Signed-off-by: Quinn Tran <quinn.tran@qlogic.com>
    Signed-off-by: Himanshu Madhani <himanshu.madhani@qlogic.com>
    Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
    Quinn Tran authored and nablio3000 committed Mar 5, 2016
    Configuration menu
    Copy the full SHA
    1d5c042 View commit details
    Browse the repository at this point in the history
  15. iser-target: Fix identification of login rx descriptor type

    Once connection request is accepted, one rx descriptor
    is posted to receive login request. This descriptor has rx type,
    but is outside the main pool of rx descriptors, and thus
    was mistreated as tx type.
    
    Signed-off-by: Jenny Derzhavetz <jennyf@mellanox.com>
    Signed-off-by: Sagi Grimberg <sagig@mellanox.com>
    Cc: stable@vger.kernel.org # v3.10+
    Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
    jennyj-mellanox authored and nablio3000 committed Mar 5, 2016
    Configuration menu
    Copy the full SHA
    b609cc1 View commit details
    Browse the repository at this point in the history
  16. iser-target: Add new state ISER_CONN_BOUND to isert_conn

    We need an indication that isert_conn->iscsi_conn binding has
    happened so we'll know not to invoke a connection reinstatement
    on an unbound connection which will lead to a bogus isert_conn->conn
    dereferece.
    
    Signed-off-by: Jenny Derzhavetz <jennyf@mellanox.com>
    Signed-off-by: Sagi Grimberg <sagig@mellanox.com>
    Cc: stable@vger.kernel.org # v3.10+
    Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
    jennyj-mellanox authored and nablio3000 committed Mar 5, 2016
    Configuration menu
    Copy the full SHA
    eb2770e View commit details
    Browse the repository at this point in the history
  17. iser-target: Separate flows for np listeners and connections cma events

    No need to restrict this check to specific events.
    
    Signed-off-by: Jenny Derzhavetz <jennyf@mellanox.com>
    Signed-off-by: Sagi Grimberg <sagig@mellanox.com>
    Cc: stable@vger.kernel.org # v3.10+
    Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
    jennyj-mellanox authored and nablio3000 committed Mar 5, 2016
    Configuration menu
    Copy the full SHA
    cd7f942 View commit details
    Browse the repository at this point in the history
  18. iser-target: Rework connection termination

    When we receive an event that triggers connection termination,
    we have a a couple of things we may want to do:
    1. In case we are already terminating, bailout early
    2. In case we are connected but not bound, disconnect and schedule
       a connection cleanup silently (don't reinstate)
    3. In case we are connected and bound, disconnect and reinstate the connection
    
    This rework fixes a bug that was detected against a mis-behaved
    initiator which rejected our rdma_cm accept, in this stage the
    isert_conn is no bound and reinstate caused a bogus dereference.
    
    What's great about this is that we don't need the
    post_recv_buf_count anymore, so get rid of it.
    
    Signed-off-by: Jenny Derzhavetz <jennyf@mellanox.com>
    Signed-off-by: Sagi Grimberg <sagig@mellanox.com>
    Cc: stable@vger.kernel.org # v3.10+
    Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
    jennyj-mellanox authored and nablio3000 committed Mar 5, 2016
    Configuration menu
    Copy the full SHA
    ff93150 View commit details
    Browse the repository at this point in the history
  19. iser-target: Remove redundant wait in release_conn

    With current termination flow we call release_conn after completion.
    
    Signed-off-by: Jenny Derzhavetz <jennyf@mellanox.com>
    Signed-off-by: Sagi Grimberg <sagig@mellanox.com>
    Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
    jennyj-mellanox authored and nablio3000 committed Mar 5, 2016
    Configuration menu
    Copy the full SHA
    c3d141c View commit details
    Browse the repository at this point in the history
  20. iser-target: Remove impossible condition from isert_wait_conn

    We can never get to isert_wait_conn in INIT state anymore, so
    get rid of this condition.
    
    Signed-off-by: Jenny Derzhavetz <jennyf@mellanox.com>
    Signed-off-by: Sagi Grimberg <sagig@mellanox.com>
    Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
    jennyj-mellanox authored and nablio3000 committed Mar 5, 2016
    Configuration menu
    Copy the full SHA
    2e54a93 View commit details
    Browse the repository at this point in the history
  21. iser-target: Remove ISER_RECV_DATA_SEG_LEN

    This is the same as ISCSI_DEF_MAX_RECV_SEG_LEN (and must be the same given
    the structure layouts), so just use that constant instead.  This also
    allows removing ISER_RX_LOGIN_SIZE in favor of ISER_RX_PAYLOAD_SIZE.
    
    Signed-off-by: Christoph Hellwig <hch@lst.de>
    Signed-off-by: Sagi Grimberg <sagig@mellanox.com>
    Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
    Christoph Hellwig authored and nablio3000 committed Mar 5, 2016
    Configuration menu
    Copy the full SHA
    a6324f7 View commit details
    Browse the repository at this point in the history
  22. iser-target: Split and properly type the login buffer

    The login receive buffer is used as a iser_rx_desc, so type it as such
    in struct isert_conn and allocate the exactly right space for it.  The
    TX buffer is moved to a separate variable and properly sized as well.
    
    Signed-off-by: Christoph Hellwig <hch@lst.de>
    Signed-off-by: Sagi Grimberg <sagig@mellanox.com>
    Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
    Christoph Hellwig authored and nablio3000 committed Mar 5, 2016
    Configuration menu
    Copy the full SHA
    7e2f756 View commit details
    Browse the repository at this point in the history
  23. iser-target: Convert to new CQ API

    Use the workqueue based CQ type similar to what isert was using previously,
    and properly split up the completion handlers.
    
    Note that this also takes special care to handle the magic login WRs
    separately, and also renames the submission functions so that it's clear
    that they are only to be used for the login buffers.
    
    (Fix up isert_print_wc usage in isert_beacon_done - nab)
    
    Signed-off-by: Christoph Hellwig <hch@lst.de>
    [sagig: added iscsi conn reinstatement in non-flush
     error completions and added error completion type print]
    Signed-off-by: Sagi Grimberg <sagig@mellanox.com>
    Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
    Christoph Hellwig authored and nablio3000 committed Mar 5, 2016
    Configuration menu
    Copy the full SHA
    c3ddb7f View commit details
    Browse the repository at this point in the history
  24. iser-target: Kill struct isert_rdma_wr

    There is exactly one instance per struct isert_cmd, so merge the two to
    simplify everyones life.
    
    Signed-off-by: Christoph Hellwig <hch@lst.de>
    Signed-off-by: Sagi Grimberg <sagig@mellanox.com>
    Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
    Christoph Hellwig authored and nablio3000 committed Mar 5, 2016
    Configuration menu
    Copy the full SHA
    fd625eb View commit details
    Browse the repository at this point in the history
  25. iser-target: Kill the ->isert_cmd back pointer in struct iser_tx_desc

    We only use the pointer when processing regular iSER commands, and it then
    always points to the struct iser_cmd that contains the TX descriptor.
    
    Remove it and rely on container_of to save a little space and avoid a
    pointer that is updated multiple times per processed command.
    
    Signed-off-by: Christoph Hellwig <hch@lst.de>
    Signed-off-by: Sagi Grimberg <sagig@mellanox.com>
    Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
    Christoph Hellwig authored and nablio3000 committed Mar 5, 2016
    Configuration menu
    Copy the full SHA
    2866108 View commit details
    Browse the repository at this point in the history
  26. target/iblock: pass WRITE_SAME to device if possible

    This patch has iblock pass the WRITE_SAME command to
    the device for offloading if possible. It is similar to what is
    done for UNMAP/discards, except that we export a large max write same
    value to the initiator, and then rely on the block layer to
    break it up into multiple requests if it cannot fit into one.
    
    v2.
    
    - Drop file backend changes and move helper function to
    iblock backend.
    
    Signed-off-by: Mike Christie <mchristi@redhat.com>
    Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
    Mike Christie authored and nablio3000 committed Mar 5, 2016
    Configuration menu
    Copy the full SHA
    cf12009 View commit details
    Browse the repository at this point in the history
  27. target: Remove enum transport_lunflags_table

    se_dev_entry.lun_flags and se_lun.lun_access are only used for keeping
    track of read-write vs. read-only state. Since this is an either/or thing
    we can represent it as bool, and remove the unneeded enum
    transport_lunflags_table, which is left over from when there were more
    flags.
    
    Change code that uses this enum to just use true/false, and make it clear
    through variable and param names that true means read-only, false means
    read-write.
    
    Signed-off-by: Andy Grover <agrover@redhat.com>
    Reviewed-by: Christoph Hellwig <hch@lst.de>
    Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
    Andy Grover authored and nablio3000 committed Mar 5, 2016
    Configuration menu
    Copy the full SHA
    0a95b29 View commit details
    Browse the repository at this point in the history
  28. target/user: Use iovec[] to describe continuous area

    We don't need use one iovec per scatter-gather list entry, since data
    area are continuous.
    
    Reviewed-by: Andy Grover <agrover@redhat.com>
    Signed-off-by: Sheng Yang <sheng@yasker.org>
    Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
    yasker authored and nablio3000 committed Mar 5, 2016
    Configuration menu
    Copy the full SHA
    ba6b96e View commit details
    Browse the repository at this point in the history
  29. target/user: Free data ring in unified function

    Prepare for data_bitmap in the next patch.
    
    Reviewed-by: Andy Grover <agrover@redhat.com>
    Signed-off-by: Sheng Yang <sheng@yasker.org>
    Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
    yasker authored and nablio3000 committed Mar 5, 2016
    Configuration menu
    Copy the full SHA
    62e7b25 View commit details
    Browse the repository at this point in the history
  30. target/user: Introduce data_bitmap, replace data_length/data_head/dat…

    …a_tail
    
    The data_bitmap was introduced to support asynchornization accessing of
    data area.
    
    We divide mailbox data area into blocks, and use data_bitmap to track the
    usage of data area. All the new command's data would start with a new block,
    and may left unusable space after it end. But it's easy to track using
    data_bitmap.
    
    Now we can allocate data area for asynchronization accessing from userspace,
    since we can track the allocation using data_bitmap. The userspace part would
    be the same as Maxim's previous asynchronized implementation.
    
    Signed-off-by: Sheng Yang <sheng@yasker.org>
    Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
    yasker authored and nablio3000 committed Mar 5, 2016
    Configuration menu
    Copy the full SHA
    a1171a3 View commit details
    Browse the repository at this point in the history
  31. target/user: Don't free expired command when time out

    Which would result in NPE after when userspace connected again.
    
    Expired command would be freed either when handling command(by userspace),
    or when device was tearing down
    
    Reviewed-by: Andy Grover <agrover@redhat.com>
    Signed-off-by: Sheng Yang <sheng@yasker.org>
    Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
    yasker authored and nablio3000 committed Mar 5, 2016
    Configuration menu
    Copy the full SHA
    dbfc15a View commit details
    Browse the repository at this point in the history
  32. target/user: Fix size_t format-spec build warning

    Fix the following printk size_t warning as per 0-day build:
    
    All warnings (new ones prefixed by >>):
    
       drivers/target/target_core_user.c: In function 'is_ring_space_avail':
    >> drivers/target/target_core_user.c:385:12: warning: format '%lu'
    >> expects argument of type 'long unsigned int', but argument 3 has type
    >> 'size_t {aka unsigned int}' [-Wformat=]
          pr_debug("no data space: only %lu available, but ask for %lu\n",
                   ^
    
    Reported-by: kbuild test robot <fengguang.wu@intel.com>
    Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
    nablio3000 committed Mar 5, 2016
    Configuration menu
    Copy the full SHA
    27d5306 View commit details
    Browse the repository at this point in the history
  33. target/user: Report capability of handling out-of-order completions t…

    …o userspace
    
    TCMU_MAILBOX_FLAG_CAP_OOOC was introduced, and userspace can check the flag
    for out-of-order completion capability support.
    
    Also update the document on how to use the feature.
    
    Signed-off-by: Sheng Yang <sheng@yasker.org>
    Reviewed-by: Andy Grover <agrover@redhat.com>
    Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
    yasker authored and nablio3000 committed Mar 5, 2016
    Configuration menu
    Copy the full SHA
    01d6eea View commit details
    Browse the repository at this point in the history
  34. target: Avoid DataIN transfers for non-GOOD SAM status

    This patch modifies existing transport_complete_*() code
    to avoid invoking target_core_fabric_ops->queue_data_in()
    driver callbacks for I/O READs with non-GOOD SAM status.
    
    Some initiators expect GOOD status when a DATA-IN payload
    transfer is involved, so to be safe go ahead and always
    invoke target_core_fabric_ops->queue_status() to generate
    fabric responses instead.
    
    Note this is a prerequisite for IBLOCK supporting retriable
    status, so SAM_STAT_BUSY + SAM_STAT_TASK_SET_FULL always
    generates fabric driver responses instead of initiating
    DataIN payload transfer when non-GOOD status is present
    
    Cc: Christoph Hellwig <hch@lst.de>
    Cc: Hannes Reinecke <hare@suse.de>
    Cc: Sagi Grimberg <sagig@mellanox.com>
    Cc: Andy Grover <agrover@redhat.com>
    Cc: Mike Christie <mchristi@redhat.com>
    Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
    nablio3000 committed Mar 5, 2016
    Configuration menu
    Copy the full SHA
    2654cf3 View commit details
    Browse the repository at this point in the history
  35. target/iblock: Use -EAGAIN/-ENOMEM to propigate SAM BUSY/TASK_SET_FULL

    This patch updates target/iblock backend driver code to
    check for bio completion status of -EAGAIN / -ENOMEM
    provided by raw block drivers and scsi devices, in order
    to generate the following SCSI status to initiators:
    
      - SAM_STAT_BUSY
      - SAM_STAT_TASK_SET_FULL
    
    Note these two SAM status codes are useful to signal to
    Linux SCSI host side that se_cmd should be retried
    again, or with TASK_SET_FULL case to attempt to lower
    our internal host LLD queue_depth and scsi_cmnd retry.
    
    It also updates target_complete_cmd() to parse status
    when signalling success to target_completion_wq.
    
    Reviewed-by: Hannes Reinecke <hare@suse.de>
    Cc: Christoph Hellwig <hch@lst.de>
    Cc: Hannes Reinecke <hare@suse.de>
    Cc: Sagi Grimberg <sagig@mellanox.com>
    Cc: Andy Grover <agrover@redhat.com>
    Cc: Mike Christie <mchristi@redhat.com>
    Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
    nablio3000 committed Mar 5, 2016
    Configuration menu
    Copy the full SHA
    f630dbf View commit details
    Browse the repository at this point in the history

Commits on Mar 14, 2016

  1. SCSI Target Changes for VSCSI Target Driver

    This push contains all the necessary changes that the VSCSI
    Target Driver needs.
    bgly committed Mar 14, 2016
    Configuration menu
    Copy the full SHA
    59e9b8e View commit details
    Browse the repository at this point in the history
  2. Adding the Libsrp library for VSCSI Target driver

    This is the initial push of the libsrp files that are required
    for the ibmvscsis target driver.
    bgly committed Mar 14, 2016
    Configuration menu
    Copy the full SHA
    9d43b38 View commit details
    Browse the repository at this point in the history
  3. Adding the Ibmvscsis target driver.

    This commit also includes all the makefiles and kconfigs associated
    with enabling the ibmvscsis target driver.
    bgly committed Mar 14, 2016
    Configuration menu
    Copy the full SHA
    febef65 View commit details
    Browse the repository at this point in the history

Commits on Mar 16, 2016

  1. Clean up Ibmvscsis

    These changes include clean up of unused functions/protocols
    such as T10 Protection, sgl, upages, prot_sgl, drop extra
    tport_proto_id stuff since we just want to always use
    SCSI_PROTOCOL_SRP. Removal of .node_acl_size and unused nexus
    code. This commit will also change from workqueue to tasklets
    due to a bug found in ibmvmc driver. Lastly, this patch will
    implement start of integration with target.
    bgly committed Mar 16, 2016
    Configuration menu
    Copy the full SHA
    8074625 View commit details
    Browse the repository at this point in the history

Commits on Mar 17, 2016

  1. Revert "powerpc: Simplify module TOC handling"

    This reverts commit c153693.
    
    Change-Id: I927d8eeb392e112bbc6b7b7e574460995522c5b5
    bgly committed Mar 17, 2016
    Configuration menu
    Copy the full SHA
    30ffd09 View commit details
    Browse the repository at this point in the history

Commits on Apr 5, 2016

  1. Merge pull request #5 from powervm/IbmvscsisCleanup

    Clean up Ibmvscsis
    Bryant Ly committed Apr 5, 2016
    Configuration menu
    Copy the full SHA
    009a24a View commit details
    Browse the repository at this point in the history

Commits on Apr 6, 2016

  1. Ibmvscsis Misc fixes

    This change fixes reporting of correct OS back to client. It also
    addresses getting a scsi scan to occur after SRP_LOGIN success.
    I have also added a base_attrib as a target config op so that
    it can be later used to check if tpg is setup prior to submitting
    a login. A follow up task would be to get make_nexus to occur
    during probe. This way target mapped luns and userspace stuff
    is setup prior to handling of login request.
    Bryant Ly committed Apr 6, 2016
    Configuration menu
    Copy the full SHA
    b8b06b9 View commit details
    Browse the repository at this point in the history
  2. Merge branch 'development' of https://github.com/powervm/ibmvscsis in…

    …to test_prototype
    Bryant Ly committed Apr 6, 2016
    Configuration menu
    Copy the full SHA
    918dac0 View commit details
    Browse the repository at this point in the history
  3. Merge pull request #6 from powervm/test_prototype

    Ibmvscsis Misc fixes
    Bryant Ly committed Apr 6, 2016
    Configuration menu
    Copy the full SHA
    28bb9ed View commit details
    Browse the repository at this point in the history

Commits on Apr 7, 2016

  1. scsi_lib.c change function type

    Changes the scsi_release_buffers from static void to just void.
    This is just to get old stuff working, quick fix.
    Bryant Ly committed Apr 7, 2016
    Configuration menu
    Copy the full SHA
    2ad5b83 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #7 from powervm/scsichanges

    scsi_lib.c change function type
    Bryant Ly committed Apr 7, 2016
    Configuration menu
    Copy the full SHA
    564d3fb View commit details
    Browse the repository at this point in the history

Commits on Apr 11, 2016

  1. Ibmvscsis fixed probe to wait and not dest objs

    This fix makes the driver support having the server
    be setup first and not have client ready. It also adds support
    for process_login to send fail if tpg isn't allocated,
    tcm_queuecommand is also updated to use target_submit_cmd,
    and lastly client request report of luns is now showing up as
    compared to before where it wasn't doing it.
    Bryant Ly committed Apr 11, 2016
    Configuration menu
    Copy the full SHA
    fc4b3e7 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #8 from powervm/TCMInitInProbe

    Ibmvscsis fixed probe to wait and not dest objs
    Bryant Ly committed Apr 11, 2016
    Configuration menu
    Copy the full SHA
    e94b3db View commit details
    Browse the repository at this point in the history

Commits on Apr 12, 2016

  1. Ibmvscsis - Fix inquiry function

    This commit fixes the inquiry function, so that the driver atleast
    gets past the inquiry and then last step is to get
    target_submit_cmd to work.
    Bryant Ly committed Apr 12, 2016
    Configuration menu
    Copy the full SHA
    a6a198e View commit details
    Browse the repository at this point in the history
  2. Merge pull request #9 from powervm/FixInquiry

    Ibmvscsis - Fix inquiry function
    Bryant Ly committed Apr 12, 2016
    Configuration menu
    Copy the full SHA
    9c655e5 View commit details
    Browse the repository at this point in the history

Commits on Apr 14, 2016

  1. Ibmvscsis - changes related to structure cleanup

    This change will cover cleaning up target allocations
    and structure allocations.
    Bryant Ly committed Apr 14, 2016
    Configuration menu
    Copy the full SHA
    5a5a067 View commit details
    Browse the repository at this point in the history

Commits on Apr 18, 2016

  1. Ibmvscsis - changes related to structure cleanup

    This change will cover cleaning up target allocations
    and structure allocations. The driver also works at this point
    Bryant Ly committed Apr 18, 2016
    Configuration menu
    Copy the full SHA
    ed31b3e View commit details
    Browse the repository at this point in the history
  2. Merge branch 'development' of https://github.com/powervm/ibmvscsis in…

    …to StructureCleanup
    
    This merge fixes the queues and structures
    Bryant Ly committed Apr 18, 2016
    Configuration menu
    Copy the full SHA
    5c3ea77 View commit details
    Browse the repository at this point in the history
  3. Merge branch 'StructureCleanup' of https://github.com/powervm/ibmvscsis

    … into StructureCleanup
    Bryant Ly committed Apr 18, 2016
    Configuration menu
    Copy the full SHA
    ac1e07b View commit details
    Browse the repository at this point in the history
  4. Merge pull request #10 from powervm/StructureCleanup

    Structure cleanup
    Bryant Ly committed Apr 18, 2016
    Configuration menu
    Copy the full SHA
    0ceb865 View commit details
    Browse the repository at this point in the history

Commits on Apr 22, 2016

  1. LIBSRP change to add ilist back

    These are minor changes to uncomment stuff that was commented out
    Bryant Ly committed Apr 22, 2016
    Configuration menu
    Copy the full SHA
    17d9f48 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #11 from powervm/libsrpfix

    LIBSRP change to add ilist back
    Bryant Ly committed Apr 22, 2016
    Configuration menu
    Copy the full SHA
    8ed8541 View commit details
    Browse the repository at this point in the history
  3. libsrp .h change to fix return type

    fixing return type
    Bryant Ly committed Apr 22, 2016
    Configuration menu
    Copy the full SHA
    ae6c72c View commit details
    Browse the repository at this point in the history
  4. Merge pull request #12 from powervm/libsrpchanges

    libsrp .h change to fix return type
    Bryant Ly committed Apr 22, 2016
    Configuration menu
    Copy the full SHA
    df6fba9 View commit details
    Browse the repository at this point in the history

Commits on Apr 26, 2016

  1. Ibmvscsis: checkpatch.pl cleanup

    This patch contains cleanup ran from checkpatch.pl.
    for SCSI/LIBSRP changes
    Bryant Ly committed Apr 26, 2016
    Configuration menu
    Copy the full SHA
    79ebd68 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #13 from powervm/Cleanup

    Ibmvscsis: checkpatch.pl cleanup
    Bryant Ly committed Apr 26, 2016
    Configuration menu
    Copy the full SHA
    84aba78 View commit details
    Browse the repository at this point in the history

Commits on Apr 27, 2016

  1. ibmvscsis: changes relating to emulation of srpcmd

    This changes reflect changes in regards to emulating
    report_luns and mode_sense
    Bryant Ly committed Apr 27, 2016
    Configuration menu
    Copy the full SHA
    2fd5cae View commit details
    Browse the repository at this point in the history

Commits on May 2, 2016

  1. Ibmvscsis: Target Port Changes

    This change allows driver to fully use target emulation for
    mode sense, inquiry, and report luns. It also removes spinning
    for handling of cmd queues. It makes them atomic. This also
    removes use of old scsi_tgt_ stuff.
    Bryant Ly committed May 2, 2016
    Configuration menu
    Copy the full SHA
    5c9bb04 View commit details
    Browse the repository at this point in the history

Commits on May 3, 2016

  1. Ibmvscsis: reverting scsi_lib changes

    This change reverts scsi_lib changes with extern and export
    Bryant Ly committed May 3, 2016
    Configuration menu
    Copy the full SHA
    58ad70c View commit details
    Browse the repository at this point in the history