diff options
author | Chris Leech <cleech@redhat.com> | 2015-02-03 16:28:15 -0800 |
---|---|---|
committer | Mike Christie <michaelc@cs.wisc.edu> | 2015-03-02 00:41:57 -0600 |
commit | 63d086c9cb84b881e13ce8a5b4ddb80234948258 (patch) | |
tree | d21edfa0f47fea78c6179758af4beeedea6d5e36 /sysfs-documentation | |
parent | c02b558f58e6b34f2c3e298e7552ac829a554d11 (diff) | |
download | open-iscsi-63d086c9cb84b881e13ce8a5b4ddb80234948258.tar.gz |
iscsid safe session logout
Implement a safe logout option, which uses libmount from util-linux to
check for active mounts (and swaps) over devices, their partitions, and
any holders (like LVM and multipath device maps). When enabled iscsid
will refuse to logout of sessions actively being used for mounts,
returning a status of EBUSY to the ipc request.
I've made it a configuration option (iscsid.safe_logout) that defaults
to "No" to preserve the existing behavior as the default, while making
it available for users that prefer a safety check.
This does add a new dependency on libmount.
Signed-off-by: Chris Leech <cleech@redhat.com>
Diffstat (limited to 'sysfs-documentation')
0 files changed, 0 insertions, 0 deletions