| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
teardown, and new port creation during `service ctld restart`.
Close it by returning iSCSI port internal state, that allows to identify
dying ports, which should not be counted as existing, from really alive.
|
|
|
|
|
|
|
|
|
| |
Previously ISID was changed every time, that made impossible correct
persistent reservation, because reconnected session was identified as
completely new one.
Reviewed by: trasz
MFC after: 1 week
|
|
|
|
|
| |
ISID is an important part of initiator transport ID for iSCSI. It is not
used now, but should be to properly implement persistent reservation.
|
|
|
|
|
|
| |
PR: 185007
Submitted by: saper saper.info
MFC after: 3 days
|
|
|
|
|
|
| |
PR: 185007
Submitted by: saper saper.info
MFC after: 3 days
|
|
|
|
|
|
|
|
|
|
|
| |
Instead make ports provide wanted port and target IDs, and LUNs provide
wanted LUN IDs. After that core Device ID VPD code only had to link all
of them together and add relative port and port group numbers.
LUN ID for iSCSI LUNs no longer created by CTL, but by ctld, and passed
to CTL as "scsiname" LUN option. This makes LUNs to report the same set
of IDs, independently from the port through which it is accessed, as
required by SCSI specifications.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Having single port for all iSCSI connections makes problematic implementing
some more advanced SCSI functionality in CTL, that require proper ports
enumeration and identification.
This change extends CTL iSCSI API, making ctld daemon to control list of
iSCSI ports in CTL. When new target is defined in config fine, ctld will
create respective port in CTL. When target is removed -- port will be
also removed after all active commands through that port properly aborted.
This change require ctld to be rebuilt to match the kernel.
As a minor side effect, this allows to have iSCSI targets without LUNs.
While that may look odd and not very useful, that is not incorrect.
|
| |
|
|
|
|
| |
Leave old CTL_GET_PORT_LIST in place so far. Garbage-collect it later.
|
|
|
|
|
| |
The v1.0 virtio spec supports an extended size for guest/host
caps, but in practice 64-bits should last for a long time.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
partitions of types other than "freebsd-boot" (in particular, "efi").
This allows the removal of some nasty hacks for supporting PowerPC systems,
in particular aliasing freebsd-boot to apple-boot on APM and an IBM-specific
code on MBR.
This changes the installer to use the correct names, which also breaks a
degeneracy in the meaning of "freebsd-boot" that allows the addition
of support for some newer IBM systems that can boot from GPT in addition to
MBR. Since I have no idea how to detect which those systems are, leave
the default on IBM PPC systems as MBR for now.
|
|
|
|
|
|
| |
(those with rank of 1).
MFC after: 2 weeks
|
|
|
|
|
|
| |
Submitted by: luigi
Obtained from: Vincenzo Maffione, Universita` di Pisa
MFC after: 1 week
|
|
|
|
|
|
|
| |
As sc(4) and vt(4) coexist and are both enabled in GENERIC, the existence
of a vt(4) sysctl is not sufficient to determine that vt(4) is in use.
Reported by: Trond Endrestøl
|
|
|
|
|
| |
Add a test for the chown utility. This sets up chown(8) to be capable of being
tested. As such, only add one test for now as an example.
|
|
|
|
|
|
| |
idle time.
MFC after: 2 weeks
|
|
|
|
|
|
|
|
|
| |
retrieve the sensor temperature.
This also avoid the overflow that could happen on sysctlnametomib(3)
because the code was not checking the length of the mib array.
CID: 1222504
|
|
|
|
|
|
|
|
|
| |
Previuosly given 'foo,bar' members, removing 'foo' would result in an
infinite loop.
PR: 191427
Submitted by: Voradesh Yenbut <yenbut cs.washington.edu>
MFC after: 1 week
|
|
|
|
|
| |
Found with: Coverity Scan
CID: 1222502, 1222503
|
|
|
|
|
|
| |
is hard to reproduce so try to collect all the breadcrumbs when it happens.
Reviewed by: grehan
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
preprocessor macros that don't allow reproducible builds.
As a side-effect, the date string is now spec-compliant.
root@bhyve:~ # dmidecode
# dmidecode 2.12
SMBIOS 2.4 present.
12 structures occupying 514 bytes.
Table at 0x000F101F.
Handle 0x0001, DMI type 0, 24 bytes
BIOS Information
Vendor: BHYVE
Version: 1.0
Release Date: 03/14/2014
Submitted by: des (original version)
Reviewed by: tychon
MFC after: 1 week
|
|
|
|
|
|
|
|
| |
similar to -g.)
- Document -U to set the SMBIOS UUID.
- Add missing options to the usage output and to the manpage Synopsis.
- Don't claim that bvmdebug is amd64-only (it is also a device, not an
option).
|
|
|
|
|
|
|
|
| |
Without this fix some serial numbers needed to be quoted
to avoid the config parser bailing out.
Submitted by: delphij
Sponsored by: iXsystems
|
|
|
|
|
|
|
|
| |
Previously the sizes were inferred indirectly based on the size of the mappings
at 0 and 4GB respectively. This works fine as long as size of the allocation is
identical to the size of the mapping in the guest's address space. However, if
the mapping is disjoint then this assumption falls apart (e.g., due to the
legacy BIOS hole between 640KB and 1MB).
|
|
|
|
| |
the GNATS database, it will be going away soon.
|
|
|
|
|
|
|
|
|
|
| |
running at the same time causing problems w/ wifi not working..
the patch will be submitted upstream... The next step if someone wants
to push it upstream is to break os_unix.c up so that all these other
utilities don't need libutil..
Reviewed by: rpaulo
|
|
|
|
|
|
|
| |
usually because another part of the code succeeded in making
the same directory).
MFC after: 3 days
|
|
|
|
|
|
|
|
|
| |
separate argument structure with added level_type field for
CPUID_CPUID_COUNT request.
Reviewed by: attilio (previous version)
Sponsored by: The FreeBSD Foundation
MFC after: 2 weeks
|
|
|
|
|
|
| |
PR: 189172
Submitted by: fullermd@over-yonder.net
MFC after: 1 week
|
|
|
|
|
|
|
|
| |
Fix some broken indentattion
PR: 189173
Submitted by: fullermd@over-yonder.net
MFC after: 1 week
|
|
|
|
|
| |
PR: 191174
Submitted by: Franco Fichtner <franco@lastsummer.de>
|
|
|
|
|
|
|
|
|
|
| |
performing cpuid calls.
Add also a new way to specify the level type to cpucontrol(8) as
reported in the manpage.
Sponsored by: EMC / Isilon storage division
Reviewed by: bdrewery, gcooper
Testerd by: bdrewery
|
|
|
|
|
|
|
| |
Before this it was impossible to use all 16 bytes of serial number, and
client always got serial number NULL-terminated, that is not required.
MFC after: 2 weeks
|
|
|
|
| |
Approved by: hrs (mentor)
|
|
|
|
| |
Sponsored by: The FreeBSD Foundation
|
|
|
|
| |
Sponsored by: The FreeBSD Foundation
|
|
|
|
| |
Reviewed by: tychon
|
|
|
|
| |
Sponsored by: The FreeBSD Foundation
|
|
|
|
|
| |
MFC after: 1 month
Sponsored by: FreeBSD Foundation
|
|
|
|
|
|
|
|
| |
the client all the portal groups addresses and ports.
Reviewed by: trasz@
MFC after: 2 weeks
Sponsored by: iXsystems, Inc.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
- Check for rc.d directory's existence before traversing
it;
- Don't output * when rc.d directory is empty.
PR: conf/190665
Submitted by: Oleg Ginzburg <olevole olevole ru> (with changes)
MFC after: 2 weeks
|
|
|
|
|
|
| |
Add language from jhb
Requested by: jhb, jkim
|
|
|
|
| |
Reviewed by: neel
|
| |
|
| |
|
|
|
|
| |
Reported by: gjb
|