diff options
author | Roland Dreier <roland@purestorage.com> | 2013-11-23 19:35:58 +0100 |
---|---|---|
committer | Nicholas Bellinger <nab@linux-iscsi.org> | 2013-12-11 19:59:45 +0100 |
commit | a51d5229d10dd3a337b674ce8603437d2996c5c3 (patch) | |
tree | a95dc5c926f418a1906fc454b6545ebdee163093 /include/target | |
parent | iscsi-target: return -EINVAL on oversized configfs parameter (diff) | |
download | linux-a51d5229d10dd3a337b674ce8603437d2996c5c3.tar.xz linux-a51d5229d10dd3a337b674ce8603437d2996c5c3.zip |
target: Remove write-only stats fields and lock from struct se_node_acl
Commit 04f3b31bff72 ("iscsi-target: Convert iscsi_session statistics to
atomic_long_t") removed the updating of these fields in iscsi (the only
fabric driver that ever touched these counters), and the core has no way
to report or otherwise use the values. Remove the last remnants of
these counters.
Signed-off-by: Roland Dreier <roland@purestorage.com>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Diffstat (limited to 'include/target')
-rw-r--r-- | include/target/target_core_base.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/include/target/target_core_base.h b/include/target/target_core_base.h index 45412a6afa69..9f1dda659c5a 100644 --- a/include/target/target_core_base.h +++ b/include/target/target_core_base.h @@ -517,10 +517,6 @@ struct se_node_acl { u32 acl_index; #define MAX_ACL_TAG_SIZE 64 char acl_tag[MAX_ACL_TAG_SIZE]; - u64 num_cmds; - u64 read_bytes; - u64 write_bytes; - spinlock_t stats_lock; /* Used for PR SPEC_I_PT=1 and REGISTER_AND_MOVE */ atomic_t acl_pr_ref_count; struct se_dev_entry **device_list; |