Evaluate TPGS setting for ALUA device handler
cover Evaluate TPGS setting for ALUA device handler
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.
Signature · 8 lines
Dr. Hannes Reinecke zSeries & Storage [email protected] +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 [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
Quoted 10 lines · Hannes Reinecke
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_aluaand 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_devicestructure.
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.
Quoted 1 line
From there
target_core_modPR and ALUA fabric against OpenFCoE target
ports and all sorts of Linux Cluster clients is not too far away.
:-)
--nab
Quoted 2 lines
Signed-off-by Hannes Reinecke <[email protected]>