diff options
author | Nicholas Bellinger <nab@linux-iscsi.org> | 2014-02-20 00:53:07 (GMT) |
---|---|---|
committer | Nicholas Bellinger <nab@linux-iscsi.org> | 2014-02-20 21:01:17 (GMT) |
commit | 7474f52a82d51da2e6110e91bba8b000cb9cf803 (patch) | |
tree | 7ea5e1f43284aa10debb071398abd4c10178a956 /drivers/md/dm-mpath.h | |
parent | 394d62ba4580a74afc90bf0e007e10291bf447cc (diff) | |
download | linux-7474f52a82d51da2e6110e91bba8b000cb9cf803.tar.xz |
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>
Diffstat (limited to 'drivers/md/dm-mpath.h')
0 files changed, 0 insertions, 0 deletions