public inbox for linux-scsi@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCHv5 0/5] scsi: Fixup blacklist handling
@ 2017-09-22  6:04 Hannes Reinecke
  2017-09-22  6:04 ` [PATCHv5 1/5] scsi_debug: allow to specify inquiry vendor and model Hannes Reinecke
                   ` (4 more replies)
  0 siblings, 5 replies; 9+ messages in thread
From: Hannes Reinecke @ 2017-09-22  6:04 UTC (permalink / raw)
  To: Martin K. Petersen
  Cc: Christoph Hellwig, James Bottomley, Bart van Assche, linux-scsi,
	Hannes Reinecke

From: Hannes Reinecke <hare@suse.com>

the SCSI blacklist handling seems to be rather tricky issue;
everytime a fix is included it tends to break other devices.
This patchset attempt to simplify the devlist handling yet again,
but this time implementing the framework for regression testing, too.
A patch adding a regression test to the blktest suite will follow.

As usual, comments and reviews are welcome.

Changes to v1:
- Implement exact match for vendor string as suggested by Bart
- Straigten out issues pointed out by Alan Stern
- Reshuffle patches

Changes to v2:
- Simplify code as indicated by Alan Stern
- Display blacklist flags verbatim
- Reformat blacklist flags definition for better readability

Changes to v3:
- Add reviews from Alan Stern
- Generate blacklist flag definitions
- Include reviews from Martin Petersen

Changes to v4:
- Add reviews from Bart
- Rework blacklist flag string generation

Hannes Reinecke (5):
  scsi_debug: allow to specify inquiry vendor and model
  scsi: Export blacklist flags to sysfs
  scsi_devinfo: Reformat blacklist flags
  scsi_devinfo: Whitespace fixes
  scsi_devinfo: fixup string compare

 drivers/scsi/Makefile       |  8 +++++
 drivers/scsi/scsi_debug.c   | 25 ++++++++++-----
 drivers/scsi/scsi_devinfo.c | 67 ++++++++++++++++++++-------------------
 drivers/scsi/scsi_scan.c    |  1 +
 drivers/scsi/scsi_sysfs.c   | 40 ++++++++++++++++++++++++
 include/scsi/scsi_devinfo.h | 76 +++++++++++++++++++++++++++++----------------
 6 files changed, 151 insertions(+), 66 deletions(-)

-- 
2.12.3

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2017-09-26 16:11 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-09-22  6:04 [PATCHv5 0/5] scsi: Fixup blacklist handling Hannes Reinecke
2017-09-22  6:04 ` [PATCHv5 1/5] scsi_debug: allow to specify inquiry vendor and model Hannes Reinecke
2017-09-24 16:43   ` Douglas Gilbert
2017-09-22  6:04 ` [PATCHv5 2/5] scsi: Export blacklist flags to sysfs Hannes Reinecke
2017-09-23 23:22   ` kbuild test robot
2017-09-26 16:11   ` Bart Van Assche
2017-09-22  6:04 ` [PATCHv5 3/5] scsi_devinfo: Reformat blacklist flags Hannes Reinecke
2017-09-22  6:04 ` [PATCHv5 4/5] scsi_devinfo: Whitespace fixes Hannes Reinecke
2017-09-22  6:04 ` [PATCHv5 5/5] scsi_devinfo: fixup string compare Hannes Reinecke

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox