public inbox for linux-scsi@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 00/10] scsi_dh: Move hardware handlers from dm to SCSI
@ 2008-05-01 21:49 Chandra Seetharaman
  2008-05-01 21:49 ` [PATCH 01/10] scsi_dh: add infrastructure for SCSI Device Handlers Chandra Seetharaman
                   ` (9 more replies)
  0 siblings, 10 replies; 13+ messages in thread
From: Chandra Seetharaman @ 2008-05-01 21:49 UTC (permalink / raw)
  To: linux-scsi
  Cc: dm-devel, andmike, michaelc, agk, James.Bottomley, jens.axboe,
	dwysocha, Benoit_Arthur, asson_ronald, Chandra Seetharaman

Hello,

This is the latest version of the patchset that was posted on Apr 17:
http://marc.info/?l=linux-scsi&m=120847097122545&w=2

Following are the changes made since last post:
  Based on Alasdair's comments:
    - Split the dm-mpath patch into 4 patches to enhance readabilty
    - Added comments to patch header and inline
    - Added an interface scsi_dh_handler_exist() and used it
      to verify the availability of a hardware handler
    - Do not accept arguments with the hardware handler parameter
    - Make the workqueue single threaded, and change its name
    - removed the usage of path_to_activate and used an existing field
    -renamed activate_passive_path to activate_path
    - Bring back the pg_init_retries.
  Others:
    - Added additional devices to the device list
    - removed few erroneous BUG assertions
    - Fixed an erroneous return code from scsi_dh_rdac.c.

This patch set applies on 2.6.25-mm1.

This patch set has been tested on a DS4800.

Testing has been done earlier with the following storage devices:
 - IBM DS4800 storage device for the lsi_rdac hardware handler
 - HP storage device for the hp_sw hardware handler.
   Thanks to Dave(dwysocha@redhat.com)
 - EMC storage device for the EMC hardware handler.
   Thanks to Arthur(Benoit_Arthur@emc.com) and Ronald(asson_ronald@emc.com)
In effect all hardware handlers are tested.

-------------------- Comment from Patch 01/10 ---------------------
Some of the storage devices (that can be accessed through multiple paths),
do need some special handling for
	1. Activating the passive path of the storage access.
	2. Decode and handle the special sense codes returned by the devices.
	3. Handle the I/Os being sent to the passive path, especially
           during the device probe time.
when accessed through multiple paths.

As of today this special device handling is done at the dm-multipath
layer using dm-handlers. That works well for (1); for (2) to be handled
at dm layer, scsi sense information need to be exported from SCSI to dm-layer,
which is not very attractive; (3) cannot be done at all at the dm layer.

Device handler has been moved to SCSI mainly to handle (2) and (3) properly.
----------------------

Thanks,

chandra


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

end of thread, other threads:[~2008-05-03  0:00 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-05-01 21:49 [PATCH 00/10] scsi_dh: Move hardware handlers from dm to SCSI Chandra Seetharaman
2008-05-01 21:49 ` [PATCH 01/10] scsi_dh: add infrastructure for SCSI Device Handlers Chandra Seetharaman
2008-05-01 21:49 ` [PATCH 02/10] scsi_dh: add lsi rdac device handler Chandra Seetharaman
2008-05-01 21:49 ` [PATCH 03/10] scsi_dh: add hp sw " Chandra Seetharaman
2008-05-01 21:50 ` [PATCH 04/10] scsi_dh: add EMC Clariion " Chandra Seetharaman
2008-05-01 21:50 ` [PATCH 05/10] scsi_dh: Use SCSI device handler in dm-multipath Chandra Seetharaman
2008-05-01 21:50 ` [PATCH 06/10] scsi_dh: Do not allow arguments for hardware handlers Chandra Seetharaman
2008-05-02 22:47   ` Alasdair G Kergon
2008-05-03  0:01     ` [dm-devel] " Chandra Seetharaman
2008-05-01 21:50 ` [PATCH 07/10] scsi_dh: Add a single threaded workqueue for initializing paths Chandra Seetharaman
2008-05-01 21:50 ` [PATCH 08/10] scsi_dh: Remove dm_pg_init_complete Chandra Seetharaman
2008-05-01 21:50 ` [PATCH 09/10] scsi_dh: Remove hardware handlers from dm Chandra Seetharaman
2008-05-01 21:50 ` [PATCH 10/10] scsi_dh: Remove hardware handler infrastructure " Chandra Seetharaman

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