Skip to content

scsi_dh: suppress errors from unsupported devices

Hannes Reinecke linux-scsi 1 version Applied

Status from this message: Applied to 4.15/scsi-queue. Thank you!

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 3 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/2scsi_dh: Return SCSI_DH_XX error code from ->attach()drivers/scsi/device_handler/scsi_dh_alua.c drivers/scsi/device_handler/scsi_dh_emc.c drivers/scsi/device_handler/scsi_dh_hp_sw.c +2 more+32 -191 reply
2/2scsi_dh: suppress errors from unsupported devicesdrivers/scsi/scsi_dh.c drivers/scsi/scsi_priv.h drivers/scsi/scsi_sysfs.c+16 -151 reply

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchJohannes Thumshirn
1/2R-b
2/2R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/2] scsi_dh: suppress errors from unsupported devices

From: Hannes Reinecke <[email protected]>

Hi all,

here's a small patchset to suppress errors from scsi_dh_attach() for unsupported devices.

As usual, comments and reviews are welcome.

Hannes Reinecke (2):
scsi_dh: Return SCSI_DH_XX error code from ->attach()
scsi_dh: suppress errors from unsupported devices

 drivers/scsi/device_handler/scsi_dh_alua.c  | 10 ++++----
 drivers/scsi/device_handler/scsi_dh_emc.c   |  6 ++---
 drivers/scsi/device_handler/scsi_dh_hp_sw.c | 12 ++++++----
 drivers/scsi/device_handler/scsi_dh_rdac.c  |  6 ++---
 drivers/scsi/scsi_dh.c                      | 36 +++++++++++++++++++++--------
 drivers/scsi/scsi_priv.h                    |  4 ++--
 drivers/scsi/scsi_sysfs.c                   |  8 +------
 7 files changed, 48 insertions(+), 34 deletions(-)
Signature · 1 line
2.12.3