alistair23-linux/include/target
Nicholas Bellinger 403edd78a2 target: Convert se_tpg->acl_node_lock to ->acl_node_mutex
This patch converts se_tpg->acl_node_lock to struct mutex, so that
->acl_node_acl walkers in core_clear_lun_from_tpg() can block when
calling core_disable_device_list_for_node().

It also updates core_dev_add_lun() to hold ->acl_node_mutex when
calling core_tpg_add_node_to_devs() to build ->lun_entry_hlist
for dynamically generated se_node_acl.

Reviewed-by: Hannes Reinecke <hare@suse.de>
Cc: Christoph Hellwig <hch@lst.de>
Cc: Sagi Grimberg <sagig@mellanox.com>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
2015-06-01 00:24:44 -07:00
..
iscsi target: move node ACL allocation to core code 2015-05-30 22:42:23 -07:00
configfs_macros.h doc: fix broken references 2011-09-27 18:08:04 +02:00
target_core_backend.h target: Convert se_node_acl->device_list[] to RCU hlist 2015-06-01 00:23:46 -07:00
target_core_backend_configfs.h target: Drop left-over fabric_max_sectors attribute 2015-01-09 15:22:05 -08:00
target_core_base.h target: Convert se_tpg->acl_node_lock to ->acl_node_mutex 2015-06-01 00:24:44 -07:00
target_core_configfs.h target: remove struct target_fabric_configfs_template 2015-05-30 22:42:38 -07:00
target_core_fabric.h target: Convert se_portal_group->tpg_lun_list[] to RCU hlist 2015-06-01 00:24:33 -07:00
target_core_fabric_configfs.h target: Add target_show_dynamic_sessions attribute helper 2015-03-06 21:24:53 -08:00