ƒ¸S249578 136 486 242 2362 156 217 216 216 210 191 206 203 393 354 340 7118 468 108 232 287 671 671 678 374 145 138 299 301 242 145 115 152 178 487 382 200 285 182 157 116 480 161 498 563 381 241 967 152 570 136 243 148 182 808 280 1400 208 252 326 178 117 114 165 134 191 170 4214 1015 726 206 99 101 160 275 437 326 326 193 332 196 599 1986 192 1584 1034 433 116 327 146 237 178 208 193 176 203 176 201 192 209 184 181 185 284 206 186 160 169 184 212 1165 243 107 610 376 113 338 342 342 342 342 128 322 99 99 129 456 333 128 99 99 430 201 259 155 130 178 343 K 10 svn:author V 6 adrian K 8 svn:date V 27 2013-04-17T07:21:30.729716Z K 7 svn:log V 390 Update the rate series setup code to use the decisions already made in ath_tx_rate_fill_rcflags(). Include setting up the TX power cap in the rate scenario setup code being passed to the HAL. Other things: * add a tx power cap field in ath_rc. * Add a three-stream flag in ath_rc. * Delete the LDPC flag from ath_rc - it's not a per-rate flag, it's a global flag for the transmission. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2013-04-17T07:22:23.118391Z K 7 svn:log V 146 Use the TPC bank by default for AR9160. Tested: * AR9160, hostap, verified TX power using (2GHz) spectrum analyser TODO: * 5GHz verification! END K 10 svn:author V 6 adrian K 8 svn:date V 27 2013-04-17T07:31:53.759862Z K 7 svn:log V 2265 Setup needed tables for TPC on AR5416->AR9287 chips. * Add ah_ratesArray[] to the ar5416 HAL state - this stores the maximum values permissable per rate. * Since different chip EEPROM formats store this value in a different place, store the HT40 power detector increment value in the ar5416 HAL state. * Modify the target power setup code to store the maximum values in the ar5416 HAL state rather than using a local variable. * Add ar5416RateToRateTable() - to convert a hardware rate code to the ratesArray enum / index. * Add ar5416GetTxRatePower() - which goes through the gymnastics required to correctly calculate the target TX power: + Add the power detector increment for ht40; + Take the power offset into account for AR9280 and later; + Offset the TX power correctly when doing open-loop TX power control; + Enforce the per-rate maximum value allowable. Note - setting a TPC value of 0x0 in the TX descriptor on (at least) the AR9160 resulted in the TX power being very high indeed. This didn't happen on the AR9220. I'm guessing it's a chip bug that was fixed at some point. So for now, just assume the AR5416/AR5418 and AR9130 are also suspect and clamp the minimum value here at 1. Tested: * AR5416, AR9160, AR9220 hostap, verified using (2GHz) spectrum analyser * Looked at target TX power in TX descriptor (using athalq) as well as TX power on the spectrum analyser. TODO: * The TX descriptor code sets the target TX power to 0 for AR9285 chips. I'm not yet sure why. Disable this for TPC and ensure that the TPC TX power is set. * AR9280, AR9285, AR9227, AR9287 testing! * 5GHz testing! Quirks: * The per-packet TPC code is only exercised when the tpc sysctl is set to 1. (dev.ath.X.tpc=1.) This needs to be done before you bring the interface up. * When TPC is enabled, setting the TX power doesn't end up with a call through to the HAL to update the maximum TX power. So ensure that you set the TPC sysctl before you bring the interface up and configure a lower TX power or the hardware will be clamped by the lower TX power (at least until the next channel change.) Thanks to Qualcomm Atheros for all the hardware, and Sam Leffler for use of his spectrum analyser to verify the TX channel power. END K 10 svn:author V 6 ivoras K 8 svn:date V 27 2013-04-17T09:19:29.070264Z K 7 svn:log V 61 Link g_label_disk_ident when building geom_label as a module END K 10 svn:author V 5 gabor K 8 svn:date V 27 2013-04-17T11:40:10.630841Z K 7 svn:log V 122 - Correct mispellings of the word occurrence Submitted by: Christoph Mallon (via private mail) END K 10 svn:author V 5 gabor K 8 svn:date V 27 2013-04-17T11:42:40.059342Z K 7 svn:log V 121 - Correct mispellings of the word necessary Submitted by: Christoph Mallon (via private mail) END K 10 svn:author V 5 gabor K 8 svn:date V 27 2013-04-17T11:43:46.687607Z K 7 svn:log V 121 - Correct mispellings of word miscellaneous Submitted by: Christoph Mallon (via private mail) END K 10 svn:author V 5 gabor K 8 svn:date V 27 2013-04-17T11:45:15.421368Z K 7 svn:log V 115 - Corrrect mispellings of word useful Submitted by: Christoph Mallon (via private mail) END K 10 svn:author V 5 gabor K 8 svn:date V 27 2013-04-17T11:47:32.010515Z K 7 svn:log V 97 - Correct mispellings of word resource Submitted by: Christoph Mallon END K 10 svn:author V 5 gabor K 8 svn:date V 27 2013-04-17T11:48:46.635142Z K 7 svn:log V 111 - Correct mispellings of word and Submitted by: Christoph Mallon (via private mail) END K 10 svn:author V 5 gabor K 8 svn:date V 27 2013-04-17T11:56:11.371917Z K 7 svn:log V 108 - Correct spelling in comments Submitted by: Christoph Mallon (via private mail) END K 10 svn:author V 6 adrian K 8 svn:date V 27 2013-04-17T18:26:01.954124Z K 7 svn:log V 297 Add the static kernel boot environment, needed to actually boot this thing. (Wasting 4k just as a temporary placeholder for a boot environment seems a bit ridiculous, but hey.) Tested: gxemul: $ gxemul -e malta -d i:/home/adrian/work/freebsd/svn/mfsroot-rspro.img -C 4Kc /tftpboot/kernel.MALTA END K 10 svn:author V 7 glebius K 8 svn:date V 27 2013-04-17T18:43:33.829834Z K 7 svn:log V 257 On non-ACPI i386 mp_ncpus is initialized at SI_SUB_CPU, and this prevents us from creating UMA_ZONE_PCPU zones earlier. As bandaid shift initialization of counter(9) zone later. Reviewed by: kib Reported & tested by: Lytochkin Boris END K 10 svn:author V 3 jlh K 8 svn:date V 27 2013-04-17T20:19:32.200458Z K 7 svn:log V 247 Document jail__parameters option. The description explains why we should not configure "path", "host.hostname", "command", "ip4.addr" and ip6.addr" parameters with this, but rather use the historical rc.conf(5) options. MFC after: 3 days END K 10 svn:author V 3 ken K 8 svn:date V 27 2013-04-17T21:00:22.290765Z K 7 svn:log V 7024 Revamp the old NFS server's File Handle Affinity (FHA) code so that it will work with either the old or new server. The FHA code keeps a cache of currently active file handles for NFSv2 and v3 requests, so that read and write requests for the same file are directed to the same group of threads (reads) or thread (writes). It does not currently work for NFSv4 requests. They are more complex, and will take more work to support. This improves read-ahead performance, especially with ZFS, if the FHA tuning parameters are configured appropriately. Without the FHA code, concurrent reads that are part of a sequential read from a file will be directed to separate NFS threads. This has the effect of confusing the ZFS zfetch (prefetch) code and makes sequential reads significantly slower with clients like Linux that do a lot of prefetching. The FHA code has also been updated to direct write requests to nearby file offsets to the same thread in the same way it batches reads, and the FHA code will now also send writes to multiple threads when needed. This improves sequential write performance in ZFS, because writes to a file are now more ordered. Since NFS writes (generally less than 64K) are smaller than the typical ZFS record size (usually 128K), out of order NFS writes to the same block can trigger a read in ZFS. Sending them down the same thread increases the odds of their being in order. In order for multiple write threads per file in the FHA code to be useful, writes in the NFS server have been changed to use a LK_SHARED vnode lock, and upgrade that to LK_EXCLUSIVE if the filesystem doesn't allow multiple writers to a file at once. ZFS is currently the only filesystem that allows multiple writers to a file, because it has internal file range locking. This change does not affect the NFSv4 code. This improves random write performance to a single file in ZFS, since we can now have multiple writers inside ZFS at one time. I have changed the default tuning parameters to a 22 bit (4MB) window size (from 256K) and unlimited commands per thread as a result of my benchmarking with ZFS. The FHA code has been updated to allow configuring the tuning parameters from loader tunable variables in addition to sysctl variables. The read offset window calculation has been slightly modified as well. Instead of having separate bins, each file handle has a rolling window of bin_shift size. This minimizes glitches in throughput when shifting from one bin to another. sys/conf/files: Add nfs_fha_new.c and nfs_fha_old.c. Compile nfs_fha.c when either the old or the new NFS server is built. sys/fs/nfs/nfsport.h, sys/fs/nfs/nfs_commonport.c: Bring in changes from Rick Macklem to newnfs_realign that allow it to operate in blocking (M_WAITOK) or non-blocking (M_NOWAIT) mode. sys/fs/nfs/nfs_commonsubs.c, sys/fs/nfs/nfs_var.h: Bring in a change from Rick Macklem to allow telling nfsm_dissect() whether or not to wait for mallocs. sys/fs/nfs/nfsm_subs.h: Bring in changes from Rick Macklem to create a new nfsm_dissect_nonblock() inline function and NFSM_DISSECT_NONBLOCK() macro. sys/fs/nfs/nfs_commonkrpc.c, sys/fs/nfsclient/nfs_clkrpc.c: Add the malloc wait flag to a newnfs_realign() call. sys/fs/nfsserver/nfs_nfsdkrpc.c: Setup the new NFS server's RPC thread pool so that it will call the FHA code. Add the malloc flag argument to newnfs_realign(). Unstaticize newnfs_nfsv3_procid[] so that we can use it in the FHA code. sys/fs/nfsserver/nfs_nfsdsocket.c: In nfsrvd_dorpc(), add NFSPROC_WRITE to the list of RPC types that use the LK_SHARED lock type. sys/fs/nfsserver/nfs_nfsdport.c: In nfsd_fhtovp(), if we're starting a write, check to see whether the underlying filesystem supports shared writes. If not, upgrade the lock type from LK_SHARED to LK_EXCLUSIVE. sys/nfsserver/nfs_fha.c: Remove all code that is specific to the NFS server implementation. Anything that is server-specific is now accessed through a callback supplied by that server's FHA shim in the new softc. There are now separate sysctls and tunables for the FHA implementations for the old and new NFS servers. The new NFS server has its tunables under vfs.nfsd.fha, the old NFS server's tunables are under vfs.nfsrv.fha as before. In fha_extract_info(), use callouts for all server-specific code. Getting file handles and offsets is now done in the individual server's shim module. In fha_hash_entry_choose_thread(), change the way we decide whether two reads are in proximity to each other. Previously, the calculation was a simple shift operation to see whether the offsets were in the same power of 2 bucket. The issue was that there would be a bucket (and therefore thread) transition, even if the reads were in close proximity. When there is a thread transition, reads wind up going somewhat out of order, and ZFS gets confused. The new calculation simply tries to see whether the offsets are within 1 << bin_shift of each other. If they are, the reads will be sent to the same thread. The effect of this change is that for sequential reads, if the client doesn't exceed the max_reqs_per_nfsd parameter and the bin_shift is set to a reasonable value (22, or 4MB works well in my tests), the reads in any sequential stream will largely be confined to a single thread. Change fha_assign() so that it takes a softc argument. It is now called from the individual server's shim code, which will pass in the softc. Change fhe_stats_sysctl() so that it takes a softc parameter. It is now called from the individual server's shim code. Add the current offset to the list of things printed out about each active thread. Change the num_reads and num_writes counters in the fha_hash_entry structure to 32-bit values, and rename them num_rw and num_exclusive, respectively, to reflect their changed usage. Add an enable sysctl and tunable that allows the user to disable the FHA code (when vfs.XXX.fha.enable = 0). This is useful for before/after performance comparisons. nfs_fha.h: Move most structure definitions out of nfs_fha.c and into the header file, so that the individual server shims can see them. Change the default bin_shift to 22 (4MB) instead of 18 (256K). Allow unlimited commands per thread. sys/nfsserver/nfs_fha_old.c, sys/nfsserver/nfs_fha_old.h, sys/fs/nfsserver/nfs_fha_new.c, sys/fs/nfsserver/nfs_fha_new.h: Add shims for the old and new NFS servers to interface with the FHA code, and callbacks for the The shims contain all of the code and definitions that are specific to the NFS servers. They setup the server-specific callbacks and set the server name for the sysctl and loader tunable variables. sys/nfsserver/nfs_srvkrpc.c: Configure the RPC code to call fhaold_assign() instead of fha_assign(). sys/modules/nfsd/Makefile: Add nfs_fha.c and nfs_fha_new.c. sys/modules/nfsserver/Makefile: Add nfs_fha_old.c. Reviewed by: rmacklem Sponsored by: Spectra Logic MFC after: 2 weeks END K 10 svn:author V 6 jilles K 8 svn:date V 27 2013-04-17T21:08:15.968079Z K 7 svn:log V 372 pututxline: Don't set errno=0 in subfunctions. The functions utx_active_add(), utx_active_remove(), utx_lastlogin_add() and utx_log_add() set errno to 0 if they are successful. This not only violates POSIX if pututxline() is successful, but may also overwrite a valid error with 0 if, for example, utx_lastlogin_add() fails while utx_log_add() succeeds. Reviewed by: ed END K 10 svn:author V 3 pjd K 8 svn:date V 27 2013-04-17T21:08:18.610280Z K 7 svn:log V 16 Style cleanups. END K 10 svn:author V 5 hiren K 8 svn:date V 27 2013-04-17T21:21:27.259038Z K 7 svn:log V 137 Improving r249461 by providing a better way to handle the clang warning. PR: kern/177164 Reviewed by: jhb Approved by: sbruno (mentor) END K 10 svn:author V 3 ken K 8 svn:date V 27 2013-04-17T22:42:43.738301Z K 7 svn:log V 194 Move the NFS FHA (File Handle Affinity) code from sys/nfsserver to sys/nfs, since it is now shared by the two NFS servers. Suggested by: rmacklem Sponsored by: Spectra Logic MFC after: 2 weeks END K 10 svn:author V 8 mckusick K 8 svn:date V 27 2013-04-18T00:12:32.539796Z K 7 svn:log V 573 MFC of 249064: The code in clear_remove() and clear_inodedeps() skips one entry in the pagedep and inodedep hash tables. An entry in the table is skipped because 'pagedep_hash' and 'inodedep_hash' hold the size of the hash tables - 1. The chance that this would have any operational failure is extremely unlikely. These funtions only need to find a single entry and are only called when there are too many entries. The chance that they would fail because all the entries are on the single skipped hash chain are remote. Submitted by: Pedro Martelletto Reviewed by: kib END K 10 svn:author V 8 mckusick K 8 svn:date V 27 2013-04-18T00:14:51.171567Z K 7 svn:log V 573 MFC of 249064: The code in clear_remove() and clear_inodedeps() skips one entry in the pagedep and inodedep hash tables. An entry in the table is skipped because 'pagedep_hash' and 'inodedep_hash' hold the size of the hash tables - 1. The chance that this would have any operational failure is extremely unlikely. These funtions only need to find a single entry and are only called when there are too many entries. The chance that they would fail because all the entries are on the single skipped hash chain are remote. Submitted by: Pedro Martelletto Reviewed by: kib END K 10 svn:author V 8 mckusick K 8 svn:date V 27 2013-04-18T00:53:47.604245Z K 7 svn:log V 580 MFC of 248561: When renaming a directory from one parent directory to another, we need to call ufs_checkpath() to walk from our new location to the root of the filesystem to ensure that we do not encounter ourselves along the way. Until now, we accomplished this by reading the ".." entries of each directory in our path until we reached the root (or encountered an error). This change tries to avoid the I/O of reading the ".." entries by first looking them up in the name cache and only doing the I/O when the name cache lookup fails. Reviewed by: kib Tested by: Peter Holm END K 10 svn:author V 3 pfg K 8 svn:date V 27 2013-04-18T01:20:08.280504Z K 7 svn:log V 281 DTrace: NFS translators should be split into client/server pieces Belatedly update the provider with changes from OpenSolaris: PSARC 2008/050 DTrace NFS v3 Provider 6696397 NFS v3 provider reports all UDP clients as 0.0.0.0 6711844 assert: vp->v_shrlocks Obtained from: Illumos END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2013-04-18T01:21:44.105244Z K 7 svn:log V 50 Print RDSEED, ADX, and SMAP. Pointed out by: kib END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2013-04-18T01:30:08.588035Z K 7 svn:log V 43 Add the most current CPUID7_* definitions. END K 10 svn:author V 6 andrew K 8 svn:date V 27 2013-04-18T02:20:58.577252Z K 7 svn:log V 203 Fix the value of NT_FREEBSD_TAG to be the same as ABI_NOTRTYPE in lib/csu. Add NT_FREEBSD_NOINIT_TAG for the value of CRT_NOINIT_NOTETYPE. Check for both of these when detecting a FreeBSD binary in gdb. END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2013-04-18T05:12:11.371447Z K 7 svn:log V 204 Revert revision 249323, the PR/177624 is confusing, that bug is caused by using buggy getcontext/setcontext on same stack, while swapcontext normally works on different stack, there is no such a problem. END K 10 svn:author V 3 alc K 8 svn:date V 27 2013-04-18T05:34:33.242043Z K 7 svn:log V 149 When calculating the number of reserved nodes, discount the pages that will be used to store the nodes. Sponsored by: EMC / Isilon Storage Division END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2013-04-18T05:56:00.761381Z K 7 svn:log V 49 Avoid copying memory if SIGCANCEL is not masked. END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2013-04-18T05:58:07.202146Z K 7 svn:log V 19 Remove debug code. END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2013-04-18T07:09:27.635396Z K 7 svn:log V 57 Move the previously added CPUID7 macros to CPUID_STDEXT. END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-04-18T09:03:06.851694Z K 7 svn:log V 86 MFC r248695: Remove two bzero()s that are erasing only few more bytes then set later. END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-04-18T09:40:34.922355Z K 7 svn:log V 394 MFC r248868, r248874: Implement CAM_PERIPH_FOREACH() macro, safely iterating over the list of driver's periphs, acquiring and releaseing periph references while doing it. Use it to iterate over the lists of ada and da periphs when flushing caches and putting devices to sleep on shutdown and suspend. Previous code could panic in theory if some device disappear in the middle of the process. END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-04-18T09:44:00.317649Z K 7 svn:log V 289 MFC r248872, r249048: Make pre-shutdown flush and spindown routines to not use xpt_polled_action(), but execute the commands in regular way. There is no any reason to cook CPU while the system is still fully operational. After this change polling in CAM is used only for kernel dumping. END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-04-18T09:58:30.914460Z K 7 svn:log V 107 MFC r249091: Use xpt_lock_buses() instead of equivalent mtx_lock(&xsoftc.xpt_topo_lock) to unify the code. END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-04-18T10:01:43.915822Z K 7 svn:log V 192 MFC r249104: Move CAM_DEBUG_CDB messages from the point of queuing to the point of sending to SIM. That allows to inspect real requests execution order, respecting priorities, freezing, etc. END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-04-18T10:03:44.512406Z K 7 svn:log V 90 MFC r249105: Remove extra NULL checks. d_drv1 can never be NULL during periph life cycle. END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-04-18T10:06:52.631325Z K 7 svn:log V 65 MFC r249106: Replace some direct mutex operations with wrappers. END K 10 svn:author V 4 joel K 8 svn:date V 27 2013-04-18T10:08:27.031724Z K 7 svn:log V 23 Remove EOL whitespace. END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-04-18T10:40:40.359311Z K 7 svn:log V 387 MFC r249108: - Unify device to target insertion inside xpt_alloc_device() instead of duplicating it three times. - Reformat code to reduce indentation. - Add lock assertions to every point where reference counters are modified. - When reference counters are reaching zero, add assertions that there are no children items left. - Add a bit more locking to the xptpdperiphtraverse(). END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-04-18T10:42:48.993043Z K 7 svn:log V 69 MFC r249224: Remove extra semicolons from CAM_SIM_[UN]LOCK() macros. END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-04-18T10:49:52.391780Z K 7 svn:log V 405 MFC r248674: Make g_wither_washer() to not loop by itself, but only when there was some more topology change done that may require its attention. Add few missing g_do_wither() calls in respective places to signal it. This fixes potential infinite loop here when some provider is withered, but still opened or connected for some reason and so can not be destroyed. For example, see r227009 and r227510. END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-04-18T10:57:56.866597Z K 7 svn:log V 470 MFC r238171, r248679: Fix long known deadlock between geom dev destruction and d_close() call. Use destroy_dev_sched_cb() to not wait for device destruction while holding GEOM topology lock (that actually caused deadlock). Use request counting protected by mutex to properly wait for outstanding requests completion in cases of device closing and geom destruction. Unlike r227009, this code does not block taskqueue thread for indefinite time, waiting for completion. END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-04-18T11:13:48.319371Z K 7 svn:log V 288 MFC r248694: In GEOM DISK: - Replace single done mutex with per-disk ones. On system with several disks on several HBAs that removes small, but measurable lock congestion. - Modify disk destruction process to not destroy the mutex prematurely. - Remove some extra pointer derefences. END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-04-18T12:43:06.935067Z K 7 svn:log V 148 Make siis(4) and mvs(4) send bus_get_dma_tag() requests to parent buses passing real bus' child pointers instead of grandchilds. Requested by: kib END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2013-04-18T13:09:04.369857Z K 7 svn:log V 869 Both NFS clients can deadlock when using the "rdirplus" mount option. This can occur when an nfsiod thread that already holds a buffer lock attempts to acquire a vnode lock on an entry in the directory (a LOR) when another thread holding the vnode lock is waiting on an nfsiod thread. This patch avoids the deadlock by disabling readahead for this case, so the nfsiod threads never do readdirplus. Since readaheads for directories need the directory offset cookie from the previous read, they cannot normally happen in parallel. As such, testing by jhb@ and myself didn't find any performance degredation when this patch is applied. If there is a case where this results in a significant performance degradation, mounting without the "rdirplus" option can be done to re-enable readahead for directories. Reported and tested by: jhb Reviewed by: jhb MFC after: 2 weeks END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-04-18T13:19:41.062928Z K 7 svn:log V 60 MFC r249336: Add ID for ASMedia ASM1042 USB 3.0 controller. END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-04-18T17:07:04.745894Z K 7 svn:log V 477 Introduce kern.timecounter.smp_tsc_adjust tunable (disabled by default) and respective functionality, allowing to synchronize TSC on APs to match BSP's during boot. It may be unsafe in general case due to theoretical chance of later drift if CPUs are using different clock rate or source, but it allows to use TSC in some cases when difference caused by some initialization bug, while TSCs are known to increment synchronously. Reviewed by: jimharris, kib MFC after: 1 month END K 10 svn:author V 5 crees K 8 svn:date V 27 2013-04-18T18:11:30.084119Z K 7 svn:log V 42 Add _group to allowed clobbered variables END K 10 svn:author V 2 np K 8 svn:date V 27 2013-04-18T19:52:11.677745Z K 7 svn:log V 151 cxgbe/tom: Update the CLIP table on the chip when there are changes to the list of IPv6 addresses on the system. The table is used for TOE+IPv6 only. END K 10 svn:author V 4 oleg K 8 svn:date V 27 2013-04-18T20:13:33.332657Z K 7 svn:log V 55 Recover missing arp_ifinit() call. MFC after: 2 weeks END K 10 svn:author V 2 np K 8 svn:date V 27 2013-04-18T22:54:41.880739Z K 7 svn:log V 91 cxgbe(4): Refuse to install T5 firmwares on a T4 card (and vice versa). MFC after: 1 week END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2013-04-18T23:20:16.366502Z K 7 svn:log V 710 When an NFS unmount occurs, once vflush() writes the last dirty buffer for the last vnode on the mount back to the server, it returns. At that point, the code continues with the unmount, including freeing up the nfs specific part of the mount structure. It is possible that an nfsiod thread will try to check for an empty I/O queue in the nfs specific part of the mount structure after it has been free'd by the unmount. This patch avoids this problem by setting the iodmount entries for the mount back to NULL while holding the mutex in the unmount and checking the appropriate entry is non-NULL after acquiring the mutex in the nfsiod thread. Reported and tested by: pho Reviewed by: kib MFC after: 2 weeks END K 10 svn:author V 4 ache K 8 svn:date V 27 2013-04-19T00:30:52.410095Z K 7 svn:log V 186 Attempt to mitigate poor initialization of arc4 by one-shot reinitialization from yarrow right after good entropy is harvested. Approved by: secteam (delphij) MFC after: 1 week END K 10 svn:author V 3 ken K 8 svn:date V 27 2013-04-19T03:55:54.392856Z K 7 svn:log V 1306 MFC r249334 and r249384: ------------------------------------------------------------------------ r249334 | ken | 2013-04-10 10:01:45 -0600 (Wed, 10 Apr 2013) | 11 lines Fix a time calculation error in ctlstat_standard(). ctlstat.c: When converting a timeval to a floating point number in ctlstat_standard(), cast the nanoseconds calculation to a long double, so we don't lose precision. Without the cast, we wind up with a time in whole seconds only. Sponsored by: Spectra Logic ------------------------------------------------------------------------ r249384 | ken | 2013-04-11 15:18:04 -0600 (Thu, 11 Apr 2013) | 17 lines Fix bugs in the elapsed time calculation in ctlstat_standard() pointed out by bde: - Casting to long double isn't needed. - The division isn't needed, multiplication can be used. "When 1 nanosecond is in a floating point literal, the whole expression is automatically promoted correctly." - non-KNF indentation (1 tab) for the newly split line - different non-KNF indentation (5 spaces) for the previously split line - exessive parentheses around the division operation - bogus blank line which splits up the etime initialization - general verboseness from the above. Submitted by: bde Sponsored by: Spectra Logic END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2013-04-19T05:01:14.622109Z K 7 svn:log V 110 Fix the symlink creation from r249484 so that repeated installs work correctly. Suggested by Tijl Coosemans. END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2013-04-19T05:13:57.846313Z K 7 svn:log V 154 An even more refined version of r249484, until we can come up with a good fix for the -print-file-name=include breakage. As suggested by Andrey Chernov. END K 10 svn:author V 6 sbruno K 8 svn:date V 27 2013-04-19T05:28:08.280800Z K 7 svn:log V 230 MFC r249170 Notify CAM on state* change to a logical volume not status. This resolves the issues reported regarding camcontrol devlist not showing the rebuild states of volumes unless an explicit camcontrol rescan was executed. END K 10 svn:author V 8 jhibbits K 8 svn:date V 27 2013-04-19T05:46:16.976231Z K 7 svn:log V 81 Fix the uart(4) module build. Without uart_dev_lpc the module cannot be loaded. END K 10 svn:author V 4 jkim K 8 svn:date V 27 2013-04-19T05:49:53.670523Z K 7 svn:log V 24 Import ACPICA 20130418. END K 10 svn:author V 4 jkim K 8 svn:date V 27 2013-04-19T05:50:57.797532Z K 7 svn:log V 21 Tag ACPICA 20130418. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2013-04-19T06:59:10.471810Z K 7 svn:log V 70 Use uint32_t for fields that are fetched via ath_hal_getcapability(). END K 10 svn:author V 6 adrian K 8 svn:date V 27 2013-04-19T07:56:22.798241Z K 7 svn:log V 39 Print out the chainmask configuration. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2013-04-19T08:01:34.824240Z K 7 svn:log V 96 .. don't know how this snuck into this commit. Sorry. Fix compile build before anyone notices. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2013-04-19T08:06:45.175602Z K 7 svn:log V 75 Add a debug statement to log the currently chosen chainmask configuration. END K 10 svn:author V 2 mm K 8 svn:date V 27 2013-04-19T09:19:10.439912Z K 7 svn:log V 4121 MFC 248571,248976,249004,249042,249188,249195-249196,249206,249207,249319, 249326,249356-249357 Merge libzfs_core and other ZFS bugfixes and improvements. MFC r248571: MFV 238590, 238592: In the first zfs ioctl restructuring phase, the libzfs_core library was introduced. It is a new thin library that wraps around kernel ioctl's. The idea is to provide a forward-compatible way of dealing with new features. Arguments are passed in nvlists and not random zfs_cmd fields, new-style ioctls are logged to pool history using a new method of history logging. http://blog.delphix.com/matt/2012/01/17/the-future-of-libzfs/ MFV 247580 [1]: To address issues of several deadlocks and race conditions the locking code around dsl_dataset was rewritten and the interface to synctasks was changed. User-Visible Changes: "zfs snapshot" can create more arbitrary snapshots at once (atomically) "zfs destroy" destroys multiple snapshots at once "zfs recv" has improved performance Backward Compatibility: I have extended the compatibility layer to support full backward compatibility by remapping or rewriting the responsible ioctl arguments. Old utilities are fully supported by the new kernel module. Forward Compatibility: New utilities work with old kernels with the following restrictions: - creating, destroying, holding and releasing of multiple snapshots at once is not supported, this includes recursive (-r) commands Illumos ZFS issues: 2882 implement libzfs_core 2900 "zfs snapshot" should be able to create multiple, arbitrary snapshots at once 3464 zfs synctask code needs restructuring MFC r248976: Call dmu_snapshot_list_next() in zvol.c with dsl_pool_config lock held MFC r249004: Do not check against uninitialized rc and comment out vendor code MFC r249042: Fix possible pool hold leak in dmu_send_impl() Illumos ZFS issues: 3645 dmu_send_impl: possibilty of pool hold leak MFC r249188: Import vendor change to reduce diff, no effect on FreeBSD. Illumos ZFS issues: 3517 importing pool with autoreplace=on and "hole" vdevs crashes syseventd MFC r249195: Merge change from vendor to reduce diff only. ZFS dtrace probes are not supported on FreeBSD yet. Illumos ZFS issues: 3598 want to dtrace when errors are generated in zfs MFC r249196: Provide a fix for kernel panic if receiving recursive deduplicated streams. Problem reported to vendor. Illumos ZFS issues: 3692 Panic on zfs receive of a recursive deduplicated stream MFC r249206: Merge vendor change - modify time processing in deadman thread. Illumos ZFS issues: 3618 ::zio dcmd does not show timestamp data MFC r249207: Allow zdb to output a histogram of compressed block sizes. Illumos ZFS issues: 3641 want a histogram of compressed block sizes MFC r249319: ZFS expects a copyout of zfs_cmd_t on an ioctl error. Our sys_ioctl() doesn't copyout in this case. To solve this a new struct zfs_iocparm_t is introduced consisting of: - zfs_ioctl_version (future backwards compatibility purposes) - user space pointer to zfs_cmd_t (copyin and copyout) - size of zfs_cmd_t (verification purposes) The copyin and copyout of zfs_cmd_t is now done the illumos (vendor) way what makes porting of new changes easier and ensures correct behavior if returning an error. MFC r249326: Cast (void *)(uintptr_t) on copyout and copyin of zfs_iocparm_t.zfs_cmd MFC r249356: Merge bugfixes accepted and integrated by vendor. Underlying problems have been reported by us and fixed in r240942 and r249196. Illumos ZFS issues: 3645 dmu_send_impl: possibilty of pool hold leak 3692 Panic on zfs receive of a recursive deduplicated stream MFC r249357: Fix libzfs to report error instead of returning zero if trying to hold or release a non-existing snapshot of a existing dataset. In recursive case error is reported if no snapshots with the requested name have been found. Illumos ZFS issues: 3699 zfs hold or release of a non-existent snapshot does not output error END K 10 svn:author V 6 jilles K 8 svn:date V 27 2013-04-19T10:16:00.229939Z K 7 svn:log V 919 sem: Restart the POSIX sem_* calls after signals with SA_RESTART set. Programs often do not expect an [EINTR] return from sem_wait() and POSIX only allows it if the signal was installed without SA_RESTART. The timeout in sem_timedwait() is absolute so it can be restarted normally. The umtx call can be invoked with a relative timeout and in that case [ERESTART] must be changed to [EINTR]. However, libc does not do this. The old POSIX semaphore implementation did this correctly (before r249566), unlike the new umtx one. It may be desirable to avoid [EINTR] completely, which matches the pthread functions and is explicitly permitted by POSIX. However, the kernel must return [EINTR] at least for signals with SA_RESTART clear, otherwise pthread cancellation will not abort a semaphore wait. In this commit, only restore the 8.x behaviour which is also permitted by POSIX. Discussed with: jhb MFC after: 1 week END K 10 svn:author V 2 mm K 8 svn:date V 27 2013-04-19T10:35:45.067409Z K 7 svn:log V 634 MFC r240870 (pjd): It is possible to recursively destroy snapshots even if the snapshot doesn't exist on a dataset we are starting from. For example if we have the following configuration: tank tank/foo tank/foo@snap tank/bar tank/bar@snap We can execute: # zfs destroy -t tank@snap eventhough tank@snap doesn't exit. Unfortunately it is not possible to do the same with recursive rename: # zfs rename -r tank@snap tank@pans cannot open 'tank@snap': dataset does not exist ...until now. This change allows to recursively rename snapshots even if snapshot doesn't exist on the starting dataset. Sponsored by: rsync.net END K 10 svn:author V 2 mm K 8 svn:date V 27 2013-04-19T10:48:38.906721Z K 7 svn:log V 114 MFC r248493: Plug memory leak in dsl_check_snap_cb() This was unnoticed because the function is very rarely used. END K 10 svn:author V 7 attilio K 8 svn:date V 27 2013-04-19T11:06:20.603515Z K 7 svn:log V 4 MFC END K 10 svn:author V 7 attilio K 8 svn:date V 27 2013-04-19T11:56:25.965490Z K 7 svn:log V 6 MERGE END K 10 svn:author V 7 glebius K 8 svn:date V 27 2013-04-19T13:40:13.310567Z K 7 svn:log V 64 Don't compare unsigned socklen_t against < 0. Reviewed by: jhb END K 10 svn:author V 2 jh K 8 svn:date V 27 2013-04-19T15:19:29.480130Z K 7 svn:log V 183 Include PID in the error message which is printed when the maxproc limit is exceeded. Improve formatting of the message while here. PR: kern/60550 Submitted by: Lowell Gilbert, bde END K 10 svn:author V 6 adrian K 8 svn:date V 27 2013-04-19T17:50:38.626473Z K 7 svn:log V 341 Implement a very basic multi-PHY aware switch device. This is intended to be used as a stop-gap for switch devices which expose multiple ethernet PHYs but we don't have a driver for - here, etherswitchcfg and the general switch configuration API can be used to interface to said PHYs. Submitted by: Luiz Otavio O Souza END K 10 svn:author V 6 sbruno K 8 svn:date V 27 2013-04-19T18:37:49.859567Z K 7 svn:log V 230 MFC r249170 Notify CAM on state* change to a logical volume not status. This resolves the issues reported regarding camcontrol devlist not showing the rebuild states of volumes unless an explicit camcontrol rescan was executed. END K 10 svn:author V 6 sbruno K 8 svn:date V 27 2013-04-19T18:39:17.589098Z K 7 svn:log V 230 MFC r249170 Notify CAM on state* change to a logical volume not status. This resolves the issues reported regarding camcontrol devlist not showing the rebuild states of volumes unless an explicit camcontrol rescan was executed. END K 10 svn:author V 3 sjg K 8 svn:date V 27 2013-04-19T18:45:03.998240Z K 7 svn:log V 100 Add stage-install.sh so we can do away with the need to have $STAGE_OBJTOP/include for src/include. END K 10 svn:author V 5 hiren K 8 svn:date V 27 2013-04-19T19:28:48.627731Z K 7 svn:log V 237 MFC: r248842 Update hwpmc to support Haswell class processors. 0x3C: /* Per Intel document 325462-045US 01/2013. */ Add manpage to document all the goodness that is available in this processor model. Approved by: sbruno (mentor) END K 10 svn:author V 2 ed K 8 svn:date V 27 2013-04-19T19:38:39.734533Z K 7 svn:log V 104 Fix -Wmissing-variable-declarations compiler warnings. References: https://www.illumos.org/issues/3700 END K 10 svn:author V 2 ed K 8 svn:date V 27 2013-04-19T19:45:00.033757Z K 7 svn:log V 507 Add the Clang specific -Wmissing-variable-declarations to WARNS=6. This compiler flag enforces that that people either mark variables static or use an external declarations for the variable, similar to how -Wmissing-prototypes works for functions. Due to the fact that Yacc/Lex generate code that cannot trivially be changed to not warn because of this (lots of yy* variables), add a NO_WMISSING_VARIABLE_DECLARATIONS that can be used to turn off this specific compiler warning. Announced on: toolchain@ END K 10 svn:author V 3 ken K 8 svn:date V 27 2013-04-19T20:03:51.865965Z K 7 svn:log V 1892 Update chio(1) and ch(4) to support reporting element designators. This allows mapping a tape drive in a changer (as reported by 'chio status') to a sa(4) driver instance by comparing the serial numbers. The designators can be ASCII (which is printed out directly), binary (which is printed in hex format) or UTF-8, which is printed in either native UTF-8 format if the terminal can support it, or in %XX notation for non-ASCII characters. Thanks to Hiroki Sato for the explaining UTF-8 printing and example UTF-8 printing code. chio.h: Modify the changer_element_status structure to add new fields and definitions from the SMC3r16 spec. Rename the original CHIOGSTATUS ioctl to OCHIOGTATUS and define a new CHIOGSTATUS ioctl. Clean up some tab/space issues. chio.c: For the 'status' subcommand, print the designator field if it is supplied by a device. scsi_ch.h: Add new flags for DVCID and CURDATA to the READ ELEMENT STATUS command structure. Add a read_element_status_device_id structure for the data fields in the new standard. Add new unions, dt_or_obsolete and voltage_devid, to hold and address data from either SCSI-2 or newer devices. scsi_ch.c: Implement support for fetching device IDs with READ ELEMENT STATUS data. Add new arguments to scsi_read_element_status() to allow the user to request the DVCID and CURDATA bits. This isn't compiled into libcam (it's only an internal kernel interface), so we don't need any special handling for the API change. If the user issues the new CHIOGSTATUS ioctl, copy all of the available element status data out. If he issues the OCHIOGSTATUS ioctl, we don't copy the new fields in the structure. Fix a bug in chopen() that would result in the peripheral never getting unheld if chgetparams() failed. Sponsored by: Spectra Logic Submitted by: Po-Li Soong MFC After: 1 week END K 10 svn:author V 5 luigi K 8 svn:date V 27 2013-04-19T21:08:21.364615Z K 7 svn:log V 98 mostly whitespace changes: - remove vestiges of the old memory allocator - clean up some comments END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2013-04-19T21:08:56.411188Z K 7 svn:log V 1486 Merge r249478 from stable/8 to releng/8.4: FreeBSD 8.0 introduced inpcb reference counting, and FreeBSD 8.1 began using that reference count to protect inpcb stability in udp_pcblist() and other monitoring functions, preventing the inpcb from being garbage collected across potentially sleeping copyout() operations despite the inpcb zone becoming shrinkable. However, this introduced a race condition in which inp->inp_socket() might become NULL as a result of the socket being freed, but before the inpcb we removed from the global list of connections, allowing it to be exposed to a third thread invoking udp_input() or udp6_input() which would try to indirect through inp_socket without testing it for NULL. This might occur with particular regularity on systems that frequently run netstat, or which use SNMP for connection monitoring. Later FreeBSD releases use a different reference/destruction model, but stable/8 remained affected in FreeBSD 8.2 and 8.3; the problem could be spotted on very high-load UDP services, such as top-level name servers. An Errata Note for 8.x branches under continuing support might be appropriate. Regardless, this fix should be merged to releng/8.4 prior to 8.4-RELEASE. PR: 172963 Submitted by: Vincent Miller Submitted by: Julien Charbon Submitted by: Marc De La Gueronniere Approved by: re (rodrigc) END K 10 svn:author V 3 ken K 8 svn:date V 27 2013-04-19T21:09:27.121115Z K 7 svn:log V 941 MFC r249347: ------------------------------------------------------------------------ r249347 | ken | 2013-04-10 16:12:21 -0600 (Wed, 10 Apr 2013) | 22 lines Add a callback to the ada(4) driver so that it knows when GEOM has released references to it. This is the functional equivalent to change r237518, which added this functionality to the cd(4) and da(4) drivers. This fix prevents a panic caused by GEOM calling adaopen() while the device is going away. We now keep the device around until GEOM has finished cleaning up its state. ata_da.c: In adaregister(), add a d_gone callback to the GEOM disk structure registered for the ada driver. Increment the peripheral reference count for GEOM. Add a new callback, adadiskgonecb(), that GEOM calls when it is done with its resources. This callback releases the reference acquired in adaregister(). Submitted by: Po-Li Soong Sponsored by: Spectra Logic END K 10 svn:author V 6 adrian K 8 svn:date V 27 2013-04-19T21:49:11.157578Z K 7 svn:log V 337 Initialise the chainmask fields regardless of whether 11n support is compiled in or not. This fixes issues with people running -HEAD but who build modules without doing a "make buildkernel KERNCONF=XXX", thus picking up opt_*.h. The resulting module wouldn't have 11n enabled and the chainmask configuration would just be plain wrong. END K 10 svn:author V 4 jkim K 8 svn:date V 27 2013-04-19T23:49:34.548874Z K 7 svn:log V 23 Merge ACPICA 20130418. END K 10 svn:author V 6 sbruno K 8 svn:date V 27 2013-04-20T00:33:37.179154Z K 7 svn:log V 231 Expose CAM_BOOT_DELAY as a kernel conf item now. This allows users who boot without loader to adjust their environments around slightly buggy or slow hardware. PR: kern/161809 Submitted by: rozhuk.im@gmail.com MFC after: 2 weeks END K 10 svn:author V 3 imp K 8 svn:date V 27 2013-04-20T01:12:23.305971Z K 7 svn:log V 54 Add note about fagility of the clang upgrade process. END K 10 svn:author V 7 trociny K 8 svn:date V 27 2013-04-20T07:47:26.410151Z K 7 svn:log V 140 Make libprocstat(3) extract procstat notes from a process core file. PR: kern/173723 Suggested by: jhb Glanced by: kib MFC after: 1 month END K 10 svn:author V 7 trociny K 8 svn:date V 27 2013-04-20T07:49:35.935311Z K 7 svn:log V 82 Add procstat_getvmmap function to get VM layout of a process. MFC after: 1 month END K 10 svn:author V 7 trociny K 8 svn:date V 27 2013-04-20T07:50:59.845050Z K 7 svn:log V 111 Use procstat_getprocs(3) for retrieving thread information instead of direct sysctl calls. MFC after: 1 month END K 10 svn:author V 7 trociny K 8 svn:date V 27 2013-04-20T07:52:23.018475Z K 7 svn:log V 97 Use more generic procstat_getvmmap(3) for retrieving VM layout of a process. MFC after: 1 month END K 10 svn:author V 7 trociny K 8 svn:date V 27 2013-04-20T07:54:07.400285Z K 7 svn:log V 80 Add procstat_getgroups function to retrieve process groups. MFC after: 1 month END K 10 svn:author V 7 trociny K 8 svn:date V 27 2013-04-20T07:55:31.670668Z K 7 svn:log V 106 Use procstat_getgroups(3) for retrieving groups information instead of direct sysctl. MFC after: 1 month END K 10 svn:author V 7 trociny K 8 svn:date V 27 2013-04-20T07:57:08.156879Z K 7 svn:log V 80 Add procstat_getumask function to retrieve a process umask. MFC after: 1 month END K 10 svn:author V 7 trociny K 8 svn:date V 27 2013-04-20T07:58:20.788632Z K 7 svn:log V 104 Use procstat_getumask(3) for retrieving umaks information instead of direct sysctl. MFC after: 1 month END K 10 svn:author V 7 trociny K 8 svn:date V 27 2013-04-20T07:59:44.849957Z K 7 svn:log V 96 Add procstat_getrlimit function to retrieve a process resource limits info. MFC after: 1 month END K 10 svn:author V 7 trociny K 8 svn:date V 27 2013-04-20T08:01:00.170636Z K 7 svn:log V 112 Use procstat_getrlimit(3) for retrieving rlimit information instead of direct sysctl calls. MFC after: 1 month END K 10 svn:author V 7 trociny K 8 svn:date V 27 2013-04-20T08:02:43.821215Z K 7 svn:log V 88 Add procstat_getpathname function to retrieve a process executable. MFC after: 1 month END K 10 svn:author V 7 trociny K 8 svn:date V 27 2013-04-20T08:03:56.322438Z K 7 svn:log V 85 Add procstat_getosrel function to retrieve a process osrel info. MFC after: 1 month END K 10 svn:author V 7 trociny K 8 svn:date V 27 2013-04-20T08:05:04.661035Z K 7 svn:log V 89 Use libprocstat(3) when retrieving binary information for a process. MFC after: 1 month END K 10 svn:author V 7 trociny K 8 svn:date V 27 2013-04-20T08:07:04.409612Z K 7 svn:log V 187 Extend libprocstat with functions to retrieve process command line arguments and environment variables. Suggested by: stas Reviewed by: jhb and stas (initial version) MFC after: 1 month END K 10 svn:author V 7 trociny K 8 svn:date V 27 2013-04-20T08:08:29.136819Z K 7 svn:log V 109 Use libprocstat(3) to retrieve process command line arguments and environment variables. MFC after: 1 month END K 10 svn:author V 7 trociny K 8 svn:date V 27 2013-04-20T08:10:47.067653Z K 7 svn:log V 90 Add procstat_getauxv function to retrieve a process auxiliary vector. MFC after: 1 month END K 10 svn:author V 7 trociny K 8 svn:date V 27 2013-04-20T08:13:35.773069Z K 7 svn:log V 64 This should have been committed in r249666. MFC after: 1 month END K 10 svn:author V 7 trociny K 8 svn:date V 27 2013-04-20T08:15:43.018657Z K 7 svn:log V 73 Use libprocstat(3) to retrieve ELF auxiliary vector. MFC after: 1 month END K 10 svn:author V 7 trociny K 8 svn:date V 27 2013-04-20T08:17:20.546707Z K 7 svn:log V 88 Add procstat_getkstack function to dump kernel stacks of a process. MFC after: 1 month END K 10 svn:author V 7 trociny K 8 svn:date V 27 2013-04-20T08:19:06.446717Z K 7 svn:log V 115 Use procstat_getkstack(3) for retrieving process kernel stacks instead of direct sysctl calls. MFC after: 1 month END K 10 svn:author V 7 trociny K 8 svn:date V 27 2013-04-20T08:22:09.944523Z K 7 svn:log V 1067 Make use of newly added libprocstat(3) ability to extract procstat info from a process core file. So now one can run procstat(1) on a process core e.g. to get a list of files opened by a process when it crashed: root@lisa:/ # procstat -f /root/vi.core PID COMM FD T V FLAGS REF OFFSET PRO NAME 658 vi text v r r-------- - - - /usr/bin/vi 658 vi ctty v c rw------- - - - /dev/pts/0 658 vi cwd v d r-------- - - - /root 658 vi root v d r-------- - - - / 658 vi 0 v c rw------- 11 3208 - /dev/pts/0 658 vi 1 v c rw------- 11 3208 - /dev/pts/0 658 vi 2 v c rw------- 11 3208 - /dev/pts/0 658 vi 3 v r r----n-l- 1 0 - /tmp/vi.0AYKz3Lps7 658 vi 4 v r rw------- 1 0 - /var/tmp/vi.recover/vi.GaGYsz 658 vi 5 v r rw------- 1 0 - - PR: kern/173723 Suggested by: jhb MFC after: 1 month END K 10 svn:author V 7 trociny K 8 svn:date V 27 2013-04-20T08:23:19.543225Z K 7 svn:log V 146 Sync gcore(1) with the recent changes in kernel code aimed at adding procstat notes to a process core file. Suggested by: jhb MFC after: 1 month END K 10 svn:author V 7 trociny K 8 svn:date V 27 2013-04-20T08:25:14.953106Z K 7 svn:log V 11 Bump date. END K 10 svn:author V 2 mm K 8 svn:date V 27 2013-04-20T09:25:25.106267Z K 7 svn:log V 518 MFC r249047 (avg): spa_open_common: fix argument to zvol_create_minors Prior to r248571 spa_open was always called with a bare pool name, but now it is called with a dataset name instead (spa_lookup handles that). So, when a ZFS root is mounted spa_open is called with a name of a root dataset, which can very well be different from the pool name. But zvol_create_minors should be called with the pool name, because it performs a recursive traversal of all datasets under the name to find all those that are volumes. END K 10 svn:author V 5 edwin K 8 svn:date V 27 2013-04-20T11:30:14.295518Z K 7 svn:log V 281 Vendor import of tzdata2013c - antarctica: AusAQ and ATAQ have been removed. - Antarctica/Macquarie has been moved to australasia file and AU. - Asia/Hebron, Palestine updated for 2013. - Paraguay stays with DST for the whole year. Obtained from: ftp://ftp.iana.org/tz/releases/ END K 10 svn:author V 5 edwin K 8 svn:date V 27 2013-04-20T11:35:25.247257Z K 7 svn:log V 19 Tag of tzdata2013c END K 10 svn:author V 5 edwin K 8 svn:date V 27 2013-04-20T11:42:10.640406Z K 7 svn:log V 243 Merge of vendor of 249690, tzdata2013c - antarctica: AusAQ and ATAQ have been removed. - Antarctica/Macquarie has been moved to australasia file and AU. - Asia/Hebron, Palestine updated for 2013. - Paraguay stays with DST for the whole year. END K 10 svn:author V 5 edwin K 8 svn:date V 27 2013-04-20T11:44:17.166064Z K 7 svn:log V 247 Merge of current from 249692, tzdata2013c: - antarctica: AusAQ and ATAQ have been removed. - Antarctica/Macquarie has been moved to australasia file and AU. - Asia/Hebron, Palestine updated for 2013. - Paraguay stays with DST for the whole year. END K 10 svn:author V 5 edwin K 8 svn:date V 27 2013-04-20T11:45:08.960483Z K 7 svn:log V 247 Merge of current from 249692, tzdata2013c: - antarctica: AusAQ and ATAQ have been removed. - Antarctica/Macquarie has been moved to australasia file and AU. - Asia/Hebron, Palestine updated for 2013. - Paraguay stays with DST for the whole year. END K 10 svn:author V 5 edwin K 8 svn:date V 27 2013-04-20T11:46:01.262016Z K 7 svn:log V 247 Merge of current from 249692, tzdata2013c: - antarctica: AusAQ and ATAQ have been removed. - Antarctica/Macquarie has been moved to australasia file and AU. - Asia/Hebron, Palestine updated for 2013. - Paraguay stays with DST for the whole year. END K 10 svn:author V 5 edwin K 8 svn:date V 27 2013-04-20T11:46:38.396639Z K 7 svn:log V 247 Merge of current from 249692, tzdata2013c: - antarctica: AusAQ and ATAQ have been removed. - Antarctica/Macquarie has been moved to australasia file and AU. - Asia/Hebron, Palestine updated for 2013. - Paraguay stays with DST for the whole year. END K 10 svn:author V 5 trasz K 8 svn:date V 27 2013-04-20T12:36:53.118565Z K 7 svn:log V 34 Make DELAY(9) reference pause(9). END K 10 svn:author V 3 uqs K 8 svn:date V 27 2013-04-20T12:41:05.606480Z K 7 svn:log V 229 bin/df: Fix unitialized use in prtstat While here: - use NULL in the context of pointers - use memset instead of bzero throughout the file - free memory to appease clang static analyzer Found by: Coverity Scan (the UNINIT one) END K 10 svn:author V 7 attilio K 8 svn:date V 27 2013-04-20T13:48:50.061173Z K 7 svn:log V 4 MFC END K 10 svn:author V 7 attilio K 8 svn:date V 27 2013-04-20T14:01:22.983821Z K 7 svn:log V 4 MFC END K 10 svn:author V 3 ken K 8 svn:date V 27 2013-04-20T14:33:55.593198Z K 7 svn:log V 37 Fix compilation. Pointy hat to: ken END K 10 svn:author V 2 ed K 8 svn:date V 27 2013-04-20T14:44:28.867193Z K 7 svn:log V 364 Enable libcompiler-rt on MIPS. Originally we disabled libcompiler-rt on MIPS and SPARC64, because of an issue where __clzdi2 and __ctzdi2 would cause endless recursion. This bug has been fixed in r230021 already, but for some reason we only switched to libcompiler-rt on SPARC64 -- not MIPS. This means we can finally use on all our architectures. END K 10 svn:author V 3 pfg K 8 svn:date V 27 2013-04-20T14:55:48.025055Z K 7 svn:log V 240 libstdc++: Revert the expl addition from r246857. When the needed configuration update to libstdc++ was done. we overlooked that expl hasn't been merged. This is causing breakage in some ports. Reported by: Diane Bruce Reviewed by: dim END K 10 svn:author V 7 trociny K 8 svn:date V 27 2013-04-20T15:37:33.893088Z K 7 svn:log V 32 Wrong cast. MFC after: 1 month END K 10 svn:author V 7 attilio K 8 svn:date V 27 2013-04-20T17:41:27.331587Z K 7 svn:log V 4 MFC END K 10 svn:author V 7 attilio K 8 svn:date V 27 2013-04-20T17:43:22.389720Z K 7 svn:log V 4 mfc END K 10 svn:author V 7 attilio K 8 svn:date V 27 2013-04-20T17:53:39.878342Z K 7 svn:log V 333 Retire VM_NDOMAIN macro and introduce MAXDOMAIN concept which is very similar to what MAXCPUS do for CPUs. The value can be still compiled in from custom kernel option files, just like MAXCPUS and VM_NDOMAIN. The standard values for VM_NDOMAIN are currently retained. Sponsored by: EMC / Isilon storage division Obtained from: jeff END K 10 svn:author V 6 cherry K 8 svn:date V 27 2013-04-20T18:45:28.730035Z K 7 svn:log V 105 When holding or inspecting the mmu state, reset various MD pointers first. Approved by: gibbs(implicit) END K 10 svn:author V 6 cherry K 8 svn:date V 27 2013-04-20T18:52:06.520147Z K 7 svn:log V 163 Intercept syscall instruction from userland via hypervisor callback. Reroute to FreeBSD system call routines. Enable fpu (Unrelated) Approved by: gibbs(implicit) END K 10 svn:author V 3 gjb K 8 svn:date V 27 2013-04-20T19:13:56.298297Z K 7 svn:log V 63 - Update releng/8.4 branch to -RC2 Approved by: re (jpaetzel) END K 10 svn:author V 4 joel K 8 svn:date V 27 2013-04-20T22:16:49.345879Z K 7 svn:log V 37 mdoc: end function context properly. END K 10 svn:author V 4 joel K 8 svn:date V 27 2013-04-20T22:26:33.961351Z K 7 svn:log V 85 Add missing Pp. Also remove some minor whitespace. PR: 177995 Submitted by: olgeni END K 10 svn:author V 6 adrian K 8 svn:date V 27 2013-04-20T22:46:31.334526Z K 7 svn:log V 247 There's some races (likely in the BAR handling, sigh) which is causing the pause/resume code to not be called completely symmetrically. I'll chase down the root cause of that soon; this at least works around the bug and tells me when it happens. END