summaryrefslogtreecommitdiff
path: root/include/target
diff options
context:
space:
mode:
authorHannes Reinecke <hare@suse.de>2013-12-17 12:18:44 +0400
committerNicholas Bellinger <nab@linux-iscsi.org>2013-12-17 22:33:58 +0400
commit1e0b9403bd2e77006ae8dcdf279c0f30c7efc258 (patch)
tree83958d62dfff14470cadaa53aef2d12a1ed52712 /include/target
parentbb91c1a087ed29ceb5b25b9c210c6665e13c36eb (diff)
downloadlinux-1e0b9403bd2e77006ae8dcdf279c0f30c7efc258.tar.xz
target_core_alua: Allocate ALUA metadata on demand
We should only allocate ALUA metadata if we're actually going to write them. Signed-off-by: Hannes Reinecke <hare@suse.de> Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Diffstat (limited to 'include/target')
-rw-r--r--include/target/target_core_base.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/include/target/target_core_base.h b/include/target/target_core_base.h
index d6f96c735309..bf9a4d6c26da 100644
--- a/include/target/target_core_base.h
+++ b/include/target/target_core_base.h
@@ -291,9 +291,6 @@ struct t10_alua_tg_pt_gp {
int tg_pt_gp_implicit_trans_secs;
int tg_pt_gp_pref;
int tg_pt_gp_write_metadata;
- /* Used by struct t10_alua_tg_pt_gp->tg_pt_gp_md_buf_len */
-#define ALUA_MD_BUF_LEN 1024
- u32 tg_pt_gp_md_buf_len;
u32 tg_pt_gp_members;
atomic_t tg_pt_gp_alua_access_state;
atomic_t tg_pt_gp_ref_cnt;