Displaying 1 50 of 266,735 commits (0.011s)

FreeBSD — head/usr.sbin/bhyve pci_ahci.c

Commands which encounter a fatal error shouldn't be marked as completed.
Furthermore, provide an indication of the current command so it can be
determined which one actually failed.

Reviewed by:        grehan
Delta File
+8 -6 head/usr.sbin/bhyve/pci_ahci.c
+8 -6 1 file

FreeBSD — head/sys/dev/mps mps_sas.c mps_mapping.c

Bring in LSI's phase19 changes
* Removed unused mpssas_discovery_timeout function.
* Don't alter mapping boundaries if not raid firmware.
* Check free_busaddr instead of post_busaddr (diff minimisation really)

MFC after:        2 weeks

FreeBSD — projects/arm64/sys/arm64/arm64 trap.c

Add do_el1h_sync. For now it prints the exception details.

FreeBSD — head/sys/dev/mps mps_sas_lsi.c mps_sas.c

Bring in LSI's phase16 - phase18 changes
* Implements Start Stop Unit for SATA direct-attach devices in IR mode to avoid
  data corruption.
* Use CAM_DEV_NOT_THERE instead of CAM_SEL_TIMEOUT and CAM_TID_INVALID

Obtained from:        LSI
MFC after:        2 weeks

FreeBSD — projects/arm64/sys/arm64/arm64 bus_machdep.c, projects/arm64/sys/conf files.arm64

Add the start of the bus_space handling code

FreeBSD — projects/arm64/sys/arm64/include bus.h

Remove unneeded bits of machine/bus.h on arm64
Delta File
+21 -280 projects/arm64/sys/arm64/include/bus.h
+21 -280 1 file

FreeBSD — projects/arm64/sys/arm64/arm64 pmap.c

Reduce the noise in pmap to regular levels

FreeBSD — projects/arm64/sys/arm64/arm64 exception.S, projects/arm64/sys/arm64/include frame.h cpu.h

Store and restore the frame around exceptions

FreeBSD — head ObsoleteFiles.inc

Follow up r269179 and remove the libsbuf.so.7 library.
Delta File
+2 -0 head/ObsoleteFiles.inc
+2 -0 1 file

FreeBSD — head/lib/libstand open.c stand.h

Provide a means for loaders to control which file system to use. This
to counteract the default behaviour of always trying each and every
file system until one succeeds, or the open fails. The problem with the
loader is that we've implemented features based on this behavior. The
handling of compressed files is a good example of this. However, it is
in general highly undesirable to not have a one-time probe (or taste
in the geom lingo), followed by something similar to a mount whenever
we (first) read from a device. Everytime we go to the same device, we
can reasonably assume it (still) has the same file system. For file
systems that need to do far more that a trivial read of a super block,
not having something similar to a mount operation is disastrous from
a performance (and thus usability) perspective.

But, again, since we've implemented features based on this stateless
approach, things can get complicated quickly if and when we want to
change this. And yet, we sometimes do need stateful behaviour.

For this reason, this change simply introduces exclusive_file_system.
When set to the fsops of the file system to use, the open call will
only try this file system. Setting it to NULL restores the default
behaviour. It's a low-cost (low-brow?) approach to provide enough
control without re-implementing the guts of the loader.

A good example of when this is useful is when we're trying to load
files out of a container (say, a software packaga) that itself lives

    [5 lines not shown]

FreeBSD — head/sys/conf files.mips

files.mips: the kbd driver is used by vt(4) too

Sponsored by:        DARPA, AFRL
Delta File
+1 -1 head/sys/conf/files.mips
+1 -1 1 file

FreeBSD — head/sys/netinet6 in6_src.c

Add new rule to source address selection algorithm. It prefers address
with better virtual status. Use ifa_preferred() to choose better address.

PR:                187341
Tested by:        des
MFC after:        1 week
Delta File
+6 -0 head/sys/netinet6/in6_src.c
+6 -0 1 file

FreeBSD — projects/ipfw/sbin/ipfw tables.c

Improve "ipfw talist" readability.
Delta File
+2 -2 projects/ipfw/sbin/ipfw/tables.c
+2 -2 1 file

FreeBSD — projects/ipfw/sbin/ipfw ipfw2.c tables.c, projects/ipfw/sys/netinet ip_fw.h

* Add number:array algorithm lookup method.

Kernel changes:
* s/IPFW_TABLE_U32/IPFW_TABLE_NUMBER/
* Force "lookup <port|uid|gid|jid>" to be IPFW_TABLE_NUMBER
* Support "lookup" method for number tables
* Add number:array algorihm (i32 as key, auto-growing).

Userland changes:
* Support named tables in "lookup <tag> Table"
* Fix handling of "table(NAME,val)" case
* Support printing "number" table data.

FreeBSD — head/sbin/restore tape.c

When restoring a UFS dump onto a ZFS filesystem, an assertion in
restore was failing because ZFS was reporting a blocksize that was
not a multiple of 1024.  Replace restore's failed assertion with
code that writes restored files in a blocksize that works for
restore (a multiple of 1024) despite being non-optimal for ZFS.

Submitted by: Dmitry Morozovsky
Tested by:    Dmitry Morozovsky
MFC after:    1 week
Delta File
+5 -3 head/sbin/restore/tape.c
+5 -3 1 file

FreeBSD — head/usr.bin/sed process.c

Fix relative numerical addressing (addr,+N).

As a bonus the patch untangles a bit the logic and makes the code
easier to grasp.

PR:                192108
MFC after:        1 week
Delta File
+26 -18 head/usr.bin/sed/process.c
+26 -18 1 file

FreeBSD — projects/ipfw/sys/netpfil/ipfw ip_fw_table_algo.c

* Add "lookup" method for cidr:hash algorithm type.
* Add auoto-grow ability to cidr:hash type.
* Fix some bugs / simplify implementation for cidr:hash.

FreeBSD — projects/ipfw/sys/netpfil/ipfw ip_fw_table.c

Fix "flush" cmd for algorithms wih non-default parameters.

FreeBSD — user/pho/stress2/misc graid0.sh graid1.sh

Added a simple raid0 and raid1 test scenario.

Sponsored by:         EMC / Isilon storage division

FreeBSD — stable/10/sys/cam/ctl ctl_private.h ctl.c

MFC r268808:
Increase maximal number of SCSI ports in CTL from 32 to 128.

After I gave each iSCSI target its own port, the old limit appeared to be
not so big.  This change almost proportionally increases per-LUN memory
use, but it is still three times better then it was before r268807.

FreeBSD — stable/10/sys/cam/ctl ctl.c ctl_private.h

MFC r268807:
Reduce per-LUN memory usage from 18MB to 1.8MB.

CTL never had use for CA support code since SPI has gone, and there is no
even frontends supporting that.  But it still was reserving 256 bytes of
memory per LUN per every possible initiator on every possible port.

Wrap unused code with ifdef's in case somebody ever need it.

FreeBSD — stable/10/sys/cam/ctl ctl_tpc.c ctl_tpc_local.c, stable/10/sys/cam/scsi scsi_all.h

MFC r268767:
Add support for VMWare dialect of EXTENDED COPY command, aka VAAI Clone.

This allows to clone VMs and move them between LUNs inside one storage
host without generating extra network traffic to the initiator and back,
and without being limited by network bandwidth.

LUNs participating in copy operation should have UNIQUE NAA or EUI IDs set.
For LUNs without these IDs VMWare will use traditional copy operations.

Beware: the above LUN IDs explicitly set to values non-unique from the VM
cluster point of view may cause data corruption if wrong LUN is addressed!

Sponsored by:        iXsystems, Inc.

FreeBSD — stable/10/sys/cam/ctl ctl_cmd_table.c ctl_ser_table.c

MFC r268581:
Merge several equal serialization indexes.

FreeBSD — stable/10/sys/cam/ctl ctl.c

MFC r269149:
Fix several cases of NULL dereference when INQUIRY sent to absent LUN.
Delta File
+12 -10 stable/10/sys/cam/ctl/ctl.c
+12 -10 1 file

FreeBSD — head/share/man/man9 kernel_mount.9

Remove trailing comma from ending Xref

MFC after:        3 days
Sponsored by:        The FreeBSD Foundation

FreeBSD — head/share/man/man5 pf.conf.5

Remove trailing comma from ending Xref

MFC after:        3 days
Sponsored by:        The FreeBSD Foundation
Delta File
+1 -1 head/share/man/man5/pf.conf.5
+1 -1 1 file

FreeBSD — head/share/man/man4 hptiop.4

Remove trailing comma from ending Xref.

MFC after:        3 days
Sponsored by:        The FreeBSD Foundation
Delta File
+1 -1 head/share/man/man4/hptiop.4
+1 -1 1 file

FreeBSD — head/share/man/man4 acpi_wmi.4

Remove trailing comma from standalone Xref.

MFC after:        3 days
Sponsored by:        The FreeBSD Foundation
Delta File
+1 -1 head/share/man/man4/acpi_wmi.4
+1 -1 1 file

FreeBSD — head/usr.bin/sort sort.1.in

Remove trailing '.' from See Also section.

MFC after:        3 days
Sponsored by:        The FreeBSD Foundation
Delta File
+1 -1 head/usr.bin/sort/sort.1.in
+1 -1 1 file

FreeBSD — stable/9 ObsoleteFiles.inc, stable/9/share/man/man9 VOP_GETVOBJECT.9 Makefile

MFC r269160:
Remove man page for non-existent VOPs.

MFC r269240 (by pluknet):
Add VOP_GETVOBJECT.9 to obsolete files, un-xref.

FreeBSD — stable/9/share/man/man9 VOP_INACTIVE.9

MFC r269159:
Correct the locking statement.

MFC r269161:
Explicitely mention that inactivated or reclaimed vnode is locked
exclusively.

FreeBSD — stable/10 ObsoleteFiles.inc, stable/10/share/man/man9 VOP_GETVOBJECT.9 Makefile

MFC r269160:
Remove man page for non-existent VOPs.

MFC r269240 (by pluknet):
Add VOP_GETVOBJECT.9 to obsolete files, un-xref.

FreeBSD — stable/10/share/man/man9 VOP_INACTIVE.9

MFC r269159:
Correct the locking statement.

MFC r269161:
Explicitely mention that inactivated or reclaimed vnode is locked
exclusively.

FreeBSD — stable/10/sys/fs/tmpfs tmpfs_vnops.c

MFC r268765:
Remove unused header.

FreeBSD — stable/10/sys/fs/ext2fs ext2_vnops.c, stable/10/sys/fs/nandfs nandfs_vnops.c

MFC r268764:
Check for the cross-device cross-link attempt in the VFS, instead of
VOP_LINK() implemenations.

FreeBSD — head/sys/sys procdesc.h

Correct typo in comment

PR:                192231
Submitted by:        Ron Dahlgren
MFC after:        1 week
Delta File
+1 -1 head/sys/sys/procdesc.h
+1 -1 1 file

FreeBSD — head/sys/amd64/amd64 identcpu.c, head/sys/amd64/vmm/intel vmx.c vmx_msr.h

- Output a summary of optional VT-x features in dmesg similar to CPU
  features.  If bootverbose is enabled, a detailed list is provided;
  otherwise, a single-line summary is displayed.
- Add read-only sysctls for optional VT-x capabilities used by bhyve
  under a new hw.vmm.vmx.cap node. Move a few exiting sysctls that
  indicate the presence of optional capabilities under this node.

CR:                https://phabric.freebsd.org/D498
Reviewed by:        grehan, neel
MFC after:        1 week

FreeBSD — head/sys/netinet in_pcb.c

Add a comment and while there, fix trailing whitespace.
Delta File
+4 -1 head/sys/netinet/in_pcb.c
+4 -1 1 file

FreeBSD — head UPDATING, head/sys/dev/vt/hw/ofwfb ofwfb.c

Make mmap() of the console device when using ofwfb work like other supported
framebuffer drivers. This lets ofwfb work with xf86-video-scfb and makes
the driver much more generic and less PCI-centric. This changes some
user-visible behavior and will require updates to the xorg-server port
on PowerPC when using ATI graphics cards.
Delta File
+49 -78 head/sys/dev/vt/hw/ofwfb/ofwfb.c
+7 -0 head/UPDATING
+56 -78 2 files

FreeBSD — projects/ipfw/sys/netpfil/ipfw ip_fw_sockopt.c ip_fw_private.h

* Introduce ipfw_ctl3() handler and move all IP_FW3 opcodes there.
 The long-term goal is to switch remaining opcodes to IP_FW3 versions
 and use ipfw_ctl3() as default handler simplifying ipfw(4) interaction
 with external world.

FreeBSD — projects/ipfw/sbin/ipfw tables.c main.c, projects/ipfw/sys/netinet ip_fw.h

* Dump available table algorithms via "ipfw talist" cmd.

Kernel changes:
* Add type/refcount fields to table algo instances.
* Add IP_FW_TABLES_ALIST opcode to export available algorihms to userland.

Userland changes:
* Fix cores on empty input inside "ipfw table" handler.
* Add "ipfw talist" cmd to print availabled kernel algorithms.
* Change "table info" output to reflect long algorithm config lines.

FreeBSD — stable/9/lib/libutil kinfo_getfile.3

MFC r265276:
Fix a typo.

FreeBSD — stable/10/lib/libutil kinfo_getfile.3

MFC r265276:
Fix a typo.

FreeBSD — stable/9/sys/cddl/dev/systrace systrace.c

MFC r264435:
Ensure that all eight syscall arguments are available to dtrace_probe(),
rather than just the first five.

FreeBSD — stable/10/sys/cddl/dev/systrace systrace.c

MFC r264435:
Ensure that all eight syscall arguments are available to dtrace_probe(),
rather than just the first five.

FreeBSD — stable/8/sys/dev/usb usbdevs, stable/8/sys/dev/usb/serial u3g.c

MFC r268929:
Add new device ID.

PR:                191959

FreeBSD — stable/10/sys/dev/usb usbdevs, stable/10/sys/dev/usb/serial u3g.c

MFC r268929:
Add new device ID.

PR:                191959

FreeBSD — stable/9/sys/dev/usb usbdevs, stable/9/sys/dev/usb/serial u3g.c

MFC r268929:
Add new device ID.

PR:                191959

FreeBSD — stable/8/sys/dev/usb/wlan if_rum.c if_ural.c

MFC r269127:
Fix for division by zero.

FreeBSD — stable/9/sys/dev/usb/wlan if_rum.c if_ural.c

MFC r269127:
Fix for division by zero.