Hi Nic, I've finally bitten the bullet and implemented referrals support for TCM. It has been on my to-do list for a long time, but finally I've gotten around to actually _do_ anything about it. TCM now will enable referrals support when an appropriate map is being fed into 'lba_map'. Format there is: <segment size> <segment multiplier> <start lba> <end lba> <pgX:stateY> ... <pgN:stateM> ... <pgX> is the number of the first target port group, <stateY> is a character denominating the ALUA access state: 'O' for 'Active/Optimized', 'A' for 'Active/Non-Optimized', 'S' for 'Standby', and 'U' for 'Unavailable'. For further details see SBC-3, Section 'Referrals'. Yes, I know, it's far from perfect and violates the 'one item per attribute' rule. But breaking this down into several attributes and ensure the update is done consistently _and_ atomically is beyond my configfs skills. So there. Hannes Reinecke (2): target_core_alua: Referrals infrastructure target_core_alua: Referrals configfs integration drivers/target/target_core_alua.c | 252 +++++++++++++++++++++++++++++++++ drivers/target/target_core_alua.h | 12 +- drivers/target/target_core_configfs.c | 183 +++++++++++++++++++++++- drivers/target/target_core_device.c | 3 + drivers/target/target_core_sbc.c | 5 +- drivers/target/target_core_spc.c | 20 +++ drivers/target/target_core_transport.c | 28 +++- include/scsi/scsi.h | 1 + include/target/target_core_base.h | 18 +++ 9 files changed, 517 insertions(+), 5 deletions(-) -- 1.7.12.4 -- 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