ƒ¹Q229722 132 3637 419 98 426 98 335 243 139 250 454 187 281 396 234 2897 2897 2897 355 539 302 142 138 175 150 203 450 166 202 146 272 849 339 425 296 740 182 182 849 1335 2504 169 169 169 799 275 184 288 339 2619 177 180 113 276 237 210 478 117 120 120 120 116 116 161 201 201 518 200 145 575 202 532 508 408 207 303 300 146 547 473 547 498 346 234 387 143 139 124 236 141 259 616 234 183 160 527 494 130 341 269 1322 233 182 182 182 453 256 633 356 256 223 170 167 167 167 170 170 162 251 251 227 227 179 179 234 284 242 369 652 968 243 167 204 K 10 svn:author V 7 yongari K 8 svn:date V 27 2012-01-06T19:27:51.313375Z K 7 svn:log V 3539 MFC r228326-228327,228331-228332: r228326: Controller does not require TX start command for every frame. So send a single TX command after setting up all TX frames. This removes unnecessary register accesses and bus_dmamap_sync(9) calls. et(4) uses TX interrupt moderation so it's possible to have TX buffers that were already transmitted but waiting for TX completion interrupt. If the number of available TX descriptor is less then 1/3 of total TX descriptor, try reclaiming first to get enough free TX descriptors before setting up TX descriptors. After r228325, et_txeof() no longer tries to send frames after reclaiming TX buffers. That change was made to give more chance to transmit frames in main interrupt handler since we can still send frames in interrupt handler with RX interrupt. So right before exiting interrupt hander, after enabling interrupt, try to send more frames. This gives slightly better performance numbers. While I'm here reduce number of spare TX descriptors from 8 to 4. Controller does not require reserved TX descriptors, it was just to reduce TX overhead. After r228325, driver has much lower TX overhead so it does not make sense to reserve 8 TX descriptors. r228327: Remove et_enable_intrs(), et_disable_intrs() functions and manipulation of interrupt register access is done through CSR_WRITE_4 macro. Also add disabling interrupt into et_reset() because we want interrupt disabled state after controller reset. While I'm here slightly change interrupt handler to be more readable one. r228331: Rework link state tracking and TX/RX MAC configuration. o Do not report link status if driver is not running. o TX/RX MAC configuration should be done with resolved speed, duplex and flow control after establishing a link so it can't be done in driver initialization routine. Move the configuration to miibus_statchg callback which will be called whenever any link state change is detected. At this moment, flow-control is not enabled yet mainly because I was not able to set correct flow control parameters to generate TX pause frames. o Now TX/RX MAC is enabled only when a valid link is detected. Rearragnge hardware initialization routine a bit to leave enabling MAC to miibus_statchg callback. In order to that, TX/RX DMA engine is enabled in et_init_locked(). o Introduce ET_FLAG_LINK flag to track current link state. o Introduce ET_FLAG_FASTETHER flag to mark whether controller is fast ethernet. This flag is checked in miibus_statchg callback to know whether PHY established a valid link. o In et_stop(), TX/RX MAC is explicitly disabled instead of relying on et_reset(). And move et_reset() from et_stop() to controller initialization. Controler reset is not required here and it would also clear critial registers(i.e station address, RX filter configuration, WOL etc) that are required to make WOL work. o Switching to current media is done in et_init_locked() after setting IFF_DRV_RUNNING flag. This should ensure reliable auto-negotiation/manual link establishment. o In et_start_locked(), check whether driver got a valid link before trying to send frames. o Remove checking a link in et_tick() as this is done by miibus_statchg callback. r228332: Implement hardware MAC statistics counter. Counters could be queried with dev.et.%d.stats sysctl node where %d is an instance of device. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2012-01-06T19:29:16.252805Z K 7 svn:log V 326 MFC 227070,227341,227502: Add the posix_fadvise(2) system call. It is somewhat similar to madvise(2) except that it operates on a file descriptor instead of a memory region. It is currently only supported on regular files. Note that this adds a new VOP, so all filesystem modules must be recompiled. Approved by: re (kib) END K 10 svn:author V 3 jhb K 8 svn:date V 27 2012-01-06T19:30:17.196723Z K 7 svn:log V 7 Regen. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2012-01-06T19:32:39.347008Z K 7 svn:log V 333 MFC 226217,227070,227341,227502: Add the posix_fadvise(2) system call. It is somewhat similar to madvise(2) except that it operates on a file descriptor instead of a memory region. It is currently only supported on regular files. Note that this adds a new VOP, so all filesystem modules must be recompiled. Approved by: re (kib) END K 10 svn:author V 3 jhb K 8 svn:date V 27 2012-01-06T19:33:27.024738Z K 7 svn:log V 7 Regen. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2012-01-06T20:05:48.420073Z K 7 svn:log V 242 Use proper argument structure types for the extattr post-VOP hooks. The wrong structure happened to work since the only argument used was the vnode which is in the same place in both VOP_SETATTR() and the two extattr VOPs. MFC after: 3 days END K 10 svn:author V 3 jhb K 8 svn:date V 27 2012-01-06T20:06:45.007578Z K 7 svn:log V 150 Add 5 spare VOPs as placeholders to avoid breaking the KBI in the future when new VOPs are MFC'd to a branch. Reviewed by: kib, bz MFC after: 3 days END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2012-01-06T20:20:59.507281Z K 7 svn:log V 44 Use NULL instead of 0. MFC after: 1 month. END K 10 svn:author V 9 jimharris K 8 svn:date V 27 2012-01-06T20:44:57.975752Z K 7 svn:log V 151 Modify GENERIC, files and options for isci (Intel C600 SAS controller) driver. Also add brief README and cleanup Makefile. Reviewed by: scottl sbruno END K 10 svn:author V 3 dim K 8 svn:date V 27 2012-01-06T21:14:54.156007Z K 7 svn:log V 361 MFC r228978: For several files in sys/dev/drm, disable -Wunused-value when building with clang. There are several macros in these files that return values, and in some cases nothing is done with them, but it is completely harmless. For some other files, also disable -Wconstant-conversion, since that triggers a false positive with the DMA_BIT_MASK() macro. END K 10 svn:author V 3 dim K 8 svn:date V 27 2012-01-06T21:16:51.884790Z K 7 svn:log V 95 MFC r228979: In sys/dev/drm/radeon_state.c, use the correct printf length modifiers for ints. END K 10 svn:author V 3 dim K 8 svn:date V 27 2012-01-06T21:19:43.131312Z K 7 svn:log V 188 MFC r228980: Reapply r228785 now it has been tested by Adrian. Also add comments with the old AR_SCR_SLE_XXX values, with a short explanation why they were changed. Reviewed by: adrian END K 10 svn:author V 3 dim K 8 svn:date V 27 2012-01-06T21:23:00.578430Z K 7 svn:log V 303 MFC r228994: Disable several instances instances of clang's -Wself-assign warning. All of these are harmless, and are in fact used to shut up warnings from lint. While here, remove -Wno-missing-prototypes from the xfs module Makefile, as I could not reproduce those warnings either with gcc or clang. END K 10 svn:author V 7 ghelmer K 8 svn:date V 27 2012-01-06T21:28:29.600836Z K 7 svn:log V 137 Handle memory allocation failures in devstat_getdevs(), devstat_selectdevs(), and devstat_buildmatch(). PR: bin/83359 Reviewed by: ken END K 10 svn:author V 7 yongari K 8 svn:date V 27 2012-01-06T21:43:26.757148Z K 7 svn:log V 2799 MFC r228333,228335-228336,228362,228368-228369,228381: r228333: Protect SIOCSIFMTU ioctl handler with driver lock. Don't blindly re-initialize controller whenever MTU is changed. Now, reinitializing is done only when driver is running. While here, remove unnecessary assignment of error value since it was already initialized to 0. r228335: Consistently use a tab character instead of using either a space or tab after #define. While I'm here consistently use capital letters when it uses hexadecimal notation. No functional changes. r228336: Disable all clocks and put PHY into COMA before entering into suspend state. This will save more power. On resume, make sure to enable all clocks. While I'm here, if controller is not fast ethernet, enable gigabit PHY. r228362: Do not disable interrupt without knowing whether the raised interrupt is ours. Note, interrupts are automatically ACKed when the status register is read. Add RX/TX DMA error to interrupt handler and do full controller reset if driver happen to encounter these errors. There is no way to recover from these DMA errors without controller reset. Rename local variable name intrs with status to enhance readability. While I'm here, rename ET_INTR_TXEOF and ET_INTR_RXEOF to ET_INTR_TXDMA and ET_INTR_RXDMA respectively. These interrupts indicate that a frame is successfully DMAed to controller's internal FIFO and they have nothing to do with EOF(end of frame). Driver does not need to wait actual end of TX/RX of a frame(e.g. no need to wait the end signal of TX which is generated when a frame in TX FIFO is emptied by MAC). Previous names were somewhat confusing. r228368: Remove unnecessary definition of ET_PCIR_BAR. Controller support I/O memory only. While here, use pci_set_max_read_req(9) rather than directly manipulating PCIe device control register. r228369: Announce flow control ability to PHY driver and enable RX flow control. Controller does not automatically generate pause frames based on number of available RX buffers so it's very hard to know when driver should generate XON frame in time. The only mechanism driver can detect low number of RX buffer condition is ET_INTR_RXRING0_LOW or ET_INTR_RXRING1_LOW interrupt. This interrupt is generated whenever controller notices the number of available RX buffers are lower than pre-programmed value( ET_RX_RING0_MINCNT and ET_RX_RING1_MINCNT register). This scheme does not provide a way to detect when controller sees enough number of RX buffers again such that efficient generation of XON/XOFF frame is not easy. While here, add more flow control related register definition. r228381: FreeBSD driver does not require arpcom structure in softc. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2012-01-06T21:45:08.063489Z K 7 svn:log V 2799 MFC r228333,228335-228336,228362,228368-228369,228381: r228333: Protect SIOCSIFMTU ioctl handler with driver lock. Don't blindly re-initialize controller whenever MTU is changed. Now, reinitializing is done only when driver is running. While here, remove unnecessary assignment of error value since it was already initialized to 0. r228335: Consistently use a tab character instead of using either a space or tab after #define. While I'm here consistently use capital letters when it uses hexadecimal notation. No functional changes. r228336: Disable all clocks and put PHY into COMA before entering into suspend state. This will save more power. On resume, make sure to enable all clocks. While I'm here, if controller is not fast ethernet, enable gigabit PHY. r228362: Do not disable interrupt without knowing whether the raised interrupt is ours. Note, interrupts are automatically ACKed when the status register is read. Add RX/TX DMA error to interrupt handler and do full controller reset if driver happen to encounter these errors. There is no way to recover from these DMA errors without controller reset. Rename local variable name intrs with status to enhance readability. While I'm here, rename ET_INTR_TXEOF and ET_INTR_RXEOF to ET_INTR_TXDMA and ET_INTR_RXDMA respectively. These interrupts indicate that a frame is successfully DMAed to controller's internal FIFO and they have nothing to do with EOF(end of frame). Driver does not need to wait actual end of TX/RX of a frame(e.g. no need to wait the end signal of TX which is generated when a frame in TX FIFO is emptied by MAC). Previous names were somewhat confusing. r228368: Remove unnecessary definition of ET_PCIR_BAR. Controller support I/O memory only. While here, use pci_set_max_read_req(9) rather than directly manipulating PCIe device control register. r228369: Announce flow control ability to PHY driver and enable RX flow control. Controller does not automatically generate pause frames based on number of available RX buffers so it's very hard to know when driver should generate XON frame in time. The only mechanism driver can detect low number of RX buffer condition is ET_INTR_RXRING0_LOW or ET_INTR_RXRING1_LOW interrupt. This interrupt is generated whenever controller notices the number of available RX buffers are lower than pre-programmed value( ET_RX_RING0_MINCNT and ET_RX_RING1_MINCNT register). This scheme does not provide a way to detect when controller sees enough number of RX buffers again such that efficient generation of XON/XOFF frame is not easy. While here, add more flow control related register definition. r228381: FreeBSD driver does not require arpcom structure in softc. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2012-01-06T21:46:35.204571Z K 7 svn:log V 2799 MFC r228333,228335-228336,228362,228368-228369,228381: r228333: Protect SIOCSIFMTU ioctl handler with driver lock. Don't blindly re-initialize controller whenever MTU is changed. Now, reinitializing is done only when driver is running. While here, remove unnecessary assignment of error value since it was already initialized to 0. r228335: Consistently use a tab character instead of using either a space or tab after #define. While I'm here consistently use capital letters when it uses hexadecimal notation. No functional changes. r228336: Disable all clocks and put PHY into COMA before entering into suspend state. This will save more power. On resume, make sure to enable all clocks. While I'm here, if controller is not fast ethernet, enable gigabit PHY. r228362: Do not disable interrupt without knowing whether the raised interrupt is ours. Note, interrupts are automatically ACKed when the status register is read. Add RX/TX DMA error to interrupt handler and do full controller reset if driver happen to encounter these errors. There is no way to recover from these DMA errors without controller reset. Rename local variable name intrs with status to enhance readability. While I'm here, rename ET_INTR_TXEOF and ET_INTR_RXEOF to ET_INTR_TXDMA and ET_INTR_RXDMA respectively. These interrupts indicate that a frame is successfully DMAed to controller's internal FIFO and they have nothing to do with EOF(end of frame). Driver does not need to wait actual end of TX/RX of a frame(e.g. no need to wait the end signal of TX which is generated when a frame in TX FIFO is emptied by MAC). Previous names were somewhat confusing. r228368: Remove unnecessary definition of ET_PCIR_BAR. Controller support I/O memory only. While here, use pci_set_max_read_req(9) rather than directly manipulating PCIe device control register. r228369: Announce flow control ability to PHY driver and enable RX flow control. Controller does not automatically generate pause frames based on number of available RX buffers so it's very hard to know when driver should generate XON frame in time. The only mechanism driver can detect low number of RX buffer condition is ET_INTR_RXRING0_LOW or ET_INTR_RXRING1_LOW interrupt. This interrupt is generated whenever controller notices the number of available RX buffers are lower than pre-programmed value( ET_RX_RING0_MINCNT and ET_RX_RING1_MINCNT register). This scheme does not provide a way to detect when controller sees enough number of RX buffers again such that efficient generation of XON/XOFF frame is not easy. While here, add more flow control related register definition. r228381: FreeBSD driver does not require arpcom structure in softc. END K 10 svn:author V 3 dim K 8 svn:date V 27 2012-01-06T22:15:58.837189Z K 7 svn:log V 262 MFC r229004: In sys/compat/ndis/subr_ntoskrnl.c, change the RtlFillMemory function definition from K&R to ANSI, to avoid a clang warning about the uint8_t parameter being promoted to int, which is not compatible with the type declared in the earlier prototype. END K 10 svn:author V 3 dim K 8 svn:date V 27 2012-01-06T22:18:13.765238Z K 7 svn:log V 446 MFC r228817: Use the correct types when calling the decompression mask function. There's currently no public code which uses this feature and the current reference driver doesn't enable this feature at all. It's possible it was used by a previous version of the driver and that indeed it should return HAL_STATUS; but at this point I'm happy to require that they complain and submit a patch. This was found by LLVM compile-time type checking. END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2012-01-06T22:54:03.568941Z K 7 svn:log V 204 Fix build of ehci_mbus.c by applying patches similar to ones in r228483. This file was missed by a recent MFC because the file is named differently in 10-current. Pointy hat: hselasky @ Reported by: jhb END K 10 svn:author V 6 jilles K 8 svn:date V 27 2012-01-06T23:20:33.578508Z K 7 svn:log V 47 sh: Avoid possible echo options in a testcase. END K 10 svn:author V 5 gonzo K 8 svn:date V 27 2012-01-06T23:33:33.562325Z K 7 svn:log V 44 Unbreak build with VERBOSE_INIT_ARM enabled END K 10 svn:author V 3 pjd K 8 svn:date V 27 2012-01-06T23:44:26.606493Z K 7 svn:log V 83 fork(2) returns -1 on failure, not some random negative number. MFC after: 3 days END K 10 svn:author V 7 yongari K 8 svn:date V 27 2012-01-06T23:57:21.136275Z K 7 svn:log V 54 MFC r228370: After r228293, et(4) supports altq(4). END K 10 svn:author V 7 yongari K 8 svn:date V 27 2012-01-06T23:59:25.417369Z K 7 svn:log V 106 MFC r215835,228370: r215835: Add a HARDWARE section. r228370: After r228293, et(4) supports altq(4). END K 10 svn:author V 7 yongari K 8 svn:date V 27 2012-01-07T00:05:20.562534Z K 7 svn:log V 353 MFC r180509,181362,215835,228370: Belatedly add man page for et(4) and catch up with all changes. r180509: Manpage for the et(4) driver. r181362: Comment out information about Jumbo Frame support, it's not implemented yet. While here, fix a whitespace nit. r215835: Add a HARDWARE section. r228370: After r228293, et(4) supports altq(4). END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2012-01-07T00:07:23.616293Z K 7 svn:log V 69 MFC the rest of r225757 that applies to the package set directories. END K 10 svn:author V 6 eadler K 8 svn:date V 27 2012-01-07T00:11:36.419329Z K 7 svn:log V 106 - Fix sysctl description PR: 163623 Submitted by: Eugene Grosbein Approved by: bz END K 10 svn:author V 6 cognet K 8 svn:date V 27 2012-01-07T00:15:02.333559Z K 7 svn:log V 51 Define ARM_ARCH_6 for arm11 Submitted by: dmarion END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2012-01-07T00:33:13.496520Z K 7 svn:log V 174 When copying/pasting a line to create a line you want to add make sure to change all pieces of it, not just some of them. Submitted by: A helpful soul on IRC Pointy hat: me END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2012-01-07T00:36:17.867367Z K 7 svn:log V 751 MFC: r228217 Post r223774, the NFSv4 client no longer has multiple instances of the same lock_owner4 string. As such, the handling of cleanup of lock_owners could be simplified. This simplification permitted the client to do a ReleaseLockOwner operation when the process that the lock_owner4 string represents, has exited. This permits the server to release any storage related to the lock_owner4 string before the associated open is closed. Without this change, it is possible to exhaust a server's storage when a long running process opens a file and then many child processes do locking on the file, because the open doesn't get closed. A similar patch was applied to the Linux NFSv4 client recently so that it wouldn't exhaust a server's storage. END K 10 svn:author V 3 dim K 8 svn:date V 27 2012-01-07T00:47:27.347377Z K 7 svn:log V 246 In sys/contrib/rdma/ib_addr.h, bump MAX_ADDR_LEN to 20 bytes (the same value used in sys/ofed/include/linux/netdevice.h), so there will be no buffer overruns in the rest of the inline functions in this file. Reviewed by: kmacy MFC after: 1 week END K 10 svn:author V 7 yongari K 8 svn:date V 27 2012-01-07T01:08:17.530694Z K 7 svn:log V 328 MFC r207761: Belatedly merge r207761. For unknown reason r207761 was not fully merged (r208073) to stable/8 but mergeinfo was recorded. Add a fastpath to allocate from packet zone when using m_getjcl. This will add support for packet zone for at least igb and ixgbe and will avoid to check for that in bce and mxge. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2012-01-07T01:12:21.804542Z K 7 svn:log V 199 MFC r207761: Add a fastpath to allocate from packet zone when using m_getjcl. This will add support for packet zone for at least igb and ixgbe and will avoid to check for that in bce and mxge. END K 10 svn:author V 3 gjb K 8 svn:date V 27 2012-01-07T01:39:38.577442Z K 7 svn:log V 647 MFC r209362, r210933, r228356: r209362 (brian) [1]: - Add a -t switch for masking output that's above or below certain thresholds. This switch makes it a lot easier to locate problem areas when a process is threatening to consume all of your disk space. r210933 (joel): - Fix typos and spelling mistakes. r228356 [2]: - Update du(1): - Sort arguments alphabetically where appropriate - '-B blocksize' is not mutually exclusive of '-h|-k|-m' - Mention '-t' in synopsis - Other wording improvements - Update usage() output to reflect the new synopsis - Other miscellaneous improvements Approved by: brian [1] PR: 162438 [2] END K 10 svn:author V 3 gjb K 8 svn:date V 27 2012-01-07T02:03:07.469344Z K 7 svn:log V 90 MFC r228355: - As of r226865, daily_scrub_zfs_default_threshold is 35 days. PR: 162890 END K 10 svn:author V 3 gjb K 8 svn:date V 27 2012-01-07T02:03:42.093600Z K 7 svn:log V 90 MFC r228355: - As of r226865, daily_scrub_zfs_default_threshold is 35 days. PR: 162890 END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2012-01-07T02:09:49.673218Z K 7 svn:log V 751 MFC: r228217 Post r223774, the NFSv4 client no longer has multiple instances of the same lock_owner4 string. As such, the handling of cleanup of lock_owners could be simplified. This simplification permitted the client to do a ReleaseLockOwner operation when the process that the lock_owner4 string represents, has exited. This permits the server to release any storage related to the lock_owner4 string before the associated open is closed. Without this change, it is possible to exhaust a server's storage when a long running process opens a file and then many child processes do locking on the file, because the open doesn't get closed. A similar patch was applied to the Linux NFSv4 client recently so that it wouldn't exhaust a server's storage. END K 10 svn:author V 2 mm K 8 svn:date V 27 2012-01-07T02:23:58.576255Z K 7 svn:log V 1242 MFC r226549,r226550,r226551,r226552,r226553,r226568 MFC r226549 (pjd): Remove redundant size calculation. MFC r226550 (pjd): Initialize 'rc' properly before using it. This error could lead to infinite loop when data reconstruction was needed. MFC r226551 (pjd): Don't mark vdev as healthy too soon, so we won't try to use invalid vdevs. MFC r226552 (pjd): Never pass NULL block pointer when reading. This is neither expected nor handled by lower layers like vdev_raidz, which uses bp for checksum verification. This bug could lead to NULL pointer reference and resets during boot. MFC r226553 (pjd): Always pass data size for checksum verification function, as using physical block size declared in bp may not always be what we want. For example in case of gang block header physical block size declared in bp is much larger than SPA_GANGBLOCKSIZE (512 bytes) and checksum calculation failed. This bug could lead to accessing unallocated memory and resets/failures during boot. MFC r226568 (pjd) [1]: - Correctly read gang header from raidz. - Decompress assembled gang block data if compressed. - Verify checksum of a gang header. - Verify checksum of assembled gang block data. - Verify checksum of uber block. Submitted by: avg [1] END K 10 svn:author V 2 mm K 8 svn:date V 27 2012-01-07T02:35:00.856268Z K 7 svn:log V 2411 MFC zfsboottest: r225608 (partial), r225609, r226611, r226612 MFC r225608 (avg, tools/ part): zfstest: rename to zfsboottest and move to tools MFC r225609 (avg): zfsboottest: some additional enhancements - redirect diagnostics printfs in the boot code to stderr - do not read trailing garbage from a trailing block of a file Also add my copyright to the file after making so many changes. MFC r226611 (pjd): - Allow to specify multiple files to check, eg. zfsboottest gpt/system0 gpt/system1 - /boot/kernel/kernel /boot/zfsloader - Instead of printing file's content calculate MD5 hash of the file, so it can be easly compared to the hash calculated via file system. - Some other minor improvements. MFC r226612 (pjd): Because ZFS boot code was very fragile in the past and real PITA to debug, introduce zfsboottest.sh script that will verify if it will be possible to boot from the given pool. # zfsboottest.sh system Where "system" is pool name of the pool we want to boot from. What is being verified by the script: - Does the pool exist? - Does it have bootfs property configured? - Is mountpoint property of the boot dataset set to 'legacy'? Dataset configured in bootfs property has to be mounted to perform more checks: - Does the /boot directory in boot dataset exist? - Is this dataset configured as root file system in /etc/fstab or set in vfs.root.mountfrom variable in /boot/loader.conf? By using zfsboottest tool the script will read all the files in /boot directory using ZFS boot code and calculate their checksums. Then, it will walk /boot directory using find(1) though regular file sytem and also read all the files in /boot directory and calculate their checksums. If any of the files cannot be looked up, read or checksum is invalid it will be reported and booting off of this pool is probably not possible. Some additional checks may be interesting as well. For example if the disks contain proper pmbr and gptzfsboot code or if all expected files in /boot/ are present. When upgrading FreeBSD, one should snapshot datasets that contain operating system, upgrade (install new world and kernel) and use zfsboottest.sh to verify if it will be possible to boot from new configuration. If all is good one should upgrade boot blocks, by eg.: # gpart -b /boot/pmbr -p /boot/gptzfsboot -i 1 ada1 If something is wrong, one should rollback datasets and report the problems. END K 10 svn:author V 6 eadler K 8 svn:date V 27 2012-01-07T03:31:40.400281Z K 7 svn:log V 74 MFC r227491: - new sentence should start on new line. Approved by: gjb END K 10 svn:author V 6 eadler K 8 svn:date V 27 2012-01-07T03:32:24.469193Z K 7 svn:log V 74 MFC r227491: - new sentence should start on new line. Approved by: gjb END K 10 svn:author V 6 eadler K 8 svn:date V 27 2012-01-07T03:32:47.728049Z K 7 svn:log V 74 MFC r227491: - new sentence should start on new line. Approved by: gjb END K 10 svn:author V 6 adrian K 8 svn:date V 27 2012-01-07T04:13:25.118379Z K 7 svn:log V 703 Fix the ar724x shift calculation when writing to the PCI config space. This was preventing the ath driver from being loaded at runtime. It worked fine when compiled statically into the kernel but not when kldload'ed after the system booted. The root cause was that PCIR_INTLINE (register 60) was being overwritten by zeros when register 62 was being written to. A subsequent read of this register would return 0, and thus the rest of the PCI glue assumed an IRQ resource had already been allocated. This caused the device to fail to attach at runtime as the device itself didn't contain any IRQ resources. TODO: go back over the ar71xx and ar724x PCI config read/write code and ensure it's correct. END K 10 svn:author V 3 ume K 8 svn:date V 27 2012-01-07T09:01:19.178585Z K 7 svn:log V 182 Handle the internal scope address representation of the KAME IPv6 stack for the node-local multicast address. Spotted by: Rainer Bredehorn MFC after: 1 week END K 10 svn:author V 5 kevlo K 8 svn:date V 27 2012-01-07T09:41:57.713452Z K 7 svn:log V 90 ether_ifattach() sets if_mtu to ETHERMTU, don't bother set it again Reviewed by: yongari END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-01-07T10:33:01.723609Z K 7 svn:log V 195 Implement fdlopen(3), an rtld interface to load shared object by file descriptor. Requested and tested by: des (previous version) Reviewed by: des, kan (previous version) MFC after: 2 weeks END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-01-07T10:49:04.146002Z K 7 svn:log V 246 MFC r229508: Postpone the resolution of IRELATIVE relocations and IFUNC-targeted relocations until tls is initialized and stacks permissions correctly set. This allows the ifunc to call malloc(3) and some other heavy services. Add debug banner. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2012-01-07T11:01:35.514523Z K 7 svn:log V 2521 Merge from head/ 228732,228811,228813-228816,228855: r228732 | glebius | 2011-12-20 16:34:16 +0400 (вт, 20 дек 2011) | 3 lines - Cover pfsync callouts deletion with PF_LOCK(). - Cover setting up interface between pf and pfsync with PF_LOCK(). r228811 | glebius | 2011-12-22 22:31:47 +0400 (чт, 22 дек 2011) | 3 lines In FreeBSD we always have bpf(4) API, either real or stub. No need in detecting presense of 'device bpf'. r228813 | glebius | 2011-12-22 22:51:35 +0400 (чт, 22 дек 2011) | 2 lines We really mean MTU of the real interface here, not of our pseudo. r228814 | glebius | 2011-12-22 22:56:27 +0400 (чт, 22 дек 2011) | 16 lines Merge couple more fixes from OpenBSD to bulk processing: revision 1.118 date: 2009/03/23 06:19:59; author: dlg; state: Exp; lines: +8 -6 wait an appropriate amount of time before giving up on a bulk update, rather than giving up after a hardcoded 5 seconds (which is generally much too short an interval for a bulk update). pointed out by david@, eyeballed by mcbride@ revision 1.171 date: 2011/10/31 22:02:52; author: mikeb; state: Exp; lines: +2 -1 Don't forget to cancel bulk update failure timeout when destroying an interface. Problem report and fix from Erik Lax, thanks! Start a brief note of revisions merged from OpenBSD. r228815 | glebius | 2011-12-22 23:05:58 +0400 (чт, 22 дек 2011) | 12 lines Merge from OpenBSD: revision 1.120 date: 2009/04/04 13:09:29; author: dlg; state: Exp; lines: +5 -5 use time_uptime instead of time_second internally. time_uptime isnt affected by adjusting the clock. revision 1.175 date: 2011/11/25 12:52:10; author: dlg; state: Exp; lines: +3 -3 use time_uptime to set state creation values as time_second can be skewed at runtime by things like date(1) and ntpd. time_uptime is monotonic and therefore more useful to compare against. r228816 | glebius | 2011-12-22 23:09:55 +0400 (чт, 22 дек 2011) | 11 lines Merge from OpenBSD: revision 1.122 date: 2009/05/13 01:01:34; author: dlg; state: Exp; lines: +6 -4 only keep track of the number of updates on tcp connections. state sync on all the other protocols is simply pushing the timeouts along which has a resolution of 1 second, so it isnt going to be hurt by pfsync taking up to a second to send it over. keep track of updates on tcp still though, their windows need constant attention. END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-01-07T11:16:23.027331Z K 7 svn:log V 85 Document comconsole_port and comconsole_pcidev loader variables. MFC after: 2 weeks END K 10 svn:author V 6 adrian K 8 svn:date V 27 2012-01-07T12:32:50.008321Z K 7 svn:log V 85 MFC r229765 - Fix the ar724x shift calculation when writing to the PCI config space. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2012-01-07T12:40:45.508082Z K 7 svn:log V 17 Fix indentation. END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2012-01-07T13:03:33.774366Z K 7 svn:log V 180 Improve the handling of received INITs. Send an ABORT when not accepting the connection. Also fix a crash, which could happen when the user closed the socket. MFC after: 1 month. END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2012-01-07T14:04:00.709116Z K 7 svn:log V 141 Retire the SCTP sysctl "strict_init". We always perform the validation and there is no reason to make is configuarable. Discussed with rrs@. END K 10 svn:author V 3 dim K 8 svn:date V 27 2012-01-07T14:35:37.427632Z K 7 svn:log V 117 MFC r229076: In sys/dev/hwpmc/hwpmc_amd.c, fix a clang warning about invalid enum conversions. Reviewed by: jkoshy END K 10 svn:author V 7 glebius K 8 svn:date V 27 2012-01-07T14:39:45.444778Z K 7 svn:log V 381 Merge from OpenBSD: revision 1.170 date: 2011/10/30 23:04:38; author: mikeb; state: Exp; lines: +6 -7 Allow setting big MTU values on the pfsync interface but not larger than the syncdev MTU. Prompted by the discussion with and tested by Maxim Bourmistrov; ok dlg, mpf Consistently use sc_ifp->if_mtu in the MTU check throughout the module. This backs out r228813. END K 10 svn:author V 3 uqs K 8 svn:date V 27 2012-01-07T16:09:33.167715Z K 7 svn:log V 25 Spelling fixes for sbin/ END K 10 svn:author V 3 uqs K 8 svn:date V 27 2012-01-07T16:09:43.707017Z K 7 svn:log V 28 Spelling fixes for release/ END K 10 svn:author V 3 uqs K 8 svn:date V 27 2012-01-07T16:09:54.515445Z K 7 svn:log V 28 Spelling fixes for libexec/ END K 10 svn:author V 3 uqs K 8 svn:date V 27 2012-01-07T16:10:15.202206Z K 7 svn:log V 28 Spelling fixes for include/ END K 10 svn:author V 3 uqs K 8 svn:date V 27 2012-01-07T16:10:23.569036Z K 7 svn:log V 24 Spelling fixes for bin/ END K 10 svn:author V 3 uqs K 8 svn:date V 27 2012-01-07T16:10:32.114178Z K 7 svn:log V 24 Spelling fixes for etc/ END K 10 svn:author V 3 uqs K 8 svn:date V 27 2012-01-07T16:13:56.675013Z K 7 svn:log V 69 Convert files to UTF-8 and add some copyright markers where missing. END K 10 svn:author V 5 kevlo K 8 svn:date V 27 2012-01-07T16:14:53.078220Z K 7 svn:log V 106 MFC r227871: Remove unused variable mii. This variable is initialized but not used. Reviewed by: yongari END K 10 svn:author V 5 kevlo K 8 svn:date V 27 2012-01-07T16:16:13.546024Z K 7 svn:log V 106 MFC r227871: Remove unused variable mii. This variable is initialized but not used. Reviewed by: yongari END K 10 svn:author V 3 hrs K 8 svn:date V 27 2012-01-07T18:52:16.005489Z K 7 svn:log V 425 - Remove unnecessary and/or old parts. - Add relnote entries: msk(4) RX checksum bugfix, rdcphy(4) for R6040 10/100 PHY added, vte(4) for RDC R6040 added, vlan(4) IPv6 LLA interface ID bugfix, wpi(4) bugfix, md(4) vm.md_malloc_wait sysctl added, mmc(4) device detection fixed, FFS TRIM support added, poweroff(8) added, rtld(1) now supports shared objects for filtering, sh(1) kill built-in added, and KDE 4.7.3. END K 10 svn:author V 3 hrs K 8 svn:date V 27 2012-01-07T18:53:14.977636Z K 7 svn:log V 107 Add revision attribute handling. Links are now generated at the end of the paragraph from revision="NNN". END K 10 svn:author V 6 adrian K 8 svn:date V 27 2012-01-07T19:38:26.061233Z K 7 svn:log V 50 Fix the broken module build I introduced earlier. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2012-01-07T20:13:55.481169Z K 7 svn:log V 479 Commit a temporary workaround for people who are building kernels where they've disabled all the wireless devices/framework. This is just a build workaround. If you're actively using wireless, you must still define AH_SUPPORT_AR5416 as I'm not sure what else will break! The real solution is to make the module build depend if AH_SUPPORT_AR5416 is defined, as well as make the 11n code in if_ath_tx.c and if_ath_tx_ht.c completely optional (maybe depend upon ATH_SUPPORT_11N.) END K 10 svn:author V 6 adrian K 8 svn:date V 27 2012-01-07T20:23:05.524871Z K 7 svn:log V 106 .. the AR5416 HAL code touches the MIMO parts in HAL_CHANNEL, so this is also needed. Pointed out by: bz END K 10 svn:author V 3 hrs K 8 svn:date V 27 2012-01-07T20:29:05.368402Z K 7 svn:log V 439 Add relnotes items: PT_GNU_STACK and kern.elf{32,64}.nxstack sysctls in ELF imgact, FreeBSD/powerpc PS3 support added, re(4) TSO support added, re(4) RTL8169[CDE] jumbo frame panic fixed, source address selection in unbound sockets fixed, ifconfig(8) fdx/flow/hdx/loop aliases added, sed(1) -i race fixed, sh(1) EXIT trap fixed, sh(1) %builtin keyword removed, dialog to 1.1-20110707 and description about key operation change. END K 10 svn:author V 3 hrs K 8 svn:date V 27 2012-01-07T22:29:46.338454Z K 7 svn:log V 415 - Fix spelling. - Add relnotes items: nxstack on powerpc, ral(4) and run(4) ieee80211_ratectl_node_init() call fix, re(4) RTL8168E/8111E-VL support added, re(4) TX/RX checksum offloading configuarable independently, cpuset(1) -C and "all" keyword added, sh(1) exit status in trap action for !EXIT signals, sh(1) trap -- handling, ACPI CA to 20110527. END K 10 svn:author V 6 eadler K 8 svn:date V 27 2012-01-07T23:15:21.823008Z K 7 svn:log V 312 - Fix how hexdump parses escape strings From the NetBSD bug: The way how hexdump(1) parses escape sequences has some bugs. It shows up when an escape sequence is used as the non-last character of a format string. PR: bin/144722 Submitted by: gcooper Approved by: rpaulo Obtained from: NetBSD MFC after: 1 week END K 10 svn:author V 2 bz K 8 svn:date V 27 2012-01-07T23:41:38.595707Z K 7 svn:log V 115 Correct comment for the IPv6 case to say "traffic class" not "TOS" as pointed out back in 2009. MFC after: 3 days END K 10 svn:author V 3 hrs K 8 svn:date V 27 2012-01-07T23:47:09.556877Z K 7 svn:log V 210 - Add relnotes items: alc(4) AR8152-based card lockup fixed, ixgbe(4) to 2.3.8, sis(4) reinit issue fixed, netstat(1) embedded address scope id handling, sh(1) signal handling fixed, unifdef(1) to 2.5.6. END K 10 svn:author V 3 hrs K 8 svn:date V 27 2012-01-08T00:14:45.516041Z K 7 svn:log V 207 - Add relnotes items: nfe(4) reinit issue fixed, re(4) RX int moderation changed from int taskq to one-shot timer, re(4) TSO disabled by default, re(4) RTL8105E support, and rlphy(4) RTL8201E support. END K 10 svn:author V 5 gonzo K 8 svn:date V 27 2012-01-08T00:34:39.940376Z K 7 svn:log V 52 Fix DDB x/i addr[,count] command for count > 1 case END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2012-01-08T00:42:07.684771Z K 7 svn:log V 449 MFC: r228260 This patch adds a sysctl to the NFSv4 server which optionally disables the check for a UTF-8 compliant file name. Enabling this sysctl results in an NFSv4 server that is non-RFC3530 compliant, therefore it is not enabled by default. However, enabling this sysctl results in NFSv3 compatible behaviour and fixes the problem reported by "dan at sunsaturn.com" to freebsd-current@ on Nov. 14, 2011 under the subject "NFSV4 readlink_stat". END K 10 svn:author V 6 adrian K 8 svn:date V 27 2012-01-08T00:55:22.579249Z K 7 svn:log V 377 Make these two files conditionally build on UFS_ACL, as it doesn't seem to be used elsewhere. Since UFS_ACL is enabled by default for GENERIC kernels, this shouldn't break anything - but please beat me to fix things if it does. This reduces the footprint of the kernel on small embedded systems (think <1MB flash for the compressed kernel image) just enough to actually fit. END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2012-01-08T01:09:00.154369Z K 7 svn:log V 449 MFC: r228260 This patch adds a sysctl to the NFSv4 server which optionally disables the check for a UTF-8 compliant file name. Enabling this sysctl results in an NFSv4 server that is non-RFC3530 compliant, therefore it is not enabled by default. However, enabling this sysctl results in NFSv3 compatible behaviour and fixes the problem reported by "dan at sunsaturn.com" to freebsd-current@ on Nov. 14, 2011 under the subject "NFSV4 readlink_stat". END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2012-01-08T01:54:46.562345Z K 7 svn:log V 400 opt_inet6.h was missing from some files in the new NFS subsystem. The effect of this was, for clients mounted via inet6 addresses, that the DRC cache would never have a hit in the server. It also broke NFSv4 callbacks when an inet6 address was the only one available in the client. This patch fixes the above, plus deletes opt_inet6.h from a couple of files it is not needed for. MFC after: 2 weeks END K 10 svn:author V 5 gonzo K 8 svn:date V 27 2012-01-08T05:44:19.383778Z K 7 svn:log V 251 Fix relocations for MIPS64: - Use Elf32_Addr as default, the only field that is 64 bitw wide is R_MIPS_64 - Add R_MIPS_HIGHER and R_MIPS_HGHEST handlers - Handle R_MIPS_HI16 and R_MIPS_LO16 for both .rel and .rela sections END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-01-08T07:51:40.746497Z K 7 svn:log V 141 MFC r229185: Avoid double-unlock or double unreference for ndp->ni_dvp when the vnode dp lock upgrade right after the 'success' label fails. END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2012-01-08T09:56:24.841995Z K 7 svn:log V 291 Add an SCTP sysctl "blackhole", similar to the one for TCP. If set to 1, no ABORT is sent back in response to an incoming INIT. If set to 2, no ABORT is sent back in response to an out of the blue packet. If set to 0 (the default), ABORTs are sent. Discussed with rrs@. MFC after: 1 month. END K 10 svn:author V 8 andreast K 8 svn:date V 27 2012-01-08T11:57:38.984126Z K 7 svn:log V 46 Two other places where we can use WEAK_ALIAS. END K 10 svn:author V 2 ed K 8 svn:date V 27 2012-01-08T12:03:46.231431Z K 7 svn:log V 48 Fix spelling of C11 and sort functions by name. END K 10 svn:author V 2 ed K 8 svn:date V 27 2012-01-08T12:04:22.042856Z K 7 svn:log V 33 Properly sort functions by name. END K 10 svn:author V 2 ed K 8 svn:date V 27 2012-01-08T12:38:41.828294Z K 7 svn:log V 144 Don't include . Including this header file causes a compilation warning. The code builds perfectly fine without this header file. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2012-01-08T13:34:00.833210Z K 7 svn:log V 45 Move arprequest() declaration to if_ether.h. END K 10 svn:author V 3 dim K 8 svn:date V 27 2012-01-08T13:51:09.478892Z K 7 svn:log V 166 MFC r229196: Redo r228645, but instead of casting away const conversion warnings in contrib/less, add a few const qualifiers in the right places. Suggested by: das END K 10 svn:author V 3 hrs K 8 svn:date V 27 2012-01-08T13:54:08.842303Z K 7 svn:log V 523 Add relnotes items: igb(4) Intel I350 GbE support, re(4) TX IP checksum disabled on RTL8168C-based cards, cc(9) TCP congestion control algorithm framework added, gpart(8) various aliases and bios-boot GUID added, FFS SU+J added, more kern.features.* for UFS-related features, hastd(8) drops root privilege in worker processes, newsyslog(8) xz compression support added, ppp(8) iface name and iface description commands added, sh(1) arithmetic expression handling updated, ISC BIND to 9.8.1-P1, and tzdata2011a. END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-01-08T16:47:37.988468Z K 7 svn:log V 141 MFC r229185: Avoid double-unlock or double unreference for ndp->ni_dvp when the vnode dp lock upgrade right after the 'success' label fails. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2012-01-08T17:11:53.479029Z K 7 svn:log V 87 Copy ifa->if_data to ifam->ifam_data. This was forgotten in r228571. Submitted by: bz END K 10 svn:author V 7 glebius K 8 svn:date V 27 2012-01-08T17:20:29.822536Z K 7 svn:log V 64 Provide IA_MASKSIN() macro similar to IA_SIN() and IA_DSTSIN(). END K 10 svn:author V 7 glebius K 8 svn:date V 27 2012-01-08T17:25:15.658867Z K 7 svn:log V 430 Make it possible to use alternative source hardware address in the ARP datagram generated by arprequest(). If caller doesn't supply the address, then it is either picked from CARP or hardware address of the interface is taken. While here, make several minor fixes: - Hold IF_ADDR_RLOCK(ifp) while traversing address list. - Remove not true comment. - Access internet address and mask via in_ifaddr fields, rather than ifaddr. END K 10 svn:author V 3 hrs K 8 svn:date V 27 2012-01-08T17:40:10.537437Z K 7 svn:log V 401 Add relnotes items: cxgbe(4) for Chelsio T4 added, dc(4) PAE support on FreeBSD/i386, re(4) RTL8401E support added, IPsec HMAC-SHA-256/384/512 authenticator hash size fix, cc(4) TCP_CONGESTION socket option, Citrus iconv imported (but disabled by default), utxrm(8) utility added, GNU binutils to 2.17.50, LLVM/Clang 3.0 imported, xz to 5.0.1, bsdinstall(8) added as the default installer. END K 10 svn:author V 3 hrs K 8 svn:date V 27 2012-01-08T18:48:36.219932Z K 7 svn:log V 38 Fix a typo. (s/nessesary/necessary/) END K 10 svn:author V 3 hrs K 8 svn:date V 27 2012-01-08T19:24:08.763720Z K 7 svn:log V 248 Add relnotes items: add descriptions about kern.features.*, new NFS implementation (newnfs) is now compiled in by default, add some descriptions about NFSv4 configuration, and document a workaround for the kern.geom.part.check_integrity issue. END K 10 svn:author V 3 hrs K 8 svn:date V 27 2012-01-08T19:52:56.388600Z K 7 svn:log V 176 Add relnotes items: Capsicum Capability Mode, ng_one2many(4) XMIT_FAILOVER support added, kern.geom.confxml sysctl now support and , and ZFS SPA version 28. END K 10 svn:author V 3 alc K 8 svn:date V 27 2012-01-08T20:09:26.952230Z K 7 svn:log V 1228 Correct an error of omission in the implementation of the truncation operation on POSIX shared memory objects and tmpfs. Previously, neither of these modules correctly handled the case in which the new size of the object or file was not a multiple of the page size. Specifically, they did not handle partial page truncation of data stored on swap. As a result, stale data might later be returned to an application. Interestingly, a data inconsistency was less likely to occur under tmpfs than POSIX shared memory objects. The reason being that a different mistake by the tmpfs truncation operation helped avoid a data inconsistency. If the data was still resident in memory in a PG_CACHED page, then the tmpfs truncation operation would reactivate that page, zero the truncated portion, and leave the page pinned in memory. More precisely, the benevolent error was that the truncation operation didn't add the reactivated page to any of the paging queues, effectively pinning the page. This page would remain pinned until the file was destroyed or the page was read or written. With this change, the page is now added to the inactive queue. Discussed with: jhb Reviewed by: kib (an earlier version) MFC after: 3 weeks END K 10 svn:author V 5 dougb K 8 svn:date V 27 2012-01-08T20:25:29.315298Z K 7 svn:log V 138 There is no longer a need to abstract ${rcvar_manpage} as we are not attempting to maintain compatibility with NetBSD for some years now. END K 10 svn:author V 6 eadler K 8 svn:date V 27 2012-01-08T21:00:37.744238Z K 7 svn:log V 87 MFC r228754: - Add restrict keyword to glob(3) PR: kern/161958 Approved by: jilles END K 10 svn:author V 6 eadler K 8 svn:date V 27 2012-01-08T21:01:21.790104Z K 7 svn:log V 87 MFC r228754: - Add restrict keyword to glob(3) PR: kern/161958 Approved by: jilles END K 10 svn:author V 6 eadler K 8 svn:date V 27 2012-01-08T21:01:51.894118Z K 7 svn:log V 87 MFC r228754: - Add restrict keyword to glob(3) PR: kern/161958 Approved by: jilles END K 10 svn:author V 3 hrs K 8 svn:date V 27 2012-01-08T22:23:19.293939Z K 7 svn:log V 360 Add relnotes items: {get,set}loginclass(2) added, machdep.disable_tsc tunable added, ng_netflow(4) now supports NetFlow v9, cexp(3) and cexpf(3) added, gpart(8) show -p flag added, hashd(8) checksum algo selection in a resource section, hashd(8) compression algo selection in a resource section, ps(1) -o class added, gdtoa to 20110304, tzdata2011c. END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2012-01-08T23:05:36.292347Z K 7 svn:log V 158 MFC: r228560 Patch the new NFS server in a manner analagous to r228520 for the old NFS server, so that it correctly handles a count == 0 argument for Commit. END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-01-08T23:06:53.091689Z K 7 svn:log V 540 Avoid LOR between vfs_busy() lock and covered vnode lock on quotaon(). The vfs_busy() is after covered vnode lock in the global lock order, but since quotaon() does recursive VFS call to open quota file, we usually end up locking covered vnode after mp is busied in sys_quotactl(). Change the interface of VFS_QUOTACTL(), requiring that mp was unbusied by fs code, and do not try to pick up vfs_busy() reference in ufs quotaon, esp. if vfs_busy cannot succeed due to unmount being performed. Reported and tested by: pho MFC after: 1 week END K 10 svn:author V 3 hrs K 8 svn:date V 27 2012-01-08T23:11:03.721500Z K 7 svn:log V 263 Add relnotes items: DTrace systrace support for freebsd32 and linux32 on am64, loader(8) pre-boot virtual memory support on ia64, bxe(4) for BCM57710, BCM57711, BCM57711E added, cbrtl(3) (cube root) added, pam_group(8) ruser and luser options, tzdata2011d. END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2012-01-08T23:30:23.287295Z K 7 svn:log V 158 MFC: r228560 Patch the new NFS server in a manner analagous to r228520 for the old NFS server, so that it correctly handles a count == 0 argument for Commit. END K 10 svn:author V 6 eadler K 8 svn:date V 27 2012-01-09T00:48:19.934756Z K 7 svn:log V 127 X11BASE has been deprecated for a long time and will die soon Approved by: x11 (eadler) Approved by: brucec MFC after: 1 week END K 10 svn:author V 6 eadler K 8 svn:date V 27 2012-01-09T01:02:37.372529Z K 7 svn:log V 75 MFC r228233: - Fix typos s/(more|less) then|\1 than/ Approved by: brucec END K 10 svn:author V 3 gjb K 8 svn:date V 27 2012-01-09T01:59:17.192301Z K 7 svn:log V 75 MFC r229353: - Trivial standardization to a few comments in kern.pre.mk. END K 10 svn:author V 3 gjb K 8 svn:date V 27 2012-01-09T01:59:50.022793Z K 7 svn:log V 75 MFC r229353: - Trivial standardization to a few comments in kern.pre.mk. END K 10 svn:author V 3 gjb K 8 svn:date V 27 2012-01-09T02:00:31.519407Z K 7 svn:log V 75 MFC r229353: - Trivial standardization to a few comments in kern.pre.mk. END K 10 svn:author V 6 eadler K 8 svn:date V 27 2012-01-09T03:03:43.282105Z K 7 svn:log V 75 MFC r228233: - Fix typos s/(more|less) then|\1 than/ Approved by: brucec END K 10 svn:author V 6 eadler K 8 svn:date V 27 2012-01-09T03:03:43.582755Z K 7 svn:log V 75 MFC r228233: - Fix typos s/(more|less) then|\1 than/ Approved by: brucec END K 10 svn:author V 6 wblock K 8 svn:date V 27 2012-01-09T04:27:32.624023Z K 7 svn:log V 67 Clarity improvements. Approved by: gjb (mentor) MFC after: 3 days END K 10 svn:author V 3 das K 8 svn:date V 27 2012-01-09T04:55:52.944014Z K 7 svn:log V 158 MFC various fma{,f,l} improvements: r226245 - refactoring r226371 - fix double-rounding bug r226373 - new math_private.h macros r226601 - fix nit in r226371 END K 10 svn:author V 3 das K 8 svn:date V 27 2012-01-09T04:55:55.179415Z K 7 svn:log V 158 MFC various fma{,f,l} improvements: r226245 - refactoring r226371 - fix double-rounding bug r226373 - new math_private.h macros r226601 - fix nit in r226371 END K 10 svn:author V 3 das K 8 svn:date V 27 2012-01-09T04:57:06.483835Z K 7 svn:log V 134 MFC r226594: Bugfix: feenableexcept() and fedisableexcept() should just return the old exception mask, not mask | ~FE_ALL_EXCEPT. END K 10 svn:author V 3 das K 8 svn:date V 27 2012-01-09T04:57:09.680543Z K 7 svn:log V 134 MFC r226594: Bugfix: feenableexcept() and fedisableexcept() should just return the old exception mask, not mask | ~FE_ALL_EXCEPT. END K 10 svn:author V 3 das K 8 svn:date V 27 2012-01-09T04:57:59.452516Z K 7 svn:log V 87 MFC r226595: Per IEEE754r, pow(1, y) is 1 even if y is NaN, and pow(-1, +-Inf) is 1. END K 10 svn:author V 3 das K 8 svn:date V 27 2012-01-09T04:58:02.134663Z K 7 svn:log V 87 MFC r226595: Per IEEE754r, pow(1, y) is 1 even if y is NaN, and pow(-1, +-Inf) is 1. END K 10 svn:author V 3 das K 8 svn:date V 27 2012-01-09T04:59:44.745539Z K 7 svn:log V 141 MFC r226604: Add support for the 'x' mode option in fopen() as specified in the C1X draft standard. The option is equivalent to O_EXCL. END K 10 svn:author V 3 das K 8 svn:date V 27 2012-01-09T04:59:47.510411Z K 7 svn:log V 191 MFC r226604: Add support for the 'x' mode option in fopen() as specified in the C1X draft standard. The option is equivalent to O_EXCL. Also merge doc improvements r197045 and r207942. END K 10 svn:author V 6 wblock K 8 svn:date V 27 2012-01-09T05:51:33.906086Z K 7 svn:log V 146 Whitespace-only fix. Translators, please feel free to ignore. Approved by: gjb (mentor) MFC after: 3 days X-MFC-with: r227774, r227777, r227800 END K 10 svn:author V 2 ed K 8 svn:date V 27 2012-01-09T06:36:28.405753Z K 7 svn:log V 277 Add aligned_alloc(3). The C11 folks reinvented the wheel by introducing an aligned version of malloc(3) called aligned_alloc(3), instead of posix_memalign(3). Instead of returning the allocation by reference, it returns the address, just like malloc(3). Reviewed by: jasone@ END K 10 svn:author V 7 glebius K 8 svn:date V 27 2012-01-09T08:36:12.061482Z K 7 svn:log V 555 o Fix panic on module unload, that happened due to mutex being destroyed prior to pfsync_uninit(). To do this, move all the initialization to the module_t method, instead of SYSINIT(9). o Fix another panic after module unload, due to not clearing the m_addr_chg_pf_p pointer. o Refuse to unload module, unless being unloaded forcibly. o Revert the sub argument to MODULE_DECLARE, to the stable/8 value. This change probably isn't correct from viewpoint of VIMAGE, but the module wasn't VIMAGE-correct before the change, as well. Glanced at by: bz END K 10 svn:author V 7 glebius K 8 svn:date V 27 2012-01-09T08:50:22.761752Z K 7 svn:log V 871 Bunch of fixes to pfsync(4) module load/unload: o Make the pfsync.ko actually usable. Before this change loading it didn't register protosw, so was a nop. However, a module /boot/kernel did confused users. o Rewrite the way we are joining multicast group: - Move multicast initialization/destruction to separate functions. - Don't allocate memory if we aren't going to join a multicast group. - Use modern API for joining/leaving multicast group. - Now the utterly wrong pfsync_ifdetach() isn't needed. o Move module initialization from SYSINIT(9) to moduledata_t method. o Refuse to unload module, unless asked forcibly. o Improve a bit some FreeBSD porting code: - Use separate malloc type. - Simplify swi sheduling. This change is probably wrong from VIMAGE viewpoint, however pfsync wasn't VIMAGE-correct before this change, too. Glanced at by: bz END K 10 svn:author V 7 glebius K 8 svn:date V 27 2012-01-09T08:55:23.525755Z K 7 svn:log V 146 In FreeBSD we determine presence of pfsync(4) at run-time, not at compile time, so define NPFSYNC to 1 always. While here, remove unused defines. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2012-01-09T09:19:00.675030Z K 7 svn:log V 71 Revert sub argument of MODULE_DECLARE back to r226532. Noticed by: bz END K 10 svn:author V 7 glebius K 8 svn:date V 27 2012-01-09T12:06:02.611492Z K 7 svn:log V 107 Backout of backout: we need SI_SUB_PROTO_DOMAIN for pfsync, since it needs existing inetdomain on startup. END