From: Hannes Reinecke <hare@suse.de>
To: "Martin K. Petersen" <martin.petersen@oracle.com>
Cc: Christoph Hellwig <hch@lst.de>,
James Bottomley <james.bottomley@hansenpartnership.com>,
linux-scsi@vger.kernel.org, Hannes Reinecke <hare@suse.com>
Subject: [PATCH 0/2] scsi_dh: suppress errors from unsupported devices
Date: Wed, 20 Sep 2017 09:18:50 +0200 [thread overview]
Message-ID: <1505891932-49215-1-git-send-email-hare@suse.de> (raw)
From: Hannes Reinecke <hare@suse.com>
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(-)
--
2.12.3
next reply other threads:[~2017-09-20 7:18 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-09-20 7:18 Hannes Reinecke [this message]
2017-09-20 7:18 ` [PATCH 1/2] scsi_dh: Return SCSI_DH_XX error code from ->attach() Hannes Reinecke
2017-09-20 10:32 ` Johannes Thumshirn
2017-09-20 7:18 ` [PATCH 2/2] scsi_dh: suppress errors from unsupported devices Hannes Reinecke
2017-09-20 10:33 ` Johannes Thumshirn
2017-09-25 23:04 ` [PATCH 0/2] " Martin K. Petersen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1505891932-49215-1-git-send-email-hare@suse.de \
--to=hare@suse.de \
--cc=hare@suse.com \
--cc=hch@lst.de \
--cc=james.bottomley@hansenpartnership.com \
--cc=linux-scsi@vger.kernel.org \
--cc=martin.petersen@oracle.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox