linux_dsm_epyc7002/drivers/target/tcm_fc
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
..
Kconfig [SCSI] tcm_fc: Adding FC_FC4 provider (tcm_fc) for FCoE target (TCM - target core) support 2011-05-17 10:52:46 +04:00
Makefile tcm_fc: Makefile cleanups 2011-07-22 09:37:47 +00:00
tcm_fc.h target: Move task tag into struct se_cmd + support 64-bit tags 2015-05-30 22:42:31 -07:00
tfc_cmd.c target: target_core_configfs.h is not needed in fabric drivers 2015-05-30 22:42:39 -07:00
tfc_conf.c target: Convert se_tpg->acl_node_lock to ->acl_node_mutex 2015-06-01 00:24:44 -07:00
tfc_io.c target: target_core_configfs.h is not needed in fabric drivers 2015-05-30 22:42:39 -07:00
tfc_sess.c target: target_core_configfs.h is not needed in fabric drivers 2015-05-30 22:42:39 -07:00