|
Revision tags: release/13.4.0-p5, release/13.5.0-p1, release/14.2.0-p3, release/13.5.0, release/14.2.0-p2, release/14.1.0-p8, release/13.4.0-p4, release/14.1.0-p7, release/14.2.0-p1, release/13.4.0-p3, release/14.2.0, release/13.4.0, release/14.1.0, release/13.3.0, release/14.0.0 |
|
| #
d0b2dbfa |
| 16-Aug-2023 |
Warner Losh <[email protected]> |
Remove $FreeBSD$: one-line sh pattern
Remove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/
|
|
Revision tags: release/13.2.0, release/12.4.0, release/13.1.0 |
|
| #
fa255ab1 |
| 22-Dec-2021 |
John Baldwin <[email protected]> |
ctld: Disable -Wcast-align warnings.
clang complains about the downcasts from struct connection to struct ctld_connection as the alignment of struct ctld_connection is higher on 32-bit platforms. H
ctld: Disable -Wcast-align warnings.
clang complains about the downcasts from struct connection to struct ctld_connection as the alignment of struct ctld_connection is higher on 32-bit platforms. However, the warning is in this case harmless as the downcasts are on objects originally allocated as instances of struct ctld_connection with suitable alignment.
Reported by: npn, gjb Fixes: 6378393308bc Add an internal libiscsiutil library. Sponsored by: Chelsio Communications
show more ...
|
| #
63783933 |
| 22-Dec-2021 |
John Baldwin <[email protected]> |
Add an internal libiscsiutil library.
Move some of the code duplicated between ctld(8) and iscsid(8) into a libiscsiutil library.
Sharing the low-level PDU code did require having a 'struct connect
Add an internal libiscsiutil library.
Move some of the code duplicated between ctld(8) and iscsid(8) into a libiscsiutil library.
Sharing the low-level PDU code did require having a 'struct connection' base class with a method table to permit separate initiator vs target behavior (e.g. in handling proxy PDUs).
Reviewed by: mav, emaste Sponsored by: Chelsio Communications Differential Revision: https://reviews.freebsd.org/D33544
show more ...
|
|
Revision tags: release/12.3.0 |
|
| #
c42e9af5 |
| 19-Jun-2021 |
Emmanuel Vadot <[email protected]> |
pkgbase: Move ctld/ctladm to iscsi package
While here only compile both of them if WITH_ISCSI is set (this is the default).
Reviewed by: emaste Differential Revision: https://reviews.freebsd.org/D3
pkgbase: Move ctld/ctladm to iscsi package
While here only compile both of them if WITH_ISCSI is set (this is the default).
Reviewed by: emaste Differential Revision: https://reviews.freebsd.org/D30755 Sponsored by: Diablotin Systems
show more ...
|
|
Revision tags: release/13.0.0, release/12.2.0 |
|
| #
7cc42f6d |
| 01-Oct-2020 |
Kyle Evans <[email protected]> |
Do a sweep and remove most WARNS=6 settings
Repeating the default WARNS here makes it slightly more difficult to experiment with default WARNS changes, e.g. if we did something absolutely bananas an
Do a sweep and remove most WARNS=6 settings
Repeating the default WARNS here makes it slightly more difficult to experiment with default WARNS changes, e.g. if we did something absolutely bananas and introduced a WARNS=7 and wanted to try lifting the default to that.
Drop most of them; there is one in the blake2 kernel module, but I suspect it should be dropped -- the default WARNS in the rest of the build doesn't currently apply to kernel modules, and I haven't put too much thought into whether it makes sense to make it so.
show more ...
|
|
Revision tags: release/11.4.0, release/12.1.0 |
|
| #
58aad230 |
| 10-Sep-2019 |
Baptiste Daroussin <[email protected]> |
Stop linking to libl by specifying we do not need yywrap
MFC after: 3 days
|
|
Revision tags: release/11.3.0, release/12.0.0, release/11.2.0 |
|
| #
8951f055 |
| 10-May-2018 |
Marcelo Araujo <[email protected]> |
Rework CTL frontend & backend options to use nv(3), allow creating multiple ioctl frontend ports.
This revision introduces two changes to CTL: - Changes the way options are passed to CTL_LUN_REQ and
Rework CTL frontend & backend options to use nv(3), allow creating multiple ioctl frontend ports.
This revision introduces two changes to CTL: - Changes the way options are passed to CTL_LUN_REQ and CTL_PORT_REQ ioctls. Removes ctl_be_arg structure and associated logic and replaces it with nv(3)-based logic for passing in and out arguments. - Allows creating multiple ioctl frontend ports using either ctladm(8) or ctld(8). New frontend ports are represented by /dev/cam/ctl<pp>.<vp> nodes, eg /dev/cam/ctl5.3. Those device nodes respond only to CTL_IO ioctl.
New command-line options for ctladm: # creates new ioctl frontend port with using free pp and vp=0 ctladm port -c # creates new ioctl frontend port with pp=10 and vp=0 ctladm port -c -O pp=10 # creates new ioctl frontend port with pp=11 and vp=12 ctladm port -c -O pp=11 -O vp=12 # removes port with number 4 (it's a "targ_port" number, not pp number) ctladm port -r -p 4
New syntax for ctl.conf: target ... { port ioctl/<pp> ... }
target ... { port ioctl/<pp>/<vp> ...
Note: Most of this work was made by jceel@, thank you.
Submitted by: jceel Reworked by: myself Reviewed by: mav (earlier versions and recently during the rework) Obtained from: FreeNAS and TrueOS Relnotes: Yes Sponsored by: iXsystems Inc. Differential Revision: https://reviews.freebsd.org/D9299
show more ...
|
|
Revision tags: release/10.4.0, release/11.1.0 |
|
| #
653e7d63 |
| 30-Mar-2017 |
Enji Cooper <[email protected]> |
Split iscsi(4) ctl frontend off of ctl(4) as cfiscsi(4)
The goal of this work is to remove the explicit dependency for ctl(4) on iscsi(4), so end-users without iscsi(4) support in the kernel can use
Split iscsi(4) ctl frontend off of ctl(4) as cfiscsi(4)
The goal of this work is to remove the explicit dependency for ctl(4) on iscsi(4), so end-users without iscsi(4) support in the kernel can use ctl(4) for its other functions.
This allows those without iscsi(4) support built into the kernel to use ctl(4) as a test mechanism. As a sidenote, this was possible around the 10.0-RELEASE period, but made impossible for end-users without iscsi(4) between 10.0-RELEASE and 11.0-RELEASE.
Automatically load cfiscsi(4) from ctladm(8) and ctld(8) for backwards compatibility with previously releases. The automatic loading feature is compiled into the beforementioned tools if MK_ISCSI == yes when building world.
Add a manpage for cfiscsi(4) and refer to it in ctl(4).
Differential Revision: D10099 MFC after: 2 months Relnotes: yes Reviewed by: mav, trasz Sponsored by: Dell EMC Isilon
show more ...
|
| #
f040054c |
| 27-Mar-2017 |
Enji Cooper <[email protected]> |
Allow WARNS to be overridden by the end-user
MFC after: 3 days Sponsored by: Dell EMC Isilon
|
| #
64a0982b |
| 04-Mar-2017 |
Enji Cooper <[email protected]> |
usr.sbin: normalize paths using SRCTOP-relative paths or :H when possible
This simplifies make logic/output
MFC after: 1 month Sponsored by: Dell EMC Isilon
|
|
Revision tags: release/11.0.1, release/11.0.0, release/10.3.0 |
|
| #
5c734b04 |
| 03-Feb-2016 |
Jakub Wojciech Klama <[email protected]> |
Add an additional, libucl-based configuration file parser to ctld.
Default ctld behavior remains unchanged - libucl parser can be selected explicitly by adding -u switch to ctld command line.
Revie
Add an additional, libucl-based configuration file parser to ctld.
Default ctld behavior remains unchanged - libucl parser can be selected explicitly by adding -u switch to ctld command line.
Reviewed by: trasz Approved by: trasz (mentor) MFC after: 1 month Relnotes: yes Sponsored by: iXsystems, Inc. Differential Revision: https://reviews.freebsd.org/D4534
show more ...
|
|
Revision tags: release/10.2.0 |
|
| #
424a3f57 |
| 03-Jul-2015 |
Edward Tomasz Napierala <[email protected]> |
Remove OpenSSL dependency from iscsid(8) and ctld(8).
Differential Revision: https://reviews.freebsd.org/D2866 Submitted by: Tony Morlan <tony at scroner.com> (earlier version) Reviewed by: bapt@, d
Remove OpenSSL dependency from iscsid(8) and ctld(8).
Differential Revision: https://reviews.freebsd.org/D2866 Submitted by: Tony Morlan <tony at scroner.com> (earlier version) Reviewed by: bapt@, delphij@ MFC after: 1 month Sponsored by: The FreeBSD Foundation
show more ...
|
| #
c6db8143 |
| 25-Nov-2014 |
Baptiste Daroussin <[email protected]> |
Convert usr.sbin to LIBADD Reduce overlinking
|
|
Revision tags: release/10.1.0 |
|
| #
aed31534 |
| 08-Nov-2014 |
Edward Tomasz Napierala <[email protected]> |
ctld(8) doesn't require -lcam or -lssl; remove those from DPADD and LDADD.
MFC after: 1 month Sponsored by: The FreeBSD Foundation
|
| #
829603e2 |
| 25-Oct-2014 |
Alexander Motin <[email protected]> |
Add basic iSNS client to the iSCSI target.
This makes ctld(8) register its iSCSI targets and portals on configured iSNS servers to allow initiators find them without active discovery.
Fetching of a
Add basic iSNS client to the iSCSI target.
This makes ctld(8) register its iSCSI targets and portals on configured iSNS servers to allow initiators find them without active discovery.
Fetching of allowed initiators from iSNS is not implemented now, so target ACLs still should be configured manually.
Reviewed by: trasz@ MFC after: 1 month Sponsored by: iXsystems, Inc.
show more ...
|
| #
45078155 |
| 22-Oct-2014 |
Edward Tomasz Napierala <[email protected]> |
Untangle iSCSI authentication code by splitting off the CHAP implementation.
Reviewed by: mav@ MFC after: 1 month Sponsored by: The FreeBSD Foundation
|
| #
b7ca8162 |
| 19-Aug-2014 |
Enji Cooper <[email protected]> |
Add missing libraries to DPADD; sort DPADD so DPADD and LDADD match up
This fixes "make checkdpadd"
Approved by: jmmv (mentor) MFC after: 2 weeks Phabric: D630 PR: 192765
|
|
Revision tags: release/9.3.0, release/10.0.0, release/9.2.0 |
|
| #
009ea47e |
| 14-Sep-2013 |
Edward Tomasz Napierala <[email protected]> |
Bring in the new iSCSI target and initiator.
Reviewed by: ken (parts) Approved by: re (delphij) Sponsored by: FreeBSD Foundation
|