Update to version 20120726.
Major changes: - Introduce SIGHUP reloading. - The symlink device can be enabled by '--enable-symlink-device' configure option. - Fix the unknown error under some mutex condition. - Fix the wrong reservation key handling. - Use Clang as first choice compiler. - Use _GNU_SOURCE on linux platform. Current Limitations of SIGHUP support: - The parameters other than PG, IG, and LU are not reloaded by SIGHUP. - PG and IG mapped to LU can't be deleted by SIGHUP. - If you delete an active LU, all connections of the LU are closed by SIGHUP. - Can't modify LU by SIGHUP. - Updating IG is not affected until the next login.
This commit is contained in:
parent
b23a3ceeba
commit
bf2c754217
4 changed files with 21 additions and 7 deletions
13
net/istgt/MESSAGE
Normal file
13
net/istgt/MESSAGE
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
===========================================================================
|
||||||
|
$NetBSD: MESSAGE,v 1.1 2012/07/27 13:08:54 sborrill Exp $
|
||||||
|
|
||||||
|
Version 20120726 and later include support for SIGHUP to reload settings
|
||||||
|
with some limitations:
|
||||||
|
- The parameters other than PG, IG, and LU are not reloaded by SIGHUP.
|
||||||
|
- PG and IG mapped to LU can't be deleted by SIGHUP.
|
||||||
|
- If you delete an active LU, all connections of the LU are closed by
|
||||||
|
SIGHUP.
|
||||||
|
- Can't modify LU by SIGHUP.
|
||||||
|
- Updating IG is not affected until the next login.
|
||||||
|
|
||||||
|
===========================================================================
|
|
@ -1,7 +1,7 @@
|
||||||
# $NetBSD: Makefile,v 1.9 2011/12/02 08:46:18 sborrill Exp $
|
# $NetBSD: Makefile,v 1.10 2012/07/27 13:08:54 sborrill Exp $
|
||||||
#
|
#
|
||||||
|
|
||||||
DISTNAME= istgt-20111008
|
DISTNAME= istgt-20120726
|
||||||
CATEGORIES= net
|
CATEGORIES= net
|
||||||
MASTER_SITES= http://www.peach.ne.jp/archives/istgt/
|
MASTER_SITES= http://www.peach.ne.jp/archives/istgt/
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
$NetBSD: distinfo,v 1.6 2011/12/02 08:46:18 sborrill Exp $
|
$NetBSD: distinfo,v 1.7 2012/07/27 13:08:54 sborrill Exp $
|
||||||
|
|
||||||
SHA1 (istgt-20111008.tar.gz) = aa7bc47365763bddf82b4fcdffd659b2cb38a77c
|
SHA1 (istgt-20120726.tar.gz) = 3eb4d4f38897521e0ca9a58c46d0a2c8725c695f
|
||||||
RMD160 (istgt-20111008.tar.gz) = 53600cff38ae715edee533914eb5b91a6df8846e
|
RMD160 (istgt-20120726.tar.gz) = b8dfb211198130d2e922c5812ac1a26b7935f3fd
|
||||||
Size (istgt-20111008.tar.gz) = 235227 bytes
|
Size (istgt-20120726.tar.gz) = 263653 bytes
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
#!@RCD_SCRIPTS_SHELL@
|
#!@RCD_SCRIPTS_SHELL@
|
||||||
#
|
#
|
||||||
# $NetBSD: istgt.sh,v 1.1.1.1 2010/02/02 16:09:51 sborrill Exp $
|
# $NetBSD: istgt.sh,v 1.2 2012/07/27 13:08:54 sborrill Exp $
|
||||||
#
|
#
|
||||||
|
|
||||||
# PROVIDE: istgt
|
# PROVIDE: istgt
|
||||||
|
@ -13,6 +13,7 @@ rcvar=$name
|
||||||
command="@PREFIX@/bin/${name}"
|
command="@PREFIX@/bin/${name}"
|
||||||
pidfile="/var/run/${name}.pid"
|
pidfile="/var/run/${name}.pid"
|
||||||
required_files="@PKG_SYSCONFDIR@/istgt.conf"
|
required_files="@PKG_SYSCONFDIR@/istgt.conf"
|
||||||
|
extra_commands="reload"
|
||||||
|
|
||||||
load_rc_config $name
|
load_rc_config $name
|
||||||
run_rc_command "$1"
|
run_rc_command "$1"
|
||||||
|
|
Loading…
Reference in a new issue