freebsd-dev/sys
Alexander Motin 920c6cbadc CTL LUN mapping rewrite.
Replace iSCSI-specific LUN mapping mechanism with new one, working for any
ports.  By default all ports are created without LUN mapping, exposing all
CTL LUNs as before.  But, if needed, LUN mapping can be manually set on
per-port basis via ctladm.  For its iSCSI ports ctld does it via ioctl(2).
The next step will be to teach ctld to work with FibreChannel ports also.

Respecting additional flexibility of the new mechanism, ctl.conf now allows
alternative syntax for LUN definition.  LUNs can now be defined in global
context, and then referenced from targets by unique name, as needed.  It
allows same LUN to be exposed several times via multiple targets.

While there, increase limit for LUNs per target in ctld from 256 to 1024.
Some initiators do not support LUNs above 255, but that is not our problem.

Discussed with:	trasz
MFC after:	2 weeks
Relnotes:	yes
Sponsored by:	iXsystems, Inc.
2015-02-01 21:50:28 +00:00
..
amd64 Do not qualify the mcontext_t *mcp argument for set_mcontext(9) as 2015-01-31 21:43:46 +00:00
arm Remove a stale comment. The logic that deleted the map before other 2015-02-01 17:19:57 +00:00
boot Do not skip setting the memory 'reg' property if the fdt data already 2015-02-01 18:21:16 +00:00
bsm
cam CTL LUN mapping rewrite. 2015-02-01 21:50:28 +00:00
cddl Don't attempt to disable enabled fasttrap probes in an exiting process. 2015-01-30 05:03:23 +00:00
compat
conf Build the powerpc64 kernel as a position-independent executable. At startup, 2015-01-31 19:16:51 +00:00
contrib
crypto
ddb
dev Add a quirk to limit AHCI MSI vectors to one 2015-02-01 20:00:08 +00:00
fs Update directory times immediately after an entry is created or 2015-01-31 21:31:53 +00:00
gdb
geom
gnu
i386 Do not qualify the mcontext_t *mcp argument for set_mcontext(9) as 2015-01-31 21:43:46 +00:00
isa
kern The dependency chain for priority-inheritance mutexes could be 2015-01-31 12:27:40 +00:00
kgssapi
libkern Similar to r277901, fix more -Wcast-qual warnings in libkern's strtoq(), 2015-01-29 21:54:01 +00:00
mips Do not qualify the mcontext_t *mcp argument for set_mcontext(9) as 2015-01-31 21:43:46 +00:00
modules Add kobj interface between ICL and the rest of the iSCSI stack. 2015-01-31 07:49:50 +00:00
net
net80211
netgraph Fix a bunch of -Wcast-qual warnings in netgraph's ng_parse.c, by using 2015-01-30 21:59:53 +00:00
netinet Make syncookie_mac() use 'tcp_seq irs' in computing hash. 2015-01-30 17:29:07 +00:00
netinet6
netipsec key_spdget uses key_setdumpsp() without SPTREE_RLOCK held (it uses 2015-01-27 17:46:55 +00:00
netnatm
netpfil
netsmb
nfs
nfsclient
nfsserver
nlm
ofed
opencrypto
pc98
powerpc Do not qualify the mcontext_t *mcp argument for set_mcontext(9) as 2015-01-31 21:43:46 +00:00
rpc
security
sparc64 Do not qualify the mcontext_t *mcp argument for set_mcontext(9) as 2015-01-31 21:43:46 +00:00
sys Do not qualify the mcontext_t *mcp argument for set_mcontext(9) as 2015-01-31 21:43:46 +00:00
teken
tools
ufs When mounting SU-enabled mount point, wait until the softdep_flush() 2015-01-30 11:41:46 +00:00
vm Update mtime for tmpfs files modified through memory mapping. Similar 2015-01-28 10:37:23 +00:00
x86 Opt for performance over power-saving on Intel CPUs that have a 2015-01-29 20:41:42 +00:00
xdr
xen
Makefile