public inbox for linux-scsi@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] Evaluate TPGS setting for ALUA device handler
@ 2009-03-19  8:05 Hannes Reinecke
  2009-03-19 10:41 ` Nicholas A. Bellinger
  0 siblings, 1 reply; 2+ messages in thread
From: Hannes Reinecke @ 2009-03-19  8:05 UTC (permalink / raw)
  To: James Bottomley; +Cc: SCSI Mailing List

The ALUA device handler should only be attached if the 'TPGS' setting
in the inquiry structure indicates so. So we should be evaluating the
'tpgs' setting when trying to attach the ALUA device handler.
This way we can get rid of the explicit device table in scsi_dh_alua
and will support any ALUA capable device out-of-the-box.

This is a repost of the patchset send yesterday, including
the suggestions from James B. to just pull the tpgs setting
off the inquiry data instead of adding a new field in the
scsi_device structure.

Signed-off-by: Hannes Reinecke <hare@suse.de>
-- 
Dr. Hannes Reinecke		      zSeries & Storage
hare@suse.de			      +49 911 74053 688
SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg
GF: Markus Rex, HRB 16746 (AG Nürnberg)
--
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

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

* Re: [PATCH 0/2] Evaluate TPGS setting for ALUA device handler
  2009-03-19  8:05 [PATCH 0/2] Evaluate TPGS setting for ALUA device handler Hannes Reinecke
@ 2009-03-19 10:41 ` Nicholas A. Bellinger
  0 siblings, 0 replies; 2+ messages in thread
From: Nicholas A. Bellinger @ 2009-03-19 10:41 UTC (permalink / raw)
  To: Hannes Reinecke; +Cc: James Bottomley, SCSI Mailing List

On Thu, 2009-03-19 at 09:05 +0100, Hannes Reinecke wrote:
> The ALUA device handler should only be attached if the 'TPGS' setting
> in the inquiry structure indicates so. So we should be evaluating the
> 'tpgs' setting when trying to attach the ALUA device handler.
> This way we can get rid of the explicit device table in scsi_dh_alua
> and will support any ALUA capable device out-of-the-box.
> 
> This is a repost of the patchset send yesterday, including
> the suggestions from James B. to just pull the tpgs setting
> off the inquiry data instead of adding a new field in the
> scsi_device structure.

Hannes and co, these patches looks fine to me..   The plan on my side to
is start testing the scsi_dh_alua client changes againt the
lio-core-2.6.git implict ALUA logical unit group and target port group
bits for v2.6.30.  Getting the initial optimized <-> non optimize ALUA
state transitions up should be done in the next weeks for you to poke at
seriously against your scsi_dh_alua nodes using Open/iSCSI.  Also from
there the first explict ALUA using MO_SET_TARGET_PGS.

>From there target_core_mod PR and ALUA fabric against OpenFCoE target
ports and all sorts of Linux Cluster clients is not too far away.

:-)

--nab

> 
> Signed-off-by: Hannes Reinecke <hare@suse.de>


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

end of thread, other threads:[~2009-03-19 10:41 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-03-19  8:05 [PATCH 0/2] Evaluate TPGS setting for ALUA device handler Hannes Reinecke
2009-03-19 10:41 ` Nicholas A. Bellinger

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