[SCSI] libiscsi: make can_queue configurable
This patch allows us to set can_queue and cmds_per_lun from userspace when we create the session/host. From there we can set it on a per target basis. The patch fully converts iscsi_tcp, but only hooks up ib_iser for cmd_per_lun since it currently has a lots of preallocations based on can_queue. Signed-off-by:Mike Christie <michaelc@cs.wisc.edu> Cc: Roland Dreier <rdreier@cisco.com> Signed-off-by:
James Bottomley <James.Bottomley@SteelEye.com>
Showing
- drivers/infiniband/ulp/iser/iscsi_iser.c 9 additions, 2 deletionsdrivers/infiniband/ulp/iser/iscsi_iser.c
- drivers/infiniband/ulp/iser/iscsi_iser.h 2 additions, 2 deletionsdrivers/infiniband/ulp/iser/iscsi_iser.h
- drivers/infiniband/ulp/iser/iser_verbs.c 2 additions, 2 deletionsdrivers/infiniband/ulp/iser/iser_verbs.c
- drivers/scsi/iscsi_tcp.c 3 additions, 2 deletionsdrivers/scsi/iscsi_tcp.c
- drivers/scsi/libiscsi.c 27 additions, 1 deletiondrivers/scsi/libiscsi.c
- drivers/scsi/scsi_transport_iscsi.c 2 additions, 0 deletionsdrivers/scsi/scsi_transport_iscsi.c
- include/scsi/iscsi_if.h 2 additions, 0 deletionsinclude/scsi/iscsi_if.h
- include/scsi/libiscsi.h 3 additions, 4 deletionsinclude/scsi/libiscsi.h
- include/scsi/scsi_transport_iscsi.h 2 additions, 1 deletioninclude/scsi/scsi_transport_iscsi.h
Loading
Please register or sign in to comment