linux-scsi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCHv2 00/20] asynchronous ALUA device handler
@ 2015-07-08  9:05 Hannes Reinecke
  2015-07-08  9:05 ` [PATCH 01/20] scsi_dh_alua: Disable ALUA handling for non-disk devices Hannes Reinecke
                   ` (19 more replies)
  0 siblings, 20 replies; 38+ messages in thread
From: Hannes Reinecke @ 2015-07-08  9:05 UTC (permalink / raw)
  To: James Bottomley
  Cc: Christoph Hellwig, linux-scsi, Martin K. Petersen,
	Bart van Assche, Hannes Reinecke

Hi all,

here is an update to the ALUA device handler. The main
features are:

- Topology discovery: the device handler creates a separate
  port_group structure, which is used to update all paths to
  the same port group. With that we achieve a significant
  reduction of the number of RTPGs.
- Asynchronous state update: The ALUA state is now updated
  from a workqueue item, so all concurrent RTPG calls are
  coaleasced. The ALUA state update is also triggered by
  sense codes indicating an ALUA state change.
- Use the existing vpd page 0x83 to detect device IDs

The patchset is relative to the V3 version of the scsi_dh update.
The entire tree can be found at

kernel/hare/scsi-devel branch alua.v3

on git.kernel.org

As usual, reviews and comments are welcome.

Changes to v1:
  - Split off rtpg workqueue into separate items
  - User per-port workqueues
  - Incorporate review from Bart
  - Incorporate review from hch

Hannes Reinecke (20):
  scsi_dh_alua: Disable ALUA handling for non-disk devices
  scsi_dh_alua: Use vpd_pg83 information
  scsi_dh_alua: improved logging
  scsi_dh_alua: Improve error handling
  scsi: remove scsi_show_sense_hdr()
  scsi_dh_alua: use flag for RTPG extended header
  scsi_dh_alua: Pass buffer as function argument
  scsi_dh_alua: Make stpg synchronous
  scsi_dh_alua: switch to scsi_execute()
  scsi_dh_alua: put sense buffer on stack
  scsi_dh_alua: Use separate alua_port_group structure
  scsi_dh_alua: allocate RTPG buffer separately
  scsi_dh_alua: simplify sense code handling
  scsi_dh_alua: parse target device id
  revert "scsi_dh_alua: ALUA hander attach should succeed while TPG is
    transitioning"
  scsi_dh_alua: Use workqueue for RTPG
  scsi_dh_alua: Recheck state on unit attention
  scsi_dh_alua: update all port states
  scsi_dh_alua: Send TEST UNIT READY to poll for transitioning
  scsi_dh_alua: Update version to 2.0

 drivers/scsi/device_handler/scsi_dh_alua.c | 1231 ++++++++++++++++++----------
 include/scsi/scsi_dbg.h                    |    2 -
 2 files changed, 809 insertions(+), 424 deletions(-)

-- 
1.8.5.2


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

end of thread, other threads:[~2015-07-25 16:00 UTC | newest]

Thread overview: 38+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-07-08  9:05 [PATCHv2 00/20] asynchronous ALUA device handler Hannes Reinecke
2015-07-08  9:05 ` [PATCH 01/20] scsi_dh_alua: Disable ALUA handling for non-disk devices Hannes Reinecke
2015-07-08  9:06 ` [PATCH 02/20] scsi_dh_alua: Use vpd_pg83 information Hannes Reinecke
2015-07-08  9:06 ` [PATCH 03/20] scsi_dh_alua: improved logging Hannes Reinecke
2015-07-08  9:06 ` [PATCH 04/20] scsi_dh_alua: Improve error handling Hannes Reinecke
2015-07-24 14:48   ` Christoph Hellwig
2015-07-25 15:42     ` Hannes Reinecke
2015-07-08  9:06 ` [PATCH 05/20] scsi: remove scsi_show_sense_hdr() Hannes Reinecke
2015-07-08  9:06 ` [PATCH 06/20] scsi_dh_alua: use flag for RTPG extended header Hannes Reinecke
2015-07-08  9:06 ` [PATCH 07/20] scsi_dh_alua: Pass buffer as function argument Hannes Reinecke
2015-07-24 14:48   ` Christoph Hellwig
2015-07-08  9:06 ` [PATCH 08/20] scsi_dh_alua: Make stpg synchronous Hannes Reinecke
2015-07-24 14:51   ` Christoph Hellwig
2015-07-25 15:44     ` Hannes Reinecke
2015-07-08  9:06 ` [PATCH 09/20] scsi_dh_alua: switch to scsi_execute() Hannes Reinecke
2015-07-24 14:53   ` Christoph Hellwig
2015-07-25 15:44     ` Hannes Reinecke
2015-07-08  9:06 ` [PATCH 10/20] scsi_dh_alua: put sense buffer on stack Hannes Reinecke
2015-07-08  9:06 ` [PATCH 11/20] scsi_dh_alua: Use separate alua_port_group structure Hannes Reinecke
2015-07-24 14:58   ` Christoph Hellwig
2015-07-25 15:52     ` Hannes Reinecke
2015-07-08  9:06 ` [PATCH 12/20] scsi_dh_alua: allocate RTPG buffer separately Hannes Reinecke
2015-07-24 14:59   ` Christoph Hellwig
2015-07-08  9:06 ` [PATCH 13/20] scsi_dh_alua: simplify sense code handling Hannes Reinecke
2015-07-24 15:00   ` Christoph Hellwig
2015-07-08  9:06 ` [PATCH 14/20] scsi_dh_alua: parse target device id Hannes Reinecke
2015-07-24 15:07   ` Christoph Hellwig
2015-07-24 15:28     ` Martin K. Petersen
2015-07-25 16:00       ` Hannes Reinecke
2015-07-25 15:53     ` Hannes Reinecke
2015-07-08  9:06 ` [PATCH 15/20] revert "scsi_dh_alua: ALUA hander attach should succeed while TPG is transitioning" Hannes Reinecke
2015-07-08  9:06 ` [PATCH 16/20] scsi_dh_alua: Use workqueue for RTPG Hannes Reinecke
2015-07-24 15:21   ` Christoph Hellwig
2015-07-25 15:58     ` Hannes Reinecke
2015-07-08  9:06 ` [PATCH 17/20] scsi_dh_alua: Recheck state on unit attention Hannes Reinecke
2015-07-08  9:06 ` [PATCH 18/20] scsi_dh_alua: update all port states Hannes Reinecke
2015-07-08  9:06 ` [PATCH 19/20] scsi_dh_alua: Send TEST UNIT READY to poll for transitioning Hannes Reinecke
2015-07-08  9:06 ` [PATCH 20/20] scsi_dh_alua: Update version to 2.0 Hannes Reinecke

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).