‚Í3253862 138 596 291 192 1480 335 134 253 313 149 132 145 196 388 303 325 277 468 151 111 218 151 191 322 142 1333 180 276 269 239 147 245 112 109 129 173 422 273 1366 179 243 122 216 166 158 128 170 167 365 134 112 277 215 429 104 193 288 158 506 117 108 127 703 868 200 201 501 99 99 129 99 375 105 107 142 113 149 199 957 195 99 99 99 550 293 175 98 126 404 121 106 303 512 99 99 311 208 814 106 200 105 156 155 168 149 206 953 800 289 372 244 137 446 553 357 238 331 217 156 239 191 169 1489 308 219 134 112 157 215 864 279 819 789 400 119 706 161 1140 292 K 10 svn:author V 6 marcel K 8 svn:date V 27 2013-08-01T18:06:58.838205Z K 7 svn:log V 500 Fix the build of the testmain target. This target compiles a Forth interpreter that can be run on the system and as such cannot be compiled against libbstand. On the one hand this means we need to include the usual headers for system interfaces that we use and on the the other hand we can only use standard system interfaces. While here, define local variables only when needed to make this WARNS=2 clean on amd64. PR: 172542 Obtained from: peterj@ Pointed out by: Jan Beich END K 10 svn:author V 4 neel K 8 svn:date V 27 2013-08-01T19:30:10.635309Z K 7 svn:log V 197 Keep track of the cached value of 'pm_eptgen' for each host cpu. This is necessary to make sure that we invalidate the nested page table TLB entries correctly when a vcpu moves between host cpus. END K 10 svn:author V 4 neel K 8 svn:date V 27 2013-08-01T19:37:11.428871Z K 7 svn:log V 99 Deal with VM exits during event injection properly by re-injecting the event on the next VM entry. END K 10 svn:author V 3 jfv K 8 svn:date V 27 2013-08-01T20:10:16.923037Z K 7 svn:log V 1386 A number of important fixes: - mbuf reused after an RX_COPY optimized operation can sometimes have a bogus cached address, resulting in TCP hangs. Add critical save points to the cached address. Thanks to Michael and the team at Verisign for finding this problem. - A couple more spots where the rxbuf->flags member should be cleared just to be sure no incorrect RX_COPY state is left around. Thanks to Adrian for tracking these down. - Remove the rearm_queues function from the driver, this was found to be responsible for some out-of-order packets by Verisign, and was always a bandaid, with the other fixes in this delta the bandaid can finally be removed. - In the other/link interrupt handler the entire state of the EICS register was being writen back into EICR (which clears causes and thus re-enables those interrupts), this was wrong, so now mask off the queue portion of the register value, so we only clear the other/link interrupt we intend. Marc from Verisign found this. - Make the SFP+ unsupported option tuneable now, by customer request. - Finally, just a couple of minor DEBUG string fixes. I want to call out and thank all the participants in the 10G community/Intel calls for helping track down these problems and make the driver better for everyone! MFC after: 3 days, these are critical fixes for 9.2! END K 10 svn:author V 6 adrian K 8 svn:date V 27 2013-08-01T21:45:30.172789Z K 7 svn:log V 239 iwn(4) debugging improvements. * Add in some new register debugging under IWN_DEBUG_REGISTER * Make IWN_DEBUG an option now for building. I'll chase this up with a commit to 'options' soon. Submitted by: Cedric GROSS END K 10 svn:author V 6 adrian K 8 svn:date V 27 2013-08-01T21:50:13.283495Z K 7 svn:log V 39 Add IWN_DEBUG as an option for if_iwn. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2013-08-01T21:50:50.181225Z K 7 svn:log V 157 Now that conf/options knows about if_iwn.h, add it to if_iwn.c. This allows for IWN_DEBUG (and maybe more stuff later) to be a build time configure option. END K 10 svn:author V 6 grehan K 8 svn:date V 27 2013-08-01T22:09:57.523482Z K 7 svn:log V 217 IFC @ r253862 - change the SI_SUB_RUN_SCHEDULER sysinits in hv_utilc and hv_netvsc_drv_freebsd.c to SI_SUB_KTHREAD_IDLE, since the former is no longer in FreeBSD. The use of these SYSINITs can probably be removed. END K 10 svn:author V 2 np K 8 svn:date V 27 2013-08-01T22:48:17.000804Z K 7 svn:log V 58 Teach cxgbetool to display T5 congestion manager context. END K 10 svn:author V 4 jkim K 8 svn:date V 27 2013-08-01T23:02:36.190595Z K 7 svn:log V 39 Create a project to enhance atomic(9). END K 10 svn:author V 4 jkim K 8 svn:date V 27 2013-08-01T23:20:31.975471Z K 7 svn:log V 52 Allow any register to be used for the return value. END K 10 svn:author V 2 np K 8 svn:date V 27 2013-08-01T23:38:30.102598Z K 7 svn:log V 104 Set up congestion manager context properly for T5 based cards. MFC after: 3 days (will check with re@) END K 10 svn:author V 4 jkim K 8 svn:date V 27 2013-08-01T23:38:57.904628Z K 7 svn:log V 294 Add a new atomic operation atomic_swap for x86. This operation atomically loads the current value and stores a new value at once, i. e., tmp = *p; *p = v; return (tmp); Note atomic_readandclear is now obsolete and reimplemented as a macro around atomic_swap where the new value v is zero. END K 10 svn:author V 4 jkim K 8 svn:date V 27 2013-08-01T23:51:20.564476Z K 7 svn:log V 209 Add a new atomic operation atomic_testandset for x86. This operation atomically tests and sets a bit, i. e., tmp = (*p & v) != 0; *p |= v; return (tmp) where v = ()1 << s % (sizeof() * NBBY) END K 10 svn:author V 4 jkim K 8 svn:date V 27 2013-08-02T00:08:00.364982Z K 7 svn:log V 231 - Implement atomic_cmpset_64(), atomic_swap_64(), and atomic_testandset_64() for i386. - Reimplement atomic_*_64_i386() in C to make it more pleasant to read. Note the generated code may not be optimal but much easier to maintain. END K 10 svn:author V 4 jkim K 8 svn:date V 27 2013-08-02T00:20:04.773619Z K 7 svn:log V 183 Reimplement atomic operations on PDEs and PTEs in pmap.h. This change significantly reduces duplicate code. Also, it may improve and even correct some questionable implementations. END K 10 svn:author V 3 hrs K 8 svn:date V 27 2013-08-02T03:46:45.287362Z K 7 svn:log V 375 MFC 253751 and 253843: - Relax the restriction on the member interfaces with LLAs. Two or more LLAs on the member interfaces are actually harmless when the parent interface does not have a LLA. - Add net.link.bridge.allow_llz_overlap. This is a knob to allow LLAs on a bridge and the member interfaces at the same time. The default is 0. Approved by: re (marius) END K 10 svn:author V 3 sjg K 8 svn:date V 27 2013-08-02T05:23:57.618028Z K 7 svn:log V 59 Import bmake-20130730 - allows folk to supress job tokens. END K 10 svn:author V 3 sjg K 8 svn:date V 27 2013-08-02T05:25:11.027764Z K 7 svn:log V 19 Tag bmake-20130730 END K 10 svn:author V 4 jkim K 8 svn:date V 27 2013-08-02T05:36:05.317698Z K 7 svn:log V 124 - pde_store() and pte_store() do not need release semantics. [1] - Remove redundant pte_load() macros. Pointed by: alc [1] END K 10 svn:author V 4 jkim K 8 svn:date V 27 2013-08-02T05:52:53.575784Z K 7 svn:log V 58 Fix incomplete pte_store() macros in the previous commit. END K 10 svn:author V 3 sjg K 8 svn:date V 27 2013-08-02T06:25:28.738469Z K 7 svn:log V 99 Merge bmake-20130730 Main feature of interest is .MAKE.JOB.PREFIX= to suppress --- job --- tokens. END K 10 svn:author V 4 neel K 8 svn:date V 27 2013-08-02T06:31:09.752253Z K 7 svn:log V 228 Add a debugging aid to get the page table entries that map a guest physical address to a host physical address. The option "--get-gpa-pmap " for /usr/sbin/bhyvectl can be used to inspect the mapping from the command line. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2013-08-02T13:06:49.190404Z K 7 svn:log V 46 Remove extra zeroing after M_ZERO allocation. END K 10 svn:author V 6 jilles K 8 svn:date V 27 2013-08-02T14:14:23.136254Z K 7 svn:log V 1236 find: Allow -delete to delete files given as arguments. Formerly, a command like find dir1/dir2 -delete would delete everything under dir1/dir2 but not dir1/dir2 itself. When -L is not specified and "." can be opened, the fts(3) code underlying find(1) is careful to avoid following symlinks or being dropped in different locations by moving the directory fts is currently traversing. If a problematic concurrent modification is detected, fts will not enter the directory or abort. Files found in the search are returned via the current working directory and a pathname not containing a slash. For paranoia, find(1) verifies this when -delete is used. However, it is too paranoid about the root of the traversal. It is already assumed that the initial pathname does not refer to directories or symlinks that might be replaced by untrusted users; otherwise, the whole traversal would be unsafe. Therefore, it is not necessary to do the check for fts_level == FTS_ROOTLEVEL. Deleting the pathnames given as arguments can be prevented without error messages using -mindepth 1 or by changing directory and passing "." as argument to find. This works in the old as well as the new version of find. Tested by: Kurt Lidl Reviewed by: jhb END K 10 svn:author V 3 hrs K 8 svn:date V 27 2013-08-02T14:44:11.309996Z K 7 svn:log V 88 Add p_candebug() check to FILEMON_SET_PID ioctl. Discussed with: sjg MFC after: 3 days END K 10 svn:author V 4 ache K 8 svn:date V 27 2013-08-02T17:13:29.297785Z K 7 svn:log V 182 MFC r253810 grep -i does not work for simple patterns and single byte locales, like LANG=ru_RU.KOI8-R grep -i Fix it. Approved by: re (delphij,kib) END K 10 svn:author V 2 np K 8 svn:date V 27 2013-08-02T17:44:19.497416Z K 7 svn:log V 177 Fix previous commit (r253873). "cong" has one bit per channel but the congestion channel map has 1 nibble per channel. So bits wxyz need to be blown up into 000w000x000y000z. END K 10 svn:author V 2 np K 8 svn:date V 27 2013-08-02T18:05:42.344513Z K 7 svn:log V 147 Display temperature sensor data. Shows -1 if sensor not available on the card. # sysctl dev.t4nex.0.temperature # sysctl dev.t5nex.0.temperature END K 10 svn:author V 4 jkim K 8 svn:date V 27 2013-08-02T18:32:01.872472Z K 7 svn:log V 54 Allow an immediate for the bit number. Suggested by: END K 10 svn:author V 4 jkim K 8 svn:date V 27 2013-08-02T19:10:46.582569Z K 7 svn:log V 151 Refine r253891. Compiler does not know the BTS instruction implicitly does modulo operation and generates poor code when the function is not inlined. END K 10 svn:author V 5 peter K 8 svn:date V 27 2013-08-02T19:12:12.664238Z K 7 svn:log V 18 Import serf-1.3.0 END K 10 svn:author V 5 peter K 8 svn:date V 27 2013-08-02T19:14:25.336632Z K 7 svn:log V 15 Tag serf 1.3.0 END K 10 svn:author V 5 peter K 8 svn:date V 27 2013-08-02T19:21:46.828974Z K 7 svn:log V 35 Update serf 1.2.1 -> 1.3.0 for svn END K 10 svn:author V 6 cognet K 8 svn:date V 27 2013-08-02T20:32:26.273452Z K 7 svn:log V 78 Only receive the interrupts on the first core, to avoid duplicate interrupts. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2013-08-02T21:23:28.059130Z K 7 svn:log V 326 Break out the iwn(4) device IDs into if_iwn_devid.h, as well as add IDs for new devices. * Add new device IDs * Extend the ID probe code to include the newer range of bits used by later model devices Tested: * Intel 5100, STA mode TODO: * Test on Intel 4965, just to be sure Submitted by: Cedric GROSS END K 10 svn:author V 6 adrian K 8 svn:date V 27 2013-08-02T21:28:36.390131Z K 7 svn:log V 177 Add in some definitions required for later iwn(4) device support. This also clarifies a few existing fields. Tested: * Intel 5100 Submitted by: Cedric GROSS END K 10 svn:author V 6 marius K 8 svn:date V 27 2013-08-02T23:28:49.765936Z K 7 svn:log V 1269 - Implement iclear methods for QUICC and SAB 82532. With r253161 in place, this is is crucial at least for the latter. What happens is that attaching uart(4) to scc(4) causes the SAB 82532 to "receive" something and trigger a SER_INT_RXREADY interrupt, given that at least fast/filter interrupts are already enabled. Prior to r253161, uart_bus_ihand() was set up at this point and handled that condition, i. e. read the RX FIFO and issued a Receive Message Complete. Now, uart_bus_ihand() and uart_intr() are setup after attaching uart(4), leaving the SER_INT_RXREADY interrupt triggered during the latter to be handled by the iclear method. However, with that method not implement, this in turn causes SAB 82532 to not issue any further SER_INT_RXREADY interrupts until the RX FIFO is full again. Thus, 15 received bytes go to nowhere, given that "the other half" of the RX FIFO is used for status information. Hence, implementing sab82532_bfe_iclear() fixes things again. Potentially, the same problem exists for QUICC. - Remove unnecessary __RMAN_RESOURCE_VISIBLE. - Remove a superfluous header. - Use KOBJMETHOD_END. - Mark unused arguments as such. - Remove variables unused after initialization. Reviewed by: marcel (earlier version) END K 10 svn:author V 6 marius K 8 svn:date V 27 2013-08-02T23:30:32.563894Z K 7 svn:log V 84 - Use NULL instead of 0 for pointers. - Remove unnecessary __RMAN_RESOURCE_VISIBLE. END K 10 svn:author V 3 smh K 8 svn:date V 27 2013-08-02T23:31:28.201985Z K 7 svn:log V 150 MFC r253818: Fix zfs send -D hang after processing requiring a CTRL+C to interrupt due to pthread_join prior to fd close. Approved by: re (delphij) END K 10 svn:author V 6 marius K 8 svn:date V 27 2013-08-02T23:31:51.198237Z K 7 svn:log V 27 Const'ify scc_driver_name. END K 10 svn:author V 3 smh K 8 svn:date V 27 2013-08-02T23:33:40.631576Z K 7 svn:log V 123 MFC r253818: Fix zfs send -D hang after processing requiring a CTRL+C to interrupt due to pthread_join prior to fd close. END K 10 svn:author V 4 jkim K 8 svn:date V 27 2013-08-03T00:19:26.712796Z K 7 svn:log V 73 Redo r253891. It seems compilers generate better code with this change. END K 10 svn:author V 4 jkim K 8 svn:date V 27 2013-08-03T00:24:12.430105Z K 7 svn:log V 65 Use correct constraint for the return values. Suggested by: bde END K 10 svn:author V 4 jkim K 8 svn:date V 27 2013-08-03T00:44:25.304015Z K 7 svn:log V 35 Fix white spaces. Pointed by: bde END K 10 svn:author V 4 jkim K 8 svn:date V 27 2013-08-03T00:49:51.068057Z K 7 svn:log V 77 Highly experimental changes to find whether the compiler was actually fixed. END K 10 svn:author V 4 jkim K 8 svn:date V 27 2013-08-03T00:55:18.731194Z K 7 svn:log V 74 Remove two more "memory" from clobber list missed in the previous commit. END K 10 svn:author V 6 grehan K 8 svn:date V 27 2013-08-03T03:16:42.049835Z K 7 svn:log V 269 Follow-up commit to fix CR0 issues. Maintain architectural state on CR vmexits by guaranteeing that EFER, CR0 and the VMCS entry controls are all in sync when transitioning to IA-32e mode. Submitted by: Tycho Nightingale (tycho.nightingale plurisbusnetworks.com) END K 10 svn:author V 6 marcel K 8 svn:date V 27 2013-08-03T04:25:25.744929Z K 7 svn:log V 39 Add a tunable for the default timeout. END K 10 svn:author V 3 uqs K 8 svn:date V 27 2013-08-03T08:21:35.262583Z K 7 svn:log V 20 Add missing depend. END K 10 svn:author V 3 gjb K 8 svn:date V 27 2013-08-03T12:41:21.738444Z K 7 svn:log V 184 - Copy stable/9 to releng/9.2 as part of the 9.2-RELEASE cycle. - Update branch name to -RC1. - Bump __FreeBSD_version. Approved by: kib (mentor, implicit) Approved by: re (implicit) END K 10 svn:author V 3 gjb K 8 svn:date V 27 2013-08-03T12:45:00.599952Z K 7 svn:log V 122 Bump __FreeBSD_version to a value higher than releng/9.2. Approved by: re (implicit) Approved by: kib (mentor, implicit) END K 10 svn:author V 3 ian K 8 svn:date V 27 2013-08-03T13:31:10.016791Z K 7 svn:log V 336 Tweak the imx debug console code so that it works with multiple SoCs. Instead of hard-coding the uart register addresses for the imx51, use a variable that defaults to the imx51 address. When debugging another imx-family SoC, the variable can be set early in initarm() to provide full console/printf support for debugging early boot. END K 10 svn:author V 5 trasz K 8 svn:date V 27 2013-08-03T13:38:56.221646Z K 7 svn:log V 10 Fix typo. END K 10 svn:author V 3 gjb K 8 svn:date V 27 2013-08-03T15:59:48.556276Z K 7 svn:log V 100 Turn on re@ approval for releng/9.2 Approved by: re (implicit) Approved by: kib (mentor, implicit) END K 10 svn:author V 3 dim K 8 svn:date V 27 2013-08-03T16:23:43.954866Z K 7 svn:log V 195 After r253839, which modifies ld's behaviour to not automatically pull in needed libraries, change libc++.so into a linker script, so it can automatically pull in libcxxrt.so. MFC after: 1 week END K 10 svn:author V 8 jhibbits K 8 svn:date V 27 2013-08-03T18:05:12.493595Z K 7 svn:log V 61 Remove duplicate definition of SPR MMCR0. MFC after: 3 days END K 10 svn:author V 6 marcel K 8 svn:date V 27 2013-08-03T20:14:29.282957Z K 7 svn:log V 410 Fix the bootable CD: o We need wait a bit before attempting the root mount. The CD drives on HP machines (typical) go through the management controller so that it can be virtualized. In practice what this means is that it is slow to detect and attach. o Tell the kernel what to use as the root file system. The /etc/fstab trick doesn't work, because we're on the EFI-compatble file system. END K 10 svn:author V 6 marius K 8 svn:date V 27 2013-08-03T21:24:52.603521Z K 7 svn:log V 22 Make r253899 compile. END K 10 svn:author V 4 syuu K 8 svn:date V 27 2013-08-03T22:16:24.697315Z K 7 svn:log V 15 sync with head END K 10 svn:author V 4 syuu K 8 svn:date V 27 2013-08-04T01:22:26.367495Z K 7 svn:log V 34 support standalone binary loading END K 10 svn:author V 6 marcel K 8 svn:date V 27 2013-08-04T02:37:05.875705Z K 7 svn:log V 607 Safe WIP: mkimg is a user-space utility for creating disk images. In its current form and shape, it creates images with the correct partition contents and overall image layout. What it doesn't do yet is actually scribble the metadata, such as partition tables and boot code. This is where I'd like to leverage code from other places, such as geom_part, and if possible/feasible. Also, the utility should be a little bit smarter about files and pipes so that we create temporary files only when needed (e.g. when we don't know the size of a partition's contents in advance while wrting the image to stdout). END K 10 svn:author V 3 hrs K 8 svn:date V 27 2013-08-04T06:36:17.814617Z K 7 svn:log V 775 - Reimplement $gif_interfaces as a variant of $cloned_interfaces. Newly-configured systems should use $cloned_interfaces. - Call clone_{up,down}() and ifnet_rename() in rc.d/netif {start,stop}. ifnet_rename() now accepts an interface name list as its argument. - Add rc.d/netif clear. The "clear" subcommand is basically equivalent to "stop" but it does not call clone_down(). - Add "ifname:sticky" keyword into $cloned_interfaces. If :sticky is specified, the interface will not be destroyed in rc.d/netif stop. - Add cloned_interfaces_sticky={YES,NO}. This variable globally sets :sticky keyword above for all interfaces. The default value is NO. When cloned_interfaces_sticky=YES, :nosticky keyword can be used to override it on per interface basis. END K 10 svn:author V 3 sjg K 8 svn:date V 27 2013-08-04T07:10:16.475795Z K 7 svn:log V 107 Move the call to Job_SetPrefix() to Job_Init() so that makefiles have had a chance to set .MAKE.JOB.PREFIX END K 10 svn:author V 3 smh K 8 svn:date V 27 2013-08-04T11:38:08.691127Z K 7 svn:log V 108 zfs_ioc_rename should not leave the value of zc_name passed in via zc altered on return. MFC after: 1 week END K 10 svn:author V 7 attilio K 8 svn:date V 27 2013-08-04T15:56:19.104538Z K 7 svn:log V 404 Remove unnecessary soft busy of the page before to do vn_rdwr() in kern_sendfile() which is unnecessary. The page is already wired so it will not be subjected to pagefault. The content cannot be effectively protected as it is full of races already. Multiple accesses to the same indexes are serialized through vn_rdwr(). Sponsored by: EMC / Isilon storage division Reviewed by: alc, jeff Tested by: pho END K 10 svn:author V 7 attilio K 8 svn:date V 27 2013-08-04T16:10:09.349029Z K 7 svn:log V 4 MFC END K 10 svn:author V 7 attilio K 8 svn:date V 27 2013-08-04T16:23:09.288819Z K 7 svn:log V 4 MFC END K 10 svn:author V 3 rmh K 8 svn:date V 27 2013-08-04T16:25:46.719786Z K 7 svn:log V 37 Fix implicit declaration of warnx(). END K 10 svn:author V 7 attilio K 8 svn:date V 27 2013-08-04T17:10:10.452161Z K 7 svn:log V 4 MFC END K 10 svn:author V 7 attilio K 8 svn:date V 27 2013-08-04T17:21:38.064587Z K 7 svn:log V 278 Revert mdmemattr consolidation. It is a bit too shady concept and we are not so much space constrained in the end. Use however a __pad0 member to show where some available padding can be stolen to help reusability. Sponsored by: EMC / Isilon storage division Requested by: alc END K 10 svn:author V 4 syuu K 8 svn:date V 27 2013-08-04T18:19:46.650343Z K 7 svn:log V 12 create repo END K 10 svn:author V 4 syuu K 8 svn:date V 27 2013-08-04T18:20:53.414456Z K 7 svn:log V 14 inital import END K 10 svn:author V 4 syuu K 8 svn:date V 27 2013-08-04T19:17:06.099706Z K 7 svn:log V 49 support '-S' option for standalone guest program END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2013-08-04T19:36:46.962558Z K 7 svn:log V 18 Regen for if_rsu. END K 10 svn:author V 5 hiren K 8 svn:date V 27 2013-08-04T19:54:47.864419Z K 7 svn:log V 55 Fixing a typo. Approved by: sbruno (mentor, implicit) END K 10 svn:author V 6 marcel K 8 svn:date V 27 2013-08-04T21:00:22.898088Z K 7 svn:log V 103 Remove inclusion of . We have no business knowing anything related to MBR in this file. END K 10 svn:author V 7 attilio K 8 svn:date V 27 2013-08-04T21:07:24.434943Z K 7 svn:log V 860 The page hold mechanism is fast but it has couple of fallouts: - It does not let pages respect the LRU policy - It bloats the active/inactive queues of few pages Try to avoid it as much as possible with the long-term target to completely remove it. Use the soft-busy mechanism to protect page content accesses during short-term operations (like uiomove_fromphys()). After this change only vm_fault_quick_hold_pages() is still using the hold mechanism for page content access. There is an additional complexity there as the quick path cannot immediately access the page object to busy the page and the slow path cannot however busy more than one page a time (to avoid deadlocks). Fixing such primitive can bring to complete removal of the page hold mechanism. Sponsored by: EMC / Isilon storage division Discussed with: alc Reviewed by: jeff Tested by: pho END K 10 svn:author V 7 attilio K 8 svn:date V 27 2013-08-04T21:17:05.349862Z K 7 svn:log V 99 Remove unused member. Sponsored by: EMC / Isilon storage division Reviewed by: alc Tested by: pho END K 10 svn:author V 7 attilio K 8 svn:date V 27 2013-08-04T21:20:14.273499Z K 7 svn:log V 4 MFC END K 10 svn:author V 7 attilio K 8 svn:date V 27 2013-08-04T21:24:54.149125Z K 7 svn:log V 4 MFC END K 10 svn:author V 7 attilio K 8 svn:date V 27 2013-08-04T21:27:31.190394Z K 7 svn:log V 4 MFC END K 10 svn:author V 6 bryanv K 8 svn:date V 27 2013-08-04T22:01:06.811230Z K 7 svn:log V 454 More minor improvements of the vmxnet3 driver - Move the dma map and mbuf pointer into a common structure, rather than having an array of each - Add ifdefs and fix gcc warnings to make compiling on 9.1/STABLE - Add sysctl nodes for statistics queried from the hypervisor - Adjust several structures/function to more multiqueue friendly (for whenever support is added) - Adjust Makefile to more likely do the right thing when built standalone END K 10 svn:author V 6 bryanv K 8 svn:date V 27 2013-08-04T22:14:02.384825Z K 7 svn:log V 197 Add compile only tested port of OpenBSD VMware Tools driver (vmt) I doubt I'll have any more time to work on this any time soon, but commit it now in case somebody is interested in hacking on it. END K 10 svn:author V 6 bryanv K 8 svn:date V 27 2013-08-04T22:38:50.801442Z K 7 svn:log V 80 Add vmx(4) man page adapted from OpenBSD Add vmx entries in files.{i386,amd64} END K 10 svn:author V 6 bryanv K 8 svn:date V 27 2013-08-04T23:22:10.581020Z K 7 svn:log V 4 MFC END K 10 svn:author V 6 bryanv K 8 svn:date V 27 2013-08-04T23:45:04.084294Z K 7 svn:log V 31 Add man page missed in r253946 END K 10 svn:author V 4 jeff K 8 svn:date V 27 2013-08-05T00:28:03.532103Z K 7 svn:log V 310 - Introduce a specific function, pmap_remove_kernel_pde, for removing huge pages in the kernel's address space. This works around several asserts from pmap_demote_pde_locked that did not apply and gave false warnings. Discovered by: pho Reviewed by: alc Sponsored by: EMC / Isilon Storage Division END K 10 svn:author V 3 hrs K 8 svn:date V 27 2013-08-05T00:36:12.009369Z K 7 svn:log V 29 Fix a panic in tmpaddrtimer. END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-08-05T07:10:57.613885Z K 7 svn:log V 14 MFC @ r253950 END K 10 svn:author V 7 attilio K 8 svn:date V 27 2013-08-05T08:27:35.469835Z K 7 svn:log V 206 Rename the busy interface into a shared/exclusive mechanism and shorten the names. This makes the interface clearer on the purpose it serves. Sponsored by: EMC / Isilon storage division Requested by: jeff END K 10 svn:author V 7 attilio K 8 svn:date V 27 2013-08-05T08:55:35.436258Z K 7 svn:log V 415 Revert r253939: We cannot busy a page before doing pagefaults. Infact, it can deadlock against vnode lock, as it tries to vget(). Other functions, right now, have an opposite lock ordering, like vm_object_sync(), which acquires the vnode lock first and then sleeps on the busy mechanism. Before this patch is reinserted we need to break this ordering. Sponsored by: EMC / Isilon storage division Reported by: kib END K 10 svn:author V 7 attilio K 8 svn:date V 27 2013-08-05T09:37:18.831288Z K 7 svn:log V 4 MFC END K 10 svn:author V 7 attilio K 8 svn:date V 27 2013-08-05T09:53:48.765623Z K 7 svn:log V 4 MFC END K 10 svn:author V 3 gjb K 8 svn:date V 27 2013-08-05T10:26:42.287435Z K 7 svn:log V 218 Redirect svnversion stderr to /dev/null if we cannot determine the tree version, for example if the tree is checked out with an outdated svn from ports, but the base system svnlite is built. Approved by: kib (mentor) END K 10 svn:author V 5 crees K 8 svn:date V 27 2013-08-05T10:38:34.218277Z K 7 svn:log V 113 Note NULL encryption method for GELI PR: docs/180551 Submitted by: r4721@tormail.org Approved by: gjb (mentor) END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-08-05T11:48:40.829269Z K 7 svn:log V 721 MFprojects/camlock r249505: Change CCB queue resize logic to be able safely handle overallocations: - (re)allocate queue space in power of 2 chunks with 64 elements minimum and never shrink it; with only 4/8 bytes per element size is insignificant. - automatically reallocate the queue to double size if it is overflowed. - if queue reallocation failed, store extra CCBs in unsorted TAILQ, fetching them back as soon as some queue element is freed. To free space in CCB for TAILQ linking, change highpowerq from keeping high-power CCBs to keeping devices frozen due to high-power CCBs. This encloses all pieces of queue resize logic inside of cam_queue.[ch], removing some not obvious duties from xpt_release_ccb(). END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-08-05T11:56:47.361014Z K 7 svn:log V 14 MFC @ r253958 END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-08-05T12:15:53.736498Z K 7 svn:log V 107 MFprojects/camlock r249006: Pass SIM pointer as an argument to camisr_runqueue() instead of doneq pointer. END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-08-05T12:18:35.273040Z K 7 svn:log V 13 MFC @ 253960 END K 10 svn:author V 7 attilio K 8 svn:date V 27 2013-08-05T12:51:20.252559Z K 7 svn:log V 60 Fix mis-merge. Sponsored by: EMC / Isilon storage division END K 10 svn:author V 7 attilio K 8 svn:date V 27 2013-08-05T12:52:37.513880Z K 7 svn:log V 59 Fix mismerge. Sponsored by: EMC / Isilon storage division END K 10 svn:author V 7 attilio K 8 svn:date V 27 2013-08-05T12:55:23.005240Z K 7 svn:log V 72 Reduce diffs against head. Sponsored by: EMC / Isilon storage division END K 10 svn:author V 3 jfv K 8 svn:date V 27 2013-08-05T16:16:50.135395Z K 7 svn:log V 57 Correct a fat-finger in the last delta. MFC after: ASAP END K 10 svn:author V 7 attilio K 8 svn:date V 27 2013-08-05T18:11:02.165738Z K 7 svn:log V 109 Reuse a stronger check to match original code. Sponsored by: EMC / Isilon storage division Reported by: alc END K 10 svn:author V 3 kib K 8 svn:date V 27 2013-08-05T18:53:59.709627Z K 7 svn:log V 860 The tmpfs_alloc_vp() is used to instantiate vnode for the tmpfs node, in particular, from the tmpfs_lookup VOP method. If LK_NOWAIT is not specified in the lkflags, the lookup is supposed to return an alive vnode whenever the underlying node is valid. Currently, the tmpfs_alloc_vp() returns ENOENT if the vnode attached to node exists and is being reclaimed. This causes spurious ENOENT errors from lookup on tmpfs and corresponding random 'No such file' failures from syscalls working with tmpfs files. Fix this by waiting for the doomed vnode to be detached from the tmpfs node if sleepable allocation is requested. Note that filesystems which use vfs_hash.c, correctly handle the case due to vfs_hash_get() looping when vget() returns ENOENT for sleepable requests. Reported and tested by: pho Sponsored by: The FreeBSD Foundation MFC after: 2 weeks END K 10 svn:author V 6 andrew K 8 svn:date V 27 2013-08-05T19:06:28.066006Z K 7 svn:log V 704 When entering exception handlers we may not have an aligned stack. This is because an exception may happen at any time. The stack alignment rules on ARM EABI state the only place the stack must be 8-byte aligned is on a function boundary. If an exception happens while a function is setting up or tearing down it's stack frame it may not be correctly aligned. There is also no requirement for it to be when the function is a leaf node. The fix is to align the stack after we have stored a backup of the old stack pointer, but before we have stored anything in the trapframe. Along with this we need to adjust the size of the trapframe by 4 bytes to ensure the stack below it is also correctly aligned. END K 10 svn:author V 3 kib K 8 svn:date V 27 2013-08-05T19:42:03.407108Z K 7 svn:log V 196 Do not override the ENOENT error for the empty path, or EFAULT errors from copyins, with the relative lookup check. Discussed with: rwatson Sponsored by: The FreeBSD Foundation MFC after: 1 week END K 10 svn:author V 3 hrs K 8 svn:date V 27 2013-08-05T20:13:02.650085Z K 7 svn:log V 279 - Use time_uptime instead of time_second in data structures for PF_INET6 in kernel. This fixes various malfunction when the wall time clock is changed. Bump __FreeBSD_version to 1000041. - Use clock_gettime(CLOCK_MONOTONIC_FAST) in userland utilities. MFC after: 1 month END K 10 svn:author V 6 cognet K 8 svn:date V 27 2013-08-05T20:14:56.707521Z K 7 svn:log V 148 Let the platform calculate the timer frequency at runtime, and use that for the omap4, instead of relying on the (wrong) value provided in the dts. END K 10 svn:author V 3 hrs K 8 svn:date V 27 2013-08-05T20:30:15.301087Z K 7 svn:log V 45 Document IPv6 timer value change in r253970. END K 10 svn:author V 8 mckusick K 8 svn:date V 27 2013-08-05T22:01:16.464334Z K 7 svn:log V 348 To better understand performance problems with journalled soft updates, we need to collect the highest level of allocation for each of the different soft update dependency structures. This change collects these statistics and makes them available using `sysctl debug.softdep.highuse'. Reviewed by: kib Tested by: Peter Holm MFC after: 2 weeks END K 10 svn:author V 8 mckusick K 8 svn:date V 27 2013-08-05T22:02:45.031343Z K 7 svn:log V 455 With the addition of journalled soft updates, the "newblk" structures persist much longer than previously. Historically we had at most 100 entries; now the count may reach a million. With the increased count we spent far too much time looking them up in the grossly undersized newblk hash table. Configure the newblk hash table to accurately reflect the number of entries that it must index. Reviewed by: kib Tested by: Peter Holm MFC after: 2 weeks END K 10 svn:author V 3 gjb K 8 svn:date V 27 2013-08-05T23:34:35.752221Z K 7 svn:log V 264 stable/9 no longer requires re@ approval for commits, now that the releng/9.2 branch is created. Committers are urged to exercise caution with commits to stable/9 until the 9.2-RELEASE is finalized. Approved by: re (implicit) Approved by: kib (mentor, implicit) END K 10 svn:author V 8 jhibbits K 8 svn:date V 27 2013-08-06T01:01:15.353861Z K 7 svn:log V 140 Evict pages from the PTEG when it's full and trying to insert a new PTE, rather than panicking. Reviewed by: nwhitehorn MFC after: 3 weeks END K 10 svn:author V 3 hrs K 8 svn:date V 27 2013-08-06T02:14:30.225599Z K 7 svn:log V 238 - Use pget(PGET_CANDEBUG | PGET_NOTWEXIT) to determine if the specified PID is valid for monitoring in FILEMON_SET_PID ioctl. - Set the monitored PID to -1 when the process exits. Suggested by: jilles Tested by: sjg MFC after: 3 days END K 10 svn:author V 8 jhibbits K 8 svn:date V 27 2013-08-06T02:58:16.466039Z K 7 svn:log V 119 Remove an unnecessary panic. The PVO's PTE entry and the PTEG's PTE entry may not match, if the PVO's PTE is invalid. END K 10 svn:author V 8 jhibbits K 8 svn:date V 27 2013-08-06T03:09:44.911777Z K 7 svn:log V 59 Micro-optimize OFW syscons 8-bit blank. MFC after: 1 week END K 10 svn:author V 6 sbruno K 8 svn:date V 27 2013-08-06T03:17:01.370236Z K 7 svn:log V 143 Update ciss(4) with new models of raid controllers from HP Submitted by: scott.benesh@hp.com MFC after: 2 weeks Sponsored by: Hewlett Packard END K 10 svn:author V 6 bryanv K 8 svn:date V 27 2013-08-06T05:02:15.010481Z K 7 svn:log V 96 AFAIK, setting MFILES is not need in these Makefiles And add a cast missed in the last commit. END K 10 svn:author V 3 pho K 8 svn:date V 27 2013-08-06T06:04:55.642469Z K 7 svn:log V 77 tmpfs(5) regression test added. Sponsored by: EMC / Isilon storage division END K 10 svn:author V 5 erwin K 8 svn:date V 27 2013-08-06T06:22:54.522032Z K 7 svn:log V 1393 Update Bind to 9.8.5-P2 New Features Adds a new configuration option, "check-spf"; valid values are "warn" (default) and "ignore". When set to "warn", checks SPF and TXT records in spf format, warning if either resource record type occurs without a corresponding record of the other resource record type. [RT #33355] Adds support for Uniform Resource Identifier (URI) resource records. [RT #23386] Adds support for the EUI48 and EUI64 RR types. [RT #33082] Adds support for the RFC 6742 ILNP record types (NID, LP, L32, and L64). [RT #31836] Feature Changes Changes timing of when slave zones send NOTIFY messages after loading a new copy of the zone. They now send the NOTIFY before writing the zone data to disk. This will result in quicker propagation of updates in multi-level server structures. [RT #27242] "named -V" can now report a source ID string. (This is will be of most interest to developers and troubleshooters). The source ID for ISC's production versions of BIND is defined in the "srcid" file in the build tree and is normally set to the most recent git hash. [RT #31494] Response Policy Zone performance enhancements. New "response-policy" option "min-ns-dots". "nsip" and "nsdname" now enabled by default with RPZ. [RT #32251] Approved by: delphij (mentor) Sponsored by: DK Hostmaster A/S END K 10 svn:author V 5 erwin K 8 svn:date V 27 2013-08-06T06:24:37.685664Z K 7 svn:log V 213 Remove weirdly-named autofoo file. This is not needed for the (FreeBSD) build, and freebsd-update chokes on it. Somehow it did manage to be merged, despite my best efforts not to. Approved by: delphij (mentor) END K 10 svn:author V 6 andrew K 8 svn:date V 27 2013-08-06T10:03:44.731153Z K 7 svn:log V 123 We no longer need to align the stack before calling swi_handler as it is already aligned correctly in the PUSHFRAME macro. END K 10 svn:author V 2 ae K 8 svn:date V 27 2013-08-06T10:35:05.582119Z K 7 svn:log V 43 Fix formatting warning. MFC after: 1 week END K 10 svn:author V 5 trasz K 8 svn:date V 27 2013-08-06T10:42:18.438839Z K 7 svn:log V 18 Remove dead code. END K 10 svn:author V 8 dwmalone K 8 svn:date V 27 2013-08-06T11:00:56.311618Z K 7 svn:log V 60 Make section headings for different quirk types consistent. END K 10 svn:author V 3 avg K 8 svn:date V 27 2013-08-06T13:55:39.689094Z K 7 svn:log V 122 dtrace: fix compilation with gcc Cowardly taking the easiest way and using -Wno-* MFC after: 3 days X-MFC with: r253772 END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-08-06T14:20:41.235930Z K 7 svn:log V 771 Make ZFS to use separate thread to handle SPA_ASYNC_REMOVE async events. Existing async thread is running only on successfull spa_sync() completion, that is impossible in case of pool loosing required (last) disk(s). That indefinite delay of SPA_ASYNC_REMOVE processing made ZFS to not close the lost disks, preventing GEOM/CAM from destroying devices and reusing names on later disk reattach. In earlier version of the patch I've tried to just run existing thread immediately, unrelated to spa_sync() completion, but that exposed number of situations where it could stuck due to locks held by stuck spa_sync(), that are required for other kinds of async events. Experiments with OpenIndiana snapshot confirmed that they also have this issue with lost disks reattach. END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-08-06T14:23:33.781964Z K 7 svn:log V 186 Make `zpool clear` to reopen also reconnected cache and spare devices. Since `zpool status` reports about such kinds of errors, it is strange that they are not cleared by `zpool clear`. END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-08-06T14:30:28.265613Z K 7 svn:log V 726 Disable r252840 when ZFS TRIM is enabled (vfs.zfs.trim.enabled=1) and really disable TRIM otherwise. r252840 (illumos bug 3836) is based on assumption that zio_free_sync() has no lock dependencies and should complete immediately. Unfortunately, with our TRIM implementation that is not true due to ZIO_STAGE_VDEV_IO_START added to the ZIO_FREE_PIPELINE, which, while not really accessing devices, still acquires SCL_ZIO lock for read to be sure devices won't disappear. When TRIM is disabled, this patch enables direct free execution from r252840 and removes ZIO_STAGE_VDEV_IO_START and ZIO_STAGE_VDEV_IO_ASSESS stages from the pipeline to avoid lock acquisition. Otherwise it queues free request as it was before r252840. END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-08-06T14:41:41.970746Z K 7 svn:log V 696 Block reporting of ZFS features for suspended pools. Before executing any subcommand, zpool tool fetches pools configuration from the kernel. Before features support was added, kernel was regenerating that configuration based on data always present in memory. Unfortunately, pool features list and activity counters are not such. They are stored in ZAP, that normally resides in ARC, but under heavy memory pressure may be swapped out. If pool is suspended at this point, there is no way to recover it back since any zpool command will stuck. This change has one predictable flaw: `zpool upgrade` always wish to upgrade suspended pools, but fortunately it can't do it due to the suspension. END K 10 svn:author V 6 marius K 8 svn:date V 27 2013-08-06T15:34:11.836923Z K 7 svn:log V 304 Add MD (for now) atomic_store_acq_() and use it in pmap_activate() to get the semantics when setting the PMAP right. Prior to r251782, the latter already used implicit acquire semantics, which - currently - means to not employ additional explicit memory barriers under the hood (see also r225889). END K 10 svn:author V 3 hrs K 8 svn:date V 27 2013-08-06T15:49:18.069328Z K 7 svn:log V 27 Fix build on arm and mips. END K 10 svn:author V 3 avg K 8 svn:date V 27 2013-08-06T15:51:56.527482Z K 7 svn:log V 613 opensolaris code: translate INVARIANTS to DEBUG and ZFS_DEBUG Do this by forcing inclusion of sys/cddl/compat/opensolaris/sys/debug_compat.h via -include option into all source files from OpenSolaris. Note that this -include option must always be after -include opt_global.h. Additionally, remove forced definition of DEBUG for some modules and fix their build without DEBUG. Also, meaning of DEBUG was overloaded to enable WITNESS support for some OpenSolaris (primarily ZFS) locks. Now this overloading is removed and that use of DEBUG is replaced with a new option OPENSOLARIS_WITNESS. MFC after: 17 days END K 10 svn:author V 3 avg K 8 svn:date V 27 2013-08-06T16:18:07.188876Z K 7 svn:log V 69 fix fat-fingering in r253996 MFC after: 17 days X-MFC with: r253996 END K 10 svn:author V 8 mckusick K 8 svn:date V 27 2013-08-06T16:50:05.898911Z K 7 svn:log V 1041 This bug fix is in a code path in rename taken when there is a collision between a rename and an open system call for the same target file. Here, rename releases its vnode references, waits for the open to finish, and then restarts by reacquiring its needed vnode locks. In this case, rename was unlocking but failing to release its reference to one of its held vnodes. The effect was that even after all the actual references to the vnode had gone, the vnode still showed active references. For files that had been removed, their space was not reclaimed until the filesystem was forcibly unmounted. This bug manifested itself in the Postgres server which would leak/lose hundreds of files per day amounting to many gigabytes of disk space. This bug required shutting down Postgres, forcibly unmounting its filesystem, remounting its filesystem and restarting Postgres every few days to recover the lost space. Reported by: Dan Thomas and Palle Girgensohn Bug-fix by: kib Tested by: Dan Thomas and Palle Girgensohn MFC after: 2 weeks END K 10 svn:author V 3 hrs K 8 svn:date V 27 2013-08-06T17:10:52.864907Z K 7 svn:log V 199 Fix incompatibility in ICMPV6CTL_ND6_PRLIST sysctl, and SIOCGPRLST_IN6, SIOCGDRLST_IN6, and SIOCGNBRINFO_IN6 ioctl. These userland interfaces treat expiration times in time_second, not time_uptime. END