Hi all, here's the patchset to add an 'access_state' and 'preferred_path' attribute. It will display the access state of a path if a hardware handler is attached. The access_state is given in terms of SCSI ALUA, and the vendor-specific access state (eg for rdac or alua) are mapped onto the ALUA values. Additionally the 'is_visible' callback is updated to only display the attributes if they are supported. Hannes Reinecke (6): scsi: Add 'access_state' and 'preferred_path' attribute scsi_dh_alua: use common definitions for ALUA state scsi_dh_alua: update 'access_state' field scsi_dh_rdac: update 'access_state' field scsi_dh_emc: update 'access_state' field scsi_sysfs: call 'device_add' after attaching device handler drivers/scsi/device_handler/scsi_dh_alua.c | 106 +++++++++++++++++++---------- drivers/scsi/device_handler/scsi_dh_emc.c | 7 +- drivers/scsi/device_handler/scsi_dh_rdac.c | 38 +++++++++-- drivers/scsi/scsi_sysfs.c | 88 ++++++++++++++++++++++-- include/scsi/scsi_device.h | 1 + include/scsi/scsi_proto.h | 12 ++++ 6 files changed, 202 insertions(+), 50 deletions(-) -- 2.6.2 -- To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html