linux/drivers/scsi/qla2xxx
Nicholas Bellinger 7474f52a82 tcm_qla2xxx: Perform configfs depend/undepend for base_tpg
This patch performs configfs_depend_item() during TPG enable for
base_tpg (eg: non-NPIV) ports, and configfs_undepend_item() during
TPG disable for base_tpg.

This is done to ensure that any attempt to configfs rmdir a base_tpg
with active NPIV ports will fail with -EBUSY, until all associated
NPIV ports have been explicitly shutdown and base_tpg disabled.

Note that the actual configfs_[un]depend_item() is done from seperate
process context, as these are not intended to be called directly
from configfs callbacks.

Cc: Sawan Chandak <sawan.chandak@qlogic.com>
Cc: Quinn Tran <quinn.tran@qlogic.com>
Cc: Saurav Kashyap <saurav.kashyap@qlogic.com>
Cc: Giridhar Malavali <giridhar.malavali@qlogic.com>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
2014-02-20 13:01:17 -08:00
..
Kconfig [SCSI] qla2xxx: Update firmware link in Kconfig file. 2013-05-10 07:47:53 -07:00
Makefile [SCSI] qla2xxx: Add support for ISP8044. 2013-09-03 07:28:00 -07:00
qla_attr.c Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/nab/target-pending 2014-01-31 15:31:23 -08:00
qla_bsg.c [SCSI] qla2xxx: Add BSG interface for read/write serdes register. 2013-12-19 07:38:58 -08:00
qla_bsg.h [SCSI] qla2xxx: Add BSG interface for read/write serdes register. 2013-12-19 07:38:58 -08:00
qla_dbg.c [SCSI] qla2xxx: Add changes to obtain ISPFX00 adapters product information in accordance with firmware update. 2013-12-19 07:38:59 -08:00
qla_dbg.h [SCSI] qla2xxx: Update the copyright information. 2013-02-22 12:49:22 +00:00
qla_def.h Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/nab/target-pending 2014-01-31 15:31:23 -08:00
qla_devtbl.h [SCSI] qla2xxx: fix Kernel Panic with Qlogic 2472 Card. 2009-02-10 11:15:18 -05:00
qla_dfs.c [SCSI] qla2xxx: Update the copyright information. 2013-02-22 12:49:22 +00:00
qla_fw.h [SCSI] qla2xxx: Add support for ISP8044. 2013-09-03 07:28:00 -07:00
qla_gbl.h [SCSI] qla2xxx: Fix warning reported by smatch. 2013-12-19 07:39:03 -08:00
qla_gs.c [SCSI] qla2xxx: Add missing FCP statistics to sysfs interface. 2013-09-03 07:28:04 -07:00
qla_init.c [SCSI] qla2xxx: Honor execute firmware failures. 2013-12-19 07:38:56 -08:00
qla_inline.h [SCSI] Revert "qla2xxx: Ramp down queue depth for attached SCSI devices when driver resources are low." 2013-12-19 07:38:57 -08:00
qla_iocb.c [SCSI] qla2xxx: Add missing FCP statistics to sysfs interface. 2013-09-03 07:28:04 -07:00
qla_isr.c [SCSI] qla2xxx: Only complete dcbx_comp and lb_portup_comp for virtual port index 0. 2013-12-19 07:39:00 -08:00
qla_mbx.c [SCSI] qla2xxx: Add BSG interface for read/write serdes register. 2013-12-19 07:38:58 -08:00
qla_mid.c [SCSI] qla2xxx: Correct multiqueue offset calculations. 2013-09-03 07:28:01 -07:00
qla_mr.c [SCSI] qla2xxx: Add changes to obtain ISPFX00 adapters product information in accordance with firmware update. 2013-12-19 07:38:59 -08:00
qla_mr.h [SCSI] qla2xxx: Replace a constant with a macro definition for host->canqueue assigmnment. 2013-12-19 07:39:01 -08:00
qla_nx2.c Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial 2014-01-22 21:21:55 -08:00
qla_nx2.h [SCSI] qla2xxx: Add support for ISP8044. 2013-09-03 07:28:00 -07:00
qla_nx.c [SCSI] qla2xxx: Fix warning reported by smatch. 2013-12-19 07:39:03 -08:00
qla_nx.h [SCSI] qla2xxx: Add support for ISP8044. 2013-09-03 07:28:00 -07:00
qla_os.c [SCSI] qla2xxx: Fix warning reported by smatch. 2013-12-19 07:39:03 -08:00
qla_settings.h [SCSI] qla2xxx: Update the copyright information. 2013-02-22 12:49:22 +00:00
qla_sup.c [SCSI] qla2xxx: Correction to message ids. 2013-09-03 07:28:07 -07:00
qla_target.c qla2xxx: Check + fail when npiv_vports_inuse exists in shutdown 2014-02-20 13:01:17 -08:00
qla_target.h qla2xxx: Check + fail when npiv_vports_inuse exists in shutdown 2014-02-20 13:01:17 -08:00
qla_version.h [SCSI] qla2xxx: Update the driver version to 8.06.00.12-k. 2013-12-19 07:39:01 -08:00
tcm_qla2xxx.c tcm_qla2xxx: Perform configfs depend/undepend for base_tpg 2014-02-20 13:01:17 -08:00
tcm_qla2xxx.h tcm_qla2xxx: Perform configfs depend/undepend for base_tpg 2014-02-20 13:01:17 -08:00