Skip to content

Make ib_srp better suited for H.A. purposes

Bart Van Assche linux-rdma linux-scsi 5 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v5 Latest16 of 19 patches 14 repliesIn review
  2. v420 patches 16 repliesSuperseded
  3. v313 of 15 patches 7 repliesSuperseded
Earlier versions · 2
VersionPostedPatchesRepliesStatus
v213 of 18 patches31 repliesSuperseded
v110 of 14 patches39 repliesSuperseded

Changes in v5 from the cover letter

- Added a patch for removing SCSI devices upon a port down event

16 of 19 patches are in this archive. The cover letter announces 19.

Patches in v5 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/19ib_srp: Enlarge block layer timeoutdrivers/infiniband/ulp/srp/ib_srp.c drivers/infiniband/ulp/srp/ib_srp.h+47 -00 replies
2/19ib_srp: Eliminate state SRP_TARGET_CONNECTINGdrivers/infiniband/ulp/srp/ib_srp.c drivers/infiniband/ulp/srp/ib_srp.h+10 -90 replies
3/19ib_srp: Introduce srp_handle_qp_err()drivers/infiniband/ulp/srp/ib_srp.c drivers/infiniband/ulp/srp/ib_srp.h+21 -180 replies
4/19ib_srp: Suppress superfluous error messagesdrivers/infiniband/ulp/srp/ib_srp.c drivers/infiniband/ulp/srp/ib_srp.h+35 -90 replies
5/19ib_srp: Avoid that SCSI error handling causes troubledrivers/infiniband/ulp/srp/ib_srp.c+1 -20 replies
6/19ib_srp: Introduce the helper function srp_remove_target()drivers/infiniband/ulp/srp/ib_srp.c+12 -70 replies
7/19ib_srp: Eliminate state SRP_TARGET_DEADdrivers/infiniband/ulp/srp/ib_srp.c drivers/infiniband/ulp/srp/ib_srp.h+33 -580 replies
8/19ib_srp: Keep processing commands during host removaldrivers/infiniband/ulp/srp/ib_srp.c+0 -60 replies
9/19ib_srp: Make srp_disconnect_target() wait for IB completionsdrivers/infiniband/ulp/srp/ib_srp.c drivers/infiniband/ulp/srp/ib_srp.h+95 -150 replies
10/19ib_srp: Document sysfs attributesDocumentation/ABI/stable/sysfs-driver-ib_srp+156 -00 replies
12/19srp_transport: Simplify attribute initialization codedrivers/scsi/scsi_transport_srp.c+4 -220 replies
15/19ib_srp: Maintain a single connection per I_T nexusdrivers/infiniband/ulp/srp/ib_srp.c drivers/infiniband/ulp/srp/ib_srp.h+133 -240 replies
16/19srp_transport: Add transport layer error handlingDocumentation/ABI/stable/sysfs-transport-srp drivers/scsi/scsi_transport_srp.c include/scsi/scsi_transport_srp.h+216 -30 replies
17/19ib_srp: Add dev_loss_tmo supportdrivers/infiniband/ulp/srp/ib_srp.c drivers/infiniband/ulp/srp/ib_srp.h+31 -10 replies
18/19ib_srp: Remove SCSI devices upon port down eventdrivers/infiniband/ulp/srp/ib_srp.c drivers/infiniband/ulp/srp/ib_srp.h+55 -146 replies
19/19scsi_transport_srp: Fail I/O fasterdrivers/scsi/scsi_transport_srp.c include/scsi/scsi_transport_srp.h+68 -280 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v5 yet.

Read the v5 thread

Cover letter [PATCH 00/19, v5] Make ib_srp better suited for H.A. purposes

This patch series makes the ib_srp driver better suited for use in a H.A. setup because:
- multipathd is notified faster about transport layer failures.
- Transport layer failures reliably result in SCSI host removal.
- Switchover can be triggered explicitly by deleting an initiator device.
- Disconnecting from a target without unloading ib_srp is now possible.

This patch series is also available here:
http://github.com/bvanassche/linux/commits/srp-ha
And a backport of this patch series to kernels 3.6 and before is available here: http://github.com/bvanassche/ib_srp-backport.

Changes since v4:
- Added a patch for removing SCSI devices upon a port down event

Changes since v3:
- Restored the dev_loss_tmo and fast_io_fail_tmo sysfs attributes.
- Included a patch to fix an ib_srp crash that could be triggered by cable pulling.

Changes since v2:
- Addressed the v2 review comments.
- Dropped the patches that have already been merged.
- Dropped the patches for integration with multipathd.
- Dropped the micro-optimization of the IB completion handlers.

The individual patches are:
0001-ib_srp-Enlarge-block-layer-timeout.patch 0002-ib_srp-Eliminate-state-SRP_TARGET_CONNECTING.patch 0003-ib_srp-Introduce-srp_handle_qp_err.patch 0004-ib_srp-Suppress-superfluous-error-messages.patch 0005-ib_srp-Avoid-that-SCSI-error-handling-causes-trouble.patch 0006-ib_srp-Introduce-the-helper-function-srp_remove_targ.patch 0007-ib_srp-Eliminate-state-SRP_TARGET_DEAD.patch 0008-ib_srp-Keep-processing-commands-during-host-removal.patch 0009-ib_srp-Make-srp_disconnect_target-wait-for-IB-comple.patch 0010-ib_srp-Document-sysfs-attributes.patch 0011-srp_transport-Fix-atttribute-registration.patch 0012-srp_transport-Simplify-attribute-initialization-code.patch 0013-srp_transport-Document-sysfs-attributes.patch 0014-ib_srp-Allow-SRP-disconnect-through-sysfs.patch 0015-ib_srp-Maintain-a-single-connection-per-I_T-nexus.patch 0016-srp_transport-Add-transport-layer-error-handling.patch 0017-ib_srp-Add-dev_loss_tmo-support.patch 0018-ib_srp-Remove-SCSI-devices-upon-port-down-event.patch 0019-scsi_transport_srp-Fail-I-O-faster.patch

--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html