ƒ³&272338 159 773 646 246 151 182 610 132 224 151 413 166 169 476 202 179 179 182 154 146 221 187 873 262 278 266 215 121 125 410 186 250 194 281 178 834 812 262 153 365 276 327 1206 364 234 209 474 2173 324 499 229 651 299 111 315 415 1115 466 442 127 204 309 251 132 803 169 283 455 187 220 434 253 366 144 205 206 223 4001 155 1001 156 131 321 286 286 178 308 467 317 295 295 317 162 205 182 201 177 255 233 375 237 509 487 487 302 162 274 116 201 205 131 133 235 270 232 128 259 185 671 212 131 361 223 203 233 226 207 207 128 121 436 185 167 222 176 191 240 786 123 490 150 139 417 219 318 145 936 177 758 239 151 803 160 190 120 142 544 565 508 634 K 10 svn:author V 6 marcel K 8 svn:date V 27 2014-10-01T01:18:25.449482Z K 7 svn:log V 677 Implement image_copyout_region(): This is the one function that is responsible for writing to the output file. For eack chunk that covers all or parts of the region to write, call a corresponding function that knows how to write a chunk of that type: image_copyout_memory(): Use write(2) to write the buffer. image_copyout_zeroes(): Try and seek forward to create a sparse file. If that fails, scribble zeroes to the output file to support writing to stdout. Use image_copyout_memoryIO for that. image_copyout_file(): Iteratively map bits of the input file and use image_copyout_memory() to write the bits to the output file. With this commit all unit tests pass again. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2014-10-01T01:50:23.766150Z K 7 svn:log V 550 Remove image_chunk_dump() and its call-site. I used it for debugging in the beginning, but not at the end. So, its value is marginal. Below a performance comparison while running the unit test: x old + new N Min Max Median Avg Stddev x 5 57.48 58.28 57.58 57.736 0.33886576 + 5 46.82 47.61 46.93 47.034 0.32791767 Difference at 95.0% confidence -10.702 +/- 0.486298 -18.5361% +/- 0.842279% (Student's t, pooled s = 0.333437) END K 10 svn:author V 4 ngie K 8 svn:date V 27 2014-10-01T01:56:51.765190Z K 7 svn:log V 152 Add ObsoleteFiles.inc OLD_FILES entries for libnv X-MFC with: r271241 Submitted by: pjd Pointyhat to: ngie Sponsored by: EMC / Isilon Storage Division END K 10 svn:author V 8 bdrewery K 8 svn:date V 27 2014-10-01T03:59:11.015949Z K 7 svn:log V 54 Fix commit mail case to also use https:// for svnweb. END K 10 svn:author V 4 ngie K 8 svn:date V 27 2014-10-01T04:03:15.935778Z K 7 svn:log V 89 Remove size limit temporarily so I can import src/tests from NetBSD into the vendor tree END K 10 svn:author V 4 ngie K 8 svn:date V 27 2014-10-01T04:07:17.321920Z K 7 svn:log V 516 Check in first src/tests snapshot from NetBSD anoncvs Sources were obtained like so: % export CVSROOT="anoncvs@anoncvs.NetBSD.org:/cvsroot" % cvs -z9 co -D "09/30/2014 20:45" -P src/tests % mv src/tests/* tests/dist/. '*CVS*' has been added to svn:ignore to ease updating periodically from upstream Some line ending issues had to be resolved with test outputs and scripts via dos2unix and by deleting the eol-style property set in usr.bin/sort Discussed with: rpaulo Sponsored by: EMC / Isilon Storage Division END K 10 svn:author V 4 ngie K 8 svn:date V 27 2014-10-01T04:08:29.829767Z K 7 svn:log V 39 Remove temporary sizelimit restriction END K 10 svn:author V 4 ngie K 8 svn:date V 27 2014-10-01T04:12:38.139524Z K 7 svn:log V 130 Tag ^/base/vendor/NetBSD/tests/09.30.2014_20.45 from ^/base/vendor/NetBSD/tests/dist Sponsored by: EMC / Isilon Storage Division END K 10 svn:author V 5 markj K 8 svn:date V 27 2014-10-01T04:28:39.468827Z K 7 svn:log V 57 Correct the way that libelf is linked when USDT is used. END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2014-10-01T05:43:29.190510Z K 7 svn:log V 317 The default for UDPLITE_RECV_CSCOV is zero. RFC 3828 recommend that this means full checksum coverage for received packets. If an application is willing to accept packets with partial coverage, it is expected to use the socekt option and provice the minimum coverage it accepts. Reviewed by: kevlo MFC after: 3 days END K 10 svn:author V 3 des K 8 svn:date V 27 2014-10-01T07:15:02.378305Z K 7 svn:log V 74 Consistently cast tty and user to const char * in printf()-like contexts. END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2014-10-01T07:34:49.374141Z K 7 svn:log V 72 Set default cycle state in case of early interrupts. MFC after: 3 days END K 10 svn:author V 6 andrew K 8 svn:date V 27 2014-10-01T08:26:51.902257Z K 7 svn:log V 380 Remove MK_ARM_EABI, the armeb issues have been fixed. The code to support the oabi is still in the tree, but it is expected this will be removed as developers work on surrounding code. With this commit the ARM EABI is the only supported supported ABI by FreeBSD on ARMa 32-bit processors. X-MFC after: never Relnotes: yes Differential Revision: https://reviews.freebsd.org/D876 END K 10 svn:author V 3 des K 8 svn:date V 27 2014-10-01T10:26:43.385814Z K 7 svn:log V 109 MFH (r272280, r272281, r272348): allow use with null user and rhost PR: 83099 193927 Approved by: re (kib) END K 10 svn:author V 3 des K 8 svn:date V 27 2014-10-01T10:29:14.117795Z K 7 svn:log V 87 MFH (r272280, r272281, r272348): allow use with null user and rhost PR: 83099 193927 END K 10 svn:author V 3 des K 8 svn:date V 27 2014-10-01T10:35:52.036614Z K 7 svn:log V 87 MFH (r272280, r272281, r272348): allow use with null user and rhost PR: 83099 193927 END K 10 svn:author V 7 glebius K 8 svn:date V 27 2014-10-01T11:23:54.990712Z K 7 svn:log V 86 Fix off by one in lagg_port_destroy(). Reported by: "Max N. Boyarov" END K 10 svn:author V 3 mav K 8 svn:date V 27 2014-10-01T11:30:20.687492Z K 7 svn:log V 62 Fix couple issues with ROD tokens content. MFC after: 3 days END K 10 svn:author V 6 andrew K 8 svn:date V 27 2014-10-01T12:44:16.079059Z K 7 svn:log V 51 Split you the syscall handling to a separate file. END K 10 svn:author V 6 andrew K 8 svn:date V 27 2014-10-01T12:47:25.865485Z K 7 svn:log V 125 Fix the TARGET_ABI value clang uses. It shpuld be gnueabi on all ARM soft-float architectures, and gnueabihf for hard-float. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2014-10-01T13:35:41.373352Z K 7 svn:log V 91 Use rn_detachhead() instead of direct free(9) for radix tables. Sponsored by: Nginx, Inc. END K 10 svn:author V 4 will K 8 svn:date V 27 2014-10-01T14:12:02.134161Z K 7 svn:log V 779 zfsvfs_create(): Refuse to mount datasets whose names are too long. This is checked for in the zfs_snapshot_004_neg STF/ATF test (currently still in projects/zfsd rather than head). sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_vfsops.c: - zfsvfs_create(): Check whether the objset name fits into statfs.f_mntfromname, and return ENAMETOOLONG if not. Although the filesystem can be unmounted via the umount(8) command, any interface that relies on iterating on statfs (e.g. libzfs) will fail to find the filesystem by its objset name, and thus assume it's not mounted. This causes "zfs unmount", "zfs destroy", etc. to fail on these filesystems, whether or not -f is passed. MFC after: 1 month Sponsored by: Spectra Logic MFSpectraBSD: 974872 on 2013/08/09 END K 10 svn:author V 4 will K 8 svn:date V 27 2014-10-01T14:35:52.075057Z K 7 svn:log V 168 Add sysctl to track the resource consumption of ACPI interrupts. Submitted by: gibbs MFC after: 1 month Sponsored by: Spectra Logic MFSpectraBSD: 636827 on 2012/09/28 END K 10 svn:author V 8 melifaro K 8 svn:date V 27 2014-10-01T14:39:06.530000Z K 7 svn:log V 180 Remove lock init from radix.c. Radix has never managed its locking itself. The only consumer using radix with embeded rwlock is system routing table. Move per-AF lock inits there. END K 10 svn:author V 4 bapt K 8 svn:date V 27 2014-10-01T15:00:21.137798Z K 7 svn:log V 172 Ensure that every ENTRY(foo) has a matching END(foo). It allows to build with newer binutils Differential Revision: https://reviews.freebsd.org/D877 Reviewed by: jhibbits END K 10 svn:author V 4 will K 8 svn:date V 27 2014-10-01T15:02:37.220306Z K 7 svn:log V 121 Always resolve PORTSDIR to absolute paths using realpath(1). Reported by: madpilot Reviewed by: bapt X-MFC-With: 272282 END K 10 svn:author V 6 marcel K 8 svn:date V 27 2014-10-01T15:22:11.574524Z K 7 svn:log V 26 Remove DEBUG_FLAGS again. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2014-10-01T15:23:23.143250Z K 7 svn:log V 30 Bump the version to 20141001. END K 10 svn:author V 4 will K 8 svn:date V 27 2014-10-01T15:32:28.924403Z K 7 svn:log V 316 In the syncer, drop the sync mutex while patting the watchdog. Some watchdog drivers (like ipmi) need to sleep while patting the watchdog. See sys/dev/ipmi/ipmi.c:ipmi_wd_event(), which calls malloc(M_WAITOK). Submitted by: asomers MFC after: 1 month Sponsored by: Spectra Logic MFSpectraBSD: 637548 on 2012/10/04 END K 10 svn:author V 4 will K 8 svn:date V 27 2014-10-01T15:34:48.128030Z K 7 svn:log V 93 Instead of requiring an edit to turn on ZFS debugging, define ZFS_DEBUG. MFC after: 1 month END K 10 svn:author V 6 andrew K 8 svn:date V 27 2014-10-01T16:00:21.418146Z K 7 svn:log V 154 Clean up detection of big-endian ARM. In all cases we follow the pattern arm*eb*. Check we are building for arm and if MACHINE_ARCH follows this pattern. END K 10 svn:author V 6 andrew K 8 svn:date V 27 2014-10-01T16:08:19.226462Z K 7 svn:log V 99 Clean up detection of hard-float ABIs. As with big-endian in r272368 we can check against arm*hf*. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2014-10-01T16:09:11.621433Z K 7 svn:log V 185 Fix sloppy code (that was commented as such): Map the file with partition data using smaller pieces at at time. It's rather hard to map a 10G partition in memory on a 32-bit machine... END K 10 svn:author V 4 will K 8 svn:date V 27 2014-10-01T16:16:01.336644Z K 7 svn:log V 85 Embellish a comment regarding the reliability of DEBUG_VFS_LOCKS. Submitted by: kib END K 10 svn:author V 3 gjb K 8 svn:date V 27 2014-10-01T16:18:40.640644Z K 7 svn:log V 741 MFC r268376 (imp): rm -rf can fail sometimes with an error from fts_read. Make it honor fflag to ignore fts_read errors, but stop deleting from that directory because no further progress can be made. When building a kernel with a high -j value on a high core count machine, during the cleanobj phase we can wind up doing multiple rm -rf at the same time for modules that have subdirectories. This exposed this race (sometimes) as fts_read can return an error if the directory is removed by another rm -rf. Since the intent of the -f flag was to ignore errors, even if this was a bug in fts_read, we should ignore the error like we've been instructed to do. Approved by: re (kib) Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 gjb K 8 svn:date V 27 2014-10-01T16:18:59.727424Z K 7 svn:log V 719 MFC r268376 (imp): rm -rf can fail sometimes with an error from fts_read. Make it honor fflag to ignore fts_read errors, but stop deleting from that directory because no further progress can be made. When building a kernel with a high -j value on a high core count machine, during the cleanobj phase we can wind up doing multiple rm -rf at the same time for modules that have subdirectories. This exposed this race (sometimes) as fts_read can return an error if the directory is removed by another rm -rf. Since the intent of the -f flag was to ignore errors, even if this was a bug in fts_read, we should ignore the error like we've been instructed to do. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 6 marcel K 8 svn:date V 27 2014-10-01T16:47:14.069908Z K 7 svn:log V 166 Make sure to widen secsz from size_t to off_t when using it as a mask. On 32-bit machines this would other wise mask off the upper 32-bits of the 64-bit file offset. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2014-10-01T16:48:54.769441Z K 7 svn:log V 58 Make sure the cookies are constants of appropriate width. END K 10 svn:author V 3 gjb K 8 svn:date V 27 2014-10-01T17:05:40.638699Z K 7 svn:log V 272 Separate release/scripts/mk-vmimage.sh to machine-specific scripts, making it possible to mimic the functionality for non-x86 targets. Move echo output if MAKEFLAGS is empty outside of usage(). Remove TARGET/TARGET_ARCH evaluation. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 bjk K 8 svn:date V 27 2014-10-01T17:16:18.462966Z K 7 svn:log V 183 Some cleanup for sfxge.4 Use standard mdoc macros instead of pure roff, fix some other mdoc usage, make the style consistent, and fix some grammar issues. Approved by: hrs (mentor) END K 10 svn:author V 5 markj K 8 svn:date V 27 2014-10-01T18:07:34.991537Z K 7 svn:log V 232 Add a sysctl, net.inet.icmp.tstamprepl, which can be used to disable replies to ICMP Timestamp packets. PR: 193689 Submitted by: Anthony Cornehl MFC after: 3 weeks Sponsored by: EMC / Isilon Storage Division END K 10 svn:author V 6 dteske K 8 svn:date V 27 2014-10-01T18:59:57.340596Z K 7 svn:log V 1109 Optimize program flow for execution speed. Also fix some more style(9) nits while here: + Fix an issue when extracting small archives where dialog_mixedgauge was not rendering; leaving the user wondering if anything happened. + Add #ifdef's to assuage compilation against older libarchive NB: Minimize diff between branches; make merging easier. + Add missing calls to end_dialog(3) + Change string processing from strtok(3) to strcspn(3) (O(1) optimization) + Use EXIT_SUCCESS and EXIT_FAILURE instead of 0/1 + Optimize getenv(3) use, using stored results instead of calling repeatedly NB: Fixes copy/paste error wherein we display getenv(BSDINSTALL_DISTDIR) in an error msgbox when chdir(2) to getenv(BSDINSTALL_CHROOT) fails (wrong variable displayed in msgbox). + Use strtol(3) instead of [deprecated] atoi(3) + Add additional error checking (e.g., check return of archive_read_new(3)) + Assign DECONST strings to static variables + Fix typo in distextract.c error message (s/Could could/Could not/) + Add comments and make a minor whitespace adjustment Reviewed by: nwhitehorn, julian END K 10 svn:author V 3 gjb K 8 svn:date V 27 2014-10-01T19:13:42.853785Z K 7 svn:log V 271 Avoid using env(1) to set values passed to mk-vmimage.sh, and instead pass the values as arguments to the script, making it easier to run this by hand, without 'make release'. Add usage_vm_base() and usage_vm_image() usage helpers. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 gjb K 8 svn:date V 27 2014-10-01T19:25:02.455778Z K 7 svn:log V 141 After evaluating WITH_VMIMAGES is non-empty, ensure the mk-vmimage.sh script exists before running it. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 6 marcel K 8 svn:date V 27 2014-10-01T20:37:15.306762Z K 7 svn:log V 113 Suffix the cookie constants with ULL to silence warnings from compilers that try to treat them as 32-bit values. END K 10 svn:author V 4 will K 8 svn:date V 27 2014-10-01T20:52:08.000636Z K 7 svn:log V 380 Revise r272363 by collapsing the tests into a for loop. This has the side effect of ensuring that realpath is also run for the nominal case of PORTSDIR=/usr/ports (assuming .CURDIR is a ports directory that relies on /usr/ports but is not rooted in it). This ensures that any generated PORTSDIR used is always the actual location. Submitted by: jkim (different implementation) END K 10 svn:author V 6 marcel K 8 svn:date V 27 2014-10-01T21:03:17.001366Z K 7 svn:log V 2076 Improve performance of mking(1) by keeping a list of "chunks" in memory, that keeps track of a particular region of the image. In particular the image_data() function needs to return to the caller whether a region contains data or is all zeroes. This required reading the region from the temporary file and comparing the bytes. When image_data() is used multiple times for the same region, this will get painful fast. With a chunk describing a region of the image, we now also have a way to refer to the image provided on the command line. This means we don't need to copy the image into a temporary file. We just keep track of the file descriptor and offset within the source file on a per-chunk basis. For streams (pipes, sockets, fifos, etc) we now use the temporary file as a swap file. We read from the input file and create a chunk of type "zeroes" for each sequence of zeroes that's a multiple of the sector size. Otherwise, we allocte from the swap file, mmap(2) it, read into the mmap(2)'d memory and create a chunk representing data. For regular files, we use SEEK_HOLE and SEEK_DATA to handle sparse files eficiently and create a chunk of type zeroes for holes and a chunk of type data for data regions. For data regions, we still compare the bytes we read to handle differences between a file system's block size and our sector size. After reading all files, image_write() is used by schemes to scribble in the reserved sectors. Since this never amounts to much, keep this data in memory in chunks of exactly 1 sector. The output image is created by looking using the chunk list to find the data and write it out to the output file. For chunks of type "zeroes" we prefer to seek, but fall back to writing zeroes to handle pipes. For chunks of type "file" and "memoty" we simply write. The net effect of this is that for reasonably large images the execution time drops from 1-2 minutes to 10-20 seconds. A typical speedup is about 5 to 8 times, depending on partition sizes, output format whether in input files are sparse or not. Bump version to 20141001. END K 10 svn:author V 8 melifaro K 8 svn:date V 27 2014-10-01T21:24:58.950401Z K 7 svn:log V 226 Free radix mask entries on main radix destroy. This is temporary commit to be merged to 10. Other approach (like hash table) should be used to store different masks. PR: 194078 Submitted by: Rumen Telbizov MFC after: 3 days END K 10 svn:author V 3 hrs K 8 svn:date V 27 2014-10-01T21:37:32.955000Z K 7 svn:log V 406 Virtualize lagg(4) cloner. This change fixes a panic when tearing down if_lagg(4) interfaces which were cloned in a vnet jail. Sysctl nodes which are dynamically generated for each cloned interface (net.link.lagg.N.*) have been removed, and use_flowid and flowid_shift ifconfig(8) parameters have been added instead. Flags and per-interface statistics counters are displayed in "ifconfig -v". CR: D842 END K 10 svn:author V 3 pfg K 8 svn:date V 27 2014-10-01T22:18:07.003306Z K 7 svn:log V 136 strptime: fix bug introduced in r272273. Reported by: portmgr (antoine) Fix by: Andrey Chernov, David Carlier PR: 137307 (follow up) END K 10 svn:author V 6 grehan K 8 svn:date V 27 2014-10-01T23:15:23.601059Z K 7 svn:log V 555 MFC r272193 Allow the PIC's IMR register to be read before ICW initialisation. As of git submit e179f6914152eca9, the Linux kernel does a simple probe of the PIC by writing a pattern to the IMR and then reading it back, prior to the init sequence of ICW words. The bhyve PIC emulation wasn't allowing the IMR to be read until the ICW sequence was complete. This limitation isn't required so relax the test. With this change, Linux kernels 3.15-rc2 and later won't hang on boot when calibrating the local APIC. Approved by: re (gjb) END K 10 svn:author V 7 delphij K 8 svn:date V 27 2014-10-02T00:13:08.902650Z K 7 svn:log V 202 Diff reduction with kernel code: instruct the compiler that the data of these types may be unaligned to their "normal" alignment and exercise caution when accessing them. PR: 194071 MFC after: 3 days END K 10 svn:author V 3 hrs K 8 svn:date V 27 2014-10-02T00:19:24.871502Z K 7 svn:log V 19 Add IFCAP_HWSTATS. END K 10 svn:author V 3 hrs K 8 svn:date V 27 2014-10-02T00:25:57.358632Z K 7 svn:log V 222 Add an additional routing table lookup when m->m_pkthdr.fibnum is changed at a PFIL hook in ip{,6}_output(). IPFW setfib rule did not perform a routing table lookup when the destination address was not changed. CR: D805 END K 10 svn:author V 3 gjb K 8 svn:date V 27 2014-10-02T00:34:03.084891Z K 7 svn:log V 322 Add WITH_COMPRESSED_VMIMAGES variable, which when set enables xz(1) compression of the virtual machine images. This is intentionally separate to allow more fine-grained tuning over which images are compressed, especially in cases where compressing 20GB sparse images can take hours. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 hrs K 8 svn:date V 27 2014-10-02T01:16:30.467086Z K 7 svn:log V 1021 Resurrect set_rcvar() as a function to define a rc.conf variable. It defines a variable and its default value in load_rc_config() just after rc.conf is loaded. "rcvar" command shows the current and the default values. This is an attempt to solve a problem that rc.d scripts from third-party software do not have entries in /etc/defaults/rc.conf. The fact that load_rc_config() reads rc.conf only once and /etc/rc invokes the function before running rc.d scripts made developers confused for a long time because load_rc_config() just before run_rc_command() in each rc.d script overrides variables only when the script is directly invoked, not from /etc/rc. Variables defined in set_rcvar are always set in load_rc_config() after loading rc.conf. An rc.d script can now be written in a self-contained manner regarding the related variables as follows: --- name=foo rcvar=foo_enable set_rcvar foo_enable YES "Enable $name" set_rcvar foo_flags "-s" "Flags to $name" ... load_rc_config $name run_rc_command "$@" --- END K 10 svn:author V 2 ae K 8 svn:date V 27 2014-10-02T02:00:21.920791Z K 7 svn:log V 374 Do not strip outer header when operating in transport mode. Instead requeue mbuf back to IPv4 protocol handler. If there is one extra IP-IP encapsulation, it will be handled with tunneling interface. And thus proper interface will be exposed into mbuf's rcvif. Also, tcpdump that listens on tunneling interface will see packets in both directions. Sponsored by: Yandex LLC END K 10 svn:author V 4 neel K 8 svn:date V 27 2014-10-02T05:32:29.321996Z K 7 svn:log V 348 Get rid of code that dealt with the hardware not being able to save/restore the PAT MSR on guest exit/entry. This workaround was done for a beta release of VMware Fusion 5 but is no longer needed in later versions. All Intel CPUs since Nehalem have supported saving and restoring MSR_PAT in the VM exit and entry controls. Discussed with: grehan END K 10 svn:author V 3 hrs K 8 svn:date V 27 2014-10-02T05:56:17.941846Z K 7 svn:log V 35 Virtualize net.link.vlan.soft_pad. END K 10 svn:author V 7 ganbold K 8 svn:date V 27 2014-10-02T06:00:55.129811Z K 7 svn:log V 107 Allow timer0 to run at full 24MHz not at 24MHz/16 by setting prescale to 1. Approved by: stas (mentor) END K 10 svn:author V 4 bapt K 8 svn:date V 27 2014-10-02T06:29:49.128068Z K 7 svn:log V 215 Make sure to not skip any argument when converting from deprecated +POS1, -POS2 to -kPOS1,POS2, so that sort +0n gets translated to sort -k1,1n as it is expected PR: 193994 Submitted by: rodrigo MFC after: 3 days END K 10 svn:author V 7 ganbold K 8 svn:date V 27 2014-10-02T08:12:42.054108Z K 7 svn:log V 154 Add uart driver for Qualcomm MSM 7000/8000 series chips. It is working on IFC6410 board which has Qualcomm Snapdragon SoC. Approved by: stas (mentor) END K 10 svn:author V 7 glebius K 8 svn:date V 27 2014-10-02T08:57:11.988355Z K 7 svn:log V 36 Merge head r258543 through r272399. END K 10 svn:author V 3 mav K 8 svn:date V 27 2014-10-02T09:42:11.518365Z K 7 svn:log V 710 Rework the logic of sequential SCSI LUN scanner. Previous logic was not differentiating disconnected LUNs and absent targets. That made it to stop scan if LUN 0 was not found for any reason. That made problematic, for example, using iSCSI targets declaring SPC-2 compliance and having no LUN 0 configured. The new logic continues sequential LUN scan if: -- we have more configured LUNs that need recheck; -- this LUN is connected and its SCSI version allows more LUNs; -- this LUN is disconnected, its SCSI version allows more LUNs and we guess they may be connected (we haven't scanned first 8 LUNs yet or kern.cam.cam_srch_hi sysctl is set to scan more). Reported by: trasz MFC after: 1 month END K 10 svn:author V 3 mav K 8 svn:date V 27 2014-10-02T10:02:38.413464Z K 7 svn:log V 77 Restore CAM_QUIRK_NOLUNS check, lost in previous commit. MFC after: 1 month END K 10 svn:author V 5 trasz K 8 svn:date V 27 2014-10-02T10:31:32.158398Z K 7 svn:log V 188 Make autofs timeout handling use timeout task instead of callout; that's because the handler can sleep on sx lock. Reviewed by: kib MFC after: 1 week Sponsored by: The FreeBSD Foundation END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2014-10-02T10:32:24.181479Z K 7 svn:log V 359 Fix the checksum computation for UDPLite/IPv6. This requires the usage of a function computing the checksum only over a part of the function. Therefore introduce in6_cksum_partial() and implement in6_cksum() based on that. While there, ensure that the UDPLite packet contains at least enough bytes to contain the header. Reviewed by: kevlo MFC after: 3 days END K 10 svn:author V 5 trasz K 8 svn:date V 27 2014-10-02T10:37:56.932423Z K 7 svn:log V 93 Call uma_zfree() outside of lock, and improve comment. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 mav K 8 svn:date V 27 2014-10-02T10:39:07.148495Z K 7 svn:log V 127 Make disconnected LUN 0 don't remain in half-configured state if there are no LUNs on SPC-3 target after we tried REPORT LUNS. END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2014-10-02T10:46:12.581308Z K 7 svn:log V 336 MFC r272027: Hardware driver update from Mellanox Technologies, including: - improved performance - better stability - new features - bugfixes Supported HCAs: - ConnectX-2 - ConnectX-3 - ConnectX-3 Pro NOTE: - TSO feature needs r271946, which is not yet merged. Sponsored by: Mellanox Technologies Approved by: re, glebius END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2014-10-02T10:49:01.878463Z K 7 svn:log V 157 Check for UDP/IPv6 packets that the length in the UDP header is at least the minimum. Make the check similar to the one for UDPLite/IPv6. MFC after: 3 days END K 10 svn:author V 3 mav K 8 svn:date V 27 2014-10-02T10:58:52.807747Z K 7 svn:log V 273 Use REPORT LUNS command for SPC-2 devices with LUN 0 disconnected. SPC-2 tells REPORT LUNS shall be supported by devices supporting LUNs other then LUN 0. If we see LUN 0 disconnected, guess there may be others, and so REPORT LUNS shall be supported. MFC after: 1 month END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2014-10-02T12:27:41.665929Z K 7 svn:log V 47 Add new USB ID. PR: 194091 MFC after: 3 days END K 10 svn:author V 3 gnn K 8 svn:date V 27 2014-10-02T15:03:51.237775Z K 7 svn:log V 112 Properly handle a case that should never happen (the bus_dma callback being called with error set to non-zero). END K 10 svn:author V 3 gjb K 8 svn:date V 27 2014-10-02T16:00:50.344524Z K 7 svn:log V 113 Document the new 'vm-image' target, and associated release.conf variables. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 gjb K 8 svn:date V 27 2014-10-02T16:05:01.320033Z K 7 svn:log V 130 Remove two stray comments added during the initial iterations of testing, no longer needed. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 gjb K 8 svn:date V 27 2014-10-02T16:13:12.279254Z K 7 svn:log V 3907 Merge the following revisions from ^/projects/release-vmimage: r272234, r272236, r272262, r272264, r272269, r272271, r272272, r272277, r272279, r272376, r272380, r272381, r272392, r272234, r272412: r272234: Initial commit to include virtual machine images as part of the FreeBSD release builds. This adds a make(1) environment variable requirement, WITH_VMIMAGES, which triggers the virtual machine image targets when not defined to an empty value. Relevant user-driven variables include: o VMFORMATS: The virtual machine image formats to create. Valid formats are provided by running 'mkimg --formats' o VMSIZE: The size of the resulting virtual machine image. Typical compression is roughly 140Mb, regardless of the target size (10GB, 15GB, 20GB, 40GB sizes have been tested with the same result). o VMBASE: The prefix of the virtual machine disk images. The VMBASE make(1) environment variable is suffixed with each format in VMFORMATS for each individual disk image, as well as '.img' for the source UFS filesystem passed to mkimg(1). This also includes a new script, mk-vmimage.sh, based on how the VM images for 10.0-RELEASE, 9.3-RELEASE, and 10.1-RELEASE were created (mk-vmimage.sh in ^/user/gjb/thermite/). With the order in which the stages need to occur, as well as sanity-checking error cases, it makes much more sense to execute a shell script called from make(1), using env(1) to set specific parameters for the target image than it does to do this in make(1) directly. r272236: Use VMBASE in place of a hard-coded filename in the CLEANFILES list. r272262: Remove a 'set -x' that snuck in during testing. r272264: release/Makefile: Connect the virtual machine image build to the release target if WITH_VMIMAGES is set to a non-empty value. release/release.sh: Add WITH_VMIMAGES to RELEASE_RMAKEFLAGS. release/release.conf.sample: Add commented entries for tuning the release build if the WITH_VMIMAGES make(1) environment variable is set to a non-empty value. r272269: release/Makefile: Include .OBJDIR in DESTDIR in the vm-base target. release/release.sh: Provide the full path to mddev. r272271: Fix UFS label for the root filesystem. r272272: Remove comments left in accidentally while testing, so the VM /etc/fstab is actually created. r272277: Remove the UFS label from the root filesystem since it is added by mkimg(1) as a gpt label, consistent with the fstab(5) entry. r272279: Comment cleanup in panic() message when mkimg(1) does not support the requested disk image format. r272376: Separate release/scripts/mk-vmimage.sh to machine-specific scripts, making it possible to mimic the functionality for non-x86 targets. Move echo output if MAKEFLAGS is empty outside of usage(). Remove TARGET/TARGET_ARCH evaluation. r272380: Avoid using env(1) to set values passed to mk-vmimage.sh, and instead pass the values as arguments to the script, making it easier to run this by hand, without 'make release'. Add usage_vm_base() and usage_vm_image() usage helpers. r272381: After evaluating WITH_VMIMAGES is non-empty, ensure the mk-vmimage.sh script exists before running it. r272392: Add WITH_COMPRESSED_VMIMAGES variable, which when set enables xz(1) compression of the virtual machine images. This is intentionally separate to allow more fine-grained tuning over which images are compressed, especially in cases where compressing 20GB sparse images can take hours. r272412: Document the new 'vm-image' target, and associated release.conf variables. r272413: Remove two stray comments added during the initial iterations of testing, no longer needed. MFC after: 5 days X-MFC-10.1: yes Tested on: r272269, r272272, r272279, r272380, r272392 Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 gjb K 8 svn:date V 27 2014-10-02T16:32:52.191733Z K 7 svn:log V 63 Reintegrate head@r272414 Sponsored by: The FreeBSD Foundation END K 10 svn:author V 8 dumbbell K 8 svn:date V 27 2014-10-02T16:36:37.262707Z K 7 svn:log V 903 vt(4): Save/restore keyboard mode & LED states when switching window Add new functions to manipulate these mode & state, instead of calling kbdd_ioctl() everyhere. This fixes at least two bugs: 1. The state of the Scroll Lock LED and the state of scroll mode could be out-of-sync. For instance, if one enables scroll mode on window #1 and switches to window #2, the LED would remain on, but the window wouldn't be in scroll mode. Similarily, when switching between a console and an X.Org session, the LED states could be inconsistent with the real state. 2. When exiting from an X.Org session, the user could be unable to type anything. The workaround was to switch to another console window and come back. Differential Revision: https://reviews.freebsd.org/D821 Reviewed by: ray@ Approved by: ray@ Tested by: kwm@ MFC after: 3 days END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2014-10-02T16:41:43.404243Z K 7 svn:log V 59 MFC r272253: Regenerate usb.conf Approved by: re, gjb END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2014-10-02T16:43:37.080732Z K 7 svn:log V 34 MFC r272253: Regenerate usb.conf END K 10 svn:author V 3 gjb K 8 svn:date V 27 2014-10-02T16:45:00.288158Z K 7 svn:log V 228 Remove the ^/projects/release-embedded branch. The most recent changes not merged to ^/head are no longer needed, and this branch has diverged from its original purpose (embedded devices). Sponsored by: The FreeBSD Foundation END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2014-10-02T16:48:05.072528Z K 7 svn:log V 188 MFC r272254: Instead of creating the full range of possible ports, try to figure out the actual number of so-called "embedded jacks" which are present when a USB MIDI device is attaching. END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2014-10-02T16:49:22.996072Z K 7 svn:log V 188 MFC r272254: Instead of creating the full range of possible ports, try to figure out the actual number of so-called "embedded jacks" which are present when a USB MIDI device is attaching. END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2014-10-02T16:56:00.156098Z K 7 svn:log V 81 Make sure we always set the maximum number of valid contexts. MFC after: 3 days END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2014-10-02T16:57:44.451140Z K 7 svn:log V 210 MFC r272254: Instead of creating the full range of possible ports, try to figure out the actual number of so-called "embedded jacks" which are present when a USB MIDI device is attaching. Approved by: re, gjb END K 10 svn:author V 9 allanjude K 8 svn:date V 27 2014-10-02T17:19:32.848220Z K 7 svn:log V 368 MFC r272274: Change the /var dataset in the default ZFS layout to have the ZFS property canmount=off, making /var/db/pkg part of the / dataset, so installed package files are consistent with the package database when using ZFS boot environments (beadm). PR: 193971 Reviewed by: Shawn Webb, bcr Approved by: re (gjb), jmg Relnotes: yes Sponsored by: ScaleEngine Inc. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2014-10-02T17:41:27.927544Z K 7 svn:log V 220 MFC r272389: Diff reduction with kernel code: instruct the compiler that the data of these types may be unaligned to their "normal" alignment and exercise caution when accessing them. PR: 194071 Approved by: re (gjb) END K 10 svn:author V 7 delphij K 8 svn:date V 27 2014-10-02T17:42:02.872827Z K 7 svn:log V 198 MFC r272389: Diff reduction with kernel code: instruct the compiler that the data of these types may be unaligned to their "normal" alignment and exercise caution when accessing them. PR: 194071 END K 10 svn:author V 7 delphij K 8 svn:date V 27 2014-10-02T17:42:21.137395Z K 7 svn:log V 198 MFC r272389: Diff reduction with kernel code: instruct the compiler that the data of these types may be unaligned to their "normal" alignment and exercise caution when accessing them. PR: 194071 END K 10 svn:author V 8 bdrewery K 8 svn:date V 27 2014-10-02T17:58:47.784043Z K 7 svn:log V 219 MFC r270183: Avoid showing stale errors when nmount(2) fails. This should not be documented in relnotes as it still fails due to a race with unmounting, but no longer shows bogus details. Approved by: re (gjb) END K 10 svn:author V 8 bdrewery K 8 svn:date V 27 2014-10-02T18:00:16.745479Z K 7 svn:log V 65 MFC r270183: Avoid showing stale errors when nmount(2) fails. END K 10 svn:author V 8 bdrewery K 8 svn:date V 27 2014-10-02T18:05:00.815898Z K 7 svn:log V 107 MFC r271321: Don't cross mount boundaries when cleaning tmp files. Approved by: re (gjb) Relnotes: yes END K 10 svn:author V 8 bdrewery K 8 svn:date V 27 2014-10-02T18:05:53.918150Z K 7 svn:log V 85 MFC r271321: Don't cross mount boundaries when cleaning tmp files. Relnotes: yes END K 10 svn:author V 8 bdrewery K 8 svn:date V 27 2014-10-02T18:08:30.057198Z K 7 svn:log V 103 MFC r272028: Make it more explicitly clear that -t will not change filename. Approved by: re (gjb) END K 10 svn:author V 8 bdrewery K 8 svn:date V 27 2014-10-02T18:09:31.509905Z K 7 svn:log V 80 MFC r272028: Make it more explicitly clear that -t will not change filename. END K 10 svn:author V 8 bdrewery K 8 svn:date V 27 2014-10-02T18:11:13.859924Z K 7 svn:log V 157 MFC r271720: If fgets(3) fails in getbounds(), show strerror(3) if not an EOF. Also fix a FILE* leak in getbounds(). PR: 192032 Approved by: re (gjb) END K 10 svn:author V 8 bdrewery K 8 svn:date V 27 2014-10-02T18:12:18.970581Z K 7 svn:log V 135 MFC r271720: If fgets(3) fails in getbounds(), show strerror(3) if not an EOF. Also fix a FILE* leak in getbounds(). PR: 192032 END K 10 svn:author V 3 gjb K 8 svn:date V 27 2014-10-02T18:20:01.934898Z K 7 svn:log V 282 Remove the first argument to panic(), which was initially intended to be the exit code, however when a non-zero exit code was returned to release/Makefile, this would prevent any remaining (and possibly successful) stages from being attempted. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 gjb K 8 svn:date V 27 2014-10-02T18:23:53.721952Z K 7 svn:log V 144 If the vm-base target fails, prevent the vm-image target from being run since it cannot possibly succeed. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 7 delphij K 8 svn:date V 27 2014-10-02T18:26:40.852080Z K 7 svn:log V 412 MFC r272288,272289: When setting environment variables in the atrun script, use the "export foo=bar" form instead of "foo=bar; export foo" since the former allows the shell to catch variable names that are not valid shell identifiers. This will cause /bin/sh to exit with an error (which gets mailed to the at user) and it will not run the script. Obtained from: OpenBSD (r1.63 millert) Approved by: re (gjb) END K 10 svn:author V 7 delphij K 8 svn:date V 27 2014-10-02T18:32:17.437539Z K 7 svn:log V 390 MFC r272288,272289: When setting environment variables in the atrun script, use the "export foo=bar" form instead of "foo=bar; export foo" since the former allows the shell to catch variable names that are not valid shell identifiers. This will cause /bin/sh to exit with an error (which gets mailed to the at user) and it will not run the script. Obtained from: OpenBSD (r1.63 millert) END K 10 svn:author V 7 delphij K 8 svn:date V 27 2014-10-02T18:32:30.025765Z K 7 svn:log V 390 MFC r272288,272289: When setting environment variables in the atrun script, use the "export foo=bar" form instead of "foo=bar; export foo" since the former allows the shell to catch variable names that are not valid shell identifiers. This will cause /bin/sh to exit with an error (which gets mailed to the at user) and it will not run the script. Obtained from: OpenBSD (r1.63 millert) END K 10 svn:author V 3 pfg K 8 svn:date V 27 2014-10-02T18:33:58.184542Z K 7 svn:log V 209 strptime: %s format fix. Almost never needed in real life because %s is tends to be only one format spec. 1) Return code of gmtime_r() is checked. 2) All flags are set. Submitted by: ache MFC after: 3 weeks END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2014-10-02T18:45:00.528892Z K 7 svn:log V 67 Remove the extra CFLAGS now that the driver has been fixed by jhb. END K 10 svn:author V 3 pfg K 8 svn:date V 27 2014-10-02T18:52:29.193515Z K 7 svn:log V 181 strptime(3): Update manpage for %U and %W. %U and %W were implemented as part of r272273 so take them out of the BUGS section and mention them in the SYNOPSIS. MFC after: 1 month END K 10 svn:author V 4 jkim K 8 svn:date V 27 2014-10-02T19:11:18.749918Z K 7 svn:log V 23 Merge ACPICA 20140926. END K 10 svn:author V 3 brd K 8 svn:date V 27 2014-10-02T19:53:37.856539Z K 7 svn:log V 108 - Add a test for bug 191427 where pw(8) will go into an infinite loop Reviewed by: will MFC after: 1 month END K 10 svn:author V 3 hrs K 8 svn:date V 27 2014-10-02T20:01:13.985245Z K 7 svn:log V 112 Separate option handling from SIOC[SG]LAGG to SIOC[SG]LAGGOPTS for backward compatibility with old ifconfig(8). END K 10 svn:author V 4 jkim K 8 svn:date V 27 2014-10-02T20:13:52.322151Z K 7 svn:log V 38 Remove obsolete Makefile for acpi.ko. END K 10 svn:author V 3 hrs K 8 svn:date V 27 2014-10-02T20:17:16.862102Z K 7 svn:log V 41 Revert r272390. Pointed out by: glebius END K 10 svn:author V 3 jhb K 8 svn:date V 27 2014-10-02T21:18:16.535601Z K 7 svn:log V 142 Require p_cansched() for changing a process' protection status via procctl() rather than p_cansee(). Submitted by: rwatson MFC after: 3 days END K 10 svn:author V 6 sbruno K 8 svn:date V 27 2014-10-02T21:19:13.198428Z K 7 svn:log V 174 MFC r271141: Allow multiple image activators to run on the same execution by changing imgp->interpreted to a bitmask instead of, functionally, a bool. Approved by: re (gjb) END K 10 svn:author V 5 luigi K 8 svn:date V 27 2014-10-02T21:34:52.491253Z K 7 svn:log V 137 add CAP_EVENT for the libpcap device so we will be able to use pcap--netmap which does poll() on the file descriptor MFC after: 2 weeks END K 10 svn:author V 3 gnn K 8 svn:date V 27 2014-10-02T22:05:48.107295Z K 7 svn:log V 36 Fixup the setting of the baud rate. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2014-10-02T22:16:00.660523Z K 7 svn:log V 162 MFC r271527: MFV r271511: Use fnvlist_* to make code more readable. Illumos issue: 5135 zpool_find_import_cached() can use fnvlist_* Approved by: re (gjb) END K 10 svn:author V 5 gavin K 8 svn:date V 27 2014-10-02T22:22:34.699917Z K 7 svn:log V 91 Add HARDWARE section of urnis(4) driver to try to gain more visibility. MFC after: 3 days END K 10 svn:author V 5 markj K 8 svn:date V 27 2014-10-02T22:33:35.166096Z K 7 svn:log V 576 Have dtrace(1) handle SIGPIPE by cleaning up and exiting. Additionally, install signal handlers when running in list mode (-l), and acknowledge interrupts by cleaning up and exiting. This ensures that a command like $ dtrace -l -P 'pid$target' -p | less won't cause the ptrace(2)d target process to be killed if less(1) exits before all dtrace output is consumed. Reported by: Anton Yuzhaninov Differential Revision: https://reviews.freebsd.org/D880 Reviewed by: rpaulo MFC after: 1 month Sponsored by: EMC / Isilon Storage Division END K 10 svn:author V 7 delphij K 8 svn:date V 27 2014-10-02T22:52:05.050946Z K 7 svn:log V 115 MFC r271528: MFV r271512: Illumos issue: 5136 fix write throttle comment in dsl_pool.c Approved by: re (gjb) END K 10 svn:author V 5 kargl K 8 svn:date V 27 2014-10-02T23:08:36.100738Z K 7 svn:log V 37 Remove whitespace and 2 blank lines. END K 10 svn:author V 4 ngie K 8 svn:date V 27 2014-10-02T23:26:49.474831Z K 7 svn:log V 267 Import the NetBSD test suite from ^/vendor/NetBSD/tests/09.30.2014_20.45 , minus the vendor Makefiles Provide directions for how to bootstrap the vendor sources in FREEBSD-upgrade MFC after 2 weeks Discussed with: rpaulo Sponsored by: EMC / Isilon Storage Division END K 10 svn:author V 3 gjb K 8 svn:date V 27 2014-10-03T00:13:10.339078Z K 7 svn:log V 130 Update stable/10 to -RC1 in preparation of branching releng/10.1 Approved by: re (implicit) Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 gjb K 8 svn:date V 27 2014-10-03T00:26:33.258711Z K 7 svn:log V 110 Require explicit re approval for releng/10.1 Approved by: re (implicit) Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 gjb K 8 svn:date V 27 2014-10-03T00:49:11.185774Z K 7 svn:log V 140 Copy stable/10@r272459 to releng/10.1 as part of the 10.1-RELEASE process. Approved by: re (implicit) Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 gjb K 8 svn:date V 27 2014-10-03T00:52:20.621882Z K 7 svn:log V 133 Clean vestigial svn:mergeinfo from stable/10 -> releng/10.1 branch. Approved by: re (implicit) Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 gjb K 8 svn:date V 27 2014-10-03T00:58:34.270968Z K 7 svn:log V 114 Bump __FreeBSD_version after releng/10.1 branch. Approved by: re (implicit) Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 gjb K 8 svn:date V 27 2014-10-03T00:58:42.987582Z K 7 svn:log V 114 Bump __FreeBSD_version after releng/10.1 branch. Approved by: re (implicit) Sponsored by: The FreeBSD Foundation END K 10 svn:author V 5 kevlo K 8 svn:date V 27 2014-10-03T01:20:49.238554Z K 7 svn:log V 34 Mention umoscom(4) and uslcom(4). END K 10 svn:author V 5 kevlo K 8 svn:date V 27 2014-10-03T01:39:33.450514Z K 7 svn:log V 27 bump .Dd Reported by: gjb END K 10 svn:author V 6 araujo K 8 svn:date V 27 2014-10-03T02:24:41.075568Z K 7 svn:log V 340 Fix failures and warnings reported by newpynfs20090424 test tool. This fix addresses only issues with the pynfs reports, none of these issues are know to create problems for extant real clients. Submitted by: Bart Hsiao Reworked by: myself Reviewed by: rmacklem Approved by: rmacklem Sponsored by: QNAP Systems Inc. END K 10 svn:author V 3 hrs K 8 svn:date V 27 2014-10-03T04:13:25.033822Z K 7 svn:log V 93 Fix a bug in r272297 which prevented dumpdev from setting. !u is not equivalent to (u != 0). END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2014-10-03T08:46:49.956068Z K 7 svn:log V 72 UPD and UDPLite require a checksum. So check for it. MFC after: 3 days END K 10 svn:author V 5 trasz K 8 svn:date V 27 2014-10-03T09:58:05.927537Z K 7 svn:log V 127 Make autofs(4) use shared lock for lookups, instead of exclusive one. MFC after: 1 month Sponsored by: The FreeBSD Foundation END K 10 svn:author V 5 trasz K 8 svn:date V 27 2014-10-03T10:18:22.758706Z K 7 svn:log V 82 Fix autofs debug macros. MFC after: 1 month Sponsored by: The FreeBSD Foundation END K 10 svn:author V 6 andrew K 8 svn:date V 27 2014-10-03T12:14:19.623751Z K 7 svn:log V 96 Allow the optional limitation on dmb instructions as is already the case with dsb instructions. END K 10 svn:author V 6 andrew K 8 svn:date V 27 2014-10-03T12:20:37.829250Z K 7 svn:log V 144 Add all the dmb/dsb optional limitations, including the alternative values. These are needed for some code llvm generates when targeting ARMv7. END K 10 svn:author V 3 smh K 8 svn:date V 27 2014-10-03T14:49:48.791446Z K 7 svn:log V 693 Fix various issues with zvols When performing snapshot renames we could deadlock due to the locking in zvol_rename_minors. In order to avoid this use the same workaround as zvol_open in zvol_rename_minors. Add missing zvol_rename_minors to dsl_dataset_promote_sync. Protect against invalid index into zv_name in zvol_remove_minors. Replace zvol_remove_minor calls with zvol_remove_minors to ensure any potential children are also renamed. Don't fail zvol_create_minors if zvol_create_minor returns EEXIST. Restore the valid pool check in zfs_ioc_destroy_snaps to ensure we don't call zvol_remove_minors when zfs_unmount_snap fails. PR: 193803 MFC after: 1 week Sponsored by: Multiplay END K 10 svn:author V 5 lwhsu K 8 svn:date V 27 2014-10-03T15:03:44.456434Z K 7 svn:log V 29 Bump .Dd Approved by: kevlo END K 10 svn:author V 6 andrew K 8 svn:date V 27 2014-10-03T15:07:43.789996Z K 7 svn:log V 394 Allow vld and vst instructions to use the canonical form from ARM ARM when including an alignment. Previously binutils would only allow instructions in the form "vld1.64 {d0, d1}, [r0, :128]" where the final comma should not be there, instead the above instruction should be "vld1.64 {d0, d1}, [r0:128]". This change duplicates the alignment code from within the function to handle this case. END K 10 svn:author V 8 melifaro K 8 svn:date V 27 2014-10-03T15:36:58.653127Z K 7 svn:log V 53 Document new table values. Sponsored by: Yandex LLC END K 10 svn:author V 8 melifaro K 8 svn:date V 27 2014-10-03T15:54:51.567059Z K 7 svn:log V 42 Make linear_skipto turned off by default. END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2014-10-03T15:58:04.661200Z K 7 svn:log V 319 Fix XHCI driver for devices which have more than 15 physical root HUB ports. The current bitmap array was too small to hold more than 16 bits and would at some point toggle the context size, which then would trigger an enumeration fault and cause a fallback to the EHCI companion controller, if any. MFC after: 3 days END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2014-10-03T16:09:46.533519Z K 7 svn:log V 121 When we fail to get a USB reference we should just return, because there are no more references held. MFC after: 3 days END K 10 svn:author V 6 grehan K 8 svn:date V 27 2014-10-03T17:27:30.462332Z K 7 svn:log V 222 Add new fields in the FADT, required by IASL 20140926-64. The new IASL from the recent acpi-ca import will error out if it doesn't see these new fields, which were previously reserved. Reported by: lme Reviewed by: neel END K 10 svn:author V 6 jilles K 8 svn:date V 27 2014-10-03T20:24:56.523081Z K 7 svn:log V 50 sh: Fix LINENO and prompt after $'\0 and newline. END K 10 svn:author V 3 smh K 8 svn:date V 27 2014-10-03T20:34:55.433846Z K 7 svn:log V 843 Refactor ZFS ARC reclaim checks and limits Remove previously added kmem methods in favour of defines which allow diff minimisation between upstream code base. Rebalance ARC free target to be vm_pageout_wakeup_thresh by default which eliminates issue where ARC gets minimised instead of balancing with VM pageout. The restores the target point prior to r270759. Bring in missing upstream only changes which move unused code to further eliminate code differences. Add additional DTRACE probe to aid monitoring of ARC behaviour. Enable upstream i386 code paths on platforms which don't define UMA_MD_SMALL_ALLOC. Fix mixture of byte an page values in arc_memory_throttle i386 code path value assignment of available_memory. PR: 187594 Review: D702 Reviewed by: avg MFC after: 1 week X-MFC-With: r270759 & r270861 Sponsored by: Multiplay END K 10 svn:author V 7 delphij K 8 svn:date V 27 2014-10-03T20:36:09.519498Z K 7 svn:log V 81 Add dependencies to various libraries to libzfs and libzpool. Submitted by: sef END K 10 svn:author V 6 marcel K 8 svn:date V 27 2014-10-03T20:48:11.241657Z K 7 svn:log V 662 Add mkimg_chs() for those schemes that need the LBA broken down into cylinder, head and track numbers. Return ~0U for these values when mkimg wasn't given both -T and -H (i.e. no geometry) or the cylinder would be larger than the provided maximum. Use mkimgs_chs() for the EBR, MBR and PC98 schemes to fill in the appropriate fields. Make sure to use a "rounded" size so that the partition is always a multiple of the track size. We reserved the room for it in the metadata callback so that's a valid thing to do. Bump the mkimg version number. While doing that again: have mkimg.o depend on the Makefile so that a version change triggers a rebuild as needed. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2014-10-03T20:54:35.094662Z K 7 svn:log V 143 Update baseline files for EBR, MBR and PC98 now that mkimg fills in the CHS fields appropriately when -T and -H are given on the command line. END K 10 svn:author V 2 ae K 8 svn:date V 27 2014-10-03T21:46:07.160701Z K 7 svn:log V 60 Add GUID of FreeBSD slice to GPT scheme. MFC after: 1 week END K 10 svn:author V 5 markj K 8 svn:date V 27 2014-10-03T23:20:37.927646Z K 7 svn:log V 708 Hook up support for userland CTF support in DTrace. This required some modifications to libproc to support fetching the CTF info for a given file. With this change, dtrace(1) is able to resolve type info for function and USDT probe arguments, and function return values. In particular, the args[n] syntax should now work for referencing arguments of userland probes, provided that the requisite CTF info is available. The uctf tests pass if the test programs are compiled with CTF info. The current infrastructure around the DTrace test suite doesn't support this yet. Differential Revision: https://reviews.freebsd.org/D891 MFC after: 1 month Relnotes: yes Sponsored by: EMC / Isilon Storage Division END K 10 svn:author V 5 markj K 8 svn:date V 27 2014-10-04T02:34:30.897767Z K 7 svn:log V 66 Remove an incorrect and useless debug print. X-MFC-With: r272488 END K 10 svn:author V 4 nyan K 8 svn:date V 27 2014-10-04T05:01:57.849095Z K 7 svn:log V 97 - MFi386: Add compile-with option for tau32-ddk.c. - Whitespace change. - Remove duplicate line. END K 10 svn:author V 4 nyan K 8 svn:date V 27 2014-10-04T05:03:39.704490Z K 7 svn:log V 27 Reduce diffs against i386. END K 10 svn:author V 4 nyan K 8 svn:date V 27 2014-10-04T06:01:30.798857Z K 7 svn:log V 49 Merge pc98's machdep.c into i386/i386/machdep.c. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2014-10-04T07:24:35.438817Z K 7 svn:log V 447 5147 zpool list -v should show individual disk capacity Reviewed by: Adam Leventhal Reviewed by: Christopher Siden Reviewed by: Matthew Ahrens Reviewed by: Richard Elling Approved by: Dan McDonald Author: George Wilson illumos/illumos-gate@7a09f97bc0d52b763c580864e78a665b15be37f8 END K 10 svn:author V 7 delphij K 8 svn:date V 27 2014-10-04T07:26:42.113136Z K 7 svn:log V 468 5164 space_map_max_blksz causes panic, does not work 5165 zdb fails assertion when run on pool with recently-enabled spacemap_histogram feature Reviewed by: Christopher Siden Reviewed by: George Wilson Reviewed by: Saso Kiselkov Approved by: Dan McDonald Author: Matthew Ahrens illumos/illumos-gate@b1be2892dd07cf9a97d47ad06334cdc879196aaf END K 10 svn:author V 7 delphij K 8 svn:date V 27 2014-10-04T07:32:19.366034Z K 7 svn:log V 411 5163 arc should reap range_seg_cache Reviewed by: Christopher Siden Reviewed by: Matthew Ahrens Reviewed by: Richard Elling Reviewed by: Saso Kiselkov Approved by: Dan McDonald Author: George Wilson illumos/illumos@83803b51e1fa57fbf4e86ca5aa58eab6c5822dae END K 10 svn:author V 7 delphij K 8 svn:date V 27 2014-10-04T07:34:50.251241Z K 7 svn:log V 537 5161 add tunable for number of metaslabs per vdev Reviewed by: Alex Reece Reviewed by: Christopher Siden Reviewed by: George Wilson Reviewed by: Paul Dagnelie Reviewed by: Saso Kiselkov Reviewed by: Richard Elling Approved by: Richard Lowe Author: Matthew Ahrens illumos/illumos-gate@bf3e216c7efa56332b456f4cf19d208e21d63839 END