target_core_alua: Referrals infrastructure
authorHannes Reinecke <hare@suse.de>
Tue, 17 Dec 2013 08:18:49 +0000 (09:18 +0100)
committerNicholas Bellinger <nab@linux-iscsi.org>
Fri, 10 Jan 2014 05:48:17 +0000 (21:48 -0800)
commitc66094bf325ee406b92298d73089ee25484a0263
treecfa2fb231dbd3e120ad2d75f96c250c24233978a
parentfbfe858fea2a45df6339eb03dd1715b51f1bdc92
target_core_alua: Referrals infrastructure

Add infrastructure for referrals.

v2 changes:

 - Fix unsigned long long division in core_alua_state_lba_dependent on
   32-bit  (Fengguang + Chen + Hannes)
 - Fix compile warning in core_alua_state_lba_dependent (nab)
 - Convert segment_* + sectors variables in core_alua_state_lba_dependent
   to u64 (Hannes)

Signed-off-by: Hannes Reinecke <hare@suse.de>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
drivers/target/target_core_alua.c
drivers/target/target_core_alua.h
drivers/target/target_core_configfs.c
drivers/target/target_core_device.c
drivers/target/target_core_sbc.c
drivers/target/target_core_spc.c
include/scsi/scsi.h
include/target/target_core_base.h