1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-01 12:19:28 +00:00
freebsd/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 Run make sysent. 2015-01-23 21:08:24 +00:00
conf Build the powerpc64 kernel as a position-independent executable. At startup, 2015-01-31 19:16:51 +00:00
contrib Add missing linuxapi module dependencies and always use the FreeBSD 2015-01-19 21:53:00 +00:00
crypto Add some new modes to OpenCrypto. These modes are AES-ICM (can be used 2014-12-12 19:56:36 +00:00
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 Add devd(8) notifications for creation and destruction of GEOM devices. 2015-01-14 11:15:57 +00:00
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 Improve the distribution of LAGG port traffic. 2015-01-23 00:06:35 +00:00
net80211 Switch around the order of static inline to be in line with how it's 2015-01-11 18:43:45 +00:00
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 Refactor / restructure the RSS code into generic, IPv4 and IPv6 specific 2015-01-18 18:06:40 +00:00
netipsec key_spdget uses key_setdumpsp() without SPTREE_RLOCK held (it uses 2015-01-27 17:46:55 +00:00
netnatm
netpfil Back out r276841, r276756, r276747, r276746. The change in r276747 is very 2015-01-22 01:23:16 +00:00
netsmb
nfs Remove the old NFS client and server from head, 2014-12-23 00:47:46 +00:00
nfsclient Remove the old NFS client and server from head, 2014-12-23 00:47:46 +00:00
nfsserver Use M_SIZE() instead of hand-crafted (and mostly correct) NFSMSIZ() macro 2015-01-07 17:22:56 +00:00
nlm
ofed Revert for r277213: 2015-01-22 11:12:42 +00:00
opencrypto Add some new modes to OpenCrypto. These modes are AES-ICM (can be used 2014-12-12 19:56:36 +00:00
pc98 Factor out duplicated code from dumpsys() on each architecture into generic 2015-01-07 01:01:39 +00:00
powerpc Do not qualify the mcontext_t *mcp argument for set_mcontext(9) as 2015-01-31 21:43:46 +00:00
rpc Add facility to stop all userspace processes. The supposed use of the 2014-12-13 16:18:29 +00:00
security Adjust printf format specifiers for dev_t and ino_t in kernel. 2014-12-17 07:27:19 +00:00
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 mdoc: improvements to SEE ALSO. 2014-12-27 07:07:37 +00:00
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 Pacify clang 3.3 by ending the file with a newline. This is common 2015-01-06 21:26:35 +00:00
Makefile