ƒ³246547 188 171 207 288 175 201 214 310 157 111 243 227 188 214 404 155 185 598 211 229 354 354 235 322 219 140 99 120 676 159 710 1630 676 268 163 121 610 188 174 120 1639 122 256 134 136 121 140 224 241 261 182 247 147 147 119 133 284 810 99 120 169 178 539 169 278 129 813 199 432 134 445 155 433 215 144 169 115 107 306 261 261 367 643 156 165 373 244 284 204 240 292 683 129 99 120 399 149 151 233 147 147 161 210 161 677 194 273 238 255 114 144 590 146 716 132 306 127 419 344 207 334 211 140 295 807 270 162 258 440 318 142 179 443 171 154 191 174 360 158 131 636 197 401 223 289 98 157 145 213 142 131 104 98 149 288 255 151 250 196 280 570 114 211 211 327 276 177 991 241 803 165 101 127 171 168 173 146 188 1081 1081 3097 99 120 158 150 151 136 149 132 K 10 svn:author V 3 kib K 8 svn:date V 27 2013-02-08T11:14:23.657240Z K 7 svn:log V 79 MFC r246216: The mountmsdosfs() function had an insane sanity test, remove it. END K 10 svn:author V 3 kib K 8 svn:date V 27 2013-02-08T11:15:57.035244Z K 7 svn:log V 114 MFC r246217: Fix the corruption of the ".." entry for the directory moved to a subdirectory of the root on FAT32. END K 10 svn:author V 3 kib K 8 svn:date V 27 2013-02-08T11:17:47.591486Z K 7 svn:log V 195 MFC r246218: Backup FATs were sometimes marked dirty by copying their first block from the primary FAT, and then they were not marked clean on unmount. Force marking them clean when appropriate. END K 10 svn:author V 3 kib K 8 svn:date V 27 2013-02-08T11:19:43.622687Z K 7 svn:log V 83 MFC r246219: Use MNT_SYNCHRONOUS to decide to write the FAT updates syncrhonously. END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-02-08T12:53:29.834670Z K 7 svn:log V 108 Use sbintime_t to represent expected sleep time instead of measuring it in microseconds. Suggested by: phk END K 10 svn:author V 3 des K 8 svn:date V 27 2013-02-08T14:11:12.721727Z K 7 svn:log V 121 Cross-reference newgrp(1), and document the use of pw(8) to set the group password. PR: docs/167741 MFC after: 3 weeks END K 10 svn:author V 3 des K 8 svn:date V 27 2013-02-08T14:14:00.301671Z K 7 svn:log V 217 Print a warning if not setuid root. Document the need for the setuid bit and how to set it. Explain why it isn't set by default, and suggest simply adding users to groups instead. PR: docs/167741 MFC after: 3 weeks END K 10 svn:author V 3 kib K 8 svn:date V 27 2013-02-08T15:52:20.129552Z K 7 svn:log V 65 The 'end' word was missed in the comment. MFC after: 3 days END K 10 svn:author V 6 obrien K 8 svn:date V 27 2013-02-08T16:10:16.281768Z K 7 svn:log V 16 Sync with HEAD. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2013-02-08T17:44:44.614361Z K 7 svn:log V 142 Avoid use of register variables, which some compilers (e.g. clang) don't like. It makes the code a little clearer as well. MFC after: 1 week END K 10 svn:author V 5 trasz K 8 svn:date V 27 2013-02-08T18:02:28.824441Z K 7 svn:log V 132 In the setfacl(1) manual page, make it clear that for NFSv4 ACLs, one should really use -a and -x instead of -m. MFC after: 1 week END K 10 svn:author V 5 trasz K 8 svn:date V 27 2013-02-08T18:12:16.404407Z K 7 svn:log V 94 Improve description of the "-m" option to setfacl(1). Submitted by: scottl MFC after: 1 week END K 10 svn:author V 5 trasz K 8 svn:date V 27 2013-02-08T18:43:47.269329Z K 7 svn:log V 119 Fix NFSv4 permission description in setfacl(1) manual page: the 'D' means delete_child, not delete. MFC after: 1 week END K 10 svn:author V 3 pfg K 8 svn:date V 27 2013-02-08T19:39:15.875776Z K 7 svn:log V 311 patch: Follow original versioning convention. According to the README file [1] the 12u variant, unlike the 12g variant, contains no copyleft code. It is therefore convenient to keep using the original versioning scheme to prevent confusions. [1] http://www.openbsd.org/cgi-bin/cvsweb/src/usr.bin/patch/README END K 10 svn:author V 6 alfred K 8 svn:date V 27 2013-02-08T20:13:28.340925Z K 7 svn:log V 60 add semicolon to end of CALLOUT_HANDLE_INITIALIZER example. END K 10 svn:author V 3 pfg K 8 svn:date V 27 2013-02-08T20:30:19.572965Z K 7 svn:log V 93 Remove unused MAXSYMLINKLEN macro. Reviewed by: mckusick PR: kern/175794 MFC after: 1 week END K 10 svn:author V 3 pfg K 8 svn:date V 27 2013-02-08T20:58:00.323484Z K 7 svn:log V 505 ext2fs: make e2fs_maxcontig local and remove tautological check. e2fs_maxcontig was modelled after UFS when bringing the "Orlov allocator" to ext2. On UFS fs_maxcontig is kept in the superblock and is used by userland tools (fsck and growfs), In ext2 this information is volatile so it is not available for userland tools, so in this case it doesn't have sense to carry it in the in-memory superblock. Also remove a pointless check for MAX(1, x) > 0. Submitted by: Christoph Mallon MFC after: 2 weeks END K 10 svn:author V 3 pfg K 8 svn:date V 27 2013-02-08T21:09:44.739313Z K 7 svn:log V 118 ext2fs: Replace redundant EXT2_MIN_BLOCK with EXT2_MIN_BLOCK_SIZE. Submitted by: Christoph Mallon MFC after: 2 weeks END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2013-02-08T21:15:47.399382Z K 7 svn:log V 131 Fix regression issue after r244503: Correct init order to fix a NULL pointer access. MFC after: 1 week Reported by: Ian FREISLICH END K 10 svn:author V 3 jlh K 8 svn:date V 27 2013-02-08T22:13:20.159136Z K 7 svn:log V 261 MFC r245418: Allow commands without any additional arguments, as stated in the manpage. While here, exit early when there is nothing to do. PR: 168415 Submitted by: Zhihao Yuan (initial version) MFC r245419: Remove stray tabs. Submitted by: kib END K 10 svn:author V 3 jlh K 8 svn:date V 27 2013-02-08T22:23:22.603530Z K 7 svn:log V 261 MFC r245418: Allow commands without any additional arguments, as stated in the manpage. While here, exit early when there is nothing to do. PR: 168415 Submitted by: Zhihao Yuan (initial version) MFC r245419: Remove stray tabs. Submitted by: kib END K 10 svn:author V 7 delphij K 8 svn:date V 27 2013-02-08T22:41:48.885268Z K 7 svn:log V 138 In r246282 the KTR_ENTRIES was specified with syntax error, fix it so 'make universe' would work. MFC after: 12 days X-MFC-with: r246282 END K 10 svn:author V 6 sbruno K 8 svn:date V 27 2013-02-08T22:45:47.539635Z K 7 svn:log V 226 Add workaround for the last of .codeNN directives in CLANG Ripped off of and inspired by dim@freebsd.org commit to cdboot http://svnweb.freebsd.org/base?view=revision&revision=235281 Submitted by: hiren.panchasara@gmail.com END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2013-02-08T22:51:09.745086Z K 7 svn:log V 121 Make sure we don't leak command buffers when a USB command transfer fails. MFC after: 1 week Reported by: Ian FREISLICH END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2013-02-08T23:13:46.845055Z K 7 svn:log V 43 Correctly list the usbloader dependencies. END K 10 svn:author V 7 attilio K 8 svn:date V 27 2013-02-08T23:55:26.625307Z K 7 svn:log V 4 MFC END K 10 svn:author V 7 attilio K 8 svn:date V 27 2013-02-08T23:59:21.852422Z K 7 svn:log V 24 Merge from vmcontention END K 10 svn:author V 7 delphij K 8 svn:date V 27 2013-02-09T00:29:36.943325Z K 7 svn:log V 579 MFC r245264: The current ZFS code expects ddt_zap_count to always succeed by asserting the underlying zap_count() to return no errors. However, it is possible that the pool reaches to such a state where zap_count would return error, leading to panics when a pool is imported. This commit changes the ddt_zap_count to return error returned from zap_count and handle the error appropriately. With this change, it's now possible to let zpool rollback damaged transaction groups and import the pool. Obtained from: ZFS on Linux github (e8fd45a0f975c6b8ae8cd644714fc21f14fac2bf) END K 10 svn:author V 2 np K 8 svn:date V 27 2013-02-09T00:35:28.191429Z K 7 svn:log V 68 Do not hold locks around hardware context reads. MFC after: 3 days END K 10 svn:author V 3 pfg K 8 svn:date V 27 2013-02-09T01:08:49.956706Z K 7 svn:log V 617 MFC r237574, r237625, r246256; crunch: Sync some NetBSD changes. crunchide: Apr 11, 2009: fix some -Wsign-compare issues. Sep 20, 1999: Free the right thing. crunchgen: Apr 14, 2009: Fix some WARNS=4 issues (-Wshadow -Wcast-qual) Oct 30, 2004: Add (unsigned char) cast to ctype functions Feb 5, 2001: fix nested extern. examples: Aug 30, 2007: NetBSD 36867 - trsp references are deprecated In order to merge this I also had to merge some previous changes: - Ensure crunchen uses the same make binary as the rest of the build. - Some amount of style(9): function definitions, header ordering, and $FreeBSD$. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2013-02-09T01:38:43.044456Z K 7 svn:log V 1532 MFC r222950 (gibbs): Remove C constructs that are incompatible with C++ from various OpenSolaris and ZFS header files. These changes are sufficient to allow a C++ program to use the libzfs library. Note: The majority of these files already included 'extern "C"' declarations, so the intention of providing C++ compatibility already existed even if it wasn't provided. cddl/compat/opensolaris/include/assert.h: Wrap our compatibility assert implementation in 'extern "C"'. Since this is a compatibility header I matched the Solaris style of doing this explicitly rather than rely on FreeBSD's __BEGIN/END_DECLS macro. sys/cddl/compat/opensolaris/sys/kstat.h: sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/arc.h: sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/dsl_pool.h: sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/ddt.h: sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/spa.h: sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/zio.h: Rename parameters in function declarations that conflict with C++ keywords. This was the solution preferred by members of the Illumos community. sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/zfs_ioctl.h: In C, nested structures are visible in the global namespace, but in C++, they take on the namespace of the structure in which they are contained. Flatten nested structure definitions within struct zfs_cmd so these structures are visible in the global namespace when compiled in both languages. Sponsored by: Spectra Logic Corporation END K 10 svn:author V 7 delphij K 8 svn:date V 27 2013-02-09T01:41:21.800376Z K 7 svn:log V 579 MFC r245264: The current ZFS code expects ddt_zap_count to always succeed by asserting the underlying zap_count() to return no errors. However, it is possible that the pool reaches to such a state where zap_count would return error, leading to panics when a pool is imported. This commit changes the ddt_zap_count to return error returned from zap_count and handle the error appropriately. With this change, it's now possible to let zpool rollback damaged transaction groups and import the pool. Obtained from: ZFS on Linux github (e8fd45a0f975c6b8ae8cd644714fc21f14fac2bf) END K 10 svn:author V 6 adrian K 8 svn:date V 27 2013-02-09T02:42:01.653519Z K 7 svn:log V 172 The encryption type field needs to be preserved for each descriptor making up a frame, in both a sub-frame and for all frames in an aggregate. Tested: * AR5416, STA mode END K 10 svn:author V 3 pfg K 8 svn:date V 27 2013-02-09T02:57:37.736350Z K 7 svn:log V 71 MFC r246278; crunch: some more NetBSD syncing. Obtained from: NetBSD END K 10 svn:author V 7 delphij K 8 svn:date V 27 2013-02-09T04:13:45.232557Z K 7 svn:log V 25 Fix LINT build on amd64. END K 10 svn:author V 6 bryanv K 8 svn:date V 27 2013-02-09T06:11:45.673418Z K 7 svn:log V 514 MFC r238072,r238360,r240430,r241469,r241470,r241495,r244136,r244200 Sync VirtIO with HEAD. - r238072: Do not include in the local headers. - r238360: Various VirtIO improvements - r240430: No need to leak these into the includer's namespace. - r241469: virtqueue: Fix non-indirect virtqueues - r241470: Add Virtio SCSI driver - r241495: Fix build with PAE enabled - r244136: Remove duplicated lines - r244200: Start taskqueues threads after attach cannot fail Approved by: grehan (mentor) END K 10 svn:author V 6 bryanv K 8 svn:date V 27 2013-02-09T06:29:15.663290Z K 7 svn:log V 93 MFC r230461 Connect VirtIO-related manpages to the build. Approved by: grehan (mentor) END K 10 svn:author V 6 bryanv K 8 svn:date V 27 2013-02-09T06:31:13.600538Z K 7 svn:log V 79 MFC r241470 Add VirtIO SCSI driver man page Approved by: grehan (mentor) END K 10 svn:author V 7 delphij K 8 svn:date V 27 2013-02-09T06:31:22.231138Z K 7 svn:log V 24 Fix LINT build for ARM. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2013-02-09T06:39:28.065387Z K 7 svn:log V 1541 MFV r245512: * Illumos zfs issue #3035 [1] LZ4 compression support in ZFS. LZ4 is a new high-speed BSD-licensed compression algorithm created by Yann Collet that delivers very high compression and decompression performance compared to lzjb (>50% faster on compression, >80% faster on decompression and around 3x faster on compression of incompressible data), while giving better compression ratio [1]. This version of LZ4 corresponds to upstream's [2] revision 85. Please note that for obvious reasons this is not backward read compatible. This means once a pool have LZ4 compressed data, these data can no longer be read by older ZFS implementations. Local changes: - On-stack hash table disabled and using kernel slab allocator instead, at this time. This requires larger kernel thread stack for zio workers. This may change in the future should we adjusted the zio workers' thread stack size. - likely and unlikely will be undefined if they are already defined, this is required for i386 XEN build. - Removed De Bruijn sequence based __builtin_ctz family of builtins in favor of the latter. Both GCC and clang supports these builtins. - Changed the way the LZ4 code detects endianness. - Manual pages modifications to mention the feature based on Illumos counterpart. - Boot loader changes to make it support LZ4 decompression. [1] https://www.illumos.org/issues/3035 [2] http://code.google.com/p/lz4/source/list Obtained from: Illumos (13921:9d721847e469) Tested on: FreeBSD/amd64 MFC after: 1 month END K 10 svn:author V 4 joel K 8 svn:date V 27 2013-02-09T07:01:05.568438Z K 7 svn:log V 29 mdoc: Remove EOL whitespace. END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2013-02-09T08:27:08.113416Z K 7 svn:log V 160 Fix a bug where HEARTBEATs were still sent in SHUTDOWN_SENT or SHUTDOWN_ACK_SENT state. While there, make the corresponding code consistent. MFC after: 1 week END K 10 svn:author V 7 delphij K 8 svn:date V 27 2013-02-09T10:48:35.548114Z K 7 svn:log V 38 Remove this branch, no longer needed. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2013-02-09T10:49:31.454749Z K 7 svn:log V 40 Remove libz-8 branch, no longer needed. END K 10 svn:author V 7 antoine K 8 svn:date V 27 2013-02-09T13:28:49.821719Z K 7 svn:log V 25 Add more obsolete files. END K 10 svn:author V 7 antoine K 8 svn:date V 27 2013-02-09T13:31:59.154963Z K 7 svn:log V 44 Fix some NLS catalogs broken after r245888. END K 10 svn:author V 6 eadler K 8 svn:date V 27 2013-02-09T17:13:51.996428Z K 7 svn:log V 128 Fix logic inversion. PR: docs/174966 Submitted by: Christian Ullrich Approved by: bcr (mentor) END K 10 svn:author V 6 eadler K 8 svn:date V 27 2013-02-09T17:13:54.446719Z K 7 svn:log V 145 Reference something which exists instead of the non-existent runsocks program. PR: docs/173664 Submitted by: wkoszek Approved by: bcr (mentor) END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2013-02-09T17:26:14.451280Z K 7 svn:log V 165 Cleanup the handling of address scopes. Announce in the INIT/INIT-ACK only the supported address types. While there, do some whitespace cleanups. MFC after: 1 week END K 10 svn:author V 6 cherry K 8 svn:date V 27 2013-02-09T17:32:00.000933Z K 7 svn:log V 87 Remove misleading "Sign unmasking" from ma calculation. Approved by: gibbs (implicit) END K 10 svn:author V 6 cherry K 8 svn:date V 27 2013-02-09T17:34:48.373879Z K 7 svn:log V 151 Remove unnecessary sign extension (48bit upward) masking on va. This is relevant only for the pml4t offset calculation. Approved by: gibbs (implicit) END K 10 svn:author V 3 ume K 8 svn:date V 27 2013-02-09T17:56:57.456466Z K 7 svn:log V 55 MFC r246255: Use the default policy table of RFC 6724. END K 10 svn:author V 3 ume K 8 svn:date V 27 2013-02-09T18:00:29.451683Z K 7 svn:log V 55 MFC r246255: Use the default policy table of RFC 6724. END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2013-02-09T18:14:26.491514Z K 7 svn:log V 22 Add dtc to the build. END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2013-02-09T21:36:14.827635Z K 7 svn:log V 36 Fix breakage introduced in r246318. END K 10 svn:author V 6 brooks K 8 svn:date V 27 2013-02-09T23:17:28.391808Z K 7 svn:log V 188 Add nmtree to ITOOLS if it is installed on the host instead of keying off the BOOTSTRAPPING variable. The previous test was wrong because BOOTSTRAPPING is 0 in most cases. Tested by: db END K 10 svn:author V 7 attilio K 8 svn:date V 27 2013-02-10T01:04:10.806835Z K 7 svn:log V 713 Remove a racy checks on resident and cached pages for tmpfs_mapped{read, write}() functions: - tmpfs_mapped{read, write}() are only called within VOP_{READ, WRITE}(), which check before-hand to work only on valid VREG vnodes. Also the vnode is locked for the duration of the work, making vnode reclaiming impossible, during the operation. Hence, vobj can never be NULL. - Currently check on resident pages and cached pages without vm object lock held is racy and can do even more harm than good, as a page could be transitioning between these 2 pools and then be skipped entirely. Skip the checks as lookups on empty splay trees are very cheap. Discussed with: alc Tested by: flo MFC after: 2 weeks END K 10 svn:author V 7 attilio K 8 svn:date V 27 2013-02-10T01:13:03.551566Z K 7 svn:log V 4 MFC END K 10 svn:author V 7 attilio K 8 svn:date V 27 2013-02-10T01:18:26.626574Z K 7 svn:log V 24 Merge from vmcontention END K 10 svn:author V 7 attilio K 8 svn:date V 27 2013-02-10T01:30:13.367086Z K 7 svn:log V 73 Fix wrong object reference. Sponsored by: EMC / Isilon Storage Division END K 10 svn:author V 5 benno K 8 svn:date V 27 2013-02-10T04:14:25.166372Z K 7 svn:log V 84 Use EFI types for EFI values (silences warnings). Sponsored by: FreeBSD Foundation END K 10 svn:author V 5 benno K 8 svn:date V 27 2013-02-10T04:17:41.884334Z K 7 svn:log V 444 Rework copy routines to ensure we always use memory allocated via EFI. The previous code assumed it could copy wherever it liked. This is not the case. The approach taken by this code is pretty ham-fisted in that it simply allocates a large (32MB) buffer area and stages into that, then copies the whole area into place when it's time to execute. A more elegant solution could be used but this works for now. Sponsored by: FreeBSD Foundation END K 10 svn:author V 7 delphij K 8 svn:date V 27 2013-02-10T07:23:23.826899Z K 7 svn:log V 73 MFC r244132: Add -R, an option to restart all enabled "local" services. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2013-02-10T07:36:23.770845Z K 7 svn:log V 181 MFC r245297: Add ID for Nuvoton WPCM450RA0BX found on Supermicro X9SCA-F motherboards. While I'm there, also make this driver to attach to devices that have an unknown device ID. END K 10 svn:author V 3 kib K 8 svn:date V 27 2013-02-10T10:00:35.264104Z K 7 svn:log V 37 MFC r245976: Fix reversed condition. END K 10 svn:author V 3 kib K 8 svn:date V 27 2013-02-10T10:17:33.796034Z K 7 svn:log V 720 Fix several unsafe pointer dereferences in the buffered_write() function, implementing the sysctl vfs.ffs.set_bufoutput (not used in the tree yet). - The current directory vnode dereference is unsafe since fd_cdir could be changed and unreferenced, lock the filedesc around and vref the fd_cdir. - The VTOI() conversion of the fd_cdir is unsafe without first checking that the vnode is indeed from an FFS mount, otherwise the code dereferences a random memory. - The cdir could be reclaimed from under us, lock it around the checks. - The type of the fp vnode might be not a disk, or it might have changed while the thread was in flight, check the type. Reviewed and tested by: mckusick MFC after: 2 weeks END K 10 svn:author V 5 benno K 8 svn:date V 27 2013-02-10T10:17:41.711672Z K 7 svn:log V 104 Make it possible to load 32-bit kernels/modules from a 64-bit loader. Sponsored by: FreeBSD Foundation END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2013-02-10T10:36:16.862755Z K 7 svn:log V 334 - Streamline detach logic in wlan drivers, so that freed memory cannot be used during detach. - Remove all panic() calls from the urtw driver because panic() is not appropriate here. - Remove redundant checks for device detached in device detach callbacks. - Use DEVMETHOD_END to mark end of device methods. MFC after: 2 weeks END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2013-02-10T10:55:20.799642Z K 7 svn:log V 37 Fix correct use of USB header files. END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2013-02-10T10:56:13.900091Z K 7 svn:log V 347 - Move scratch data from the USB bus structure to the USB device structure so that simultaneous access cannot happen. Protect scratch area using the enumeration lock. Also reduce stack usage in usbd_transfer_setup() by moving some big stack members to the scratch area. This saves around 200 bytes of stack. - Fix a whitespace. MFC after: 1 week END K 10 svn:author V 6 jilles K 8 svn:date V 27 2013-02-10T13:20:23.247389Z K 7 svn:log V 60 sigqueue(2): Fix typo (EEPERM -> EPERM). MFC after: 3 days END K 10 svn:author V 6 jilles K 8 svn:date V 27 2013-02-10T13:28:02.075393Z K 7 svn:log V 337 find: In -execdir ... {} +, only pass one file per invocation. This is inefficient but ensures that -execdir ... {} + does not mix files from different directories in one invocation; the command could not access some files. Files from the same directory should really be handled in one invocation but this is somewhat more complicated. END K 10 svn:author V 5 gavin K 8 svn:date V 27 2013-02-10T14:28:07.722763Z K 7 svn:log V 120 Correct spelling of "daemon". No .Dd bump. Noticed by: Nathan Rich MFC after: 3 days END K 10 svn:author V 3 pjd K 8 svn:date V 27 2013-02-10T15:55:42.241863Z K 7 svn:log V 52 Use arc4random_buf(3) instead of reimplementing it. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2013-02-10T15:56:20.959442Z K 7 svn:log V 77 Assert that if we are not dealing with keyfile we are dealing with passfile. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2013-02-10T15:56:47.759123Z K 7 svn:log V 23 Fix minor memory leak. END K 10 svn:author V 7 attilio K 8 svn:date V 27 2013-02-10T16:00:14.051969Z K 7 svn:log V 11 Fix style. END K 10 svn:author V 2 mm K 8 svn:date V 27 2013-02-10T17:10:07.349111Z K 7 svn:log V 214 Backport vendor changes in zfs(8) manual page (MFV r246389) Illumos ZFS issues: 3380 zfs man page: documentation for zfs allow is confusing References: https://www.illumos.org/issues/3380 MFC after: 2 weeks END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2013-02-10T17:48:46.387121Z K 7 svn:log V 163 MFC r246016: Add a loader tunable "hw.broken_txfifo" which enables a workaround for a bug in old versions of QEMU (and Xen, and other places using QEMU code). END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2013-02-10T17:50:56.124858Z K 7 svn:log V 163 MFC r246016: Add a loader tunable "hw.broken_txfifo" which enables a workaround for a bug in old versions of QEMU (and Xen, and other places using QEMU code). END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2013-02-10T17:58:44.887001Z K 7 svn:log V 269 Don't try to suppress the inclusion of the build date in named's version string by undefining __DATE__, since (unlike gcc) clang doesn't allow us to do that. Instead, define NO_VERSION_DATE, which was helpfully added to the named source code for exactly this purpose. END K 10 svn:author V 6 jilles K 8 svn:date V 27 2013-02-10T18:56:37.697120Z K 7 svn:log V 547 find: Run when cwd cannot be opened, except with -execdir or -delete. fts(3) can run (albeit more slowly and imposing the {PATH_MAX} limit) when the current directory cannot be opened. Therefore, do not make a failure to open the current directory (for returning to it later in -exec) fatal. If -execdir or -delete are used, the expectation is that fts(3) will use chdir to avoid race conditions (except for -execdir with -L). Do not break this expectation any more than it already is by still failing if the current directory cannot be opened. END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2013-02-10T19:21:17.273307Z K 7 svn:log V 61 Improve code style. No functional change. MFC after: 3 days END K 10 svn:author V 2 ae K 8 svn:date V 27 2013-02-10T19:27:17.502212Z K 7 svn:log V 74 Add bootcamp support to the loader. Tested by: dchagin MFC after: 1 week END K 10 svn:author V 2 mm K 8 svn:date V 27 2013-02-10T19:32:55.331397Z K 7 svn:log V 281 MFV r246388: Import vendor bugfixes Illumos ZFS issues: 3422 zpool create/syseventd race yield non-importable pool 3425 first write to a new zvol can fail with EFBIG References: https://www.illumos.org/issues/3422 https://www.illumos.org/issues/3425 MFC after: 2 weeks END K 10 svn:author V 4 neel K 8 svn:date V 27 2013-02-10T19:35:40.284038Z K 7 svn:log V 150 Use the entire 64 bits of 'bar.pbi_length' when printing the bar size. This allows bar sizes greater than or equal to 4GB to be displayed correctly. END K 10 svn:author V 2 mm K 8 svn:date V 27 2013-02-10T19:41:19.686376Z K 7 svn:log V 192 Update vendor-sys/illumos/dist to illumos-gate version 13949:4f6a155f70fe Illumos ZFS issues: 3512 rounding discrepancy in sa_find_sizes() 3513 mismatch between SA header size and layout END K 10 svn:author V 3 pfg K 8 svn:date V 27 2013-02-10T19:49:37.685248Z K 7 svn:log V 111 ext2fs: Use prototype declarations for function definitions Submitted by: Christoph Mallon MFC after: 2 weeks END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2013-02-10T19:57:19.139181Z K 7 svn:log V 144 Make sure that received packets for removed addresses are handled consistently. While there, make variable names consistent. MFC after: 3 days END K 10 svn:author V 3 kib K 8 svn:date V 27 2013-02-10T20:08:33.913208Z K 7 svn:log V 199 Remove the ia64-specific code fragment, which effect is more cleanly done by the call to trans_prot() function a line before. Discussed with: Oliver Pinter MFC after: 1 week END K 10 svn:author V 3 dim K 8 svn:date V 27 2013-02-10T21:24:47.713880Z K 7 svn:log V 590 MFC r246259: Pull in r170135 from upstream clang trunk: Dont use/link ARCMT, StaticAnalyzer and Rewriter to clang when the user specifies not to. Dont build ASTMatchers with Rewriter disabled and StaticAnalyzer when it's disabled. Without all those three, the clang binary shrinks (x86_64) from ~36MB to ~32MB (unstripped). To disable these clang components, and get a smaller clang binary built and installed, set WITHOUT_CLANG_FULL in src.conf(5). During the initial stages of buildworld, those extra components are already disabled automatically, to save some build time. END K 10 svn:author V 3 dim K 8 svn:date V 27 2013-02-10T21:29:59.440268Z K 7 svn:log V 37 Regenerate src.conf.5 after r246637. END K 10 svn:author V 7 attilio K 8 svn:date V 27 2013-02-10T21:56:09.372344Z K 7 svn:log V 4 MFC END K 10 svn:author V 7 attilio K 8 svn:date V 27 2013-02-10T22:06:06.091676Z K 7 svn:log V 24 merge from vmcontention END K 10 svn:author V 6 jilles K 8 svn:date V 27 2013-02-10T23:09:15.229091Z K 7 svn:log V 303 fts: Use O_DIRECTORY when opening name that might be changed by attacker. There are uncommon cases where fts_safe_changedir() may be called with a non-NULL name that is not "..". Do not block or worse if an attacker put (a (symlink to) a fifo or device where a directory used to be. MFC after: 1 week END K 10 svn:author V 5 benno K 8 svn:date V 27 2013-02-10T23:49:18.191244Z K 7 svn:log V 55 Move this information to https://wiki.freebsd.org/UEFI END K 10 svn:author V 3 pjd K 8 svn:date V 27 2013-02-10T23:51:26.769070Z K 7 svn:log V 59 Add CAP_MKNOD right. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 pjd K 8 svn:date V 27 2013-02-11T00:10:35.466031Z K 7 svn:log V 140 Capability rights for process management via process descriptors do exist already, so uncomment them. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 kib K 8 svn:date V 27 2013-02-11T00:50:25.889688Z K 7 svn:log V 55 MFC r246554: The 'end' word was missed in the comment. END K 10 svn:author V 3 kib K 8 svn:date V 27 2013-02-11T00:50:52.622237Z K 7 svn:log V 55 MFC r246554: The 'end' word was missed in the comment. END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2013-02-11T02:15:26.942382Z K 7 svn:log V 64 Provide verbose help for fdt commands on platforms that use it. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2013-02-11T02:48:49.482856Z K 7 svn:log V 114 Extend the timestamp to be a timeval, rather than ticks. This makes it easier to see TX and RX buffer latencies. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2013-02-11T02:54:24.927117Z K 7 svn:log V 66 Teach athalq about the recent if_ath_alq timestamp format change. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2013-02-11T07:48:26.405060Z K 7 svn:log V 581 Go back to direct-dispatch of the software queue and frame TX paths when they're being called from the TX completion handler. Going (back) through the taskqueue is just adding extra locking and latency to packet operations. This improves performance a little bit on most NICs. It still hasn't restored the original performance of the AR5416 NIC but the AR9160, AR9280 and later NICs behave very well with this. Tested: * AR5416 STA (still tops out at ~ 70mbit TCP, rather than 150mbit TCP..) * AR9160 hostap (good for both TX and RX) * AR9280 hostap (good for both TX and RX) END K 10 svn:author V 2 mm K 8 svn:date V 27 2013-02-11T07:48:57.430394Z K 7 svn:log V 102 MFV r246390: Import minor type change in refcount.h header from vendor (illumos). MFC after: 2 weeks END K 10 svn:author V 6 adrian K 8 svn:date V 27 2013-02-11T07:49:40.578070Z K 7 svn:log V 177 Put this back into the ath taskqueue rather than the ath TX taskqueue. This now should mean all the entry points into the software TX scheduler are back in the same taskqueue. END K 10 svn:author V 2 mm K 8 svn:date V 27 2013-02-11T08:06:18.305348Z K 7 svn:log V 146 Update vendor-sys/illumos/dist to illumos-gate 13952:7a22d0770fc8 Illumos ZFS issues: 3522 zfs module should not allow uninitialized variables END K 10 svn:author V 2 mm K 8 svn:date V 27 2013-02-11T08:07:56.736634Z K 7 svn:log V 163 Update vendor/illumos/dist and vendor-sys/illumos/dist to illumos-gate 13953:0cc6917308f7 Illumos dtrace issues: 3529 iostat should display time used by dtrace END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2013-02-11T08:20:21.243097Z K 7 svn:log V 19 Use DEVMETHOD_END. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2013-02-11T09:42:34.455967Z K 7 svn:log V 48 Sync BIND 9 version with 9-STABLE, to 9.8.4-P1. END K 10 svn:author V 6 brooks K 8 svn:date V 27 2013-02-11T09:45:24.802160Z K 7 svn:log V 494 Add -lheimntlm to LDADD directly. With the current binutils, symbols from libheimtlm.so are loaded because it is referenced by DT_NEEDED. This feature is not implemented in mclinker (https://code.google.com/p/mclinker/issues/detail?id=104). I encountered the same issue when linking with a recent devel/binutils invoked via clang. This was the only use of DT_NEEDED in the tree so removing it simplifies toolchain requirements. Submitted by: Pete Chou (mclinker issue) END K 10 svn:author V 7 pluknet K 8 svn:date V 27 2013-02-11T10:14:12.159189Z K 7 svn:log V 50 Cross-reference vfs_unbusy(9). MFC after: 1 week END K 10 svn:author V 7 glebius K 8 svn:date V 27 2013-02-11T10:58:22.133145Z K 7 svn:log V 619 Resolve source address selection in presense of CARP. Add a couple of helper functions: - carp_master() - boolean function which is true if an address is in the MASTER state. - ifa_preferred() - boolean function that compares two addresses, and is aware of CARP. Utilize ifa_preferred() in ifa_ifwithnet(). The previous version of patch also changed source address selection logic in jails using carp_master(), but we failed to negotiate this part with Bjoern. May be we will approach this problem again later. Reported & tested by: Anton Yuzhaninov Sponsored by: Nginx, Inc END K 10 svn:author V 5 gonzo K 8 svn:date V 27 2013-02-11T11:31:23.930639Z K 7 svn:log V 38 Add watchdog driver for Allwinner A10 END K 10 svn:author V 5 gonzo K 8 svn:date V 27 2013-02-11T11:33:56.985505Z K 7 svn:log V 211 A10 reset mechanism is the same for all boards in this family so remove redundant reset function implementation pointer. We might want to ressurect it later when support for other Allwinner chips is introduced. END K 10 svn:author V 7 linimon K 8 svn:date V 27 2013-02-11T12:10:24.422826Z K 7 svn:log V 31 Suggested bugfixes from crees. END K 10 svn:author V 7 linimon K 8 svn:date V 27 2013-02-11T12:30:38.225193Z K 7 svn:log V 322 Rewrite of mkportbuild for a new world where portbuild only own files and responsibilities for managing clients. Server-based operations such as svn updates and zfs maintenance are now reserved to a "more powerful" user, designated srcbuild. portbuild trusts srcbuild but completely not vice versa. Request by: rwatson END K 10 svn:author V 7 linimon K 8 svn:date V 27 2013-02-11T12:39:35.342504Z K 7 svn:log V 247 Add ZFS_PERMISSIONSET_SNAPS. This will allow PORTBUID_USER to clone and snapshot svn directroies. It used to be able to do this by itself, but now these directories are to be owned by the "more trusted" user SRCBUILD_CONF. Submitted by: crees END K 10 svn:author V 7 linimon K 8 svn:date V 27 2013-02-11T12:42:06.024986Z K 7 svn:log V 110 Checkpoint of changes to once again allow PORTBUILD_USER to clone from svn repositories. Submitted by: crees END K 10 svn:author V 2 mm K 8 svn:date V 27 2013-02-11T12:42:11.453870Z K 7 svn:log V 242 MFV r246392: Import vendor ZFS bugfix fixing a possible deadlock in arc_read(). Illumos ZFS issues: 3498 panic in arc_read(): !refcount_is_zero(&pbuf->b_hdr->b_refcnt) References: https://www.illumos.org/issues/3498 MFC after: 2 weeks END K 10 svn:author V 7 linimon K 8 svn:date V 27 2013-02-11T12:49:37.783198Z K 7 svn:log V 114 Prepare for move of portbuild/lib to portbuild/admin/lib. lib/ now needs to be owned by srcbuild, thus the move. END K 10 svn:author V 7 linimon K 8 svn:date V 27 2013-02-11T12:50:50.519124Z K 7 svn:log V 44 Start canonicalizing on /a instead of /var. END K 10 svn:author V 7 linimon K 8 svn:date V 27 2013-02-11T12:55:24.680394Z K 7 svn:log V 198 Move lib/ to admin/lib, for privilege separation. While here, carefully note why this is being done; move from /var/portbuild to /a/portbuild as the default; and delete unneccesary uses of ${pbd}. END K 10 svn:author V 7 pluknet K 8 svn:date V 27 2013-02-11T12:56:23.380736Z K 7 svn:log V 710 Major update for unix_cmsg from Andrey Simonenko. Quoting the submitter: - Added tests for SCM_BINTIME, LOCAL_PEERCRED, cmsghdr.cmsg_len - Code that checks correctness of groups was corrected (getgroups(2) change) - unix_cmsg.c was completely redesigned and simplified - Use less timeout value in unix_cmsg.c for faster work - Added support for not sending data in a message, not sending data and data array associated with a cmsghdr structure in a message - Existent tests were improved - unix_cmsg.t was redesigned and simplified Correctness of unix_cmsg verified on 7.1-STABLE, 9.1-STABLE and 10-CURRENT. PR: bin/131567 Submitted by: Andrey Simonenko MFC after: 2 weeks END K 10 svn:author V 7 linimon K 8 svn:date V 27 2013-02-11T12:56:45.802416Z K 7 svn:log V 173 Move common files shared between PORTBUILD_USER and SRCBUILD_USER to be only writeable by SRCBUILD_USER, for greater privilege separation. Implicitly requested by: rwatson END K 10 svn:author V 7 linimon K 8 svn:date V 27 2013-02-11T12:58:26.645072Z K 7 svn:log V 66 Move www ownership away from PORTBUILD_USER and to SRCBUILD_USER. END K 10 svn:author V 7 linimon K 8 svn:date V 27 2013-02-11T13:42:11.514446Z K 7 svn:log V 161 Since SRCBUILD_USER now owns the svn repositories, the definitions of which svn repositories to track must move out of portbuild/conf/server.conf and into here. END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2013-02-11T13:57:03.913176Z K 7 svn:log V 344 Don't send kernel provided information in the User Initiated ABORT cause, since the user can also provide this kind of information. So the receiver doesn't know who provided the information. While there: Fix a bug where the stack would send a malformed ABORT chunk when using a send() call with SCTP_ABORT|SCT_SENDALL flags. MFC after: 3 days END K 10 svn:author V 2 mm K 8 svn:date V 27 2013-02-11T13:59:57.157403Z K 7 svn:log V 226 MFV r246394: Add tunable to allow block allocation on degraded vdevs. Illumos ZFS issues: 3507 Tunable to allow block allocation even on degraded vdevs References: https://www.illumos.org/issues/3507 MFC after: 2 weeks END K 10 svn:author V 7 linimon K 8 svn:date V 27 2013-02-11T14:25:37.880955Z K 7 svn:log V 46 Add sub-permissions for snapshot directories. END K 10 svn:author V 7 linimon K 8 svn:date V 27 2013-02-11T14:27:32.664579Z K 7 svn:log V 83 Cosmetic. Makes understanding the zfs permission set default a little bit easier. END K 10 svn:author V 2 mm K 8 svn:date V 27 2013-02-11T14:29:38.544041Z K 7 svn:log V 351 MFV r246633: Import vendor bugfixes regarding SA rounding, header size and layout. This was already partially fixed by avg. Illumos ZFS issues: 3512 rounding discrepancy in sa_find_sizes() 3513 mismatch between SA header size and layout References: https://www.illumos.org/issues/3512 https://www.illumos.org/issues/3513 MFC after: 2 weeks END K 10 svn:author V 7 linimon K 8 svn:date V 27 2013-02-11T14:30:06.739037Z K 7 svn:log V 75 "mounted" can return "no". I fixed this everywhere but this one instance. END K 10 svn:author V 7 linimon K 8 svn:date V 27 2013-02-11T14:32:06.651625Z K 7 svn:log V 58 Fix sense of the test. It is the opposite of the others. END K 10 svn:author V 7 linimon K 8 svn:date V 27 2013-02-11T14:45:41.974643Z K 7 svn:log V 95 Fix the test for whether the portbuild zpool exists. While here, add some more armor-plating. END K 10 svn:author V 7 linimon K 8 svn:date V 27 2013-02-11T15:13:28.293216Z K 7 svn:log V 78 Get rid of the misnomer "chroot" for the subdirectory where worlds are built. END K 10 svn:author V 7 linimon K 8 svn:date V 27 2013-02-11T15:42:48.685967Z K 7 svn:log V 263 Reorder operations so that all zfs creates are done before permission definitions. Although PORTBUILD_USER has only one subdirectory of ZFS_VOLUME to administer, parameterize it. Clean up some noise from the id(1) commands. Note: this is still not sufficient. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2013-02-11T18:22:26.921415Z K 7 svn:log V 62 Use the right year. Noticed by: Denis Ahrens END K 10 svn:author V 6 davide K 8 svn:date V 27 2013-02-11T19:23:23.296224Z K 7 svn:log V 36 Merge head r236314 through r246684. END K 10 svn:author V 4 neel K 8 svn:date V 27 2013-02-11T20:36:07.575105Z K 7 svn:log V 542 Implement guest vcpu pinning using 'pthread_setaffinity_np(3)'. Prior to this change pinning was implemented via an ioctl (VM_SET_PINNING) that called 'sched_bind()' on behalf of the user thread. The ULE implementation of 'sched_bind()' bumps up 'td_pinned' which in turn runs afoul of the assertion '(td_pinned == 0)' in userret(). Using the cpuset affinity to implement pinning of the vcpu threads works with both 4BSD and ULE schedulers and has the happy side-effect of getting rid of a bunch of code in vmm.ko. Discussed with: grehan END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2013-02-11T21:02:49.026260Z K 7 svn:log V 101 Send the adaptation layer indication only if set by the user. MFC after: 3 days Discussed with: rrs END K 10 svn:author V 2 mm K 8 svn:date V 27 2013-02-11T21:10:55.369025Z K 7 svn:log V 309 Merge zfs_ioctl.c code that should have been merged together with ZFS v28. Fixes several problems if working with read-only pools. Changed code originaly introduced in onnv-gate 13061:bda0decf867b Contains changes up to illumos-gate 13700:4bc0783f6064 PR: kern/175897 Suggested by: avg MFC after: 2 weeks END K 10 svn:author V 6 marius K 8 svn:date V 27 2013-02-11T21:50:00.068798Z K 7 svn:log V 127 Make SYSCTL_{LONG,QUAD,ULONG,UQUAD}(9) work as advertised and also handle constant values. Reviewed by: kib MFC after: 3 days END K 10 svn:author V 3 kib K 8 svn:date V 27 2013-02-11T22:32:49.545327Z K 7 svn:log V 196 The siis dma load callback siis_dmasetprd() does not handle the case nsegs == 0. Restore the direct call to siis_execute_transaction() for the ccbs which do not specify I/O. Discussed with: jeff END K 10 svn:author V 3 pjd K 8 svn:date V 27 2013-02-11T22:54:23.542915Z K 7 svn:log V 7 Style. END K 10 svn:author V 7 linimon K 8 svn:date V 27 2013-02-11T22:55:23.439961Z K 7 svn:log V 61 Get rid of the mis-named chroot/ dir and make it worlddir/ . END K 10 svn:author V 7 linimon K 8 svn:date V 27 2013-02-11T22:56:43.817173Z K 7 svn:log V 49 Remove one more instance of the chroot misnomer. END K 10 svn:author V 7 linimon K 8 svn:date V 27 2013-02-11T22:59:10.583954Z K 7 svn:log V 116 makeworld and mkbindist need to belong to SRCBUILD_USER, not PORTBUILD_USER, in the new privilege separation world. END K 10 svn:author V 7 linimon K 8 svn:date V 27 2013-02-11T23:04:12.947935Z K 7 svn:log V 46 Make these more comfortable in the new world. END K 10 svn:author V 6 marius K 8 svn:date V 27 2013-02-11T23:05:10.878963Z K 7 svn:log V 36 Update comments to reflect r246689. END K 10 svn:author V 7 linimon K 8 svn:date V 27 2013-02-11T23:06:18.226991Z K 7 svn:log V 9 Cleanup. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2013-02-11T23:14:54.019718Z K 7 svn:log V 7 Style. END K 10 svn:author V 7 linimon K 8 svn:date V 27 2013-02-11T23:27:39.685024Z K 7 svn:log V 53 Swap the order of some operations. No code changes. END K 10 svn:author V 7 linimon K 8 svn:date V 27 2013-02-11T23:33:50.338163Z K 7 svn:log V 191 An example script that demonstrates how to use mkportbuild to create a new package building node, as per: http://www.freebsd.org/doc/en_US.ISO8859-1/articles/portbuild/article.html#new-node END K 10 svn:author V 6 alfred K 8 svn:date V 27 2013-02-12T01:37:33.840580Z K 7 svn:log V 159 Support for software pre-watchdog timeout. This allows a software setting for the kernel to panic, enter debugger or log some time before the watchdog fires. END K 10 svn:author V 7 linimon K 8 svn:date V 27 2013-02-12T03:14:47.729191Z K 7 svn:log V 55 Continue the move from /var/portbuild to /a/portbuild. END K 10 svn:author V 7 linimon K 8 svn:date V 27 2013-02-12T03:19:39.447374Z K 7 svn:log V 153 Follow the split of server.conf into server.conf and admin.conf. While here, stamp out some other lies, and comment out code that can take eons to run. END K 10 svn:author V 6 alfred K 8 svn:date V 27 2013-02-12T04:22:00.853170Z K 7 svn:log V 100 Add a new software watchdog that has a configurable action. While here refactor the "action" code. END K 10 svn:author V 6 andrew K 8 svn:date V 27 2013-02-12T05:56:00.617640Z K 7 svn:log V 184 Allow us to build clang for ARM EABI. Clang and llvm use the arm-gnueabi-freebsd10.0 triple for EABI. Use this when we are on arm or armv6 and are building for EABI. Reviewed by: dim END K 10 svn:author V 6 andrew K 8 svn:date V 27 2013-02-12T06:04:51.076443Z K 7 svn:log V 474 When clang builds libc it may insert calls to __aeabi_* functions. Normally this is not a problem as they are resolved by libgcc. The exception is for the __aeabi_mem* functions. These call back into libc to the appropriate function. This causes issues for static binaries as we only link against libc once so there is no way for it to call into libgcc and back. The fix for this is to include these symbols in libc but keep them hidden so binaries use the libgcc version. END K 10 svn:author V 5 gonzo K 8 svn:date V 27 2013-02-12T07:27:40.841394Z K 7 svn:log V 20 Remove debug output END K 10 svn:author V 7 pluknet K 8 svn:date V 27 2013-02-12T10:21:02.941902Z K 7 svn:log V 114 MFC r246370: Remove reference to the rlist code from comments, and fix a typo visible in the resulted change. END K 10 svn:author V 7 pluknet K 8 svn:date V 27 2013-02-12T10:32:53.717341Z K 7 svn:log V 114 MFC r246370: Remove reference to the rlist code from comments, and fix a typo visible in the resulted change. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2013-02-12T11:24:37.420636Z K 7 svn:log V 230 Substitute '#ifdef ALIGNED_POINTER' with '#ifndef __NO_STRICT_ALIGNMENT', since the former is defined everywhere. This cuts off some code not necessary on non strict aligment arches. Reviewed by: adrian Sponsored by: Nginx, Inc. END K 10 svn:author V 7 pluknet K 8 svn:date V 27 2013-02-12T13:01:34.862871Z K 7 svn:log V 179 o Bring in sync decoding the first nfssvc(2) parameter (flags) with the current definitions location. o Respect numbers in NFSSVC_* (e.g. NFSSVC_V4ROOTEXPORT). MFC after: 1 week END K 10 svn:author V 6 marcel K 8 svn:date V 27 2013-02-12T16:51:43.259388Z K 7 svn:log V 82 Now that we actually use more memory descriptors, make sure to dump them as well. END K 10 svn:author V 3 kib K 8 svn:date V 27 2013-02-12T16:57:20.211927Z K 7 svn:log V 898 Reform the busdma API so that new types may be added without modifying every architecture's busdma_machdep.c. It is done by unifying the bus_dmamap_load_buffer() routines so that they may be called from MI code. The MD busdma is then given a chance to do any final processing in the complete() callback. The cam changes unify the bus_dmamap_load* handling in cam drivers. The arm and mips implementations are updated to track virtual addresses for sync(). Previously this was done in a type specific way. Now it is done in a generic way by recording the list of virtuals in the map. Submitted by: jeff (sponsored by EMC/Isilon) Reviewed by: kan (previous version), scottl, mjacob (isp(4), no objections for target mode changes) Discussed with: ian (arm changes) Tested by: marius (sparc64), mips (jmallet), isci(4) on x86 (jharris), amd64 (Fabian Keil ) END K 10 svn:author V 6 marcel K 8 svn:date V 27 2013-02-12T17:24:41.830044Z K 7 svn:log V 145 Eliminate padding by moving 'narg' next to 'code'. Both are 32-bit entities in the syscall_args structure that otherwise has 64-bit only fields. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2013-02-12T17:38:35.547368Z K 7 svn:log V 707 Eliminate the PC_CURTHREAD symbol and load the current thread's thread structure pointer atomically from r13 (the pcpu pointer) for the current CPU/core. Add a CTASSERT in machdep.c to make sure that pc_curthread is in fact the first field in struct pcpu. The only non-atomic operations left were those related to process- space operations, such as casuword, subyte, suword16, fubyte, fuword16, copyin, copyout and their variations. The casuword function has been re-structured more complete than the others. This way we have an example of a better bundling without introducing a lot of risk when we get it wrong. The other functions can be rebundled in separate commits and with the appropriate testing. END K 10 svn:author V 7 linimon K 8 svn:date V 27 2013-02-12T18:26:30.793066Z K 7 svn:log V 69 Attempt to make the index.html link follow the new directory layout. END K 10 svn:author V 7 linimon K 8 svn:date V 27 2013-02-12T18:27:58.418820Z K 7 svn:log V 6 nope. END K 10 svn:author V 7 linimon K 8 svn:date V 27 2013-02-12T18:38:01.346136Z K 7 svn:log V 31 Continue to work on the split. END K 10 svn:author V 4 zont K 8 svn:date V 27 2013-02-12T18:48:11.322810Z K 7 svn:log V 78 - Use correct size of copying different socket structures. MFC after: 1 week END K 10 svn:author V 4 zont K 8 svn:date V 27 2013-02-12T19:10:54.387835Z K 7 svn:log V 75 - Make actually printing path of AF_LOCAL socket types. MFC after: 1 week END K 10 svn:author V 6 cognet K 8 svn:date V 27 2013-02-12T20:33:20.315312Z K 7 svn:log V 78 As expected, Ian is doing fine, so release him from the burden of mentorship. END K 10 svn:author V 3 des K 8 svn:date V 27 2013-02-12T22:35:14.120490Z K 7 svn:log V 54 Old code from projcvs I'd completely forgotten about. END K 10 svn:author V 4 bapt K 8 svn:date V 27 2013-02-12T23:01:21.088095Z K 7 svn:log V 95 MFC: r240696, r240698, r240740 Allow zfs jail and zfs unjail to use both jailnames and jailid END K 10 svn:author V 7 yongari K 8 svn:date V 27 2013-02-13T00:46:41.921006Z K 7 svn:log V 984 MFC r246341: Rework jumbo frame handling. QAC confirmed that the controller requires 8 bytes alignment on RX buffer. Given that non-jumbo frame works on any alignments I guess this DMA limitation for RX buffer could be jumbo frame specific one. Also I'm not sure whether this DMA limitation is related with 64bit DMA. Previously age(4) disabled 64bit DMA addressing due to silent data corruption. So we may need more testing on re-enabling 64bit DMA in future. While I'm here, change mbuf chaining algorithm to use fixed sized buffer and force software checksum if controller reports length error. According to QAC, RFD is not updated at all for jumbo frame so it works just like alc(4) controllers. This change also added alignment fixup for strict alignment architectures. Because I'm not aware of any non-x86 machines that use age(4) controllers it's just for completeness at this moment. Wit this change, jumbo frame should work with age(4). END K 10 svn:author V 7 yongari K 8 svn:date V 27 2013-02-13T00:47:47.269445Z K 7 svn:log V 984 MFC r246341: Rework jumbo frame handling. QAC confirmed that the controller requires 8 bytes alignment on RX buffer. Given that non-jumbo frame works on any alignments I guess this DMA limitation for RX buffer could be jumbo frame specific one. Also I'm not sure whether this DMA limitation is related with 64bit DMA. Previously age(4) disabled 64bit DMA addressing due to silent data corruption. So we may need more testing on re-enabling 64bit DMA in future. While I'm here, change mbuf chaining algorithm to use fixed sized buffer and force software checksum if controller reports length error. According to QAC, RFD is not updated at all for jumbo frame so it works just like alc(4) controllers. This change also added alignment fixup for strict alignment architectures. Because I'm not aware of any non-x86 machines that use age(4) controllers it's just for completeness at this moment. Wit this change, jumbo frame should work with age(4). END K 10 svn:author V 7 attilio K 8 svn:date V 27 2013-02-13T01:19:31.416164Z K 7 svn:log V 2999 Implement a new algorithm for managing the radix trie which also includes path-compression. This greatly helps with sparsely populated tries, where an uncompressed trie may end up by having a lot of intermediate nodes for very little leaves. The new algorithm introduces 2 main concepts: the node level and the node owner. Every node represents a branch point where the leaves share the key up to the level specified in the node-level (current level excluded, of course). Such key partly shared is the one contained in the owner. Of course, the root branch is exempted to keep a valid owner, because theoretically all the keys are contained in the space designed by the root branch node. The search algorithm seems very intuitive and that is where one should start reading to understand the full approach. In the end, the algorithm ends up by demanding only one node per insert and this is not necessary in all the cases. To stay safe, we basically preallocate as many nodes as the number of physical pages are in the system, using uma_preallocate(). However, this raises 2 concerns: * As pmap_init() needs to kmem_alloc(), the nodes must be pre-allocated when vm_radix_init() is currently called, which is much before UMA is fully initialized. This means that uma_prealloc() will dig into the UMA_BOOT_PAGES pool of pages, which is often not enough to keep track of such large allocations. In order to fix this, change a bit the concept of UMA_BOOT_PAGES and vm.boot_pages. More specifically make the UMA_BOOT_PAGES an initial "value" as long as vm.boot_pages and extend the boot_pages physical area by as many bytes as needed with the information returned by vm_radix_allocphys_size(). * A small amount of pages will be held in per-cpu buckets and won't be accessible from curcpu, so the vm_radix_node_get() could really panic when the pre-allocation pool is close to be exhausted. In theory we could pre-allocate more pages than the number of physical frames to satisfy such request, but as many insert would happen without a node allocation anyway, I think it is safe to assume that the over-allocation is already compensating for such problem. On the field testing can stand me correct, of course. This could be further helped by the case where we allow a single-page insert to not require a complete root node. The use of pre-allocation gets rid all the non-direct mapping trickery and introduced lock recursion allowance for vm_page_free_queue. The nodes children are reduced in number from 32 -> 16 and from 16 -> 8 (for respectively 64 bits and 32 bits architectures). This would make the children to fit into cacheline for amd64 case, for example, and in general spawn less cacheline, which may be helpful in lookup_ge() case. Also, path-compression cames to help in cases where there are many levels, making the fallouts of such change less hurting. Sponsored by: EMC / Isilon storage division Reviewed by: jeff (partially) Tested by: flo END K 10 svn:author V 7 attilio K 8 svn:date V 27 2013-02-13T01:25:17.631351Z K 7 svn:log V 4 MFC END K 10 svn:author V 7 attilio K 8 svn:date V 27 2013-02-13T01:30:35.319666Z K 7 svn:log V 24 Merge from vmcontention END K 10 svn:author V 7 linimon K 8 svn:date V 27 2013-02-13T01:54:06.554782Z K 7 svn:log V 62 Checkpoint of separation of powers for SVN-owned directories. END K 10 svn:author V 7 attilio K 8 svn:date V 27 2013-02-13T02:04:49.199612Z K 7 svn:log V 54 Grammar. Sponsored by: EMC / Isilon storage division END K 10 svn:author V 7 linimon K 8 svn:date V 27 2013-02-13T02:18:16.104780Z K 7 svn:log V 55 Use ZFS_MOUNTPOINT where needed instead of ZFS_VOLUME. END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2013-02-13T02:21:45.330303Z K 7 svn:log V 41 Introduce PLATFORMMETHOD_END and use it. END K 10 svn:author V 7 linimon K 8 svn:date V 27 2013-02-13T02:35:19.278166Z K 7 svn:log V 53 Add commented-out examples of zpool create commands. END K 10 svn:author V 7 linimon K 8 svn:date V 27 2013-02-13T02:57:25.302135Z K 7 svn:log V 36 Move newmkportubild to mkportbuild. END